Greg KH wrote:


I do: echo "mem" > /sys/power/state and it trys to go to sleep until it hits the hcd driver which prevents it, so it backs out of the sleep process.

Prevents it how ... if you enable debugging, it must say something.

When I tried that with "standby" on a few systems, it broke
horribly (system lockup, no resume) even without an HCD loaded.
That, plus the fact that until recently "apm -s" generally
oopsed on resume, has made me rather distrustful of the PM
code in 2.6 kernels.  Though it works for some folk, I'm told.


If I unload the module(s) I can successfully sleep just fine.  Another
person has also reported this to me, so I know I'm not alone.


I certainly used sysfs to change the device power state ... so it
should work otherwise.


How did you do this?

Suspend to D3 by:

        echo -n 3 > /sys/class/usb_host/$BUSNAME/device/power/state

Resume to D0 by:

        echo -n 0 > /sys/class/usb_host/$BUSNAME/device/power/state

Last I tested, all three HCDs would behave with such cycles.

- Dave





-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to