From owner-freebsd-current@FreeBSD.ORG Tue Feb 17 13:34:32 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 E93C31065674; Tue, 17 Feb 2009 13:34:32 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe10.tele2.se [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id EEE0D8FC12; Tue, 17 Feb 2009 13:34:31 +0000 (UTC) (envelope-from hselasky@freebsd.org) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=v1l4sCoM7rMA:10 a=-QvcQp4i0RcA:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=6I5d2MoRAAAA:8 a=37C_SMnpqsMWptgMDZsA:9 a=2plVApItBX5ctmSMZtmCfezVR3sA:4 a=LY0hPdMaydYA:10 a=SV7veod9ZcQA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1028233066; Tue, 17 Feb 2009 14:34:30 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Tue, 17 Feb 2009 14:36:57 +0100 User-Agent: KMail/1.9.7 References: <87mycme9wc.fsf@kobe.laptop> <200902170848.28659.hselasky@freebsd.org> <87eixxpgya.fsf@kobe.laptop> In-Reply-To: <87eixxpgya.fsf@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902171436.58658.hselasky@freebsd.org> Cc: Giorgos Keramidas , 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: Tue, 17 Feb 2009 13:34:33 -0000 On Tuesday 17 February 2009, Giorgos Keramidas wrote: > On Tue, 17 Feb 2009 08:48:27 +0100, Hans Petter Selasky 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: at usbus4 > kernel: ums0: 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: at usbus4 > kernel: ums0: 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