* Support special keys on laptop by default?
@ 2009-01-06 13:14 Niels de Vos
[not found] ` <b92a6cf90901060527x1bd1d84g873d77b5f31f57d9@mail.gmail.com>
2009-01-06 14:26 ` Jiri Kosina
0 siblings, 2 replies; 5+ messages in thread
From: Niels de Vos @ 2009-01-06 13:14 UTC (permalink / raw)
To: linux-input, linux-laptop
[-- Attachment #1: Type: text/plain, Size: 814 bytes --]
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <b92a6cf90901060527x1bd1d84g873d77b5f31f57d9@mail.gmail.com>]
* Re: Support special keys on laptop by default?
[not found] ` <b92a6cf90901060527x1bd1d84g873d77b5f31f57d9@mail.gmail.com>
@ 2009-01-06 13:34 ` Niels de Vos
0 siblings, 0 replies; 5+ messages in thread
From: Niels de Vos @ 2009-01-06 13:34 UTC (permalink / raw)
To: Sushant Gulati; +Cc: linux-input, linux-laptop
[-- Attachment #1: Type: text/plain, Size: 1350 bytes --]
Hello Sushant,
Sushant Gulati wrote:
> 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
> Regards,
> Sushant
>
>
> On Tue, Jan 6, 2009 at 6:44 PM, Niels de Vos <niels.devos@wincor-nixdorf.com
>> 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
>>
>>
>>
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Support special keys on laptop by default?
2009-01-06 13:14 Support special keys on laptop by default? Niels de Vos
[not found] ` <b92a6cf90901060527x1bd1d84g873d77b5f31f57d9@mail.gmail.com>
@ 2009-01-06 14:26 ` Jiri Kosina
2009-01-06 14:27 ` Niels de Vos
1 sibling, 1 reply; 5+ messages in thread
From: Jiri Kosina @ 2009-01-06 14:26 UTC (permalink / raw)
To: Niels de Vos; +Cc: linux-input, linux-laptop
On Tue, 6 Jan 2009, Niels de Vos wrote:
> 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.
[ ... ]
> 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
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Support special keys on laptop by default?
2009-01-06 14:26 ` Jiri Kosina
@ 2009-01-06 14:27 ` Niels de Vos
2009-01-06 16:13 ` Niels de Vos
0 siblings, 1 reply; 5+ messages in thread
From: Niels de Vos @ 2009-01-06 14:27 UTC (permalink / raw)
To: Jiri Kosina; +Cc: linux-input, linux-laptop
[-- Attachment #1: Type: text/plain, Size: 678 bytes --]
Jiri Kosina wrote:
> On Tue, 6 Jan 2009, Niels de Vos wrote:
>
>> 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.
> [ ... ]
>> 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!
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Support special keys on laptop by default?
2009-01-06 14:27 ` Niels de Vos
@ 2009-01-06 16:13 ` Niels de Vos
0 siblings, 0 replies; 5+ messages in thread
From: Niels de Vos @ 2009-01-06 16:13 UTC (permalink / raw)
To: linux-input; +Cc: linux-laptop
[-- Attachment #1: Type: text/plain, Size: 1099 bytes --]
Niels de Vos wrote:
> Jiri Kosina wrote:
>> On Tue, 6 Jan 2009, Niels de Vos wrote:
>>
>>> 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.
>> [ ... ]
>>> 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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-01-06 16:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-06 13:14 Support special keys on laptop by default? Niels de Vos
[not found] ` <b92a6cf90901060527x1bd1d84g873d77b5f31f57d9@mail.gmail.com>
2009-01-06 13:34 ` Niels de Vos
2009-01-06 14:26 ` Jiri Kosina
2009-01-06 14:27 ` Niels de Vos
2009-01-06 16:13 ` Niels de Vos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox