Skip to contentSkip to conversation

Support special keys on laptop by default?

DISCUSSION Niels de Vos 2 participants 5 messages Jan 6, 2009 1 message not in the archive HID

lore
Share & tools
lore
#0 lore raw

Hello,

on my HP/Compaq nc6400 there are three keys (info, presentation and battery) not directly recognized. If I press any of the keys, I get:

atkbd.c: Unknown key released (translated set 2, code 0xd9 on isa0060/serio0). atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.

I would like to have these keys mapped by default to the corresponding defines in <linux/input.h>. Of course using the command as suggested would function, but that does not help other owners of this laptop. Moreover, other keys seem to be supported without requiring extra manual configuration.

Where should I start looking for creating a patch for solving problems of this kind? There seem to be quirks in atkbd.c, but I think they are used for some other workarounds.

Thanks for any pointers,
Niels

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hello Sushant,

Quoted 4 lines · Sushant Gulati

Can you help me by telling where do you see the output that you have reproduced when you press the keys.? Actually I have a problem with the keys on my laptop too and I would too like to start from the first errors or warnings.

With the command 'dmesg' :)

Cheers,
Niels

Quoted 32 lines

Regards,
Sushant

On Tue, Jan 6, 2009 at 6:44 PM, Niels de Vos <[email protected]

Quoted 26 lines

wrote:

Hello,

on my HP/Compaq nc6400 there are three keys (info, presentation and battery) not directly recognized. If I press any of the keys, I get:

atkbd.c: Unknown key released (translated set 2, code 0xd9 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.

I would like to have these keys mapped by default to the corresponding defines in <linux/input.h>. Of course using the command as suggested would function, but that does not help other owners of this laptop. Moreover, other keys seem to be supported without requiring extra manual configuration.

Where should I start looking for creating a patch for solving problems of this kind? There seem to be quirks in atkbd.c, but I think they are used for some other workarounds.

Thanks for any pointers,
Niels

#3 lore raw
In reply to Niels de Vos
Quoted 5 lines · Niels de Vos

on my HP/Compaq nc6400 there are three keys (info, presentation and battery) not directly recognized. If I press any of the keys, I get:

atkbd.c: Unknown key released (translated set 2, code 0xd9 on isa0060/serio0). atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.

[ ... ]

Quoted 3 lines

Where should I start looking for creating a patch for solving problems of this kind? There seem to be quirks in atkbd.c, but I think they are used for some other workarounds.

Please see
http://people.freedesktop.org/~hughsient/quirk/quirk-keymap-index.html

Signature · 2 lines
Jiri Kosina
SUSE Labs
#4 lore raw
Quoted 7 lines · Jiri Kosina
Quoted 5 lines · Niels de Vos

on my HP/Compaq nc6400 there are three keys (info, presentation and battery) not directly recognized. If I press any of the keys, I get:

atkbd.c: Unknown key released (translated set 2, code 0xd9 on isa0060/serio0). atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.

Quoted 8 lines

[ ... ]

Quoted 3 lines

Where should I start looking for creating a patch for solving problems of this kind? There seem to be quirks in atkbd.c, but I think they are used for some other workarounds.

Please see
http://people.freedesktop.org/~hughsient/quirk/quirk-keymap-index.html

Thanks Jiri!

#5 lore raw
Quoted 8 lines · Niels de Vos
Quoted 7 lines · Jiri Kosina
Quoted 5 lines · Niels de Vos

on my HP/Compaq nc6400 there are three keys (info, presentation and battery) not directly recognized. If I press any of the keys, I get:

atkbd.c: Unknown key released (translated set 2, code 0xd9 on isa0060/serio0). atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.

Quoted 7 lines
Quoted 7 lines

[ ... ]

Quoted 3 lines

Where should I start looking for creating a patch for solving problems of this kind? There seem to be quirks in atkbd.c, but I think they are used for some other workarounds.

Please see
http://people.freedesktop.org/~hughsient/quirk/quirk-keymap-index.html

Just for the record:

Okay, for these (and a lot more) keys I (and you) need at least hal-0.5.10 as said in the link above from Jiri. The keys supported by hal are available in the 30-keymap-*.fdi files from the hal-info git:

http://cgit.freedesktop.org/hal-info/tree/fdi/information/10freedesktop

I hope this helps people with the same questions and problems.

Thanks for your help,
Niels