View Single Post
  #72 (permalink)  
Old 12-26-2008, 05:30 AM
jasonb_too
Status: Offline
Junior Member
 
Join Date: Sep 2007
Posts: 6
Rep Power: 0
jasonb_too is on a distinguished road
Default Get Keyboard and Mouse back after screwing with USB kernel extensions

Before you begin:
You need to know where the "Fix_DFU_10_5_6" Automater script placed your backed-up USB kernel extensions. If you ran the "Fix_DFU_10_5_6" script from the Desktop, there should be a directory called "Backup_IOUSBFamily_kext_10_5_6" also on the Desktop with the USB kernel extensions inside. If you can't remember where the backups are located on your drive or don't consider yourself competent enough to navigate your way to the backup copies using Terminal, use unkle's instructions instead.

When reading the instructions below:
** Replace "[username]" with whatever your user directory is called (typically your login name).
** Replace "path/to/Backup_IOUSBFamily_kext_10_5_6" with the path to wherever your backup copies of the USB kernel extensions are located.
** As always, do a sanity check on my instructions before blindly following them. If you're uncertain, wait for someone with cred/rep to say this worked for them before doing this yourself. I'm not usually prone to typos, but it's bound to happen one day (maybe today is that day) .

Here we go:

1) Insert your Leopard install DVD and reboot while *holding* the 'C' key until the gray Apple logo startup screen with the spinning loop appears. Choose a language when prompted, but do not continue with the install.

2) There's a menu bar at the top of the screen. Select the "Terminal" application.

3) Use the "change directory" (cd) command to make the system extensions directory your current working directory using the syntax below:

cd "/Volumes/Macintosh HD/System/Library/Extensions"

4) Use the "copy" (cp) command to copy the 10.5.6 kernel extensions that were backed-up into your current working directory using the syntax below (note the use of quotes and the space before the final dot):

cp -Rp "/Volumes/Macintosh HD/Users/[username]/path/to/Backup_IOUSBFamily_kext_10_5_6/"*.kext .

5) Change the user and group ownership of the kernel extensions to root and wheel respectively using the following syntax:

chown -R root:wheel AppleUSBHub.kext
chown -R root:wheel IOUSBCompositeDriver.kext

6) Change your current working directory to one level above the Extensions directory and move the "Extensions.mkext" file to your Desktop using the syntax below:

cd ..; mv Extensions.mkext "/Volumes/Macintosh HD/Users/[username]/Desktop"

You may notice the system immediately replace Extensions.mkext with a similarly named, zero-length file. Leave it alone.

7) Type "exit" at the Terminal prompt and use the pull-down menu to Quit the Terminal application.
8) Use the pull-down menus again to select the "Startup Disk" application and choose your normal startup disk (the one you've just been moving things around in above) and hit the "Restart" button.

Let the system boot as it normally would. If all went well, you will have now regained keyboard and mouse functionality.

Merry Christmas (Happy Holidays)

Jason