[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: Re: APM support on Linux?
From: Alan Cox <alan () lxorguk ! ukuu ! org ! uk>
Date: 2004-09-29 20:59:01
Message-ID: 1096491539.16704.1.camel () localhost ! localdomain
[Download RAW message or body]
On Mer, 2004-09-29 at 20:50, Kendall Bennett wrote:
> Hi Guys,
>
> I am trying to find out how APM power management (suspend/resume) works
> on Linux. Is there some kind of message sent to the X server that it can
> hook into to handle the suspend/resume messages? If so, can someone point
> me at the code so I can figure out how this works?
For old APM stuff yes you can get apm messages. X has some bits for it.
Modern systems have all switched to ACPI and most current distributions
(non enterprise anyway as enterprise lags a little) use ACPI. The ACPI
layer has code paths that allow scripts to execute on ACPI events.
Naturally enough that can including poking X11.
Coming back from ACPI S3 is still a research topic alas
Alan
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic