Date: Mon, 19 May 2008 13:24:31 -0400 From: Chuck Robey <chuckr@telenix.org> To: Steven Friedrich <StevenFriedrich@InsightBB.com> Cc: questions@freebsd.org, perryh@pluto.rain.com Subject: Re: Belkin F5D9050 ver 4000 Message-ID: <4831B7CF.7010002@telenix.org> In-Reply-To: <4830A83B.70905@InsightBB.com> References: <482CC777.8060309@InsightBB.com> <482cda0c.vqeNxjersEZzdru%2B%perryh@pluto.rain.com> <482CE28D.3080107@InsightBB.com> <482d121f.1u3/tzXb60SdNrbc%perryh@pluto.rain.com> <4830A83B.70905@InsightBB.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4831B7CF.7010002>