Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2009 08:40:55 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-current@freebsd.org, akbeech@gmail.com
Cc:        usb@freebsd.org, Andrey Chernov <ache@nagual.pp.ru>, current@freebsd.org, Beech Rintoul <beech@freebsd.org>
Subject:   Re: USB2 makes moused insane
Message-ID:  <200903100840.57018.hselasky@c2i.net>
In-Reply-To: <200903092206.29775.beech@freebsd.org>
References:  <20090310045605.GA38857@nagual.pp.ru> <200903092206.29775.beech@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Logitech> at usbus2
> > ums0: <Logitech USB Gaming Mouse, class 0/0, rev 2.00/49.00, addr 2> on
> > usbus2 ums0: 16 buttons and [XYZ] coordinates
> > uhid0: <Logitech USB Gaming Mouse, class 0/0, rev 2.00/49.00, addr 2> 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



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