lkml.org 
[lkml]   [1999]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectMark keyboard RAW mode deprecated
Hi!

In times of sun keyboards and usb keyboards, keyboard raw mode has no
longer good sense. People already had problems with it on powerpc:
system then behaves different if you use different kind of
keyboard. We should better let world know raw mode is doomed to dead.

Pavel

--- clean/drivers/char/vt.c Sat Oct 23 20:54:46 1999
+++ linux/drivers/char/vt.c Sat Oct 23 20:44:35 1999
@@ -1,12 +1,12 @@
/*
* linux/drivers/char/vt.c
*
- * Copyright (C) 1992 obz under the linux copyright
+ * Copyright (C) 1992 Orest Zborowski under the linux copyright
*
* Dynamic diacritical handling - aeb@cwi.nl - Dec 1993
* Dynamic keymap and string allocation - aeb@cwi.nl - May 1994
* Restrict VT switching via ioctl() - grif@cs.ucr.edu - Dec 1995
* Some code moved for less code duplication - Andi Kleen - Mar 1997
*/

#include <linux/config.h>
@@ -542,6 +548,9 @@
return -EPERM;
switch(arg) {
case K_RAW:
+ /* We do not want userland code to know
+ about hardware details, do we? */
+ printk( KERN_WARNING "Warning: Deprecated keyboard RAW mode set by %s (%d)\n", current->comm, current->pid );
kbd->kbdmode = VC_RAW;
break;
case K_MEDIUMRAW:
--
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel. Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!

-
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:55    [W:0.067 / U:1.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site