Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

The General

macrumors 601
Original poster
Jul 7, 2006
4,825
1
So I tried to to the IOUSBFamily.kext work around for iPhone DFU mode and I ended up royally messing up USB on my mac. When I boot I get an error that it wasn't installed correctly and that I need to reinstall it, but I can't use the mouse or keyboard and I didn't enable screensharing so I can't remote in. SSH is a no go either. I have Vista 64bit on the other partition but MacDrive doesn't work in that.

I just need the IOUSBFamily.kext from someone with 10.5.6 so I can put it on a thumb drive, boot from my Leopard disk and replace my broken one with it with the terminal.

I don't know where else to get the file I need other than asking for it on here...

EDIT: Anyone know if I can boot my Leopard disk and use the terminal to chroot into my Leopard installation?
EDIT 2: You can, but rebuilding kextcache didn't fix the problem.

All I need is for someone with 10.5.6 to post /System/Library/Extensions/IOUSBFamily.kext
 
I did that stupid thing too ;)

What I did was boot into Safe Mode(by pressing shift while starting up), and re-install the 10.5.6 combo update. Then repaired the permissions(it took really long).

If you don;t want to re-install the combo update, you can try boot into safe mode and repair the permissions first see if it fixes the problem.

In safe mode, it doesn't recognize the USB disk, but it can mount CD/DVD Disk. I deleted the 10.5.6 update image file after first installing, and I had to download it again from a PC and burn.
 
Thanks. Here's what I did with the file posted above:

1. Put file on USB thumb drive
2. Boot Leopard install disk
3. Open the Terminal and replace the broken one on my system with that file and chown it root:wheel and chmod it 755
4. chroot /Volumes/Macintosh HD/
5. kextcache -k /System/Library/Extensions
6. Reboot

And the problem was solved! Now I'm going to try and do the patch again, only this time to avoid having to do all that I'm going to:

1. Enable screensharing and/or SSH so I can use my computer in case it doesn't work and I have no USB again.
2. Backup the original file. :cool:

I think the reason the patch didn't work is because I neglected to rebuild my kextcache before rebooting. :p
 
Damn that update, I fell for the same trick :( After trying an automator script to fix the kext files the IOUSBFamily.kext magically disappeared. I'm not sure what I did, more importantly: I have nooo idea how to fix it :(

When I boot OS X the OS seems to work, except for USB (keyboard/mouse). I managed to put the .zip (few posts above this one) into my public profile folder (/Users/Neejoh/Public/Drop box/) since the network was working.

After booting the Leopard Install DVD I opened terminal:
1. cp -R "/Volumes/Macintosh HD/Users/Neejoh/Public/Drop Box/IOUSBFamily.kext/" "/Volumes/Macintosh HD/System/Library/Extensions/" returned no error
2. chown -R root:wheel "/Volumes/Macintosh HD/System/Library/Extensions/IOUSBFamily.kext/"
returned no error
3. chroot "/Volumes/Macintosh HD/"
4. kextcache -k /System/Library/Extensions
5. reboot..... no error but no USB either

I really need help! :mad:

[edit]
YES! I managed to fix it!
Instead of /IOUSBFamily.kext/ I needed to put back the /AppleUSBHub.kext/ as well as /IOUSBCompositeDriver.kext/, chown/chmod them and rebuild the kextcache.

I'm soooooo happy now haha
 
Well, I did the same 'patch' for the DFU-mode some time ago on my iMac, but apparantly it seemed nothing happened and I had no problems whatsoever, UNTIL this Christmas, when I unplugged my iMac and reconnected it 45 minutes ago...

I had NO keyboard and NO mouse, so I started sweating! I immediately remembered what could've been the cause and quickly opened my MacBook to 'google' for it and came across this post, which saved me!

Fortunately I had Apple Remote Desktop installed so I could connect to my iMac. I remembered I 'saved' the backups that little patch made, and used them (and this post) to try to fix it but to no avail.

What I then did was, copy the /IOUSBFamily.kext/ from my MacBook to my iMac (fortunately, file sharing was enabled for me as admin), inserted the Leopard install DVD I, open up terminal and then did the chmod/chown and kextcache as mentioned above, rebooted and bam! USB back!

Then I registered here on MacRumors just to say 'thanks!' to you guys for saving my evening :)
 
Same thing happened to me. Im in safe mode right now. Can someone help out with this. I am no expert when it comes to unix commands as such. Chown?Chmod? Etc....
 
Hi Folks,

i am desperately trying to get my macbook pro back on track!

Here is what happened:

I regularly installed 10.5.6 update without any issues...then trying to use my iphone with DFU i read, that i need to do some changes with the above iousbfamily stuff, so i used the provided automator script. all went well, without errors...

BUT i cant remember, if i rebooted my computer afterwards...so i did it today and after starting up nothing works anymore (keyboard/trackpad, external usb devices...) only thing i can see, is that my external optical mouse blinks just at the beginning showing it has power, but afterwards nothing...no vital sign!
Safe mode doesnt work either, means it boots up, but i cant use external devices nor the built in keyboard.


Does anyone know, if this might be the problem with the replacement of the files made by the automator script and if there is any solution to access my laptop and use ssh to copy and replace it again with the files provided here...


Only problem is, I am not an IT guy, so I only have basic knowledge and need an step by step tutorial...the things The General wrote here I only partly understand...all the commands etc.

I would be very greatful if someone can help me (TheGeneral Please).
This way I can figure out, if this is actually the problem, or if I might have a hardware issue and can use my warranty as soon as possible (due date is end of january)...


PLEASE GUYS, willing to donate some bucks over paypal, if needed!

THANKS,
BERZ
 
Ok,

I have tried this: Put the FOLDER IOUSBFamily.kext which was posted here on a jump drive.

Started the Leopard Install Disk, went to Terminal and did this:

FYI: My JumpDrive is called ATOM

1. cd /Volumes/ATOM (in this directory the folder iousbfamily.kext exists)
2. cp -R IOUSBFamily.kext/ /Volumes/HD/System/Library/Extensions
3. chown -R root:wheel /Volumes/HD/System/Library/Extensions/IOUSBFamily.kext/
4. chmod 755 /Volumes/HD/System/Library/Extensions/IOUSBFamily.kext/
5. chroot /Volumes/HD
6. kextcache -k /System/Library/Extensions/
7. Reboot

No errors, but to no avail...usb still broken!

Now, Neejoh says, that he could manage it by copying to extra folders, but they are already in the subfolders of IOUSBFamily.kext...is it needed to do them manually too?

Hey Guys, please help me out here...I am writing my diploma thesis on my mac and I am screwed, if I can't get it running soon!

THANKS SO MUCH!
 
Same Problem

Hope you guys are still around,

I have the same problem with the IOUSBFamily.kext

I downloaded the file that was given, and rather than use terminal I was able to put it into the Extensions folder by way of MacDrive on BootCamp. But when I boot back up into the Mac Partition, I still have the problem of no keyboard or mouse. So I think that I have to change the permissions to 755 for it to work. So I tried doing that in Terminal with the Start-up Disk but it said it could not find the folder.

So my question is how can I change permissions either with BootCamp. Or can someone please explain how I can do it in Terminal?

Thanks a lot!

-Hudsora
 
Hi Folks,

i am desperately trying to get my macbook pro back on track!

Here is what happened:

I regularly installed 10.5.6 update without any issues...then trying to use my iphone with DFU i read, that i need to do some changes with the above iousbfamily stuff, so i used the provided automator script. all went well, without errors...

BUT i cant remember, if i rebooted my computer afterwards...so i did it today and after starting up nothing works anymore (keyboard/trackpad, external usb devices...) only thing i can see, is that my external optical mouse blinks just at the beginning showing it has power, but afterwards nothing...no vital sign!
Safe mode doesnt work either, means it boots up, but i cant use external devices nor the built in keyboard.


Does anyone know, if this might be the problem with the replacement of the files made by the automator script and if there is any solution to access my laptop and use ssh to copy and replace it again with the files provided here...


Only problem is, I am not an IT guy, so I only have basic knowledge and need an step by step tutorial...the things The General wrote here I only partly understand...all the commands etc.

I would be very greatful if someone can help me (TheGeneral Please).
This way I can figure out, if this is actually the problem, or if I might have a hardware issue and can use my warranty as soon as possible (due date is end of january)...


PLEASE GUYS, willing to donate some bucks over paypal, if needed!

THANKS,
BERZ




I am EXACTLY in the same situation!

So if anyone could post or PM me a step by step tuttorial, i would be greatfully thankfull!

I cant bot from the leo dvd cause i cant press c to enter the cd.

cant use the remote to select the dvd as well since its all plugged into the usb port

Chris
 
me too. i tried to do the workaround on the kext files. I ran the script but it never completed to the restart phase. I then copied the two kext files (appleusb and iocomposite) to the extensions folder, rebuilt the cache, rebooted....then nothing.

i've replaced them with the backups made by the script, rebuilt the cache, and still the keyboard and mouse will not work when i start up.

any ideas?

also:
I used BatChmod to change the permissions on both appleusb and iocomposite
 
thank you for the quick reply! i ended up running the 10.5.6 combo update from safe mode to get everything back to normal. i still want to be able to enter DFU mode, though. i just hope it doesn't end up like it did the first time!
 
This saved my bacon and I didn't even know it!

I did the DFU thing to jailbreak my iPod touch. I then plugged in my external HD to backup my macbook. Every time I plugged in the USB cable the Macbook told me that I had to reboot. It did this a few times until I remembered that I had changed the DFU. I came across this site, downloaded the 10.5.6. combo and rebooted into safe mode. That's when I lost my keyboard and mouse -- and I was freaked out! After I calmed down I inserted my Leopard DVDs and booted (holding down the C key). I chose to archive the existing system directory and then to install 10.5 Now I am updating the software. No more jailbreaking for me, especially when I really don't need to.


thank you for the quick reply! i ended up running the 10.5.6 combo update from safe mode to get everything back to normal. i still want to be able to enter DFU mode, though. i just hope it doesn't end up like it did the first time!
 
Need help

I tried following the instruction given above e.g. chown -R root:wheel.....
but the problem is Terminal is given me an error that chown : command not found .

Please help.

Shades
 
Has anyone experienced slowness after this fiasco? My machine seems sooo much slower after I applied the "fix"
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.