does ukbd delay break scan codes?
Maksim Yevmenkin
maksim.yevmenkin at savvis.net
Thu Feb 23 13:42:45 PST 2006
Norbert,
[...]
> I still do not know where it comes from,
> but what I found so far is,
> that the usb keyboard (or ukbd driver)
> seems to delay the break codes for
> keys with prefix E0 (which may or may not
> have anything to do with my problem).
>
> E.g., I press Keypad-Enter and see
> E0 1C E0
> ^prefix
> ^make code
> ^prefix
> and nothing else. As soon as I press
> e.g. Enter (any key works) I see
> 9C 1C 9C
> ^break code
> ^make code
> ^delayed break code.
>
> Does anyone have an idea where that
> may come from?
i see this to on week old -current. if ukbd(4) delays break code then
this might explain state synchronization problem with kbdmux(4). i guess
we should start digging into ukbd(4), starting with ukbd_interrupt() to
see why this happening.
> Could it be a possible bug in ukbd's
> conversion code?
could be
> (BTW: I compared ukbd.c of RELENG-4
> against RELENG-6. There are no
> significant differences)
have you tried to look at other bsd's (i.e. netbsd for example)?
> My usb keyboard is a Cherry RS6000.
i do not think this has anything to do with the keyboard. i have
ps/2-to-usb converter and use ps/2 keyboard with it, and, it has exactly
the same problem.
thanks,
max
More information about the freebsd-hackers
mailing list