Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#612300: linux-image-2.6.32-5-686: USB devices can't wakeup the system (http://www.linux-archive.org/debian-kernel/486234-bug-612300-linux-image-2-6-32-5-686-usb-devices-cant-wakeup-system.html)

Adam Sloboda 02-07-2011 05:45 PM

Bug#612300: linux-image-2.6.32-5-686: USB devices can't wakeup the system
 
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.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87d3n3of9m.wl%ja@disorder.sk">http://lists.debian.org/87d3n3of9m.wl%ja@disorder.sk

Adam Sloboda 02-08-2011 10:01 AM

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.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87bp2mokmu.wl%ja@disorder.sk">http://lists.debian.org/87bp2mokmu.wl%ja@disorder.sk


All times are GMT. The time now is 08:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.