Re: [Regression] USB wakeup problem on Toshiba Portege R500

From: Oliver Neukum
Date: Thu Jan 08 2009 - 03:49:57 EST


Am Thursday 08 January 2009 08:35:39 schrieb Rafael J. Wysocki:
> Hi Alan,
>
> Unfortunately, the following commit:
>
> commit 6fd9086a518d4f14213a32fe6c9ac17fabebbc1e
> Author: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> Date: Wed Dec 17 17:20:38 2008 -0500
>
> USB: automatically enable wakeup for PCI host controllers
>
> Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
>
> causes a regression to appear on my Toshiba Portege R500.
>
> The regression is that when suspended to RAM, the box wakes up immediately
> unless 'disabled' is written into the /sys/devices/.../power/wakeup file of the

Even without attached devices?

> EHCI controller. I know of at least 10 different boxes out there that are
> going to have similar problems forcing their users to use manual workaround.
>
> Also, it wakes up on a USB mouse activity, which I don't want it to do, so in
> fact I have to write 'disabled' to the /sys/devices/.../power/wakeup files of
> all USB controllers.

We do support remote wakeup from PS2 keyboards. So you might argue we
should do the same for USB HID devices.

Regards
Oliver


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/