On Wed, May 26, 2004 at 07:54:18PM -0700, David Brownell wrote:
> 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.

I get a -EIO returned when trying to suspend one of the ohci pci
devices.  I'll work on tracking it down some more.

Looks like ehci-hcd doesn't have this issue, sorry for blameing it too.

> 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.

I'm working on getting suspend to ram working as we really need this.

What's the status on the rest of your CONFIG_USB_SUSPEND changes?
> >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.

Hm, suspend to D2 doesn't seem to do anything :(
Is that expected?

thanks,

greg k-h


-------------------------------------------------------
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