Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Thanks Odotan For Saving My Mac

THANKS FOR SAVING MY MAC!!! I WAS ABLE TO GET MY KEYBOARD/TRACKPAD, BLUETOOTH, AND USB PORTS BACK!!! I DON'T KNOW WHAT I WOULD HAVE DONE WITHOUT YOUR EXTENSIVE WORK!

I found a solution. It's not necessary to copy the whole IOUSBFamily.kext file. If you open the file, inside it are more kext files. You need to replace the following with a version from an old macbook:

/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBHub.kext

and

/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBCompositeDriver.kext

Simply replacing them won't work. You have to copy the whole IOUSBFamily.kext folder to your desktop (for example), replace the above files(/folders) and then replace the whole folder in its original location like this:

open terminal, type
sudo -s
enter the password
then enter the following (replace "User" with your username):

rm -r /System/Library/Extensions/IOUSBFamily.kext
mv /Users/User/Desktop/IOUSBFamily.kext /System/Library/Extensions
sudo chmod -R 755 /System/Library/Extensions/IOUSBFamily.kext
sudo chown -R root:wheel /System/Library/Extensions/IOUSBFamily.kext
rm /System/Library/Extensions.mkext

Wait a few seconds for the Extensions file to rebuild itself and reboot the machine and you should be good to go.

My computer can now detect DFU and go to sleep normally :)

Ps. I'm still checking to see if this method can be further simplified and I will update accordingly.
 
Great job! I'm getting a new MB, good to know. Thanks!

I found a solution. It's not necessary to copy the whole IOUSBFamily.kext file. If you open the file, inside it are more kext files. You need to replace the following with a version from an old macbook:

/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBHub.kext

and

/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBCompositeDriver.kext

Simply replacing them won't work. You have to copy the whole IOUSBFamily.kext folder to your desktop (for example), replace the above files(/folders) and then replace the whole folder in its original location like this:

open terminal, type
sudo -s
enter the password
then enter the following (replace "User" with your username):

rm -r /System/Library/Extensions/IOUSBFamily.kext
mv /Users/User/Desktop/IOUSBFamily.kext /System/Library/Extensions
sudo chmod -R 755 /System/Library/Extensions/IOUSBFamily.kext
sudo chown -R root:wheel /System/Library/Extensions/IOUSBFamily.kext
rm /System/Library/Extensions.mkext

Wait a few seconds for the Extensions file to rebuild itself and reboot the machine and you should be good to go.

My computer can now detect DFU and go to sleep normally :)

Ps. I'm still checking to see if this method can be further simplified and I will update accordingly.
 
I'm glad to help. It looks like the script at

http://www.hackint0sh.org/news/401

Uses this exact method to fix the issue. I wonder if I should be getting credit for it... but well... I can live without it, just as long as it works.

btw, for those of you who lost your keyboard and mouse after a reboot, read some of my earlier posts in this thread... it's caused by missing permissions. I had to go through that as well but solved it by entering safe mode re-replacing the original iousbfamily.kext file and then (VERY IMPORTANT) GIVING IT THE RIGHT PERMISSIONS. You can use the same command lines I detailed with the original kext on the desktop instead of the modified one.

Another BTW, this is NOT an ideal solution. I found out that a SuperDrive (the external one specifically for the MBA) will not load or read CD's with the modified kexts, so what I do is keep replacing the original kext after I don't need to enter DFU to unlock an iphone

THANKS FOR SAVING MY MAC!!! I WAS ABLE TO GET MY KEYBOARD/TRACKPAD, BLUETOOTH, AND USB PORTS BACK!!! I DON'T KNOW WHAT I WOULD HAVE DONE WITHOUT YOUR EXTENSIVE WORK!
 
Is that sarcasm? Hard to tell on the Internet.

If it is then it Iis not needed, that script replaces the files on OS X automatically making it easier for people.

lol, no man not at all, much appreciated that is exactly what I needed.
 
My MBA keyboard and trackpad have also stopped working when I attempted to rollback to previous ktext. My problem however is that my external mouse and keyboard are not working when plugged into the device. I've now tried two mice and nothing. HELP!!!!


Thanks
 
I'm glad to help. It looks like the script at

http://www.hackint0sh.org/news/401

btw, for those of you who lost your keyboard and mouse after a reboot, read some of my earlier posts in this thread... it's caused by missing permissions. I had to go through that as well but solved it by entering safe mode re-replacing the original iousbfamily.kext file and then (VERY IMPORTANT) GIVING IT THE RIGHT PERMISSIONS. You can use the same command lines I detailed with the original kext on the desktop instead of the modified one.

Another BTW, this is NOT an ideal solution. I found out that a SuperDrive (the external one specifically for the MBA) will not load or read CD's with the modified kexts, so what I do is keep replacing the original kext after I don't need to enter DFU to unlock an iphone

hello odotan,

i also got a new macbook unibody this week, and having read this thread over and over again, i am a bit nervous to replace the IOUSBFamily.kext in fear of locking the mouse and keyboard.

i would like to double check with you on this. in order to do this properly, i must have the correct permission set as follow, correct?

sudo chmod -R 755 /System/Library/Extensions/IOUSBFamily.kext
sudo chown -R root:wheel /System/Library/Extensions/IOUSBFamily.kext


please confirm.

on the other note, for my unibody macbook, the IOUSBFamily.kext is about 4.9M whereas the old macbook you uploaded is 3.9M. i was wondering i may lose some features going from 4.9M to 3.9M IOUSBFamily.kext

i am hoping the dev team would come up a new pwnage for the new uibody macbook and macbookpro

anyone who has the new unibody macbook feels the same???
 
hello odotan,

i also got a new macbook unibody this week, and having read this thread over and over again, i am a bit nervous to replace the IOUSBFamily.kext in fear of locking the mouse and keyboard.

i would like to double check with you on this. in order to do this properly, i must have the correct permission set as follow, correct?

sudo chmod -R 755 /System/Library/Extensions/IOUSBFamily.kext
sudo chown -R root:wheel /System/Library/Extensions/IOUSBFamily.kext


please confirm.

on the other note, for my unibody macbook, the IOUSBFamily.kext is about 4.9M whereas the old macbook you uploaded is 3.9M. i was wondering i may lose some features going from 4.9M to 3.9M IOUSBFamily.kext

i am hoping the dev team would come up a new pwnage for the new uibody macbook and macbookpro

anyone who has the new unibody macbook feels the same???

I would NOT replace the whole IOUSBFamily.kext file. As is stated in my post #33, copy the IOUSBFamily.kext file and replace ONLY the two files AppleUSBHub.kext and IOUSBCompositeDriver.kext inside it. Then run the commands that you mentioned. This way you have your own original IOUSBFamily.kext file and only the two files inside it from an older mac. Follow my instructions from post #33 and you should be fine.

Also, as I said in my post #56, only do this when you need to enter DFU to unlock an iPhone, because you will lose some functionality (I noticed that an external MBA SuperDrive will not work). So make a backup of the your original IOUSBFamily.kext file and replace it back when you're done unlocking. Use the same command lines to replace it.
 
I would NOT replace the whole IOUSBFamily.kext file. As is stated in my post #33, copy the IOUSBFamily.kext file and replace ONLY the two files AppleUSBHub.kext and IOUSBCompositeDriver.kext inside it. Then run the commands that you mentioned. This way you have your own original IOUSBFamily.kext file and only the two files inside it from an older mac. Follow my instructions from post #33 and you should be fine.

Also, as I said in my post #56, only do this when you need to enter DFU to unlock an iPhone, because you will lose some functionality (I noticed that an external MBA SuperDrive will not work). So make a backup of the your original IOUSBFamily.kext file and replace it back when you're done unlocking. Use the same command lines to replace it.


ok, so this is what i need to do...

- save a copy of IOUSBFamily.kext from my unibody macbook on my desktop
called it save_IOUSBFamily.kext

** to use old macbook IOUSBFamily.kext
1. replace this file with old macbook /AppleUSBHub.kext
/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBHub.kext
2. replace this file with old macbook /IOUSBCompositeDriver.kext
/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBCompositeDriver.kext

3. open terminal, type
4. sudo -s
5. rm -r /System/Library/Extensions/IOUSBFamily.kext
6. mv /Users/me/Desktop/IOUSBFamily.kext /System/Library/Extensions
7.sudo chmod -R 755 /System/Library/Extensions/IOUSBFamily.kext
8.sudo chown -R root:wheel /System/Library/Extensions/IOUSBFamily.kext
9.rm /System/Library/Extensions.mkext

most importanly, as long as i do the chmod in step 7 & 8, i will not run into no keyboard or mouse situation as reported by some people, right?

user Reddeathmaster mentioned he was not able to use the keyboard and mouse, was it becasue he did not do the chmod to set the proper permission? assuming i reboot my machine and i run into that situation, what can one do?

** now to restore my original IOUSBFamily.kext
can i just do the following steps and skip 1 & 2 above with AppleUSBHub.kext & IOUSBCompositeDriver.kext
3. open terminal, type
4. sudo -s
5. rm -r /System/Library/Extensions/IOUSBFamily.kext
6. mv /Users/me/Desktop/save_IOUSBFamily.kext /System/Library/Extensions
7.sudo chmod -R 755 /System/Library/Extensions/IOUSBFamily.kext
8.sudo chown -R root:wheel /System/Library/Extensions/IOUSBFamily.kext
9.rm /System/Library/Extensions.mkext
 
You would need to have a file on your desktop called IOUSBFamily.kext . The command lines will not work if you rename the file to save_IOUSBFamily.kext (although it's good to have a copy just in case) because the file copied will also be named save_IOUSBFamily.kext. You see, the command line will MOVE the file from the desktop to the appropriate location (your line labeled 6.).

So what you need to do is copy the IOUSBFamily.kext file from /System/Library/Extensions to the desktop (and yes, make a backup and call it something else), then OPEN that file (you can do that by pressing control and clicking the file and then clicking "show package contents"). Once the file is open, you will see more folders inside it. Look for the files AppleUSBHub.kext and IOUSBCompositeDriver.kext in the /Contents/PlugIns/ subfolder and replace them with the same files from an old macbook.

Note: Once you have done this, and you have the NEW IOUSBFamily.kext file with inside it the OLD files listed above, I would make a backup of it again and put it somewhere with a label that will tell you what it is. What I have done is created three folders and named them "New", "Old", and "New with old Hub and Composite". Inside each of these folders I put the corresponding IOUSBFamily.kext file. This way, if I want to switch to any of the configurations, I just copy the file onto the desktop and run the command lines in my post #33.

And if you lose your mouse and keyboard, you would have to log on in safe mode (press shift at boot) and give the files the correct permissions like you say. But don't worry, if you give them the right permissions with the command lines there shouldn't be a problem.


ok, so this is what i need to do...

- save a copy of IOUSBFamily.kext from my unibody macbook on my desktop
called it save_IOUSBFamily.kext

** to use old macbook IOUSBFamily.kext
1. replace this file with old macbook /AppleUSBHub.kext
/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBHub.kext
2. replace this file with old macbook /IOUSBCompositeDriver.kext
/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBCompositeDriver.kext

3. open terminal, type
4. sudo -s
5. rm -r /System/Library/Extensions/IOUSBFamily.kext
6. mv /Users/me/Desktop/IOUSBFamily.kext /System/Library/Extensions
7.sudo chmod -R 755 /System/Library/Extensions/IOUSBFamily.kext
8.sudo chown -R root:wheel /System/Library/Extensions/IOUSBFamily.kext
9.rm /System/Library/Extensions.mkext

most importanly, as long as i do the chmod in step 7 & 8, i will not run into no keyboard or mouse situation as reported by some people, right?

user Reddeathmaster mentioned he was not able to use the keyboard and mouse, was it becasue he did not do the chmod to set the proper permission? assuming i reboot my machine and i run into that situation, what can one do?

** now to restore my original IOUSBFamily.kext
can i just do the following steps and skip 1 & 2 above with AppleUSBHub.kext & IOUSBCompositeDriver.kext
3. open terminal, type
4. sudo -s
5. rm -r /System/Library/Extensions/IOUSBFamily.kext
6. mv /Users/me/Desktop/save_IOUSBFamily.kext /System/Library/Extensions
7.sudo chmod -R 755 /System/Library/Extensions/IOUSBFamily.kext
8.sudo chown -R root:wheel /System/Library/Extensions/IOUSBFamily.kext
9.rm /System/Library/Extensions.mkext
 
sfa guy, I appreciate the advice, however, I cannot type as external are not working for me either. I'm going to attempt to re-install leapord tomorrow when I have my superdrive.
 
You don't need to reinstall. You can go into safe mode by shutting down with the power button (keep it pressed for 8 sec), and keep shift pressed when you turn on again until you see the spinning wheel logo (after the apple logo). You should then have to logon with your password and your keyboard/mouse should work. You can then replace the original file and make sure you give it the correct permissions. You can then reboot normally and should have everything back to normal.


sfa guy, I appreciate the advice, however, I cannot type as external are not working for me either. I'm going to attempt to re-install leapord tomorrow when I have my superdrive.
 
Note: Once you have done this, and you have the NEW IOUSBFamily.kext file with inside it the OLD files listed above, I would make a backup of it again and put it somewhere with a label that will tell you what it is. What I have done is created three folders and named them "New", "Old", and "New with old Hub and Composite". Inside each of these folders I put the corresponding IOUSBFamily.kext file. This way, if I want to switch to any of the configurations, I just copy the file onto the desktop and run the command lines in my post #33.

the three folders suggestion is great. i will do it your way.

thanks!
 
So my keyboard/trackpad stopped working (i also tried external one), i can log into safemode but it still doesn't work in that mode. what else can i try to do?

i have a late 2008 unibody macbook.
 
bump and i forgot to say i don't have access to the restore discs atm

hey, sorry to hear that. did you follow the explicit instrcutions by odotan to set the proper permission using chmod and chown?

i also have the new unibody macbook and i am a bit reluctant to try this in fear the keyboard locks up and i'll be SOL.
 
If I update to the latest update, do I need to follow these steps for the next jailbreak? my phone is already jailbroken and loving it.
 
hey, sorry to hear that. did you follow the explicit instrcutions by odotan to set the proper permission using chmod and chown?

i also have the new unibody macbook and i am a bit reluctant to try this in fear the keyboard locks up and i'll be SOL.

My leopard cd's are at my apt, so i had to borrow a friends, but i had to reinstall os x (without deleting my files). that fixed the problems i had.
 
My leopard cd's are at my apt, so i had to borrow a friends, but i had to reinstall os x (without deleting my files). that fixed the problems i had.

again, when you modified the IOUSBFamily file, did you change permission using the CHMOD command? i am trying to understand why your keyboard was disable.
 
need some help guys

So my keyboard/trackpad stopped working (i also tried external one), i can log into safemode but it still doesn't work in that mode. what else can i try to do?

i have a late 2008 unibody macbook.

I have the same problem, as dnguyen, can't get the keyboard or trackpad to work in safe mode.

So I only have the options to access terminal from the startup DVD or to install OS X again?

Will I be able to install OS X from the DVD without deleting or losing any of my personal files and applications on the hard disk?

All help appreciated. Thank you
 
im a total noob, should i just take my macbook to a genius ,i do not want to do a fresh install and im totally out of my depth here
 
Stupid enough not to backup :(

Hey, i attempted this method and it worked flawlessly, however i was careless, and didn't backup the original file.

Everytime i plug in any kind of USB storage device, my whole macbook crashes ( same goes if i boot it up with it plugged it. )

I have a Macbook Pro 17" purchased in April.

Anyway or anywhere i can get that original file??

Thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.