Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2009 15:06:58 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-current@freebsd.org
Cc:        Ian FREISLICH <ianf@clue.co.za>
Subject:   Re: Apple touchpad no longer works with usb2
Message-ID:  <200903141506.59058.hselasky@c2i.net>
In-Reply-To: <E1LiTJ1-0001J4-43@clue.co.za>
References:  <200903141342.06319.hselasky@c2i.net> <E1LiSq3-0001Ge-5b@clue.co.za> <E1LiTJ1-0001J4-43@clue.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 14 March 2009, Ian FREISLICH wrote:

> >
> > Hi,
> >
> > If you compiled a kernel with this patch, then you have to dump me the
> > HID descriptor so that I can analyze it.
> >
> > usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 0 0x100
>
> [apple] /usr/home/ianf # 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>
>
> > usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 1 0x100
>
> [apple] /usr/home/ianf # 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>
>
> > usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 2 0x100
>
> 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&>

Hi,

I don't see anything wrong about the HID parsing. There are 3 buttons and two 
axes. Could you enable ums debugging?

sysctl hw.usb2.ums.debug=15

Then a) move mouse in both directions, b) press buttons

Send me resulting dmesg.

--HPS



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