lkml.org 
[lkml]   [2006]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] [PATCH] Make ACPI button driver an input device
Matthew Garrett wrote:
> On Thu, Apr 20, 2006 at 07:57:01PM +0400, Alexey Starikovskiy wrote:
>
>> I think you will agree that ACPI buttons are special and will need special
>> handling even in input stream...
>> Generic application does not need to know if power, sleep, or lid button is
>> pressed, so you will need to intercept them from input stream... I cannot
>> find any reason to mix these buttons into input, do you?
>
> On many machines, they're /already/ in the input stream. Applications
> that misbehave if they receive unknown keycodes are broken and need
> fixing in any case.
>
I don't quite understand your point... You want all buttons/switches in a computer to send events to input layer, regardless if this make sense or not, just to be consistent? May be you should go other way around and if keyboard has some strange key, send it on its strange way?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-20 18:30    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site