You are not logged in.
Pages: 1
Hi all !
I wanted to drop keytouch and try out hal for my laptop's bonus keys. I added all the infos needed in the right fdi file :
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="6510b">
<append key="input.keymap.data" type="strlist">e001:fn_esc</append> <!-- FnEsc -->
<append key="input.keymap.data" type="strlist">e008:presentation</append> <!-- presentation -->
<append key="input.keymap.data" type="strlist">e009:battery</append> <!-- FnF8 (battery) -->
<append key="input.keymap.data" type="strlist">e00a:screenlock</append> <!-- FnF6 Lock -->
<append key="input.keymap.data" type="strlist">e059:info</append> <!-- I key -->
<append key="info.capabilities" type="strlist">input.keymap</append>
</match>In fact, it was a copy/paste of another section, with only a removed key binding. The codes was OK.
After restarting hal, I checked the keymap in use :
$ lshal | grep keymap
info.callouts.add = {'hal-setup-keymap'} (string list)
info.capabilities = {'input', 'input.keyboard', 'input.keypad', 'input.keys', 'input.keymap', 'button'} (string list)
input.keymap.data = {'e001:fn_esc', 'e008:presentation', 'e009:battery', 'e00a:screenlock', 'e059:info'} (string list)It seemed OK. But when I launched xev and pressed any key, for example the info key, no events were triggered and the following was immediately added to /var/log/everything.log :
Jun 25 14:45:54 portable atkbd.c: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0).
Jun 25 14:45:54 portable atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.
Jun 25 14:45:54 portable atkbd.c: Unknown key released (translated set 2, code 0xd9 on isa0060/serio0).
Jun 25 14:45:54 portable atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.After that I found a patch for my laptop on the hal quirks site (http://www.nabble.com/Keymap-patch-for- … 55220.html), but it did not worked. The extra keys are always unknown.
I searched the Web but don't found anything on this problem. Any idea on what can cause it ?
Kernel 2.6.25, hal 0.5.11-1, Arch up-to-date.
DAEMONS=(syslog-ng acpid @cpufreqd @sensors network openntpd netfs crond @alsa @hal !keytouch slim)
Oops, double post... If any admin can delete this topic
sorry.
Last edited by Vladislav IV (2008-06-25 13:37:14)
Offline
Pages: 1