HAL FDI matched Buttons

Matthias Grimm matthiasgrimm at users.sourceforge.net
Mon Nov 28 07:05:36 PST 2005


On Sun, 27 Nov 2005 23:33:30 +0000
Richard Hughes <hughsient at gmail.com> wrote:

> Using the fdi on my system, pressing Fn-F4 triggers a KEY_BRIGHTNESSUP X
> input which can be read by GNOME Keyboard Shortcuts, and it also send a
> ButtonPressed condition that can be monitored by anything with a DBUS
> interface.

Sounds good so far.

> This method would also work for laptop models that generate acpi events
> rather than having to poll a certain file (like Toshibas do).

Who does the file polling then? I saw you fdi file but don't understand
who does the work? IALd has a module system (I would call the user
space device driver) for this so that I can simply read /proc/acpi for
buttons in one driver and poll /dev/pmu for PMU interrupts in another.
HAL doesn't have such a system of "user space device drivers" yet.

 Best Regards
   Matthias


More information about the hal mailing list