APMD-List:
Archives

  
Back

to

APMD

Home

      Index: [thread] [date] [subject] [author]
  From: Avery Pennarun <apenwarr@worldvisions.ca>
  To  : <craigm@milkyway.gsfc.nasa.gov>
< apmd-list@worldvisions.ca> Date: Thu, 13 May 1999 20:39:14 -0400

Re: apmd feature request

On Wed, May 12, 1999 at 02:28:40PM -0400, Craig Markwardt wrote:

> I have a working version of apmd which does many of the things that I
> described in my original message.  One major issue was that it
> requires some kernel support.  The kernel APM code, as it stands now,
> does not allow a user-level program such as apmd to reject any suspend
> or standyby events.  I felt that this would be important for true
> power management.
> 
> I made some patches to do this, and submitted them to Stephen
> Rothwell, the kernel APM maintainer, but they were promptly lost in
> the press to finish Linux 2.2.
> 
> We can:
>  * ignore the kernel stuff, but implement an event 
>    "dispatcher" for everthing else.
>  * make our own independent kernel changes.
> 
> The changes I made to apmd and the apm library were not trivial, but
> did make the code more sane.  Merging Avery Pennarun's official
> version with mine could take some time.  I'm willing to submit it.

I'll integrate it if you submit it.  I like the event dispatcher stuff, as
long as we do it carefully. 

As for kernel patches... well, we can include the patch with the apmd
distribution, then #ifdef it (or something) in the apmd code.

Have fun,

Avery


Index: [thread] [date] [subject] [author]


Write to me! apenwarr@worldvisions.ca