On Tue, 13 Feb 2007, Pavel Machek wrote: > Hi! > > > There have been reports of problems related to shutting down with remote > > wakeup enabled on EHCI USB controllers in 2.6.20; see > > > > http://bugzilla.kernel.org/show_bug.cgi?id=7828 > > > > In brief, some people have found that if ehci-hcd is loaded and the > > controller is suspended when they try to shut down their systems, the > > machine reboots immediately instead of turning off. Apparently this is > > caused by the firmware mistakenly thinking that a remote-wakeup event has > > occurred. Admittedly, remote wakeup from a system sleep is still black > > magic to most of us... > > > > I wrote a patch to try and fix the problem by turning off EHCI remote > > wakeup from within the driver's shutdown() method. The patch is here: > > > > http://bugzilla.kernel.org/attachment.cgi?id=10313&action=view > > > > However I'm concerned that this might affect suspend-to-disk. Some lucky > > people have systems which do keep their EHCI controllers in D3hot during > > STD, and such people might reasonably want Wake-on-USB to work properly. > > It seems likely that the patch would prevent it from working. > > I do not think such "lucky people" exist. And not being able to > control the wakeups.... no I do not think that feature is useful, > yet. KISS. Okay, based on your feedback and that from others, I will submit the original simple patch. Thanks. Alan Stern