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

From: Alexey Starikovskiy
Date: Thu Apr 20 2006 - 13:08:09 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/