Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Mar 2009 22:05:04 +0200
From:      Boris Kotzev <boris.kotzev@gmail.com>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: usb touchpad not working properly on CURRENT with usb2
Message-ID:  <200903062205.04687.boris.kotzev@gmail.com>
In-Reply-To: <200903062000.22447.hselasky@c2i.net>
References:  <200903041946.15105.boris.kotzev@gmail.com> <200903062021.52408.boris.kotzev@gmail.com> <200903062000.22447.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On =EF=E5=F2=FA=EA 06 =EC=E0=F0=F2 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=
=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON

Dump of Interface 1:

usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 1 0x100
REQUEST =3D <0x05 0x01 0x09 0x02 0xa1 0x01 0x09 0x01 0xa1 0x00 0x05 0x09 0x=
19 0x01 0x29 0x03 0x15 0x00 0x25 0x01 0x85 0x02=20
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=20
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=20
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 =3D <0x05 0x01 0x09 0x06 0xa1 0x01 0x05 0x07 0x19 0xe0 0x29 0xe7 0x=
15 0x00 0x25 0x01 0x75 0x01 0x95 0x08 0x81 0x02=20
0x95 0x01 0x75 0x08 0x81 0x01 0x95 0x05 0x75 0x01 0x05 0x08 0x19 0x01 0x29 =
0x05 0x91 0x02 0x95 0x01 0x75 0x03 0x91 0x01=20
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=20
0x02 0xc0><)%uuu)uu%e)eu>

Dump of Interface 2:

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

Best regards,

Boris Kotzev




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903062205.04687.boris.kotzev>