Re: usb touchpad not working properly on CURRENT with usb2

[ Available lists | Index of freebsd-usb | Month of Mar 2009 | Week of 9 Mar 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Boris Kotzev <boris.kotzev@gmail.com>
Date
9 Mar 2009 00:05:05
Subject
Re: usb touchpad not working properly on CURRENT with usb2
Message-ID
200903090205.01119.boris.kotzev@gmail.com

In reply to

[ Hide this part ]
> 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






Elapsed time: 0.498 seconds