From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 07:49:25 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 611761065673 for ; Mon, 9 Mar 2009 07:49:25 +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 E98C78FC2B for ; Mon, 9 Mar 2009 07:49:24 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=p0lbXY6ahC0A:10 a=83Y5weSI77cA:10 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=6I5d2MoRAAAA:8 a=rDpnywgSn0zZCEzLB54A:9 a=yYKDeZnpfAkv-PLG5Z0wUeqTU9IA:4 a=LY0hPdMaydYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1207666673; Mon, 09 Mar 2009 08:49:22 +0100 From: Hans Petter Selasky To: Boris Kotzev Date: Mon, 9 Mar 2009 08:51:51 +0100 User-Agent: KMail/1.9.7 References: <200903041946.15105.boris.kotzev@gmail.com> <200903082149.21753.hselasky@c2i.net> <200903090205.01119.boris.kotzev@gmail.com> In-Reply-To: <200903090205.01119.boris.kotzev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903090851.53432.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: usb touchpad not working properly on CURRENT with usb2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2009 07:49:26 -0000 On Monday 09 March 2009, Boris Kotzev wrote: > > Hi Boris, > > > > Based on the HID descriptor dump you sent I've found and corrected a > > couple of bugs in the FreeBSD kernel HID parser. > > > > 1) cvsup to latest current. > > 2) replace the two patched files with the version from USB P4 > > 3) compile new kernel and modules > > > > If it doesn't work, then turn on ums debugging before plugging the > > devices and send me the result! > > > > Patch: > > > > http://perforce.freebsd.org/chv.cgi?CH=158868 > > > > --HPS > > Hi Hans, > > I performed steps 1, 2 and 3 (in step 2 downloaded and then replaced the > files usb_hid.c and usb_hid.h.) - there is no change in the behavior of the > touchpad. It still does not function properly. > > Resetting the device with "hw.usb2.ums.debug" set to "1" produces the > following output in dmesg : > > usbconfig -u 0 -a 2 reset > > ukbd0: at uhub0, port 2, addr 2 (disconnected) > ums1: at uhub0, port 2, addr 2 (disconnected) > ums_detach:608: sc=0xffffff00017c3400 > uhid1: at uhub0, port 2, addr 2 (disconnected) > ukbd0: on usbus0 > kbd1 at ukbd0 > ums1: on usbus0 > ums1: 3 buttons and [XY] coordinates > ums_attach:546: sc=0xffffff000d06a400 > ums_attach:547: X 8/8 > ums_attach:548: Y 16/8 > ums_attach:549: Z 0/0 > ums_attach:550: T 0/0 > ums_attach:551: W 0/0 > ums_attach:555: B1 0/1 > ums_attach:555: B2 1/1 > ums_attach:555: B3 2/1 > ums_attach:557: size=64, id=0 > uhid1: on usbus0 > Can you get me dmesg with ums debugging enabled when you move the cursor? What does: ps auxw |grep moused output ? --HPS