From owner-freebsd-current@FreeBSD.ORG Mon Feb 16 21:18:35 2009 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 8F8AE106566C; Mon, 16 Feb 2009 21:18:35 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id E838E8FC21; Mon, 16 Feb 2009 21:18:34 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (adsl109-226.kln.forthnet.gr [77.49.228.226]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-6) with ESMTP id n1GLIO03025932 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 16 Feb 2009 23:18:30 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n1GLIOWF018801; Mon, 16 Feb 2009 23:18:24 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n1GLIOcq018800; Mon, 16 Feb 2009 23:18:24 +0200 (EET) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: Hans Petter Selasky References: <87mycme9wc.fsf@kobe.laptop> <200902161930.25235.hselasky@freebsd.org> <87tz6u6u4d.fsf@kobe.laptop> <200902162212.37027.hselasky@freebsd.org> Date: Mon, 16 Feb 2009 23:18:24 +0200 In-Reply-To: <200902162212.37027.hselasky@freebsd.org> (Hans Petter Selasky's message of "Mon, 16 Feb 2009 22:12:36 +0100") Message-ID: <87r61ynkrj.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: n1GLIO03025932 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.488, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL -0.09, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: freebsd-current@freebsd.org, Andrew Thompson Subject: Re: usb2 moused issue (Microsoft Wireless Optical) 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: Mon, 16 Feb 2009 21:18:36 -0000 On Mon, 16 Feb 2009 22:12:36 +0100, Hans Petter Selasky wrote: > On Monday 16 February 2009, Giorgos Keramidas wrote: >> It was opened by moused, so I killed it. There's no output when I >> attach and move the mouse, other than the following in syslog: >> >> Feb 16 21:37:45 kobe kernel: ugen4.2: at usbus4 >> Feb 16 21:37:45 kobe kernel: ums0: > (Model 1056), class 0/0, rev 2.00/0.07, addr 2> on usbus4 Feb 16 21:37:45 >> kobe kernel: ums0: 5 buttons and [XYZ] coordinates Feb 16 21:37:45 kobe >> kernel: ums_attach:582: sc=0xc63cd800 >> Feb 16 21:37:45 kobe kernel: ums_attach:583: X 48/8 >> Feb 16 21:37:45 kobe kernel: ums_attach:584: Y 56/8 >> Feb 16 21:37:45 kobe kernel: ums_attach:585: Z 64/8 >> Feb 16 21:37:45 kobe kernel: ums_attach:586: T 0/0 >> Feb 16 21:37:45 kobe kernel: ums_attach:587: W 0/0 >> Feb 16 21:37:45 kobe kernel: ums_attach:591: B1 40/1 >> Feb 16 21:37:45 kobe kernel: ums_attach:591: B2 41/1 >> Feb 16 21:37:45 kobe kernel: ums_attach:591: B3 42/1 >> Feb 16 21:37:45 kobe kernel: ums_attach:591: B4 43/1 >> Feb 16 21:37:45 kobe kernel: ums_attach:591: B5 44/1 >> Feb 16 21:37:45 kobe kernel: ums_attach:593: size=2, id=19 >> Feb 16 21:37:45 kobe kernel: Symlink: ums0 -> usb4.2.0.16 >> >> When I kill the moused instance that is launched on attach by devd, >> start a `cat /dev/ums0' command and move the mouse, click a few buttons, >> etc. there is no output at all. > > Hi, > > I found a bug in the HID library: > > Can you try the following patch: > > http://perforce.freebsd.org/chv.cgi?CH=157814 This looks ok. I'll give it a run in a few minutes, thanks :-)