Apple touchpad no longer works with usb2
    Hans Petter Selasky 
    hselasky at c2i.net
       
    Sat Mar 14 16:38:58 PDT 2009
    
    
  
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
    
    
More information about the freebsd-current
mailing list