Re: Apple touchpad no longer works with usb2

From: Ian FREISLICH <ianf_at_clue.co.za>
Date: Sat, 14 Mar 2009 14:49:35 +0200
Hans Petter Selasky wrote:
> On Saturday 14 March 2009, Ian FREISLICH wrote:
> > Hans Petter Selasky wrote:
> > > On Saturday 14 March 2009, Ian Freislich wrote:
> > > > Hi
> > > >
> > > > ugen0.2: <Apple Internal Keyboard / Trackpad Apple Computer> at usbus0,
> > > > cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.2.0: ukbd0: <Apple
> > > > Internal Keyboard>
> > > > ugen0.2.1: ums0: <Touchpad>
> > > > ugen0.2.2: uhid0: <Apple Internal Keyboard>
> > > >
> > > > While it's detected, vertical movement on the pad isn't detected
> > > > and horizontal movement tracks the pointer vertically.
> > >
> > > Hi,
> > >
> > > Try this patch:
> > > http://perforce.freebsd.org/chv.cgi?CH=159179
> >
> > That already seems to be in HEAD.
> >
> > Mine already looks like:
> >                                 if ((s->nusage < MAXUSAGE) &&
> >                                     (c->usage_minimum <= c->usage_maximum))
> > {
> 
> 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&>


--
Ian Freislich
Received on Sat Mar 14 2009 - 11:49:39 UTC

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