Belkin F5D9050 ver 4000
Chuck Robey
chuckr at telenix.org
Mon May 19 17:59:40 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Steven Friedrich wrote:
> perryh at 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-----
More information about the freebsd-questions
mailing list