Linux USB
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: dave@synergy.org
Cc: linux-usb@vger.kernel.org
Subject: Re: USB Keypad
Date: Tue, 7 Jul 2026 06:30:06 +0200	[thread overview]
Message-ID: <2026070759-research-undefined-aa1f@gregkh> (raw)
In-Reply-To: <002001dd0dbd$d4269020$7c73b060$@synergy.org>

On Mon, Jul 06, 2026 at 08:08:01PM -0700, dave@synergy.org wrote:
> Excuse me. I have never sent e-mail to the Linux Kernel mailing list before.
> In reading the protocol, I think I should have sent my message to this one,
> instead.
> 
> Hello,
> 	I am working on a mobile device based on Raspberry Pi OS. I am using
> a USB keypad to navigate the UI of my device. I have purchased 2 models. One
> has 19 keys and the other has a few more. I've implemented the user-space
> code to read() the input device. Things are generally working fine. But I
> have one issue. On both models the keycodes I receive are not unique across
> all keys. On one, the key labeled INS and the one labeled 0 both send the
> same code.

That sounds like a broken device, not much the kernel can do about that.

Can you confirm this by looking at the keycodes when plugging the device
into any other "normal" Linux system?

> On the second one, the mapping is even more bizarre. It has
> duplicated Num Locks and other keys, as well. The number keys are always
> readable as such, but the other non-number keys can be aliased.

Again, is this keyboard issue?  Do they work properly anywhere else?

thanks,

greg k-h

  reply	other threads:[~2026-07-07  4:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-07  3:08 USB Keypad dave
2026-07-07  4:30 ` Greg KH [this message]
2026-07-07  5:17   ` dave

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=2026070759-research-undefined-aa1f@gregkh \
    --to=greg@kroah.com \
    --cc=dave@synergy.org \
    --cc=linux-usb@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox