On Fri, 10 Feb 2006, Jon Sjöstedt wrote: > > Suspend isn't a command. > > It's more like a lack of a command (more > > accurately, the lack of any signals on the bus). It can be caused by > > unloading a host controller driver > Including the *hci in the kernel can prevent this?
Yes. Unless the user reboots. > > or by the user explicitly requesting a > > suspend (via sysfs or by putting the whole system into standby or suspend > > mode). > This should defenately be possible to prevent Yes, if you remove Power Management from the kernel configuration. > > Resumes occur when the user wakens the whole system from standby or > > suspend mode or explicitly requests a resume via sysfs. > > > > In the future, some USB drivers may automatically suspend their devices > > after some period of inactivity and automatically resume them when they > > are needed. > > > >> Is there a way to guarantee that suspend-commands are not sent, or are > >> there any states in the kernel when one can guarantee that they are not > >> sent? > > > > There is no way to prevent USB suspends from occurring. > AFAIK, it is possible to disable USB suspend/resume in the kernel > configuration. Wouldnt this stop a suspend to occour? Are you talking about the CONFIG_USB_SUSPEND setting? The prevents individual USB devices from being suspended but it doesn't prevent an entire USB bus from being suspended. (Removing CONFIG_PM does prevent all such suspends.) You would also have to remove CONFIG_USB_DEVICEFS to prevent users from sending suspend requests directly to the hardware. Why are you so concerned about preventing suspends and resumes? They are part of the USB specification; if your device doesn't support them then it isn't compliant with the spec. Alan Stern ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
