From owner-freebsd-current@FreeBSD.ORG Fri Nov 7 22:24:07 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99BD51065689 for ; Fri, 7 Nov 2008 22:24:07 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id F152E8FC21 for ; Fri, 7 Nov 2008 22:24:06 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl202-73.kln.forthnet.gr [79.103.15.73]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mA7MNtTg012130 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 8 Nov 2008 00:24:01 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mA7MNtPm003332 for ; Sat, 8 Nov 2008 00:23:55 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mA7MNr1J003331; Sat, 8 Nov 2008 00:23:53 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: freebsd-current@freebsd.org Date: Sat, 08 Nov 2008 00:23:53 +0200 Message-ID: <8763mz2n0m.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: mA7MNtTg012130 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.055, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.34, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Subject: Recent USB mouse regression 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: Fri, 07 Nov 2008 22:24:07 -0000 A recent 8.0-CURRENT installation _without_ USB2 enabled or loaded from `loader.conf' seems to have regressed a bit from a couple of weeks ago. When I attach an old wired mouse I have at home: ums0: on uhub4 ums0: 3 buttons and Z dir. and run moused in debugging mode I can see mouse clicks being handled, but mouse movement `dies' after a bit of time. Pressing one of the mouse buttons generates moused events like: moused: received char 0x83 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x7f moused: assembled full packet (len 8) 83,0,0,0,0,0,0,7f moused: ts: 3708 752982137 moused: : 3649 133538726 moused: flags:00000001 buttons:00000001 obuttons:00000000 moused: activity : buttons 0x00000001 dx 0 dy 0 dz 0 moused: mstate[0]->count:1 moused: button 1 count 1 moused: received char 0x87 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x7f moused: assembled full packet (len 8) 87,0,0,0,0,0,0,7f moused: ts: 3708 859980149 moused: flags:00000001 buttons:00000000 obuttons:00000001 moused: activity : buttons 0x00000000 dx 0 dy 0 dz 0 moused: mstate[0]->count:1 moused: button 1 count 0 but moving the mouse doesn't show anything in the log of moused, as if the movement event were never delivered by the USB stack to `/dev/ums0'. Some times moused starts receiving movement events for 1-2 seconds and then they are gone again. One of the ways I can reliably get the mouse in a `dead' state is by typing in an xterm window. When xterm hides the mouse pointer of X11, mouse movement is gone for good. A second mouse -- a wireless Microsoft mouse -- attaches as ums0 but never delivers anything to moused: root: Unknown USB device: vendor 0x045e product 0x00e1 bus uhub4 kernel: ums0: on uhub4 kernel: ums0: 5 buttons and Z dir. Both of these used to work a couple of weeks ago, and I'm looking back through history to find out when this started. Is anyone else seeing something like this?