From owner-freebsd-current@FreeBSD.ORG Sat Mar 14 14:04:31 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13E77106572A for ; Sat, 14 Mar 2009 14:04:31 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.tele2.se [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id 9CDF08FC12 for ; Sat, 14 Mar 2009 14:04:30 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=LBigvjnqffgA:10 a=kRQOYpJDzpgA:10 a=wogs-kEFjqspemQOxJIA:9 a=xyY5nDJd8tdkC5NrLOCxkAuqWosA:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.198] (account mc467741@c2i.net HELO [10.0.0.188]) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 466251620; Sat, 14 Mar 2009 15:04:28 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Sat, 14 Mar 2009 15:06:58 +0100 User-Agent: KMail/1.9.7 References: <200903141342.06319.hselasky@c2i.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903141506.59058.hselasky@c2i.net> Cc: Ian FREISLICH Subject: Re: Apple touchpad no longer works with usb2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2009 14:04:32 -0000 On Saturday 14 March 2009, Ian FREISLICH wrote: > > > > 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> Hi, I don't see anything wrong about the HID parsing. There are 3 buttons and two axes. Could you enable ums debugging? sysctl hw.usb2.ums.debug=15 Then a) move mouse in both directions, b) press buttons Send me resulting dmesg. --HPS