From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nigel Cunningham Subject: Re: Request for testing remote wakeup during STD Date: Sat, 10 Feb 2007 15:50:48 +1100 Message-ID: <1171083048.10170.23.camel@nigel.suspend2.net> References: Reply-To: nigel@nigel.suspend2.net Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: Alan Stern Cc: Linux-pm mailing list List-Id: linux-pm@vger.kernel.org Hi Alan. On Fri, 2007-02-09 at 22:59 -0500, Alan Stern wrote: > 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=3D7828 > = > 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=3D10313&action=3Dview > = > 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. > = > Does anyone have a system capable of testing this? I think Macs are most = > likely to have the necessary hardware support. I'd love to be able to help you. My lappy loads ehci and lsusb shows the controller, but I'll be darned if I can find the socket! I have other things to get done right now, but if no-one beats me to it, I'll try the desktop I have - I think that has ehci somewhere. Regards, Nigel