Add Hardware Input Device for ACPI

Richard Hughes hughsient at gmail.com
Mon Feb 27 04:05:43 PST 2006


On Sun, 2006-02-26 at 16:47 -0500, David Zeuthen wrote:
> On Sun, 2006-02-26 at 14:37 +0000, Richard Hughes wrote:
> > On Sun, 2006-02-26 at 14:27 +0000, Matthew Garrett wrote:
> > > I still wonder whether the better approach would just be to make sure 
> > > that all these buttons generate events through the kernel input layer.
> > 
> > Yes you are correct, and I still think this is the *long term* plan.
> 
> I'm not sure I exactly know what this "plan" entails but I'd love to
> know more.... Are you guys saying that in some shiny future we'll just
> listen on device file for button presses? How would we know what buttons
> are available then?

I think the plan is for the acpi keypress stuff to be converted to use
the input layer, rather than lots of hacks (like random stuff coming
from /proc/acpi/event...)

Your comment about knowing what buttons we have is a good one. Matthew,
you any ideas on this?

Richard.



More information about the hal mailing list