usb touchpad not working properly on CURRENT with usb2

Boris Kotzev boris.kotzev at gmail.com
Fri Mar 6 12:05:09 PST 2009


On петък 06 март 2009 21:00:22 you wrote:
> On Friday 06 March 2009, Boris Kotzev wrote:
> > Hi Hans,
> >
> > Changing the bfsz from 0 to 128 in ums.c did not solve the problem. The
> > touchpad continues to respond to input in the same weird way.
>
> Hi Boris,
>
> Please dump the HID descriptor of your interface 1 of the apple keyboard
> like this:
>
> usbconfig -u 1 -a 3 do_request 0x81 0x06 0x2200 1 0x100
>
> Parameters after u and a must be correct. You can also dump interface #0:
>
> usbconfig -u 1 -a 3 do_request 0x81 0x06 0x2200 0 0x100
>
> And the other interfaces if you want.
>
> --HPS

Hi Hans,

I guess that the parameters after u and a should be 0 and 2 correspondingly:

# usbconfig -u 0 -a 2 list
ugen0.2: <Apple Internal Keyboard / Trackpad Apple Computer> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

Dump of Interface 1:

usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 1 0x100
REQUEST = <0x05 0x01 0x09 0x02 0xa1 0x01 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01 0x29 0x03 0x15 0x00 0x25 0x01 0x85 0x02 
0x95 0x03 0x75 0x01 0x81 0x02 0x95 0x01 0x75 0x05 0x81 0x01 0x05 0x01 0x09 0x30 0x09 0x31 0x15 0x81 0x25 0x7f 0x75 0x08 0x95 
0x02 0x81 0x06 0xc0 0xc0 0x05 0xff 0x09 0x01 0xa1 0x00 0x09 0x02 0x15 0x01 0x25 0x41 0x35 0x00 0x45 0xff 0x85 0x05 0x75 0x08 
0x95 0x3f 0x81 0x00 0x09 0x04 0x15 0x80 0x25 0x7f 0x75 0x08 0x95 0x10 0xb1 0x02 0xc0><)%uu01%u%A5Eu?%u>

Dump of Interface 0:

# usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 0 0x100
REQUEST = <0x05 0x01 0x09 0x06 0xa1 0x01 0x05 0x07 0x19 0xe0 0x29 0xe7 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x08 0x81 0x02 
0x95 0x01 0x75 0x08 0x81 0x01 0x95 0x05 0x75 0x01 0x05 0x08 0x19 0x01 0x29 0x05 0x91 0x02 0x95 0x01 0x75 0x03 0x91 0x01 
0x95 0x05 0x75 0x08 0x15 0x00 0x25 0x65 0x05 0x07 0x19 0x00 0x29 0x65 0x81 0x00 0x05 0xff 0x09 0x03 0x75 0x08 0x95 0x01 0x81 
0x02 0xc0><)%uuu)uu%e)eu>

Dump of Interface 2:

usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 2 0x100
REQUEST = <0x05 0x0c 0x09 0x01 0xa1 0x01 0x75 0x08 0x95 0x01 0x09 0xb8 0x15 0x00 0x26 0xff 0x00 0x81 0x02 0xc0><u&>

Best regards,

Boris Kotzev



More information about the freebsd-usb mailing list