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

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1LiTJ1-0001J4-43>