Re: usb2 moused issue (Microsoft Wireless Optical)

From: Hans Petter Selasky <hselasky_at_freebsd.org>
Date: Tue, 17 Feb 2009 14:36:57 +0100
On Tuesday 17 February 2009, Giorgos Keramidas wrote:
> On Tue, 17 Feb 2009 08:48:27 +0100, Hans Petter Selasky 
<hselasky_at_freebsd.org> wrote:
> > Could you enable ums0 debugging output after the changes, when you
> > plug the device? I just want to see that the isize has changed.
>
> Sure.  Here's the output before the patch:
>
> kernel: ugen4.2: <Microsoft> at usbus4
> kernel: ums0: <Microsoft Wireless Optical Mouse 3000 (Model 1056), class
> 0/0, rev 2.00/0.07, addr 2> on usbus4 kernel: ums0: 5 buttons and [XYZ]
> coordinates Feb 16
> kernel: ums_attach:582: sc=0xc63cd800
> kernel: ums_attach:583: X  48/8
> kernel: ums_attach:584: Y  56/8
> kernel: ums_attach:585: Z  64/8
> kernel: ums_attach:586: T  0/0
> kernel: ums_attach:587: W  0/0
> kernel: ums_attach:591: B1 40/1
> kernel: ums_attach:591: B2 41/1
> kernel: ums_attach:591: B3 42/1
> kernel: ums_attach:591: B4 43/1
> kernel: ums_attach:591: B5 44/1
> kernel: ums_attach:593: size=2, id=19
> kernel: Symlink: ums0 -> usb4.2.0.16
>
> and the output after the patch:
>
> kernel: ugen4.2: <Microsoft> at usbus4
> kernel: ums0: <Microsoft Wireless Optical Mouse 3000 (Model 1056), class
> 0/0, rev 2.00/0.07, addr 2> on usbus4 kernel: ums0: 5 buttons and [XYZ]
> coordinates
> kernel: ums_attach:582: sc=0xc627dc00
> kernel: ums_attach:583: X  48/8
> kernel: ums_attach:584: Y  56/8
> kernel: ums_attach:585: Z  64/8
> kernel: ums_attach:586: T  0/0
> kernel: ums_attach:587: W  0/0
> kernel: ums_attach:591: B1 40/1
> kernel: ums_attach:591: B2 41/1
> kernel: ums_attach:591: B3 42/1
> kernel: ums_attach:591: B4 43/1
> kernel: ums_attach:591: B5 44/1
> kernel: ums_attach:593: size=2, id=19
> kernel: Symlink: ums0 -> usb4.2.0.16

Can you send me the patched file "sys/dev/usb2/core/usb2_hid.c" ? I cannot see 
that "size=2" has changed. It's wrong size information that causes your mouse 
problem.

--HPS
Received on Tue Feb 17 2009 - 12:34:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:42 UTC