public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* kernel apm code
@ 2001-03-27 14:40 David Balazic
  2001-03-27 19:06 ` John Fremlin
       [not found] ` <"m28zlr58w9.fsf"@boreas.yi.org>
  0 siblings, 2 replies; 5+ messages in thread
From: David Balazic @ 2001-03-27 14:40 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org, linux-laptop, apm, apenwarr, sfr

The current kernel ( 2.4.2-ac26 or 2.4.3-pre8 ) has 
arch/i386/kernel/apm.c version 1.14 while version 1.15
is available as a patch to 2.3.99-pre7-1  ( read :
it was available for ages ) at http://linuxcare.com.au/apm/

The newer version has among other things support for
the APM_IOC_REJECT ioctl which is useful for example
when implementing "run /sbin/shutdown -h when the power
button is pressed".

While isn't this merged into the official kernel ?

Is apm.c v1.15 the latest ?
The last modification of the http://linuxcare.com.au/apm/ page
was in may 2000 and in 2.4.2-ac25 the web address for the APM driver
was changed to http://www.canb.auug.org.au/~sfr/ , but that page
doesn't have much/any content about the APM driver.


On a related note :
Both Abit BH6 and MSI K7T Pro2A send a SYSTEM_SUSPEND APM event
( APM_SYS_SUSPEND ) when I press the power button. When the OS
acknowledges the event, the system doesn't go to suspend , as
the OS expects , but to power-off , killing all running processes
and causing an unclean umount , among other things.

Is this the APM standard behavior or do I have two weird motherboards ?


P.S.: Looking for an archive of the linux-laptop@vger.kernel.org
mail list.

-- 
David Balazic
--------------
"Be excellent to each other." - Bill & Ted
- - - - - - - - - - - - - - - - - - - - - -

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-03-30 10:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-27 14:40 kernel apm code David Balazic
2001-03-27 19:06 ` John Fremlin
     [not found] ` <"m28zlr58w9.fsf"@boreas.yi.org>
     [not found]   ` <3AC1C406.652D0207@uni-mb.si>
     [not found]     ` <"m2bsqmlyrh.fsf"@boreas.yi.org>
2001-03-29  9:25       ` David Balazic
2001-03-29 16:44         ` John Fremlin
     [not found]         ` <"m24rwcjziu.fsf"@boreas.yi.org>
2001-03-30 10:20           ` David Balazic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox