[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#612300: linux-image-2.6.32-5-686: USB devices can't wakeup the system



At Mon, 07 Feb 2011 19:45:09 +0100,
Adam Sloboda wrote:
> 
> At Mon, 7 Feb 2011 17:27:49 +0000,
> maximilian attems wrote:
> > 
> > On Mon, Feb 07, 2011 at 05:48:25PM +0100, Adam Sloboda wrote:
> > > 
> > > The regression was introduced in 2.6.32-29
> > 
> > Right changelog has it:
> > 
> >   * USB: Retain device power/wakeup setting across reconfiguration;
> >     don't enable remote wakeup by default (Closes: #605246)
> > 
> 
> So it can be worked around by script (in addition to
> /proc/acpi/wakeup setup) on boot *and* each wakeup which sets
> /sys/bus/usb/devices/.../power/wakeup to enabled again.

I just noticed that /etc/pm/sleep.d script does not work after resume,
only immediately before suspend.

How is it possible that userspace script gets overriden?  I can see in
the log that the script enabled these devices and they are disabled
again after that:

/etc/pm/sleep.d/wakeup resume suspend:
Allowing PHILIPS device to wake up
Allowing APC device to wake up
success.



Reply to: