Re: [PATCH] vt: Add virtual console keyboard mode OFF

From: Pavel Machek
Date: Mon Jan 31 2011 - 02:41:05 EST

On Sun 2011-01-30 00:36:22, Arthur Taylor wrote:
> Add a new mode for the virtual console keyboard OFF to compliment RAW
> in which all key events are ignored. New mode prevents vt input
> buffers from overflowing when a program opens but doesn't read from a
> tty, like Xorg using only evdev for input.
> The new mode is available by the ioctl KDSKBMODE with argument K_OFF
> from linux/kd.h. Does not effect sysrq behaviour.
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: Alan Cox <alan@xxxxxxxxxx>
> Signed-off-by: Arthur Taylor <art@xxxxxxxx>


(cesky, pictures)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at