Skip to contentSkip to conversation

USB not waking up from S3

DISCUSSION Tim Dijkstra 1 participant 1 message Feb 5, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

Hi,

I've got S3 working pretty well on my desktop now a days (thank you for that), but a problem remains (well actually two).

If I try to go to S3 (echo mem > /sys/power/state), with the uhci_hcd loaded everything seems to go fine except that there's an immediate resume. I wonder if that has something to do with USB* being ACPI wakeup devices.

Feb  2 20:09:54 commensaal kernel: ACPI wakeup devices:
Feb  2 20:09:54 commensaal kernel: PCI0 PCI1 USB0 USB1 USB2 SU20  LAN

Anyway, I tried to work around that problem by rmmod'ing uhci_hcd before suspend, and modprobing afterwards. This seems to work except that everything having to do with USB being really slow (I have a CF-reader that takes ages to mount, and then is really slow in transferspeed.)

Now if use pci-config (it's by Donald Becker, http://www.scyld.com/diag/index.html)
to check the status, it tells me that the device is in state D3.

If I check /sys/..../power/state it contains 0.

Now this program also has a --wake option, so I was adventurous and tried it on the usb devices. And that helped! pci-config reports state D0 and my CF-reader works at full speed!

IMHO this is a bug, but I don't know if it's in the usb or acpi part. Anyway, if you need more info let me know. For now I'll attach my lspci-vvv.

grts Tim