Date: Thu, 5 Mar 2009 14:31:20 +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: <200903051431.22066.hselasky@c2i.net> In-Reply-To: <200903042346.00840.boris.kotzev@gmail.com> References: <200903041946.15105.boris.kotzev@gmail.com> <200903042041.47709.hselasky@c2i.net> <200903042346.00840.boris.kotzev@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 04 March 2009, Boris Kotzev wrote: > > On Wednesday 04 March 2009, Boris Kotzev wrote: > > > Hi, > > > > > > The touchpad of my laptop is not responding properly to input anymore. > > > It used to work fine with the old usb stack. > > > > > > The laptop is running CURRENT from yesterday: > > > > > > FreeBSD zembla.universe 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Mar 4 > > > 17:30:05 EET 2009 user@zembla.universe:/usr/obj/usr/src/sys/CUSTOM > > > amd64 > > > > > > When I move my finger horizontally on the touchpad of the laptop, the > > > cursor moves up and down. Moving the finger vertically moves the cursor > > > a little and then it stops. Pressing the touchpad button moves the > > > cursor to the right. > > > > > > The touchpad is detected as: > > > > > > ugen0.2: <Apple Internal Keyboard / Trackpad Apple Computer> at usbus0, > > > cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON > > > > > > Resetting the touchpad produces the following dmesg output: > > > > > > ukbd0: at uhub0, port 2, addr 2 (disconnected) > > > ums1: at uhub0, port 2, addr 2 (disconnected) > > > ums_detach:608: sc=0xffffff000188c400 > > > uhid1: at uhub0, port 2, addr 2 (disconnected) > > > ukbd0: <Apple Internal Keyboard> on usbus0 > > > kbd1 at ukbd0 > > > ums1: <Touchpad> on usbus0 > > > ums_attach:530: WARNING: report size, 67 bytes, is larger than > > > interrupt size, 64 bytes! ums1: 3 buttons and [XY] coordinates > > > ums_attach:546: sc=0xffffff000184e800 > > > 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=67, id=0 > > > uhid1: <Apple Internal Keyboard> on usbus0 > > > > > > What other information should I provide to help solving this problem? > > > > > > Sincerely, > > > > > > Boris Kotzev > > > > Could you get the USB HID descriptors dumped using: > > > > usbhidctl > > > > --HPS > > All information I managed to extract by using usbhidctl is below: > > # usbhidctl -f /dev/uhid1 -ra > Report descriptor: > Collection page=Consumer usage=Consumer_Control > Input size=8 count=1 page=Consumer usage=Eject, logical range 0..255 > End collection > Total input size 1 bytes > Total output size 0 bytes > Total feature size 0 bytes > usbhidctl: USB_SET_IMMED: Device not configured > > If it is not enough, will you explain to me how to use this utility? > Hi, I think you have to unload ums module. Then replug the device and search for the new uhid device. Can you also do: usbconfig -u 0 -a 2 dump_device_desc dump_curr_config_desc --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903051431.22066.hselasky>