Jump to content

USB sleep then wake "Device Removal" problem


pcb355
 Share

1 post in this topic

Recommended Posts

I'm new to this forum, but I have been active in OSX86 development for some time. I'm trying to solve a problem with USB on an otherwise perfect OSX86 system. It involves sleep functionality on the EHCI USB bus. Upon wake from sleep, if a USB drive has been attached, the system displays the "Device Removal" warning dialog. I have tried everything on the internet available for this problem, including Slice's kexts, AnV's kexts, the EHCISleepEnabler.kext, various IOPCIFamily.kexts, BIOS settings, all to no avail. USB is working absolutely perfect except for this issue, as is the rest of the system. It seems to me that the problem (at least on this MB, and probably other ICH10R MBs) is related to how the USB drivers initialize the ports, and thus determine their power management (sleep) capabilities. On this system, the EHCI USB ports are seen as PCI devices, rather than as built-in devices. This means that the driver will turn off the port and turn it back on again instead of suspending and resuming the port like it should.

 

I've written device drivers before and done some XCode development, and I'm currently getting my build environment correct, and starting to test some simple changes in the sleep capability section of AppleUSBEHCI.

 

Am I heading in the right direction?

 

If so, any pointers or other suggestions?

 

Thanks for the feedback.

Link to comment
Share on other sites

 Share

×
×
  • Create New...