MacOS – Internal keyboard + touchpad stopped working, on Macbook air ‘early 2014’, Yosemite 10.10.2

keyboardmacbook promacossleep-waketrackpad

my internal keyboard and touchpad – stopped working a few days ago.
When it first happened – I made the macbook sleep-wake-up several times – and it came back to normal. External keyboard+touchpad – work normally – but internal keyboard keeps randomly 'typing' in characters for me, especially 'fn-f' keys (such as randomly muting/adjusting volume, etc).
If I reboot into 'Rescue mode' – they work flawlessly, but in 'safe boot' – they keep misbehaving.
I've tried already NVRAM+SMC reset chords on startup.
The rate of the problem is becoming worse, that it, it's less and less likely the internal input devices will work (immediately after sleep).
I've checked preferences and touchpad is enabled, no-keyboard-keys etc.
Any advice? OS-reinstall? anything to post here?
thank you!

as suggested somewhere, I list here the non-apple kernel ext, it's only Virtual-Box, which was install about two-month before the problem appeared:

$ kextstat | awk ' !/apple/ { print $6 } '
org.virtualbox.kext.VBoxDrv
org.virtualbox.kext.VBoxUSB
org.virtualbox.kext.VBoxNetFlt
org.virtualbox.kext.VBoxNetAdp

Can I try to reinstall the internal macbook keyboard drivers w/o entire os reinstall? thanks.

Edit:
One week later update::
Situation is still not solved, but I'm more convinced it's a "sleep wake" related thing:
I was using the computer 'normally' now for a week (without shut-down, 'sleep' – only using Lid-Close).
When once- I press the Menu-Sleep – on wake-up – I had no keyboard and pad. I had to close the Lid and open it several times- after 3 times – It woke up working.
Another time – after full shut-down (from menu) – the computer woke up (after 30 minutes when I turned it on) – with no keyboard-pad again. (last night).
I left it on 'Lid-Sleep' – and in the morning now – it's working again.
Yesterday – also the Volume and keyboard light buttons – stopped working till reboot (sleep didn't help) – they were in a weird-state – where they would display their 'squares' showing their meters on the screen – but they would not affect the actual volume and keyboard light level. Neither did the volume control from the top-bar. (Though the volume control inside the "System-Pref/Sound" – still worked properly), I don't know whether it can be related, but I'm providing this hint. I rebooted because of this, and on the reboot – (the mentioned 'shut-down' from menu) and the computer woke up with no keyboard.
When I find a solution I will post it as an "answer".

Best Answer

Apple doesn't package the drivers or installers, so the best you could do is try these installs.

  1. Download the latest "Combo" updater for 10.x.x and install that package.
  2. Download the entire Yosemite Installer and then re-install the OS.

The only downside to option #2 is you need to download more data. It is the sure fire way to ensure everything is up to date. The only downside to #1 is that it might not work. Not everything is packaged in the combo updater - just the things that were updated. So if you choose that, you might waste the time downloading the small package and trying to install it.

Before you do anything, try rebooting in safe mode. That would disable any third party kernel extensions and let you know if the core OS is the problem. If the keyboard works there - you might just need to uninstall your VM and other modifications.