public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andries Brouwer <aebr@win.tue.nl>
To: Jurgen Kramer <gtm.kramer@inter.nl.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test1/2: keyboard funnies in textmode
Date: Sat, 2 Aug 2003 00:16:27 +0200	[thread overview]
Message-ID: <20030801221627.GA3397@win.tue.nl> (raw)
In-Reply-To: <1059760564.3404.9.camel@paragon.slim>

On Fri, Aug 01, 2003 at 07:56:04PM +0200, Jurgen Kramer wrote:

> PC 2.4 showkey:
> keycode  43 release
> keycode  43 press
> 
> PC 2.6 showkey:
> keycode  84 press
> keycode  84 release

Funny indeed.

The USB standards define USB code 49 for the US \| key,
USB code 50 for the non-US \| key (French mu, etc),
and USB code 137 for the Japanese Yen |.
So, you should get one of these.

This USB code is translated to a Linux keycode in
usb_kbd_keycode[] in usbkbd.c.
The three possible translations are 43, 84, 183.

Maybe you can check for yourself (e.g. with a printk in usbkbd.c)
that you really get different USB codes from that keyboard under
2.4 and 2.6?

Maybe the code one gets depends on the initialization of the keyboard.


  parent reply	other threads:[~2003-08-01 22:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-01 14:25 2.6.0-test1/2: keyboard funnies in textmode Jurgen Kramer
2003-08-01 14:52 ` Andries Brouwer
2003-08-01 15:33   ` Jurgen Kramer
2003-08-01 16:37     ` Andries Brouwer
2003-08-01 17:56       ` Jurgen Kramer
2003-08-01 20:16         ` Andries Brouwer
2003-08-01 22:16         ` Andries Brouwer [this message]
2003-08-10 18:40           ` Mikael Magnusson

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=20030801221627.GA3397@win.tue.nl \
    --to=aebr@win.tue.nl \
    --cc=gtm.kramer@inter.nl.net \
    --cc=linux-kernel@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