[ltp] How to handle Fn-F5 and other special keys with latest
kernels ?
Frédéric Boiteux
linux-thinkpad@linux-thinkpad.org
Mon, 14 Sep 2009 16:36:02 +0200
Le Mon, 14 Sep 2009 16:03:36 +0200,
Yves-Alexis Perez <corsac@debian.org> a écrit :
> I use:
>
> corsac@hidalgo: cat /etc/hal/fdi/policy/thinkpad-acpi.fdi
> <match key="info.product" string="ThinkPad Extra Buttons">
> <append key="input.keymap.data"
> type="strlist">0x04:bluetooth</append> <!-- Fn+F5 bluetooth -->
> <append key="input.keymap.data" type="strlist">0x05:wlan</append>
> <!-- Fn+F6 wifi -->
> </match>
>
> Didn't try on 2.6.31 but it does work on 2.6.30.
This HAL setup tells which key event should be generated when you press
Fn-F5 or Fn-F6, but do you know which tool catch these key events and
handle the wifi or bluetooth signal, or even better let you customize
the behaviour ?
Fred.