public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
To: David Cougle <dcougle-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: how to get Fn key working on compaq 2100/2110
Date: Thu, 26 Jun 2003 12:33:02 +0200	[thread overview]
Message-ID: <20030626103302.GQ19556@poupinou.org> (raw)
In-Reply-To: <001701c33a7b$a89ff6f0$3201a8c0-HrsG2tOhabjQT0dZR+AlfA@public.gmane.org>

On Tue, Jun 24, 2003 at 01:08:48PM -0500, David Cougle wrote:
> Is this to say that with 2.5/2.6 my Compaq 2100/2110 will bypass kernel
> and suspend to ram? How do I see if it supports that?  I am running
> acpid.
> 

acpid will only do (amongst other thinks like perhaps unloading
modules, etc.)
echo -n 3 > /proc/acpi/sleep
when it detect the correct event via
/proc/acpi/event

via an external script if you press the sleep button.

You still have to write the shell script called by acpid, if
none are already done, or if the distributor have not provided
one.

Some people may want to replace the echo stuff via for
example a '/sbin/shutdown -h now'


For your second question, you first have to shutdown acpid.
Then do a 
cat /proc/acpi/event

By pressing the power button, or the sleep button, etc., you should
see those events.  acpid will do exactly the same, just that when
it look those events, it will take appropriate actions by calling external
scripts.

Cheers,

-- 
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php

  parent reply	other threads:[~2003-06-26 10:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-22 15:51 how to get Fn key working on compaq 2100/2110 David Cougle
     [not found] ` <Law9-F77zPZrIkyPzGN00036197-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
2003-06-23  9:20   ` Ducrot Bruno
     [not found]     ` <20030623092026.GS19556-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-06-24 18:08       ` David Cougle
     [not found]         ` <001701c33a7b$a89ff6f0$3201a8c0-HrsG2tOhabjQT0dZR+AlfA@public.gmane.org>
2003-06-26 10:33           ` Ducrot Bruno [this message]
     [not found]             ` <20030626103302.GQ19556-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-06-27 21:47               ` Mr. Mailing List
     [not found]                 ` <20030627214744.42676.qmail-3vEPlLXhJOyA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2003-06-30 15:20                   ` Ducrot Bruno
2003-06-28  5:44               ` Mr. Mailing List
  -- strict thread matches above, loose matches on Subject: below --
2003-06-22 18:40 David Cougle
     [not found] ` <Law9-F13aCdhxJKocJq0002f84d-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
2003-06-23  9:28   ` Ducrot Bruno
2003-06-22  8:59 David Cougle
     [not found] ` <Law9-F42o8PqEtVUNfv00014bef-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
2003-06-22 10:35   ` Markus Gaugusch

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=20030626103302.GQ19556@poupinou.org \
    --to=ducrot-kk6yzipjem5g9huczpvpmw@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=dcougle-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org \
    /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