Skip to contentSkip to conversation

How to support new buttons?

DISCUSSION Nils Faerber 1 participant 1 message Dec 2, 2002 ACPI

lore
Share & tools
lore
#0 lore raw

Hi all!
First off: Many thanks for your big efforts on getting ACPI into Linux! ACPI is not at all easy (from what I have seen now) and it is a lot of work. I appreciate this very much.

So. And now that I own a brand new laptop which only works partially with ACPI I would like to help a little. As a small first task I would like to support the additional buttons I have here which very obviously cause ACPI events. The machine I am talking about is an Asus L3800C. This machine has four hotkey on top of the keyboard. One is supposed to be a speedstep control button, on is "email" (what nonsense :), and the other two have some strange symbols on them (no idea what they are supposed to be good for). When I enable ACPI debugging I can see that "something" happens when I press those buttons and this "something" is different for all four of them. Oh, and ACPI interrupt is triggered on press. But /proc/acpi/event does not show an event.
I suspect that those buttons are simply not supported by the button driver yet. Looking at button.c I see that only power, sleep and lid are supported.

So, how can I add support for those additional buttons?
Oh, I don't expect a detailed a full answer. Just a pointer for an ACPI newbe please :)

CU
nils faerber

Signature · 10 lines
kernel concepts          Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          D1 : +49-170-2729106
--


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf