From owner-freebsd-questions@FreeBSD.ORG Mon May 19 17:59:40 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C879106567D for ; Mon, 19 May 2008 17:59:40 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 6B9E78FC2B for ; Mon, 19 May 2008 17:59:40 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 23847 invoked from network); 19 May 2008 17:33:00 -0000 Received: from april.chuckr.org (HELO chuckr.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 19 May 2008 17:33:00 -0000 Message-ID: <4831B7CF.7010002@telenix.org> Date: Mon, 19 May 2008 13:24:31 -0400 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: Steven Friedrich References: <482CC777.8060309@InsightBB.com> <482cda0c.vqeNxjersEZzdru+%perryh@pluto.rain.com> <482CE28D.3080107@InsightBB.com> <482d121f.1u3/tzXb60SdNrbc%perryh@pluto.rain.com> <4830A83B.70905@InsightBB.com> In-Reply-To: <4830A83B.70905@InsightBB.com> X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org, perryh@pluto.rain.com Subject: Re: Belkin F5D9050 ver 4000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 17:59:40 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Steven Friedrich wrote: > perryh@pluto.rain.com wrote: >>>> Doing a descriptor dump, and posting the results to freebsd-usb@, >>>> might find someone who knows how to get that particular device to >>>> work. >>>> >>> Ok, I'll bite. How do you do a descriptor dump? >> >> One way is to use sysutils/udesc_dump, from ports, as recommended here: >> http://lists.freebsd.org/pipermail/freebsd-usb/2008-January/004308.html >> > Standard Device Descriptor: A way that gets you a hex dump is to use Kai Wang's kernel module, avaialble at http://people.freebsd.org/~kaiw/tools/krepdump.tgz. Just compile and load it (it builds trivially easy) and then unplug/plug your device, and out pops a descriptor dump. I liked that hex dump so much, I made it the input to my teaching parser, which I stuck at http://people.freebsd.org/~chuckr/code/python/uhidParser-0.2.1.tbz > bLength 18 > bDescriptorType 01 > bcdUSB 0200 > bDeviceClass 00 > bDeviceSubClass 00 > bDeviceProtocol 00 > bMaxPacketSize 64 > idVendor 050d > idProduct 905c > bcdDevice 0001 > iManufacturer 1 > iProduct 2 > iSerialNumber 0 > bNumConfigurations 1 > > Configuration 0: > Standard Configuration Descriptor: > bLength 9 > bDescriptorType 02 > wTotalLength 53 > bNumInterface 1 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 80 > bMaxPower 150 (300 mA) > > Standard Interface Descriptor: > bLength 9 > bDescriptorType 04 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 5 > bInterfaceClass ff > bInterfaceSubClass ff > bInterfaceProtocol ff > iInterface 0 > > Standard Endpoint Descriptor: > bLength 7 > bDescriptorType 05 > bEndpointAddress 81 (in) > bmAttributes 02 (Bulk) > wMaxPacketSize 512 > bInterval 0 > > Standard Endpoint Descriptor: > bLength 7 > bDescriptorType 05 > bEndpointAddress 01 (out) > bmAttributes 02 (Bulk) > wMaxPacketSize 512 > bInterval 0 > > Standard Endpoint Descriptor: > bLength 7 > bDescriptorType 05 > bEndpointAddress 02 (out) > bmAttributes 02 (Bulk) > wMaxPacketSize 512 > bInterval 0 > > Standard Endpoint Descriptor: > bLength 7 > bDescriptorType 05 > bEndpointAddress 03 (out) > bmAttributes 02 (Bulk) > wMaxPacketSize 512 > bInterval 0 > > Standard Endpoint Descriptor: > bLength 7 > bDescriptorType 05 > bEndpointAddress 04 (out) > bmAttributes 02 (Bulk) > wMaxPacketSize 512 > bInterval 0 > > Codes Representing Languages by the Device: > bLength 4 > bDescriptorType 03 > wLANGID[0] 0409 > > String (index 1): Belkin > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIMbfPz62J6PPcoOkRAmenAJ9RdY2uRPPABAn823C0CnNe1kj2kwCeMAya Vp6J957Zf52N/pkpPbMa9yI= =trt7 -----END PGP SIGNATURE-----