From owner-freebsd-current@FreeBSD.ORG Wed Mar 11 21:45:15 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 341551065675; Wed, 11 Mar 2009 21:45:15 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id 387DF8FC16; Wed, 11 Mar 2009 21:45:13 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=whLWPQiJkCWc9oRHttQA:9 a=7NQU7dZAtWvX9r20tl6I4sEplo4A:4 a=LY0hPdMaydYA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1209186914; Wed, 11 Mar 2009 22:45:12 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 11 Mar 2009 22:47:41 +0100 User-Agent: KMail/1.9.7 References: <20090310045605.GA38857@nagual.pp.ru> <200903112206.47108.hselasky@c2i.net> <20090311213045.GB47787@nagual.pp.ru> In-Reply-To: <20090311213045.GB47787@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903112247.42768.hselasky@c2i.net> Cc: Renato Botelho , Andrey Chernov , akbeech@gmail.com, Beech Rintoul , usb@freebsd.org 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: Wed, 11 Mar 2009 21:45:16 -0000 On Wednesday 11 March 2009, Andrey Chernov wrote: > On Wed, Mar 11, 2009 at 10:06:44PM +0100, Hans Petter Selasky wrote: > > Are you sure that you re-loaded the USB module? > > It is in the kernel. I use whole file from p4. > > > Send debugging when hw.usb2.ums.debug=15 and you plug and move mouse. > Can you show me the dmesg right after you plug the device, that prints where the X,Y,Z and buttons are located. I think we are seeing a different problem where we have a zero-valued report ID. And also. Re-dump the HID descriptor if this a different mouse than before. --HPS > As you can see, some lines have ff in the buttons while no buttons are > pressed. The mice itself have 5 buttons (including wheel click). > > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 00 ff 00 00 00 00 ff > ums_intr_callback:255: x:0 y:256 z:1 t:0 w:0 buttons:0x0000ff00 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 ff 00 00 00 ff ff 00 > ums_intr_callback:255: x:-256 y:-255 z:0 t:0 w:0 buttons:0x00000000 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 ff 00 00 00 ff ff 00 > ums_intr_callback:255: x:-256 y:-255 z:0 t:0 w:0 buttons:0x00000000 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 e9 f9 00 00 e9 ff f9 > ums_intr_callback:255: x:-5888 y:1537 z:7 t:0 w:0 buttons:0x0000ff00 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 f0 fe 00 00 f0 ff fe > ums_intr_callback:255: x:-4096 y:257 z:2 t:0 w:0 buttons:0x0000ff00 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 fb 00 00 00 fb ff 00 > ums_intr_callback:255: x:-1280 y:-255 z:0 t:0 w:0 buttons:0x00000000 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 ff 00 00 00 ff ff 00 > ums_intr_callback:255: x:-256 y:-255 z:0 t:0 w:0 buttons:0x00000000 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 01 00 00 00 01 00 00 > ums_intr_callback:255: x:256 y:0 z:0 t:0 w:0 buttons:0x00000000 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 01 00 00 00 01 00 00 > ums_intr_callback:255: x:256 y:0 z:0 t:0 w:0 buttons:0x00000000 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 0e fc 00 00 0e 00 fc > ums_intr_callback:255: x:3584 y:1024 z:4 t:0 w:0 buttons:0x0000ff00 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 01 00 00 00 01 00 00 > ums_intr_callback:255: x:256 y:0 z:0 t:0 w:0 buttons:0x00000000