USB Keyboard and l4con
adam at os.inf.tu-dresden.de
Mon Apr 6 22:32:55 CEST 2009
On Sun Apr 05, 2009 at 08:44:23 -0700, Alexander Valitov wrote:
> Hi, Adam
> > On Wed Apr 01, 2009 at 01:11:28 -0700, Alexander Valitov wrote:
> > > I've got the problem. l4con doesn't work with USB keyboard.
> > > It occurs with L4linux+l4con and even with simple txtmode con
> > applications.
> > > "USB legacy support" is turned on.
> > > Here is how l4con complains:
> > >
> > > C.05:con | atkbd.c: Unknown key pressed (translated set 2, code 0x66
> > on
> > is
> > > a0060/
> > > C.05:con : serio0).
> > > C.05:con | atkbd.c: Use 'setkeycodes 66 <keycode>' to make it
> > known.
> > > C.05:con | atkbd.c: Unknown key pressed (translated set 2, code
> > 0x66
> > > on is
> > > a0060/
> > Doesn't work at all or just when you press some (specific) key(s)?
> When a application have started and is waiting for your input there are no
> error messages. But if a first (ANY) key is pressed then the application
> mad and errors as above appear at log.
> E.g.: I've booted the L4Linux and am going to input login name. I'm pressing
> 'r' which is first for 'root' and get something like this:
> rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr (lots of 'r'
> following by CR)
Hmm, hard to say. I'd guess that the SMM code is supposed to emulate a
PS/2 keyboard which it does not maybe. Maybe a tweak in the input-lib is
needed, it's not at the most recent version it could be...
Adam adam at os.inf.tu-dresden.de
More information about the l4-hackers