After System Update keyboard doesn't work -MacBook

Here is what happened and I was able to fix, someway... but not definetly.

I updated to Snow Leopard and everything was fine. After I launched System Update to finish the update, I installed a few ones then I rebooted.
At the login I realized that some of the keys didn't work anymore. Namely
0 = P ] ; \ / ENTER
those what I found.

With the help of the virtual keyboard I was able to take a look at the log and I noticed that the /System/Library/Extensions/AppleHIDKeyboard.kext was updated just before the last working configuration...

Luckily I had a bootable backup of the system before Snow Leopard, so I boot from the external USB drive and copied the old AppleHIDKeyboard.kext in place of the new one, that I saved with .bak extension.

I rebooted and the keyboard was properly working again.

I think my fix is "dirty". I experienced some slowdowns here and there and I found a log message stating:

com.apple.kextcache[271] AppleHIDKeyboard.kext does not declare a kernel dependency; using com.apple.kernel.6.0.

I'm wondering why the keyboard stopped working and if there is a better way to fix it.

Any comment? (Please)

All log messages containig "keyboard" follows

Thanks

<START OF LOG MESSAGES CONTAINING "keyboard">
[[MARKER THIS IS AFTER SNOW LEOPARD UPDATE]]
16/03/2010 14:47:53 pkgutil[1163] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoot hHIDKeyboard.kext/Contents/CodeDirectory' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoo thHIDKeyboard.kext/Contents/CodeDirectory'.
16/03/2010 14:47:53 pkgutil[1164] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoot hHIDKeyboard.kext/Contents/CodeRequirements' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoo thHIDKeyboard.kext/Contents/CodeRequirements'.
16/03/2010 14:47:54 pkgutil[1165] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoot hHIDKeyboard.kext/Contents/CodeResources' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoo thHIDKeyboard.kext/Contents/CodeResources'.
16/03/2010 14:47:54 pkgutil[1166] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoot hHIDKeyboard.kext/Contents/CodeSignature' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoo thHIDKeyboard.kext/Contents/CodeSignature'.
16/03/2010 14:47:54 pkgutil[1167] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoot hHIDKeyboard.kext/Contents/Info.plist' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoo thHIDKeyboard.kext/Contents/Info.plist'.
16/03/2010 14:47:54 pkgutil[1168] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoot hHIDKeyboard.kext/Contents/MacOS/AppleBluetoothHIDKeyboard' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoo thHIDKeyboard.kext/Contents/MacOS/AppleBluetoothHIDKeyboard'.
16/03/2010 14:47:54 pkgutil[1169] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoot hHIDKeyboard.kext/Contents/Resources/AppleBluetoothHIDKeyboard.plist' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoo thHIDKeyboard.kext/Contents/Resources/AppleBluetoothHIDKeyboard.plist'.
16/03/2010 14:47:54 pkgutil[1170] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoot hHIDKeyboard.kext/Contents/_CodeSignature/CodeDirectory' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoo thHIDKeyboard.kext/Contents/_CodeSignature/CodeDirectory'.
16/03/2010 14:47:54 pkgutil[1171] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoot hHIDKeyboard.kext/Contents/_CodeSignature/CodeRequirements' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoo thHIDKeyboard.kext/Contents/_CodeSignature/CodeRequirements'.
16/03/2010 14:47:54 pkgutil[1172] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoot hHIDKeyboard.kext/Contents/_CodeSignature/CodeResources' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoo thHIDKeyboard.kext/Contents/_CodeSignature/CodeResources'.
16/03/2010 14:47:54 pkgutil[1173] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoot hHIDKeyboard.kext/Contents/_CodeSignature/CodeSignature' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoo thHIDKeyboard.kext/Contents/_CodeSignature/CodeSignature'.
16/03/2010 14:47:54 pkgutil[1174] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoot hHIDKeyboard.kext/Contents/version.plist' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleBluetoo thHIDKeyboard.kext/Contents/version.plist'.
16/03/2010 14:47:54 pkgutil[1175] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDKe yboard.kext/Contents/CodeDirectory' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDK eyboard.kext/Contents/CodeDirectory'.
16/03/2010 14:47:54 pkgutil[1176] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDKe yboard.kext/Contents/CodeRequirements' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDK eyboard.kext/Contents/CodeRequirements'.
16/03/2010 14:47:55 pkgutil[1177] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDKe yboard.kext/Contents/CodeResources' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDK eyboard.kext/Contents/CodeResources'.
16/03/2010 14:47:55 pkgutil[1178] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDKe yboard.kext/Contents/CodeSignature' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDK eyboard.kext/Contents/CodeSignature'.
16/03/2010 14:47:55 pkgutil[1179] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDKe yboard.kext/Contents/Info.plist' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDK eyboard.kext/Contents/Info.plist'.
16/03/2010 14:47:55 pkgutil[1180] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDKe yboard.kext/Contents/MacOS/AppleUSBHIDKeyboard' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDK eyboard.kext/Contents/MacOS/AppleUSBHIDKeyboard'.
16/03/2010 14:47:55 pkgutil[1181] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDKe yboard.kext/Contents/_CodeSignature/CodeDirectory' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDK eyboard.kext/Contents/_CodeSignature/CodeDirectory'.
16/03/2010 14:47:55 pkgutil[1182] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDKe yboard.kext/Contents/_CodeSignature/CodeRequirements' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDK eyboard.kext/Contents/_CodeSignature/CodeRequirements'.
16/03/2010 14:47:55 pkgutil[1183] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDKe yboard.kext/Contents/_CodeSignature/CodeResources' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDK eyboard.kext/Contents/_CodeSignature/CodeResources'.
16/03/2010 14:47:55 pkgutil[1184] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDKe yboard.kext/Contents/_CodeSignature/CodeSignature' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDK eyboard.kext/Contents/_CodeSignature/CodeSignature'.
16/03/2010 14:47:55 pkgutil[1185] Updating receipt 'com.apple.pkg.BaseSystem' path 'System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDKe yboard.kext/Contents/version.plist' on '/' with actual metadata from '/System/Library/Extensions/AppleHIDKeyboard.kext/Contents/PlugIns/AppleUSBHIDK eyboard.kext/Contents/version.plist'.
[[MARKER NOW I REBOOTED AND THE KEYBOARD DID NOT WORK]]
16/03/2010 17:24:43 /System/Library/Input Methods/KeyboardViewer.app/Contents/MacOS/KeyboardViewer[313] CGSKeyTranslateInitialize: KLGetCurrentKeyboardLayout or KLGetKeyboardLayoutProperty is not available, fall back to USA keymap
16/03/2010 17:55:06 /System/Library/Input Methods/KeyboardViewer.app/Contents/MacOS/KeyboardViewer[337] CGSKeyTranslateInitialize: KLGetCurrentKeyboardLayout or KLGetKeyboardLayoutProperty is not available, fall back to USA keymap
[[MARKER NOW I WILL TRY TO INSTALL A FIRMWARE UPDATE, BUT IT WILL STATE THAT MY SYSTEM DOESN'T NEED IT. SO NOTHING DONE]]
16/03/2010 21:27:26 /System/Library/Input Methods/KeyboardViewer.app/Contents/MacOS/KeyboardViewer[433] CGSKeyTranslateInitialize: KLGetCurrentKeyboardLayout or KLGetKeyboardLayoutProperty is not available, fall back to USA keymap
16/03/2010 21:33:37 Installer[462] Opened from: /Volumes/MacBook MacBook Pro Keyboard Update/MacBookMacBookProKbdSU.pkg
16/03/2010 21:36:52 /System/Library/Input Methods/KeyboardViewer.app/Contents/MacOS/KeyboardViewer[490] CGSKeyTranslateInitialize: KLGetCurrentKeyboardLayout or KLGetKeyboardLayoutProperty is not available, fall back to USA keymap
17/03/2010 07:13:25 /System/Library/Input Methods/KeyboardViewer.app/Contents/MacOS/KeyboardViewer[662] CGSKeyTranslateInitialize: KLGetCurrentKeyboardLayout or KLGetKeyboardLayoutProperty is not available, fall back to USA keymap
[[MARKER AND HERE IS AFTER I RESTORED THE OLD AppleHIDKeyboard.kext...]
17/03/2010 07:44:23 com.apple.launchd.peruser.502[182] ([0x0-0x60060].com.apple.KeyboardViewer[662]) Exited: Killed
17/03/2010 08:21:55 com.apple.kextcache[271] AppleHIDKeyboard.kext does not declare a kernel dependency; using com.apple.kernel.6.0.
<END OF LOGS>

MacBook2,1, Mac OS X (10.6.2)

Posted on Mar 17, 2010 1:12 AM

Reply
8 replies

Mar 17, 2010 3:29 AM in response to Satyrus

It is never a good idea to mix system components like kext's from different OS X versions. If you right-click on for instance the AppleHIDKeyboard.kext & choose "Show contents" you will see that it is a bundle composed of many individual files. Many of these files contain information about files in other OS bundles. Similarly, other OS bundles may contain info about the files in this bundle. This tells the OS what +set of files+ it can & can't use for various functions.

IOW, kext's are not self-contained, functionally independent items. When you replace one with one from a different OS version, its info about other files usually won't be right. This can & very often does cause problems. Some are minor but others can cause progressively greater problems, eventually damaging the OS enough that it becomes inoperative.

So, your fix is almost certainly "dirty."

It's also not addressing the source of the problem. There is nothing wrong with Snow Leopard's AppleHIDKeyboard.kext file (version 1.2.0). Snow Leopard works perfectly well with my & thousands of other users' MacBooks. The cause of your problem could be many things, but this is not one of them. If you can accept that, there are several things you can do to find the cause, starting with running the Apple Hardware Test to see if it finds up any problems with your MacBook.

Mar 17, 2010 4:31 PM in response to R C-R

Dear R.
I ended running the extensive Apple Hardware Test (mooore than 1 hour). No problem found.

After I tried to boot with an Ubuntu Live CD, and the keyboard still didn't work. I think it worked again just for a temporary revamp of the hardware.

I'm almost resolved it is a 100% hw problem, but only after 3 months the warranty expired 😟 sigh! And last month I had to replace the hd!! Sorry, I'm a bit deluded...

Could it be fixable with a firmware refresh? I remember there was a Keyboard Firmware update while upgrading from 10.5 to 10.6...


Obrigado

Alex

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

After System Update keyboard doesn't work -MacBook

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.