linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vojtech Pavlik <vojtech@suse.cz>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: cijoml@volny.cz, BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] MS multimedia keys
Date: Sun, 15 Aug 2004 21:05:09 +0200	[thread overview]
Message-ID: <20040815190508.GC2321@ucw.cz> (raw)
In-Reply-To: <1092590175.4375.59.camel@pegasus>

On Sun, Aug 15, 2004 at 07:16:15PM +0200, Marcel Holtmann wrote:
> Hi Vojtech,
> 
> > > > Eigene Musik
> > > > keyboard.c: can't emulate rawmode for keycode 255
> > > > keyboard.c: can't emulate rawmode for keycode 255
> > > > Messenger
> > > > keyboard.c: can't emulate rawmode for keycode 252
> > > > keyboard.c: can't emulate rawmode for keycode 252
> > > > Abmelden
> > > > keyboard.c: can't emulate rawmode for keycode 248
> > > > keyboard.c: can't emulate rawmode for keycode 248
> > > 
> > > this problem is because in drivers/char/keyboard.c the x86_keycodes[256]
> > > array miss the line for the last 16 keycode translations.
> > > 
> > > Vojtech, any reason why they are not filled in?
> >  
> > Because rawmode only can express 240 different scancodes.
> 
> may you explain this a little bit. I found a posting from you on the
> LKML where you said this has something do to with the PS/2 protocol, but
> I still can't follow it.
 
The PS/2 protocol has valid keycodes in these two ranges:

	00 to 5f and e0 00 to e0 5f

The first is the classic XT set and the other is the extended set. Of
course there are exceptions and also some of the 60-7f and e060-e07f can
be used. This gives approximately 240 possible scancodes.

The table maps those 240 scancodes to the first 240 Linux keycodes.
Keycodes above this limit don't have any mapping, because it'd have to
be identical with some already used, or cause a protocol violation.

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR

  reply	other threads:[~2004-08-15 19:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-15  5:42 [Bluez-users] MS multimedia keys Walt
2004-08-15  7:34 ` Marcel Holtmann
2004-08-15  8:40 ` Bc. Michal Semler
2004-08-15  9:32   ` Bc. Michal Semler
2004-08-15 10:28     ` Marcel Holtmann
2004-08-15 13:10       ` Vojtech Pavlik
2004-08-15 13:59         ` Bc. Michal Semler
2004-08-15 17:16         ` Marcel Holtmann
2004-08-15 19:05           ` Vojtech Pavlik [this message]
2004-08-15 19:27             ` Bc. Michal Semler
2004-08-15 10:15   ` Marcel Holtmann

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=20040815190508.GC2321@ucw.cz \
    --to=vojtech@suse.cz \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=cijoml@volny.cz \
    --cc=marcel@holtmann.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;
as well as URLs for NNTP newsgroup(s).