public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: linux-acpi@vger.kernel.org, ibm-acpi@hmh.eng.br
Subject: Re: [RFC] Allow notifications on method execution
Date: Fri, 20 Jun 2008 20:58:40 +0100	[thread overview]
Message-ID: <20080620195840.GA16284@srcf.ucam.org> (raw)
In-Reply-To: <20080620193941.GC20498@khazad-dum.debian.net>

On Fri, Jun 20, 2008 at 04:39:41PM -0300, Henrique de Moraes Holschuh wrote:

> With such ACPI notifies, you could have HAL do some of the stuff kernel
> drivers are doing.  So far so good (well, sort of).

That's not what I was thinking. Right now, older Thinkpads need polling 
if you want to get some keyboard events. However, the BIOS seems to 
impleemnt this by calling the ACPI CMOS update methods. Rather than 
polling, we can therefore make it event driven. The events won't go out 
to userspace, they'll just call a callback in the driver which then 
generates input events or uevents or whatever.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  reply	other threads:[~2008-06-20 19:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-20 15:22 [RFC] Allow notifications on method execution Matthew Garrett
2008-06-20 19:39 ` Henrique de Moraes Holschuh
2008-06-20 19:58   ` Matthew Garrett [this message]
2008-06-20 22:01     ` Henrique de Moraes Holschuh
2008-06-20 22:13       ` Matthew Garrett
2008-06-20 22:33         ` Henrique de Moraes Holschuh
2008-06-20 22:37           ` Matthew Garrett
2008-06-23  6:56 ` Zhao Yakui
2008-06-23 13:09   ` Henrique de Moraes Holschuh
2008-06-23 13:18     ` Henrique de Moraes Holschuh

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=20080620195840.GA16284@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=hmh@hmh.eng.br \
    --cc=ibm-acpi@hmh.eng.br \
    --cc=linux-acpi@vger.kernel.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