Re: [RFC] [PATCH] Make ACPI button driver an input device

Alexey Starikovskiy
2006-04-20T17:07:51Z

Matthew Garrett wrote:
> On Thu, Apr 20, 2006 at 08:47:39PM +0400, Alexey Starikovskiy wrote:
>
>> Yes, this is why I mentioned using kevent and dbus before... Could it be
>> the righter answer?
>
> I think it makes sense for atkbd and usb hid power and sleep buttons to
> be treated like all other keys on those keyboard types. As a result, I
> think it makes sense for ACPI keys to behave in the same way. I wrote an
> addon for hal to take input events and put them on the system dbus some
> time ago, so that's already a solved problem.
>
So now you can do a shortcut and send ACPI events to dbus without involving input layer and hal.