From owner-freebsd-current@FreeBSD.ORG Tue Mar 10 07:38:28 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 A0E7D1065680; Tue, 10 Mar 2009 07:38:28 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.swipnet.se [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id A93C18FC17; Tue, 10 Mar 2009 07:38:27 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=ycxm3nvIL8Z0083CVuMA:9 a=sMh60SaNiEgKka7Ctn8A:7 a=lMtwy6YUJeCOAJ3kMDbDRZ6t26EA:4 a=LY0hPdMaydYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe13.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 817768733; Tue, 10 Mar 2009 08:38:25 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org, akbeech@gmail.com Date: Tue, 10 Mar 2009 08:40:55 +0100 User-Agent: KMail/1.9.7 References: <20090310045605.GA38857@nagual.pp.ru> <200903092206.29775.beech@freebsd.org> In-Reply-To: <200903092206.29775.beech@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903100840.57018.hselasky@c2i.net> Cc: usb@freebsd.org, Andrey Chernov , current@freebsd.org, Beech Rintoul Subject: Re: USB2 makes moused insane 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, 10 Mar 2009 07:38:31 -0000 On Tuesday 10 March 2009, Beech Rintoul wrote: > On Monday 09 March 2009 20:56:06 Andrey Chernov wrote: > > Every pure mouse movement now acts like pressing several buttons at the > > same time which cause parts of console text under cursor copied/pasted > > randomly. > > > > This is "Logitech G3" mouse, corresponding dmesg entries are: > > > > ugen2.2: at usbus2 > > ums0: on > > usbus2 ums0: 16 buttons and [XYZ] coordinates > > uhid0: on > > usbus2 > > > > moused -d -i all -p /dev/ums0 > > moused: proto params: f8 80 00 00 8 00 ff > > /dev/ums0 usb sysmouse generic > > > > Please fix, it works with old usb just nice. > > I see the exact same thing with my logitech USB mouse. Reverting to a > kernel from about a week ago fixes the problem. > > Beech Hi, Please dump the HID descriptors of mouse devices using USB config and send me the result and I will fix the issue. Replace 1 and 3 with the ugenX.Y for your device: usbconfig -u 1 -a 3 do_request 0x81 0x06 0x2200 1 0x100 Parameters after u and a must be correct. You can also dump interface #0: usbconfig -u 1 -a 3 do_request 0x81 0x06 0x2200 0 0x100 And the other interfaces if you want. --HPS