> This driver supports the application buttons on some Fujitsu Lifebook
> laptops. It is based on the earlier apanel driver done by Jochen
> Eisenger, but with many changes. The original driver used ioctl's and
> a separate user space program (see
http://apanel.sourceforge.net). This
> driver hooks into the input subsystem so that the normal keys act as
> expected without a daemon. In addition to buttons, the Mail Led is
> handled via LEDs class device.
>
> The driver now supports redefinable keymaps and no longer has to
> have a DMI table for all Fujitsu laptops.
>
> I thought about mixing this driver should be integrated into the Fujitsu laptop
> extras driver that handles backlight, but rejected the idea because
> it wasn't clear if all the Fujitsu laptops supported both.
>
> ...
>
> +
> +/* Magic constants in BIOS that tell about buttons */
> +enum apanel_devid {
> + APANEL_DEV_NONE = 0,
> + APANEL_DEV_APPBTN = 1,
> + APANEL_DEV_CDBTN = 2,
> + APANEL_DEV_LCD = 3,
> + APANEL_DEV_LED = 4,
> + APANEL_DEV_MAX,
> +};