Re: Asus ACPI Hotkeys

Julien Lerouge
2003-05-03T14:23:39Z

Hi,

Check my page : http://julien.lerouge.free.fr/

This driver supports Asus hotkeys, it adds an entry in /proc/
filesystem. Currently, events are redirected to this entry, but in the
next version, they will go directly in /proc/acpi/event.

What this driver dos is rather simple, it installs a handler for the
HOTK/ATKD device you can find in your DSDT.

Regards,
Julien

On Sat, May 03, 2003 at 11:26:02AM +0200, Gertjan wrote:
> Hi,

> I recently bought an Asus Laptop from the L3 series. It has hotkeys, or
> multimedia buttons, for volume up, down, mute, internet, mail etcetera.
> Especially the volume up, down and mute are the buttons I would like to
> see working.

> After some research I found out that these buttons are ACPI buttons. In
> Windows Asus has a driver which handles the buttons with a nice OSD
> interface. But as I use Linux and not Windows, I can't use these buttons
> since they are not currently supported. There are loads of programs to
> assign commands to special buttons ('hotkeys', 'lineakd', etcetera), but
> the problem is, that my buttons do not generate scancodes, because they
> are ACPI buttons.

> I really would like to have them working. I'm prepared to write a driver
> for them if needed and that's why I'm posting this request. Can somebody
> help me, where to start, which steps to take? I'll post my results and I
> hope that eventually the buttons will get supported in the ACPI patches.

> Regards,

> Gertjan

--
main() {int j = 1234; char t[] = ":@ab4defghijklmnopqrstuvwxyz.\n", *i =
"iqgbgxmjjtzyhlnvlzeo.xlstbqbrt";char *strchr(const char *, int);while (
*i){j += strchr(t, *i++) - t;j %= sizeof t - 1;putchar(t[j]);}return 0;}