[PATCH] HAL Keymap Quirks: hal-info keyboard support for BenQ R22e

Paul Menzel pm.debian at googlemail.com
Thu Aug 2 05:01:42 PDT 2007


Am Montag, den 30.07.2007, 17:16 +0200 schrieb Lennart Poettering:
> On Mon, 30.07.07 16:05, Richard Hughes (hughsient at gmail.com) wrote:
> > Any idea on how to query the hardware?
> 
> I don't but maybe Paul has?
> 
> Maybe ACPI implements the brightness methods?

I searched a little on the Internet and found under [1] (sorry it is
German) the last two code snippets at the end. But it looks like they
accessing some ASUS interface my notebook does not have.

$ ls -l /proc/acpi/
insgesamt 0
dr-xr-xr-x 3 root root 0 2007-08-02 13:57 ac_adapter
dr-xr-xr-x 3 root root 0 2007-08-02 13:57 battery
dr-xr-xr-x 5 root root 0 2007-08-02 13:57 button
-r-------- 1 root root 0 2007-08-02 13:57 dsdt
dr-xr-xr-x 3 root root 0 2007-08-02 13:57 embedded_controller
-r-------- 1 root root 0 2007-08-02 13:45 event
-r-------- 1 root root 0 2007-08-02 13:57 fadt
dr-xr-xr-x 2 root root 0 2007-08-02 13:57 fan
-r--r--r-- 1 root root 0 2007-08-02 13:57 info
dr-xr-xr-x 2 root root 0 2007-08-02 13:57 power_resource
dr-xr-xr-x 3 root root 0 2007-08-02 13:57 processor
dr-xr-xr-x 3 root root 0 2007-08-02 13:57 thermal_zone
-rw-r--r-- 1 root root 0 2007-08-02 13:57 wakeup

There are only three subdirectories

$ ls -lR /proc/acpi/button/*
/proc/acpi/button/lid:
insgesamt 0
dr-xr-xr-x 2 root root 0 2007-08-02 13:58 LID

/proc/acpi/button/lid/LID:
insgesamt 0
-r--r--r-- 1 root root 0 2007-08-02 13:58 info
-r--r--r-- 1 root root 0 2007-08-02 13:58 state

/proc/acpi/button/power:
insgesamt 0
dr-xr-xr-x 2 root root 0 2007-08-02 13:58 PWRF

/proc/acpi/button/power/PWRF:
insgesamt 0
-r--r--r-- 1 root root 0 2007-08-02 13:58 info

/proc/acpi/button/sleep:
insgesamt 0
dr-xr-xr-x 2 root root 0 2007-08-02 13:58 SBTN

/proc/acpi/button/sleep/SBTN:
insgesamt 0
-r--r--r-- 1 root root 0 2007-08-02 13:58 info

>  Or maybe the laptop has
> a modern graphics card where X11 can control this by going through the
> graphics hardware?

Can somebody please tell me, what I can do to find this out or whom I
can ask.


Thank you very much.

Paul


[1] http://www.tuxhardware.de/category124/product1296/product_info.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.freedesktop.org/archives/hal/attachments/20070802/828a50b4/attachment.pgp 


More information about the hal mailing list