Date: Mon, 9 Mar 2009 08:51:51 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: Boris Kotzev <boris.kotzev@gmail.com> Cc: freebsd-usb@freebsd.org Subject: Re: usb touchpad not working properly on CURRENT with usb2 Message-ID: <200903090851.53432.hselasky@c2i.net> In-Reply-To: <200903090205.01119.boris.kotzev@gmail.com> References: <200903041946.15105.boris.kotzev@gmail.com> <200903082149.21753.hselasky@c2i.net> <200903090205.01119.boris.kotzev@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <Apple Internal Keyboard> on usbus0 > kbd1 at ukbd0 > ums1: <Touchpad> 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: <Apple Internal Keyboard> on usbus0 > Can you get me dmesg with ums debugging enabled when you move the cursor? What does: ps auxw |grep moused output ? --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903090851.53432.hselasky>