public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: [patch 1/1] thinkpad fn+fx key driver
@ 2004-09-23  5:16 Brown, Len
       [not found] ` <F7DC2337C7631D4386A2DF6E8FB22B300179B935-N2PTB0HCzHKkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 17+ messages in thread
From: Brown, Len @ 2004-09-23  5:16 UTC (permalink / raw)
  To: Vojtech Pavlik, akpm-3NddpPZAyC0
  Cc: erik-aH8aFkyL5XJBDgjK7y7TUQ, ACPI Developers

 
>On Wed, Sep 22, 2004 at 01:28:49PM -0700, akpm-3NddpPZAyC0@public.gmane.org wrote:
>> 
>> From: Erik Rigtorp <erik-aH8aFkyL5XJBDgjK7y7TUQ@public.gmane.org>
>> 
>> Changes since last version:
>>  - use the acpi handle provided by acpi_bus_register_driver, 
>this way it
>>    should work on more models.
>>  - correct handling of return value from acpi_bus_register_driver
>> 
>> Signed-off-by: Andrew Morton <akpm-3NddpPZAyC0@public.gmane.org>
>
>Very nice. Even nicer because I have a thinkpad and I was considering
>writing an extra keys driver that'd poll the CMOS, which would be quite
>a hack.
>
>I have a question, though:
>	Wouldn't it be better to have the keys pass through the input
>	event layer instead of the ACPI event layer?
>
>That way the keys would work the same as on regular machines/keyboards,
>simplifying the userspace handling ... we could also take the opposite
>approach and add handlers to the keymap to send ACPI events for regular
>wake/sleep/power keys on keyboards.
>
>The same would apply to Toshiba and ASUS as well.

This is an emerging area, yes -- consider nothing final;-)

Others too have suggested using the input layer
for hot keys.  I must plead ignorance of the input layer
and how adaptable it is.

My PS/2 keyboard has sleep/wakeup/power buttons
that work on Windows, at least the sleep one works.
What is necessary for them to work on Linux?
That will probably be an easier problem to solve,
and the more exotic buttons on laptops which do
things like switch the display and dim the screen
via ACPI methods may be harder.

thanks,
-Len





-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

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

end of thread, other threads:[~2004-10-01 17:32 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2004-09-24 13:41       ` 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
     [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

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