Re: Apple touchpad no longer works with usb2

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Sat, 14 Mar 2009 15:06:58 +0100
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
Received on Sat Mar 14 2009 - 13:04:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:44 UTC