USB keyboard rollover problem

Brian Candler B.Candler at pobox.com
Fri Feb 20 07:56:04 PST 2004


On Fri, Feb 20, 2004 at 02:49:43PM +0000, Brian Candler wrote:
> Additional information: if I reboot my laptop into Windows 98 (forgot I had
> that partition!), the keyboard works properly with no rollover problem. So
> it looks suspiciously like FreeBSD is not initialising it properly or
> communicating correctly.

Here's what I get if I compile in and turn on USB keyboard debugging in
the kernel, and type "asd" as
"a" down, "s" down, "a" up, "d" down: this generates "asds" on screen.

Feb 20 15:21:21 vaio /kernel: 0x428 (1064) released
Feb 20 15:21:21 vaio /kernel: 
Feb 20 15:21:26 vaio /kernel: 0x4 (4) pressed                 <<< a
Feb 20 15:21:26 vaio /kernel: 4 
Feb 20 15:21:26 vaio /kernel: 0x16 (22) pressed               <<< s
Feb 20 15:21:26 vaio /kernel: 4 22 
Feb 20 15:21:26 vaio /kernel: 0x404 (1028) released
Feb 20 15:21:26 vaio /kernel: 0x416 (1046) released
Feb 20 15:21:26 vaio /kernel: 22 
Feb 20 15:21:26 vaio /kernel: 0x7 (7) pressed                 <<< d
Feb 20 15:21:26 vaio /kernel: 0x16 (22) pressed               <<< s
Feb 20 15:21:26 vaio /kernel: 7 22 
Feb 20 15:21:26 vaio /kernel: 0x416 (1046) released
Feb 20 15:21:26 vaio /kernel: 7 
Feb 20 15:21:27 vaio /kernel: 0x407 (1031) released
Feb 20 15:21:27 vaio /kernel: 

I replaced ukbd.c with the latest (1.46) from cvsweb and rebuilt; no
difference. I also set the debug level to 10 instead of 1, and all I got
were a stream of extra messages of the form

Feb 20 15:48:13 vaio /kernel: ukbd_intr: status=0

There doesn't seem to be a USB mailing list, so if nobody has any better
suggestions I suppose I'd better file a bug report...

Cheers,

Brian.


More information about the freebsd-questions mailing list