All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org
Subject: Re: [PATCH] hid: Add mapping for special keys on compaq ku 0133 keyboard
Date: Wed, 13 Aug 2014 10:38:49 +0200	[thread overview]
Message-ID: <53EB2419.4000503@redhat.com> (raw)
In-Reply-To: <20140812233530.GA9498@core.coreip.homeip.net>

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:
>> 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

  reply	other threads:[~2014-08-13  8:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-12 23:14 [PATCH] hid: Add mapping for special keys on compaq ku 0133 keyboard Hans de Goede
2014-08-12 23:35 ` Dmitry Torokhov
2014-08-13  8:38   ` Hans de Goede [this message]
2014-10-21 20:45   ` Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53EB2419.4000503@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.