* Re: [Bugme-new] [Bug 16043] New: Resume w/USB remote working in 2.6.33.2, no longer in 2.6.33.10
[not found] ` <bug-16043-10286-3bo0kxnWaOQUvHkbgXJLS5sdmw4N0Rt+2LY78lusg7I@public.gmane.org/>
@ 2010-05-27 20:01 ` Andrew Morton
[not found] ` <20100527130117.ca479487.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2010-05-27 20:01 UTC (permalink / raw)
To: linux-usb-u79uwXL29TY76Z2rM5mHXA,
linux-acpi-u79uwXL29TY76Z2rM5mHXA, stable-DgEjT+Ai2ygdnm+yROfE0A
Cc: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r,
bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r,
scott-ILTxhEaIe5LR7s880joybQ
(switched to email. Please respond via emailed reply-to-all, not via the
bugzilla web interface).
On Tue, 25 May 2010 03:51:20 GMT
bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r@public.gmane.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=16043
>
> Summary: Resume w/USB remote working in 2.6.33.2, no longer in
> 2.6.33.10
This is a regression within -stable, presumably also in 2.6.34.
> Product: ACPI
> Version: 2.5
> Kernel Version: 2.6.33.10
> Platform: All
> OS/Version: Linux
> Tree: Mainline
> Status: NEW
> Severity: normal
> Priority: P1
> Component: Power-Sleep-Wake
> AssignedTo: acpi_power-sleep-wake-ztI5WcYan/vQLgFONoPN62D2FQJk+8+b@public.gmane.org
> ReportedBy: scott-ILTxhEaIe5LR7s880joybQ@public.gmane.org
> Regression: Yes
>
>
> Using the latest Arch Linux kernel (2.6.33.10-1), the contents of
> /proc/acpi/wakeup are:
>
> [scott@blargh-htpc ~]$ cat /proc/acpi/wakeup
> Device S-state Status Sysfs node
> HUB0 S5 disabled pci:0000:00:09.0
> XVR0 S5 disabled
> XVR1 S5 disabled
> XVR2 S5 disabled
> XVR3 S5 disabled
> XVR4 S5 disabled pci:0000:00:16.0
> XVR5 S5 disabled
> XVR6 S5 disabled
> UAR1 S5 disabled pnp:00:08
> USB0 S4 enabled pci:0000:00:04.0
> USB1 S4 disabled pci:0000:00:06.0
> USBB S3 disabled pci:0000:00:06.1
> USB2 S3 disabled pci:0000:00:04.1
> AZAD S5 disabled pci:0000:00:08.0
> MMAC S5 disabled pci:0000:00:0a.0
>
> [scott@blargh-htpc pkg]$ uname -a
> Linux blargh-htpc 2.6.33-ARCH #1 SMP PREEMPT Thu May 13 11:32:37 CEST 2010
> x86_64 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz GenuineIntel GNU/Linu
> x
>
> The machine will suspend to RAM correctly, but will no longer be resumed by a
> USB remote power-on event. Instead, the power button on the machine must be
> pressed. It then resumes correctly.
>
> This behavior was not present in the previous kernel I was running: 2.6.33.2-1.
> In that case, the machine powered back on correctly when the USB remote's
> power button was pressed. There was an intermediate kernel release
> (2.6.33.4-1) that I have not tried, but certainly can do so if that might help
> determine where the regression was introduced.
>
> Additionally if there's more information I can provide about the system and my
> setup, please let me know what is required.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bugme-new] [Bug 16043] New: Resume w/USB remote working in 2.6.33.2, no longer in 2.6.33.10
[not found] ` <20100527130117.ca479487.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
@ 2010-05-27 22:01 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.1005271755500.1595-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Alan Stern @ 2010-05-27 22:01 UTC (permalink / raw)
To: scott-ILTxhEaIe5LR7s880joybQ
Cc: USB list, linux-acpi-u79uwXL29TY76Z2rM5mHXA,
stable-DgEjT+Ai2ygdnm+yROfE0A,
bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
On Thu, 27 May 2010, Andrew Morton wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=16043
> >
> > Summary: Resume w/USB remote working in 2.6.33.2, no longer in
> > 2.6.33.10
> > Using the latest Arch Linux kernel (2.6.33.10-1), the contents of
> > /proc/acpi/wakeup are:
/proc/acpi/wakeup doesn't matter. What matters are the power/wakeup
files under /sys.
> > The machine will suspend to RAM correctly, but will no longer be resumed by a
> > USB remote power-on event. Instead, the power button on the machine must be
> > pressed. It then resumes correctly.
By default, wakeup is disabled for USB host controllers. This is so
that people don't cause their suspended laptops to wake up by
unplugging a USB mouse, for example.
If you want to enable wakeup, you have to do it manually or from a
boot-time script like /etc/rc.d/rc.local. For example, you might need
to do:
echo enabled >/sys/bus/pci/devices/0000:00:04.0/power/wakeup
The system has been this way a long time, but up until just now it
didn't work correctly.
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bugme-new] [Bug 16043] New: Resume w/USB remote working in 2.6.33.2, no longer in 2.6.33.10
[not found] ` <Pine.LNX.4.44L0.1005271755500.1595-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
@ 2010-05-29 4:12 ` Scott Sturdivant
2010-05-29 14:28 ` Alan Stern
0 siblings, 1 reply; 4+ messages in thread
From: Scott Sturdivant @ 2010-05-29 4:12 UTC (permalink / raw)
To: Alan Stern
Cc: USB list, linux-acpi-u79uwXL29TY76Z2rM5mHXA,
stable-DgEjT+Ai2ygdnm+yROfE0A,
bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
On Thu, 27 May 2010, Alan Stern wrote:
> On Thu, 27 May 2010, Andrew Morton wrote:
>
>>> https://bugzilla.kernel.org/show_bug.cgi?id=16043
>>>
>>> Summary: Resume w/USB remote working in 2.6.33.2, no longer in
>>> 2.6.33.10
First I need to back track and fix an error -- it's version 2.6.33.4 that
this no longer works in, not 2.6.33.10 as I had indicated.
> /proc/acpi/wakeup doesn't matter. What matters are the power/wakeup
> files under /sys.
Ok, all manipulation of /proc/acpi/wakeup is no off, so all devices read
as "disabled".
> If you want to enable wakeup, you have to do it manually or from a
> boot-time script like /etc/rc.d/rc.local. For example, you might need
> to do:
>
> echo enabled >/sys/bus/pci/devices/0000:00:04.0/power/wakeup
>
> The system has been this way a long time, but up until just now it
> didn't work correctly.
In my case, "USB1" was the partical device that was waking up the system.
According to /proc/acpi/wakeup, this is what I see:
# grep USB1 /proc/acpi/wakeup
USB1 S4 disabled pci:0000:00:06.0
Now, I perform the following:
# cat /sys/bus/pci/devices/0000\:00\:06.0/power/wakeup
disabled
# echo enabled > /sys/bus/pci/devices/0000\:00\:06.0/power/wakeup
# cat /sys/bus/pci/devices/0000\:00\:06.0/power/wakeup
enabled
Sadly it still will not resume.
Thanks for the tip, in the meantime I will go back to the 2.6.33-2 kernel
and try modifying the /sys.../power/wakeup file in addition to / instead
of the /proc/acpi/wakeup file.
Scott
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bugme-new] [Bug 16043] New: Resume w/USB remote working in 2.6.33.2, no longer in 2.6.33.10
2010-05-29 4:12 ` Scott Sturdivant
@ 2010-05-29 14:28 ` Alan Stern
0 siblings, 0 replies; 4+ messages in thread
From: Alan Stern @ 2010-05-29 14:28 UTC (permalink / raw)
To: Scott Sturdivant; +Cc: USB list, linux-acpi, stable, bugzilla-daemon
On Sat, 29 May 2010, Scott Sturdivant wrote:
> >>> https://bugzilla.kernel.org/show_bug.cgi?id=16043
> >>>
> >>> Summary: Resume w/USB remote working in 2.6.33.2, no longer in
> >>> 2.6.33.10
>
> First I need to back track and fix an error -- it's version 2.6.33.4 that
> this no longer works in, not 2.6.33.10 as I had indicated.
I figured as much, since 2.6.33.5 was only released this past week.
> In my case, "USB1" was the partical device that was waking up the system.
> According to /proc/acpi/wakeup, this is what I see:
>
> # grep USB1 /proc/acpi/wakeup
> USB1 S4 disabled pci:0000:00:06.0
>
> Now, I perform the following:
>
> # cat /sys/bus/pci/devices/0000\:00\:06.0/power/wakeup
> disabled
> # echo enabled > /sys/bus/pci/devices/0000\:00\:06.0/power/wakeup
> # cat /sys/bus/pci/devices/0000\:00\:06.0/power/wakeup
> enabled
>
> Sadly it still will not resume.
>
> Thanks for the tip, in the meantime I will go back to the 2.6.33-2 kernel
> and try modifying the /sys.../power/wakeup file in addition to / instead
> of the /proc/acpi/wakeup file.
There's one more thing to check: The /sys/.../power/wakeup file for
your USB device. A recent change caused remote wakeup to be disabled
by default for USB devices; that could explain the change in behavior.
You would need to enable it explicitly, just like for the controller.
Alan Stern
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-29 14:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <bug-16043-10286@https.bugzilla.kernel.org/>
[not found] ` <bug-16043-10286-3bo0kxnWaOQUvHkbgXJLS5sdmw4N0Rt+2LY78lusg7I@public.gmane.org/>
2010-05-27 20:01 ` [Bugme-new] [Bug 16043] New: Resume w/USB remote working in 2.6.33.2, no longer in 2.6.33.10 Andrew Morton
[not found] ` <20100527130117.ca479487.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2010-05-27 22:01 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.1005271755500.1595-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2010-05-29 4:12 ` Scott Sturdivant
2010-05-29 14:28 ` Alan Stern
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox