lkml.org 
[lkml]   [2000]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernel patch: keyboard.
    From pavel@atrey.karlin.mff.cuni.cz Fri Mar 24 09:58:16 2000

> > Well, this patch is about these three new keys that some new
> > keyboards have: suspend, resume and poweroff. These keys don't work
> > on Linux by default, and I have decoded their scancodes and included
> > them in the kernel keyboard conversion tables.
>
> Very good!
>
> Unfortunately, these days there are many new keyboards, with dozens
> of new keys, so it is impossible to assign each key its own keycode
> (since for the time being keycodes are restricted to the range
> 1-127).
Andreas, these are special. If you go and buy new keyboard, it will
have those nasty keys. It is not like those "multimedia" keys which
differ from keyboard to keyboard -- this is more like L-window,
R-window and Menu "windows95" keys.

I know. It is a Microsoft standard. See
http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html#ss1.8
[Still, the Microsoft Internet keyboards one can buy here today
do not yet have these keys.]

The patch is harmless, and vaguely useful, and superfluous:
if the purpose of the kernel patch is to attach uses via loadkeys,
then without the patch one needs setkeycodes followed by loadkeys.

(And for many keyboards setkeycodes would remain necessary
because these three are not the only new keys.)

Andries


[I just added a ref to setkeycodes(8) in showkey(1).]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site