Re: Apple touchpad no longer works with usb2

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Sun, 15 Mar 2009 00:26:26 +0100
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
Received on Sat Mar 14 2009 - 22:38:58 UTC

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