Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2004 15:56:02 +0000
From:      Brian Candler <B.Candler@pobox.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: USB keyboard rollover problem
Message-ID:  <20040220155602.GA190@uk.tiscali.com>
In-Reply-To: <20040220144943.GA191@uk.tiscali.com>
References:  <20040220135903.GA7424@uk.tiscali.com> <20040220144943.GA191@uk.tiscali.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040220155602.GA190>