lkml.org 
[lkml]   [2000]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernel patch: keyboard.
Hi!

> > > 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.

That patch allows to use new keys for new in-kernel use (such as going
suspend using apm when one of those is present). We also might want to
assign standart sequences for these keys in
drivers/char/defkeymap.map.

Pavel
--
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents me at discuss@linmodems.org

-
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    [W:0.049 / U:0.260 seconds]
©2003-2014 Jasper Spaans. Advertise on this site