On Thu, Aug 31, 2006 at 03:36:42AM -0700, David Brownell wrote:
> 
> USB on many system-on-chip processors also has less aggressive sleep
> states, where for example USB port power might be maintained, and
> the root hub clocked enough to detect simple events like "remote
> wakeup", "connect new device", and "disconnect device" ... and then
> use those as system wakeup events.

Not my case since the CPU goes in a power-off mode and can be resumed
only throught few pins.

> That's correct for the "power fully off" mode, yes.  Maybe you can

So, no way to have a rootfs on a USBkey and the suspend/resume
support.

> do better than that; see how ohci-at91.c will keep USB active during
> "standby" sleep, that's the best in-tree example today.

It disables only the clocks... it seems a "poor" suspend/resume
support...

> But in general, userspace should be assuming that all removable
> media will have been removed by the time the system comes back up,
> and have prepared for it.  Unmounting would be a nice safe policy,
> but if userspace knows the system will sleep and is _not_ ready for
> the media to be removed, that's a userspace bug.

Mmm... it doesn't seem so flexible. What happens if umount fails? I
can't suspend the system? :-o

Thanks,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    [EMAIL PROTECTED]
Linux Device Driver                             [EMAIL PROTECTED]
Embedded Systems                                [EMAIL PROTECTED]
UNIX programming                     phone:     +39 349 2432127

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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