public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Balazic <david.balazic@uni-mb.si>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	linux-laptop@vger.kernel.org, apm@linuxcare.com.au,
	apenwarr@worldvisions.ca, sfr@canb.auug.org.au
Subject: kernel apm code
Date: Tue, 27 Mar 2001 16:40:57 +0200	[thread overview]
Message-ID: <3AC0A679.DFA9F74B@uni-mb.si> (raw)

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
- - - - - - - - - - - - - - - - - - - - - -

             reply	other threads:[~2001-03-27 14:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-27 14:40 David Balazic [this message]
2001-03-27 19:06 ` kernel apm code 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AC0A679.DFA9F74B@uni-mb.si \
    --to=david.balazic@uni-mb.si \
    --cc=apenwarr@worldvisions.ca \
    --cc=apm@linuxcare.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-laptop@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox