Date: Tue, 17 Feb 2009 14:36:57 +0100 From: Hans Petter Selasky <hselasky@freebsd.org> To: freebsd-current@freebsd.org Cc: Giorgos Keramidas <keramida@freebsd.org>, Andrew Thompson <thompsa@freebsd.org> Subject: Re: usb2 moused issue (Microsoft Wireless Optical) Message-ID: <200902171436.58658.hselasky@freebsd.org> In-Reply-To: <87eixxpgya.fsf@kobe.laptop> References: <87mycme9wc.fsf@kobe.laptop> <200902170848.28659.hselasky@freebsd.org> <87eixxpgya.fsf@kobe.laptop>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 17 February 2009, Giorgos Keramidas wrote: > On Tue, 17 Feb 2009 08:48:27 +0100, Hans Petter Selasky <hselasky@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902171436.58658.hselasky>