Re: Kernel patch: keyboard.

From: Andries.Brouwer@cwi.nl
Date: Fri Mar 24 2000 - 06:54:54 EST


    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/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:12 EST