Have an issue with Macbook Air 13 (Mid 2013). Both trackpad and keyboard work fine on the boot screen, also in Windows 10 bootcamp installation, but in Mac OS X neither works (not even Caps Lock LED). External keyboards and mouses work fine.
Tried clean re-install wiping all existing partitions (Yosemite and El. Capitan) - no difference. Actually, even during Mac OS installation, input works fine on the boot screen, but as soon as Mac OS setup loads, both keyboard and trackpad stop working.
SMC and PRAM resets didn’t help.
EDIT - Some additional info gathered during troubleshooting: (Thanks Tiago Ferreira)
- Internal keyboard and trackpad work fine in Diagnostics Mode.
- The only warning on Diagnostics page is that battery needs servicing.
- Keyboard and trackpad do not work in Safe and Single User modes.
- When booting into Single User mode, there are bunch of errors related to AppleHSSPIController
- Disabling Bluetooth doesn't help. Apple Bluetooth mouse works fine.
- EFI and SMC Firmwares are up to date.
I strongly suspect it must be a hardware issue, but why it works in Windows and in certain Mac OS boot modes?
kextstat -kl | awk ' !/apple/ { print $6 }'
in terminal? Is mouse keys in Accessibility off?