Re: suspend vs usb and PS/2 ports

From: Rafael J. Wysocki
Date: Wed Sep 30 2009 - 17:54:00 EST


On Wednesday 30 September 2009, Michael Tokarev wrote:
> Hello.
>
> I've several PCs here which are able to wakeup -
> among others - from PS/2 and/or USB keyboard.
> Here for testing I'm using PS/2 keyboard and
> Asus M3A78-EM motherboard.
>
> When I do poweroff from linux, the keyboard
> stays powered up as it should (according to
> the BIOS settings). But when I do suspend,
> keyboard is NOT powered anymore, and hence
> the system can't be woken up from it but only
> by using the power button.
>
> This happens consistently for many kernel
> versions. To be fair, I don't even know if
> there was any kernel which does not show this
> behaviour: old versions was unable to do
> suspend/resume cycle on this platform at all.
>
> Any hints for this please?

With USB, I think keyboard wake-up is off by default as it causes some
systems to wake up immediately after suspending. Alan and Oliver can provide
more info about that.

I don't know about PS/2.

Can you post the contents of /proc/acpi/wakeup from one of these systems,
please?

Best,
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/