Problem setting keymap on HP nx8220

Danny Kukawka danny.kukawka at web.de
Sat Aug 9 08:25:59 PDT 2008


On Dienstag, 24. Juni 2008, Toni Röyhy wrote:
> Hi
>
> I tried to follow the instructions on
> http://people.freedesktop.org/~hughsient/quirk/quirk-keymap-try.html
>
> and I got these results:
> >rpm -q hal
>
> hal-0.5.11-2.fc9.i386
>
> >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:f22', 'e059:info'} (string list)
>
> So my understanding is that quirk is correctly added to fdi file, but
> when I look at /var/log/messages after pressing a presentation key for
> example
>
> kernel: atkbd.c: Unknown key released (translated set 2, code 0x88 on
> isa0060/serio0).
> kernel: atkbd.c: Use 'setkeycodes e008 <keycode>' to make it known.
>
> I got these messages. I tried restarting hal, rebooting and still the
> same problem.
>
> If I manually do the setkeycodes e008 113 I got key working in xev

The keycode for KEY_PRESENTATION is 0x1a9 which is at least 425. Currently the 
kernel has/had an problem with setting keycodes over 255. This is fixed in 
current development kernels. Simply try an newer kernel or get the latest 
kernel from kernel.org.

Danny


More information about the hal mailing list