[HP Compaq 6510b] Wrong key names ?

Keul Keul michael.rehspringer at gmail.com
Wed Dec 3 05:32:20 PST 2008


Hello everyone.

I've got an HP Compaq 6510b laptop running Arch Linux. I used keytouch
successfully for the extra keys for some times, but I started to have
some problems with it, and I decided to try HAL.

HAL loads the good keymap :

$ lshal | grep keymap.data
  input.keymap.data = {'e001:fn_esc', 'e009:battery', 'e00a:screenlock',
'e00b:camera', 'e00c:media', 'e00e:dvd', 'e031:help', 'e033:f21',
'e057:wlan', 'e008:presentation', 'e059:info'} (string list)

Which is defined in 30-keymap-hp.fdi. But the extra keys
(e008:presentation, e059:info) aren't working at all.

Using showkey and xev, I had a look at those keys, before and after
launching keytouch, and I managed to get them working the same way by
doing :

# setkeycodes e008 148 e059 138
$ xmodmap ~/.Xmodmap

Content of ~/.Xmodmap :
keycode 156 = XF86Launch1
keycode 146 = Help

But, if I do nothing and just change the names of the keys in
30-keymap-hp.fdi, for example e008:brightnessup and e059:brightnessdown,
those keys are recognized.

So, what's going wrong with the 'info' and 'presentation' key names in
30-keymap-hp.fdi ?


--
Kernel 2.6.27, Arch Linux
hal : 0.5.11-4
hal-info : 20081022



More information about the hal mailing list