Thread (4 messages) flat view 4 messages, 2 authors, 2014-10-21

Re: [PATCH] hid: Add mapping for special keys on compaq ku 0133 keyboard

From: Hans de Goede <hidden>
Date: 2014-08-13 08:38:53

Hi,

On 08/13/2014 01:35 AM, Dmitry Torokhov wrote:
On Wed, Aug 13, 2014 at 01:14:50AM +0200, Hans de Goede wrote:
quoted
The compaq ku 0133 keyboard has 8 special keys at the top:
http://lackof.org/taggart/hacking/keyboard/cpqwireless.jpg

3 of these use standard HID usage codes from the consumer page, the 5
others use part of the reserved 0x07 - 0x1f range.

This commit adds mapping for this keyboard for these reserved codes, making
the other 5 keys work.
Can't we just load the proper keymap through udev without writing yet another
kernel driver?
Hmm, in this case I don't see any reason why not. ATM I don't have access
to the keyboard in question. I'll try writing a udev hwdb entry for it, assuming
that works I'll send that upstream to the u-boot guys. If it does not work for
some reason, then I'll send a v2 of this patch.

Regards,

Hans
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help