Re: for comment: multi-keyboard patch

Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be)
Fri, 6 Nov 1998 15:04:53 +0100 (CET)


On Fri, 6 Nov 1998, Pavel Machek wrote:
> > > What sense does this piece of code have? I thought that keyboard leds
> > > should be independend for each keyboard...
> >
> > I thought about this. We already have saved led states for each VC.
> > I shied off from extending this to saved led states for each VC for
> > each keyboard, but maybe that's what we have to do. This would
> > probably mean more extensive modifications to stuff like the console
> > code, though.
>
> > If we have independent led states for each keyboard, what does it mean
> > to do the VC ioctls which set/get the led state? Do they just operate
> > on the first keyboard perhaps?
>
> Hmm, there's other problem with led state: ScrollLock is display
> local, not keyboard local. Probably we should ignore the issue for
> now, and get back once we start modifying consoles.

That's for PC keyboards.

At least Amiga and Mac keyboards remember the Caps Lock state theirselves.
Which means the Caps Lock LED is not guaranteed to be in sync with the Caps
Lock state of the current VC.

Greetings,

Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium

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