Re: Wakeup from suspend via keyboard and mouse doesn't work anymore with 2.6.27-rc

From: Rafael J. Wysocki
Date: Mon Sep 22 2008 - 17:04:33 EST


On Monday, 22 of September 2008, Tino Keitel wrote:
> Hi,

Hi,

> my Mac mini core duo used to wake up from suspend to RAM when a key or
> mouse button is pressed. This doesn't work anymore with 2.6.27-rc, the
> current version that I tried is 2.6.27-rc7. I checked /proc/acpi/wakeup
> for differences, with 2.6.26 and 2.6.27-rc, but both were identical:

Did you test that with any 2.6.27-rc before -rc7?

> Device S-state Status Sysfs node
> PXS1 S4 disabled pci:0000:01:00.0
> PXS2 S4 disabled pci:0000:02:00.0
> USB1 S3 disabled pci:0000:00:1d.0
> USB2 S3 disabled pci:0000:00:1d.1
> USB3 S3 disabled pci:0000:00:1d.2
> USB4 S3 disabled pci:0000:00:1d.3
> USB7 S3 enabled pci:0000:00:1d.7
>
> Wakeup with the power switch at the back still works.
>
> Any hints if there are some commits that I should try to revert, before
> I start bisecting?

I don't think you need to revert anything. :-)

Please check if the /sys/devices/.../power/wakeup file contains 'enabled' for
the USB controller pci:0000:00:1d.7 (I assume this is the one the keyboard &
mouse are attached to). If it doesn't, please try to write 'enabled' to this
file and retest.

Thanks,
Rafael
--
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/