Re: Keyboard IOCTL's

Vojtech Pavlik (vojtech-lists@twilight.ucw.cz)
Tue, 14 Sep 1999 23:22:06 +0200


On Tue, Sep 14, 1999 at 02:28:03PM +0200, Mario Goegel wrote:

> I have a keyboard which is connected to 2 servers with a mechanical switch.
> One of them is my Linux box - every time, i must switch, the keyboard rate
> is slowed down.
> So i looked into the keyboard drivers to know, how I can set the repeat
> rate.
>
> I found the ioctl KDKBDRATE ( or was it ...SETRATE?), but i found no code in
> the drivers,
> where the repeat rate will be set, after initialisation.
> Is this right or i didn't looked at the right place?

Try my new input drivers, at http://www.suse.cz/development/input, those will
automatically restore the repeat rate (and leds) when you plug (switch) the
keyboard back in.

Or, alternately, open the switch box, and solder the power anf ground line
to just one of the inputs, this way the keyboard won't reset its settings
when you switch between the servers.

Vojtech

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