usb touchpad not working properly on CURRENT with usb2
Boris Kotzev
boris.kotzev at gmail.com
Sun Mar 8 17:05:06 PDT 2009
> 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
Best regards,
Boris Kotzev
More information about the freebsd-usb
mailing list