Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 2009 00:26:26 +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:  <200903150026.26912.hselasky@c2i.net>
In-Reply-To: <E1LibzF-0001kj-Nw@clue.co.za>
References:  <200903141506.59058.hselasky@c2i.net> <E1LiTJ1-0001J4-43@clue.co.za> <E1LibzF-0001kj-Nw@clue.co.za>

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

Hi,

The X-axis byte is being decoded like the Y-axis byte, so the data buffer is 
shifted down by one byte.

What are the location numbers printed when you have hw.usb2.ums.debug set to 
15 right after attach?

Can you gzip your /sys/dev/usb ?

I suspect you have some sources out of sync, because according to my test 
parsing of the HID descriptor the coordiates are at the correct place in the 
USB packet, but your ums driver is doing it wrong.

Are you sure you did a clean build?

> ums_intr_callback:191: data = 02 00 01 03 00 00 00 00
> ums_intr_callback:264: x:0 y:-1 z:0 t:0 w:0 buttons:0x00000001

My test parsing with latest -current code.

0x00010030,8,8,1
8,8,1 rid=2 flags=0x00000006
0x00010031,16,8,1
16,8,1 rid=2 flags=0x00000006

--HPS



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