[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Asus Keys (the five silver ones) Was: How to control LCD backlight via program



On Monday 29 September 2003 11:48, ben wrote:
> Hmm... I have kernel 2.4.22, acpi installed and running but only seem to
> have button allocations for power, lid & sleep buttons. or should I be
> looking in another area?
	You have to write corresponding "action" for each button event in acpid.
If you push those silver buttons and then cat /var/log/acpid, you will find 
some events, such like "hotkey HOTK 00000050 00000000".
All you have to do is catch these events (see the examples in /usr/share/doc/
acpid/examples) and trigger the applications you want.

Cheers
Tim

Attachment: pgpr7n0z6whK1.pgp
Description: signature


Reply to: