Alan Stern ha scritto:

On Fri, 23 Sep 2005, Patrizio Bassi wrote:

after:

echo shutdown > /sys/power/disk
echo disk > /sys/power/state

i get:

Could not suspend device 0000:00:0a.2: error -22

0000:00:0a.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50) 0000:00:0a.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
0000:00:0a.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)

it's a pci usb 2.0 card. no active device plugged there.

i compiled ehci and uhci as module and now i can suspend after unloading both.

this is the only problem i have.

What version of Linux are you using?
2.6.14-rc2-git3 (today's one)

What happens if you rmmod ehci-hcd and leave uhci-hcd loaded?
i wrote in the dmesg:

eth1: Setting promiscuous mode.
uhci_hcd 0000:00:0a.1: HC isn't running!
hub 3-0:1.0: PM: resume from 1, parent usb3 still 1
hub 3-0:1.0: hub_port_status failed (err = -113)
hub 3-0:1.0: hub_port_status failed (err = -113)
hub 3-0:1.0: activate --> -113
hub 3-0:1.0: hub_port_status failed (err = -113)
hub 3-0:1.0: hub_port_status failed (err = -113)
Some devices failed to suspend

What do you get in the system log if you turn on CONFIG_USB_DEBUG?

Alan Stern


actually i haven't debug enabled.


in my dmesg you can see reactions to these operations:

a) suspend
....it fails due to ehci
b) remove ehci
...if fails due to uhci
c) remove uhci.... works!

after i resume and reload both modules.

PS: continue to CC me, i'm not subscribed



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to