[Pkg-acpi-devel] Bug#621784: acpi-support: Enable Brightness Control Function Keys for NEC Lavie Models
Robert Lange
robert.lange at s1999.tu-chemnitz.de
Sat Jun 11 15:38:30 UTC 2011
Hi Michael,
thanks for your feedback.
>> Make keys known to kernel by adding to file /etc/rc.local :
>> # Get Brightness control keys working; map to XF86 Brightness keys
>> # up
>> setkeycodes 65 225
>> # down
>> setkeycodes 67 224
> Doesn't remapping the key suffice to get it working via the standard way of
> your GUI?
I don't know a "standard way" for lxde. Even in case there is, then it
won't work for non-gui operation. ACPI can.
> Do the keys without remapping create ab acpi event? You can try this with kacpimon.
Unfortunately not - without the setkeycodes I get the following output
with kacpimon:
Input Layer: Type: 4 Code: 4 Value: 103
Input Layer: Sync
Input Layer: Type: 4 Code: 4 Value: 103
Input Layer: Sync
Input Layer: Type: 4 Code: 4 Value: 101
Input Layer: Sync
Input Layer: Type: 4 Code: 4 Value: 101
Input Layer: Sync
I am not that familiar with acpi - is there another way to map these
events to the video/brightness/* event without the "setkeycodes"?
Robert
More information about the Pkg-acpi-devel
mailing list