From owner-freebsd-current@FreeBSD.ORG Tue Oct 11 13:45:31 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B06816A42D for ; Tue, 11 Oct 2005 13:45:31 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7056943D45 for ; Tue, 11 Oct 2005 13:45:29 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87]) by mailout1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id j9BDjSxP017695 for ; Tue, 11 Oct 2005 23:45:28 +1000 Received: from dirk.no.domain (ppp2DF0.dyn.pacific.net.au [61.8.45.240]) by mailproxy2.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id j9BDjQN1000553 for ; Tue, 11 Oct 2005 23:45:26 +1000 Date: Tue, 11 Oct 2005 23:46:14 +1000 From: Sam Lawrance To: freebsd-current@freebsd.org Message-ID: <20051011234614.20c838a1@dirk.no.domain> X-Mailer: Sylpheed-Claws 1.9.15 (GTK+ 2.6.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: more usb keyboard (and mouse) troubles with 6.X X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Oct 2005 13:45:31 -0000 FreeBSD dirk.no.domain 6.0-RC1 FreeBSD 6.0-RC1 #0: Tue Oct 11 15:51:46 EST 2005 sam@dirk.no.domain:/usr/src/sys/i386/compile/GENERIC i386 This one is interesting. I have two USB keyboard/mouse combination devices here: - An IBM (0x04b3) IBM Standard USB Keyboard (0x3001). Mouse has 2 buttons + Z-dir. - And a Belkin wireless which shows up as something generic (vendor 0x05fe device 0x1010). Mouse has 5 buttons + Z-dir. The IBM setup works fine. No troubles in console or X, both kbd and mouse work as expected. The Belkin setup works OK initially. But as soon as I move the mouse, all keyboard and mouse input is locked up. The system is not frozen - if I reboot, run top and repeat, it continues to run and shows nothing ominous. The result is the same in console or X. Since the IBM works, I guess something about the Belkin is tickling a fairly specific problem somewhere. A ktrace of moused shows: 265 moused 0.000000 RET select 1 265 moused 0.000204 CALL read(0x3,0xbfbfe73f,0x1) 265 moused 0.000221 GIO fd 3 read 1 byte 0x0000 83 |.| 265 moused 0.000292 RET read 1 265 moused 0.000294 CALL select(0x400,0xbfbfe780,0,0,0) 265 moused 0.000296 RET select 1 265 moused 0.000298 CALL read(0x3,0xbfbfe73f,0x1) 265 moused 0.000301 GIO fd 3 read 1 byte "\0" (6 more of the previous block) 265 moused 0.000302 RET read 1 265 moused 0.000305 CALL select(0x400,0xbfbfe780,0,0,0) 265 moused 0.000307 RET select 1 265 moused 0.000309 CALL read(0x3,0xbfbfe73f,0x1) 265 moused 0.000312 GIO fd 3 read 1 byte 0x0000 7f |.| 265 moused 0.000313 RET read 1 265 moused 0.000319 CALL gettimeofday(0xbfbfe6d0,0) 265 moused 0.000322 RET gettimeofday 0 265 moused 0.000331 CALL ioctl(0x5,CONS_MOUSECTL,0xbfbfe6b0) 265 moused 0.000354 RET ioctl 0 265 moused 0.000357 CALL select(0x400,0xbfbfe780,0,0,0) 265 moused 22.376219 RET select -1 errno 4 Interrupted system call 265 moused 22.376229 PSIG SIGTERM caught handler=0x8049874 mask=0x0 code=0x0 265 moused 22.376322 CALL exit(0) You can see I waited about 20 seconds before rebooting. Lots of mouse-wiggling and key-bashing in that time to no avail. Any ideas where to look next? I'm building a kernel now with debugging and USB debugging turned on.