public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Timo Hoenig <thoenig-dCxI//HcOdFeoWH0uzbU5w@public.gmane.org>
To: Vojtech Pavlik <vojtech-AlSwsSmVLrQ@public.gmane.org>
Cc: "Brown, Len" <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	akpm-3NddpPZAyC0@public.gmane.org,
	erik-aH8aFkyL5XJBDgjK7y7TUQ@public.gmane.org,
	ML ACPI-devel
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Re: [patch 1/1] thinkpad fn+fx key driver
Date: Thu, 23 Sep 2004 14:31:07 +0200	[thread overview]
Message-ID: <1095942667.5402.71.camel@sunshine> (raw)
In-Reply-To: <20040923112457.GB1083-+ZI9xUNit7I@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2226 bytes --]

Hi,

On Thu, 2004-09-23 at 13:24 +0200, Vojtech Pavlik wrote:
> On Thu, Sep 23, 2004 at 01:16:57AM -0400, Brown, Len wrote:

[...]

> There are several ways to make both the keyboard and ACPI keys work as
> intended:
> 
> 1) Extend acpid to listen on all /dev/input/event keyboard devices and
>    call scripts when the keys are pressed. No change to the kernel.
> 
> 2) Change ACPI to use the Input API, and add possibility to map ACPI
>    events in the keymap. Then have acpid listen to those.
> 
> 3) Change ACPI to use the Input API and use the power.ko module for
>    mapping the keys to system state change actions.
> 
> 4) Change ACPI to use the Input API and have a daemon that handles
>    all extra keys, including sound volume and application keys, possibly
>    using D-bus to send the events to the desktop environment.
> 
> 5) Change power.ko to just generate ACPI events for the keys. Handle
>    the events via acpid.
> 
> I probably prefer 4), although all make sense. I think 3) is only useful
> for embedded systems, because it's not configurable enough. 2) would
> probably not work when in X, because it relies on the console subsystem.

Since I am working on a project (Input Abstraction Layer) which is
exactly what Pavlik mentioned with 4) I wanted to raise my voice. It is
a daemon which can easily be enhanced by modules which are dynamically
loaded. There are going to be three different module types: Input,
output and in/output modules.

Input modules simply gather events and send them via D-Bus to clients
(for example: module for normal ACPI events).

Output modules do not gather data but can receive messages from clients
and react on these messages (for example: module for the new sony_acpi
driver).

In- & Output modules do both (for example: module for the toshiba_acpi
driver).

I'm blogging about the development on http://thesis.nouse.net. Expect a
first version within the next four weeks.

   Timo

..............................................................
Timo Hönig <thoenig at nouse dot net>
..................................................:: gpg ::...
Fingerprint: 0998 0ACA A1D2 2612 4D96 DD8B E03F 084B B305 4066

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2004-09-23 12:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-23  5:16 [patch 1/1] thinkpad fn+fx key driver Brown, Len
     [not found] ` <F7DC2337C7631D4386A2DF6E8FB22B300179B935-N2PTB0HCzHKkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-09-23 11:24   ` Vojtech Pavlik
     [not found]     ` <20040923112457.GB1083-+ZI9xUNit7I@public.gmane.org>
2004-09-23 12:31       ` Timo Hoenig [this message]
2004-09-24 13:41       ` Pavel Machek
     [not found]         ` <1096112154.10736.10.camel@localhost.localdomain>
     [not found]           ` <1096112154.10736.10.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2004-09-25 17:56             ` Vojtech Pavlik
     [not found]               ` <20040925175618.GB1798-+ZI9xUNit7I@public.gmane.org>
2004-09-26 18:54                 ` Karol Kozimor
     [not found]                   ` <20040926185454.GA7960-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2004-09-28  8:55                     ` Pavel Machek
     [not found]         ` <20040924134118.GA467-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2004-09-24 14:22           ` Vojtech Pavlik
     [not found]             ` <20040924142248.GA2593-+ZI9xUNit7I@public.gmane.org>
2004-09-25 11:22               ` Pavel Machek
     [not found]                 ` <20040925112219.GC4039-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-09-25 17:55                   ` Vojtech Pavlik
     [not found]                     ` <20040925175500.GA1798-+ZI9xUNit7I@public.gmane.org>
2004-09-27 13:40                       ` Randy.Dunlap
2004-09-28 10:00               ` Hiroshi Miura
     [not found]                 ` <87acvak912.wl%miura-yiisDzvROlQdnm+yROfE0A@public.gmane.org>
2004-09-28 10:06                   ` Pavel Machek
     [not found]                     ` <20040928100617.GB916-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-09-28 12:30                       ` Hiroshi Miura
     [not found]                         ` <877jqek22r.wl%miura-yiisDzvROlQdnm+yROfE0A@public.gmane.org>
2004-09-29  4:25                           ` Hiroshi Miura
2004-09-29  4:33                       ` Hiroshi Miura
2004-10-01 17:32           ` Stefan Seyfried

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=1095942667.5402.71.camel@sunshine \
    --to=thoenig-dcxi//hcodfeowh0uzbu5w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=akpm-3NddpPZAyC0@public.gmane.org \
    --cc=erik-aH8aFkyL5XJBDgjK7y7TUQ@public.gmane.org \
    --cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=vojtech-AlSwsSmVLrQ@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