Re: Automatic S1 sleep

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

 



On 5/11/2010 1:19 PM, Matthew Garrett wrote:
> You'll need wakeup events on mouse, keyboard, network packets and so on. 
> Some of these are possible, some aren't really.

On some systems, yes, but generally these are widely possible.  Last
night I experimented with S1 on my desktop pc and after using ethtool to
enable wake on lan, the system slept for several seconds, then woke up
when someone spoke on IRC, causing a packet to hit the NIC.  Another
machine I have here has an Intel e100 series NIC and it appears that the
driver for it only supports wake on magic packet, though I checked the
Intel specs on the chip and it is capable of the other wol modes.

> Just have suspend_devices_and_enter conditionalise the device suspend on 
> whether or not it's PM_SUSPEND_STANDBY.

Ahh, that looks like the place.  Is there a reason why it does not
already do that?

Also Documentation/power/states.txt says that S1 puts devices that
support it into D1.  I would think the code to do that would be here in
suspend_devices_and_enter() but I don't see it.  Do you know where that
is?  I checked and my ATI Radeon video card supports D1 and D2 so could
potentially save a good bit of power by using these states.
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux