dfu-util 0.5
Matthias Apitz
guru at unixarea.de
Tue Apr 17 18:52:31 UTC 2012
El día Tuesday, April 17, 2012 a las 08:41:56PM +0200, Hans Petter Selasky escribió:
> > Claiming USB DFU Runtime Interface...
> > Determining device status: state = appIDLE, status = 0
> > Device really in Runtime Mode, send DFU detach request...
> > Resetting USB...
> > libusb_set_configuration(_rt_dif.dev_handle, 1)
> > _rt_dif.dev_handle 28449d80
> > Opening USB Device...
> > No such Alternate Setting: "rootfs"
>
> What does usbconfig say about your device after this procedure?
after such flash attempt it says
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
Configuration index 0
bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0019
bNumInterfaces = 0x0001
bConfigurationValue = 0x0001
iConfiguration = 0x0000 <no string>
bmAttributes = 0x0040
bMaxPower = 0x0000
Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0001
bInterfaceClass = 0x0009
bInterfaceSubClass = 0x0000
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0003 <INTERRUPT>
wMaxPacketSize = 0x0008
bInterval = 0x00ff
bRefresh = 0x0000
bSynchAddress = 0x0000
ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
Configuration index 0
bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0019
bNumInterfaces = 0x0001
bConfigurationValue = 0x0001
iConfiguration = 0x0000 <no string>
bmAttributes = 0x0040
bMaxPower = 0x0000
Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0001
bInterfaceClass = 0x0009
bInterfaceSubClass = 0x0000
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0003 <INTERRUPT>
wMaxPacketSize = 0x0008
bInterval = 0x00ff
bRefresh = 0x0000
bSynchAddress = 0x0000
ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
Configuration index 0
bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0019
bNumInterfaces = 0x0001
bConfigurationValue = 0x0001
iConfiguration = 0x0000 <no string>
bmAttributes = 0x0040
bMaxPower = 0x0000
Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0001
bInterfaceClass = 0x0009
bInterfaceSubClass = 0x0000
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0003 <INTERRUPT>
wMaxPacketSize = 0x0008
bInterval = 0x00ff
bRefresh = 0x0000
bSynchAddress = 0x0000
ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
Configuration index 0
bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0019
bNumInterfaces = 0x0001
bConfigurationValue = 0x0001
iConfiguration = 0x0000 <no string>
bmAttributes = 0x0040
bMaxPower = 0x0000
Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0001
bInterfaceClass = 0x0009
bInterfaceSubClass = 0x0000
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0003 <INTERRUPT>
wMaxPacketSize = 0x0008
bInterval = 0x00ff
bRefresh = 0x0000
bSynchAddress = 0x0000
ugen4.1: <EHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
Configuration index 0
bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0019
bNumInterfaces = 0x0001
bConfigurationValue = 0x0001
iConfiguration = 0x0000 <no string>
bmAttributes = 0x0040
bMaxPower = 0x0000
Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0001
bInterfaceClass = 0x0009
bInterfaceSubClass = 0x0000
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0003 <INTERRUPT>
wMaxPacketSize = 0x0008
bInterval = 0x00ff
bRefresh = 0x0000
bSynchAddress = 0x0000
ugen4.2: <UB6225 ENE> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
Configuration index 0
bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0020
bNumInterfaces = 0x0001
bConfigurationValue = 0x0001
iConfiguration = 0x0000 <no string>
bmAttributes = 0x0080
bMaxPower = 0x00f9
Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0002
bInterfaceClass = 0x0008
bInterfaceSubClass = 0x0006
bInterfaceProtocol = 0x0050
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0001 <OUT>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0000
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0082 <IN>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0000
bRefresh = 0x0000
bSynchAddress = 0x0000
ugen4.3: <CNF7129 Chicony Electronics Co., Ltd.> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
Configuration index 0
bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0250
bNumInterfaces = 0x0002
bConfigurationValue = 0x0001
iConfiguration = 0x0000 <no string>
bmAttributes = 0x0080
bMaxPower = 0x00fa
Additional Descriptor
bLength = 0x08
bDescriptorType = 0x0b
bDescriptorSubType = 0x00
RAW dump:
0x00 | 0x08, 0x0b, 0x00, 0x02, 0x0e, 0x03, 0x00, 0x05
Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0001
bInterfaceClass = 0x000e
bInterfaceSubClass = 0x0001
bInterfaceProtocol = 0x0000
iInterface = 0x0005 <USB2.0 1.3M UVC WebCam>
Additional Descriptor
bLength = 0x0d
bDescriptorType = 0x24
bDescriptorSubType = 0x01
RAW dump:
0x00 | 0x0d, 0x24, 0x01, 0x00, 0x01, 0x68, 0x00, 0xc0,
0x08 | 0xe1, 0xe4, 0x00, 0x01, 0x01
Additional Descriptor
bLength = 0x09
bDescriptorType = 0x24
bDescriptorSubType = 0x03
RAW dump:
0x00 | 0x09, 0x24, 0x03, 0x02, 0x01, 0x01, 0x00, 0x05,
0x08 | 0x00
Additional Descriptor
bLength = 0x1a
bDescriptorType = 0x24
bDescriptorSubType = 0x06
RAW dump:
0x00 | 0x1a, 0x24, 0x06, 0x04, 0x70, 0x33, 0xf0, 0x28,
0x08 | 0x11, 0x63, 0x2e, 0x4a, 0xba, 0x2c, 0x68, 0x90,
0x10 | 0xeb, 0x33, 0x40, 0x16, 0x08, 0x01, 0x03, 0x01,
0x18 | 0x0f, 0x00
Additional Descriptor
bLength = 0x1a
bDescriptorType = 0x24
bDescriptorSubType = 0x06
RAW dump:
0x00 | 0x1a, 0x24, 0x06, 0x05, 0x3f, 0xae, 0x12, 0x28,
0x08 | 0xd7, 0xbc, 0x11, 0x4e, 0xa3, 0x57, 0x6f, 0x1e,
0x10 | 0xde, 0xf7, 0xd6, 0x1d, 0x08, 0x01, 0x04, 0x01,
0x18 | 0xff, 0x00
Additional Descriptor
bLength = 0x12
bDescriptorType = 0x24
bDescriptorSubType = 0x02
RAW dump:
0x00 | 0x12, 0x24, 0x02, 0x01, 0x01, 0x02, 0x00, 0x00,
0x08 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00,
0x10 | 0x00, 0x00
Additional Descriptor
bLength = 0x0c
bDescriptorType = 0x24
bDescriptorSubType = 0x05
RAW dump:
0x00 | 0x0c, 0x24, 0x05, 0x03, 0x01, 0x00, 0x00, 0x03,
0x08 | 0xbf, 0x25, 0x00, 0x00
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0083 <IN>
bmAttributes = 0x0003 <INTERRUPT>
wMaxPacketSize = 0x0010
bInterval = 0x0006
bRefresh = 0x0000
bSynchAddress = 0x0000
Additional Descriptor
bLength = 0x05
bDescriptorType = 0x25
bDescriptorSubType = 0x03
RAW dump:
0x00 | 0x05, 0x25, 0x03, 0x10, 0x00
Interface 1
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0001
bAlternateSetting = 0x0000
bNumEndpoints = 0x0000
bInterfaceClass = 0x000e
bInterfaceSubClass = 0x0002
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Additional Descriptor
bLength = 0x0e
bDescriptorType = 0x24
bDescriptorSubType = 0x01
RAW dump:
0x00 | 0x0e, 0x24, 0x01, 0x01, 0x59, 0x01, 0x81, 0x00,
0x08 | 0x02, 0x00, 0x01, 0x00, 0x01, 0x00
Additional Descriptor
bLength = 0x1b
bDescriptorType = 0x24
bDescriptorSubType = 0x04
RAW dump:
0x00 | 0x1b, 0x24, 0x04, 0x01, 0x07, 0x59, 0x55, 0x59,
0x08 | 0x32, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00,
0x10 | 0xaa, 0x00, 0x38, 0x9b, 0x71, 0x10, 0x01, 0x00,
0x18 | 0x00, 0x00, 0x00
Additional Descriptor
bLength = 0x2e
bDescriptorType = 0x24
bDescriptorSubType = 0x05
RAW dump:
0x00 | 0x2e, 0x24, 0x05, 0x01, 0x00, 0x80, 0x02, 0xe0,
0x08 | 0x01, 0x00, 0xe0, 0x2e, 0x00, 0x00, 0x40, 0x19,
0x10 | 0x01, 0x00, 0x60, 0x09, 0x00, 0x15, 0x16, 0x05,
0x18 | 0x00, 0x05, 0x15, 0x16, 0x05, 0x00, 0x20, 0xa1,
0x20 | 0x07, 0x00, 0x2a, 0x2c, 0x0a, 0x00, 0x40, 0x42,
0x28 | 0x0f, 0x00, 0x80, 0x84, 0x1e, 0x00
Additional Descriptor
bLength = 0x2e
bDescriptorType = 0x24
bDescriptorSubType = 0x05
RAW dump:
0x00 | 0x2e, 0x24, 0x05, 0x02, 0x00, 0x60, 0x01, 0x20,
0x08 | 0x01, 0x00, 0x78, 0x0f, 0x00, 0x00, 0xd0, 0x5c,
0x10 | 0x00, 0x00, 0x18, 0x03, 0x00, 0x15, 0x16, 0x05,
0x18 | 0x00, 0x05, 0x15, 0x16, 0x05, 0x00, 0x20, 0xa1,
0x20 | 0x07, 0x00, 0x2a, 0x2c, 0x0a, 0x00, 0x40, 0x42,
0x28 | 0x0f, 0x00, 0x80, 0x84, 0x1e, 0x00
Additional Descriptor
bLength = 0x2e
bDescriptorType = 0x24
bDescriptorSubType = 0x05
RAW dump:
0x00 | 0x2e, 0x24, 0x05, 0x03, 0x00, 0x40, 0x01, 0xf0,
0x08 | 0x00, 0x00, 0xb8, 0x0b, 0x00, 0x00, 0x50, 0x46,
0x10 | 0x00, 0x00, 0x58, 0x02, 0x00, 0x15, 0x16, 0x05,
0x18 | 0x00, 0x05, 0x15, 0x16, 0x05, 0x00, 0x20, 0xa1,
0x20 | 0x07, 0x00, 0x2a, 0x2c, 0x0a, 0x00, 0x40, 0x42,
0x28 | 0x0f, 0x00, 0x80, 0x84, 0x1e, 0x00
Additional Descriptor
bLength = 0x2e
bDescriptorType = 0x24
bDescriptorSubType = 0x05
RAW dump:
0x00 | 0x2e, 0x24, 0x05, 0x04, 0x00, 0xb0, 0x00, 0x90,
0x08 | 0x00, 0x00, 0xde, 0x03, 0x00, 0x00, 0x34, 0x17,
0x10 | 0x00, 0x00, 0xc6, 0x00, 0x00, 0x15, 0x16, 0x05,
0x18 | 0x00, 0x05, 0x15, 0x16, 0x05, 0x00, 0x20, 0xa1,
0x20 | 0x07, 0x00, 0x2a, 0x2c, 0x0a, 0x00, 0x40, 0x42,
0x28 | 0x0f, 0x00, 0x80, 0x84, 0x1e, 0x00
Additional Descriptor
bLength = 0x2e
bDescriptorType = 0x24
bDescriptorSubType = 0x05
RAW dump:
0x00 | 0x2e, 0x24, 0x05, 0x05, 0x00, 0xa0, 0x00, 0x78,
0x08 | 0x00, 0x00, 0xee, 0x02, 0x00, 0x00, 0x94, 0x11,
0x10 | 0x00, 0x00, 0x96, 0x00, 0x00, 0x15, 0x16, 0x05,
0x18 | 0x00, 0x05, 0x15, 0x16, 0x05, 0x00, 0x20, 0xa1,
0x20 | 0x07, 0x00, 0x2a, 0x2c, 0x0a, 0x00, 0x40, 0x42,
0x28 | 0x0f, 0x00, 0x80, 0x84, 0x1e, 0x00
Additional Descriptor
bLength = 0x22
bDescriptorType = 0x24
bDescriptorSubType = 0x05
RAW dump:
0x00 | 0x22, 0x24, 0x05, 0x06, 0x00, 0x00, 0x05, 0x20,
0x08 | 0x03, 0x00, 0x40, 0x9c, 0x00, 0x00, 0xc0, 0xda,
0x10 | 0x00, 0x00, 0x40, 0x1f, 0x00, 0x5b, 0xcc, 0x15,
0x18 | 0x00, 0x02, 0x5b, 0xcc, 0x15, 0x00, 0x80, 0x84,
0x20 | 0x1e, 0x00
Additional Descriptor
bLength = 0x22
bDescriptorType = 0x24
bDescriptorSubType = 0x05
RAW dump:
0x00 | 0x22, 0x24, 0x05, 0x07, 0x00, 0x00, 0x05, 0x00,
0x08 | 0x04, 0x00, 0x00, 0xc8, 0x00, 0x00, 0x00, 0x18,
0x10 | 0x01, 0x00, 0x00, 0x28, 0x00, 0x5b, 0xcc, 0x15,
0x18 | 0x00, 0x02, 0x5b, 0xcc, 0x15, 0x00, 0x80, 0x84,
0x20 | 0x1e, 0x00
Additional Descriptor
bLength = 0x06
bDescriptorType = 0x24
bDescriptorSubType = 0x0d
RAW dump:
0x00 | 0x06, 0x24, 0x0d, 0x01, 0x01, 0x04
Interface 1 Alt 1
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0001
bAlternateSetting = 0x0001
bNumEndpoints = 0x0001
bInterfaceClass = 0x000e
bInterfaceSubClass = 0x0002
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0005 <ASYNC-ISOCHRONOUS>
wMaxPacketSize = 0x0080
bInterval = 0x0001
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 1 Alt 2
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0001
bAlternateSetting = 0x0002
bNumEndpoints = 0x0001
bInterfaceClass = 0x000e
bInterfaceSubClass = 0x0002
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0005 <ASYNC-ISOCHRONOUS>
wMaxPacketSize = 0x0100
bInterval = 0x0001
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 1 Alt 3
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0001
bAlternateSetting = 0x0003
bNumEndpoints = 0x0001
bInterfaceClass = 0x000e
bInterfaceSubClass = 0x0002
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0005 <ASYNC-ISOCHRONOUS>
wMaxPacketSize = 0x0320
bInterval = 0x0001
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 1 Alt 4
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0001
bAlternateSetting = 0x0004
bNumEndpoints = 0x0001
bInterfaceClass = 0x000e
bInterfaceSubClass = 0x0002
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0005 <ASYNC-ISOCHRONOUS>
wMaxPacketSize = 0x0b20
bInterval = 0x0001
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 1 Alt 5
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0001
bAlternateSetting = 0x0005
bNumEndpoints = 0x0001
bInterfaceClass = 0x000e
bInterfaceSubClass = 0x0002
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0005 <ASYNC-ISOCHRONOUS>
wMaxPacketSize = 0x1320
bInterval = 0x0001
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 1 Alt 6
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0001
bAlternateSetting = 0x0006
bNumEndpoints = 0x0001
bInterfaceClass = 0x000e
bInterfaceSubClass = 0x0002
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0005 <ASYNC-ISOCHRONOUS>
wMaxPacketSize = 0x1400
bInterval = 0x0001
bRefresh = 0x0000
bSynchAddress = 0x0000
ugen4.4: <HUAWEI Mobile HUAWEI Technology> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
Configuration index 0
bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x00a1
bNumInterfaces = 0x0006
bConfigurationValue = 0x0001
iConfiguration = 0x0001 <Huawei Configuration>
bmAttributes = 0x00e0
bMaxPower = 0x00fa
Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0003
bInterfaceClass = 0x00ff
bInterfaceSubClass = 0x00ff
bInterfaceProtocol = 0x00ff
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0003 <INTERRUPT>
wMaxPacketSize = 0x0040
bInterval = 0x0005
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0082 <IN>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 2
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0001 <OUT>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 1
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0001
bAlternateSetting = 0x0000
bNumEndpoints = 0x0003
bInterfaceClass = 0x00ff
bInterfaceSubClass = 0x00ff
bInterfaceProtocol = 0x00ff
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0083 <IN>
bmAttributes = 0x0003 <INTERRUPT>
wMaxPacketSize = 0x0040
bInterval = 0x0005
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0084 <IN>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 2
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0002 <OUT>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 2
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0002
bAlternateSetting = 0x0000
bNumEndpoints = 0x0002
bInterfaceClass = 0x00ff
bInterfaceSubClass = 0x00ff
bInterfaceProtocol = 0x00ff
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0085 <IN>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0003 <OUT>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 3
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0003
bAlternateSetting = 0x0000
bNumEndpoints = 0x0002
bInterfaceClass = 0x00ff
bInterfaceSubClass = 0x00ff
bInterfaceProtocol = 0x00ff
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0086 <IN>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0004 <OUT>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 4
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0004
bAlternateSetting = 0x0000
bNumEndpoints = 0x0002
bInterfaceClass = 0x0008
bInterfaceSubClass = 0x0006
bInterfaceProtocol = 0x0050
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0087 <IN>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0000
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0005 <OUT>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0000
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 5
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0005
bAlternateSetting = 0x0000
bNumEndpoints = 0x0002
bInterfaceClass = 0x0008
bInterfaceSubClass = 0x0006
bInterfaceProtocol = 0x0050
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0006 <OUT>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0000
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0088 <IN>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0000
bRefresh = 0x0000
bSynchAddress = 0x0000
ugen1.2: <Neo1973 Bootloader U-Boot 1.3.2-moko12 OpenMoko, Inc> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
Configuration index 0
bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0051
bNumInterfaces = 0x0001
bConfigurationValue = 0x0001
iConfiguration = 0x0007 <USB Device Firmware Upgrade>
bmAttributes = 0x0080
bMaxPower = 0x0032
Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0000
bInterfaceClass = 0x00fe
bInterfaceSubClass = 0x0001
bInterfaceProtocol = 0x0002
iInterface = 0x0008 <RAM 0x32000000>
Interface 0 Alt 1
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0001
bNumEndpoints = 0x0000
bInterfaceClass = 0x00fe
bInterfaceSubClass = 0x0001
bInterfaceProtocol = 0x0002
iInterface = 0x0009 <u-boot>
Interface 0 Alt 2
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0002
bNumEndpoints = 0x0000
bInterfaceClass = 0x00fe
bInterfaceSubClass = 0x0001
bInterfaceProtocol = 0x0002
iInterface = 0x000a <u-boot_env>
Interface 0 Alt 3
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0003
bNumEndpoints = 0x0000
bInterfaceClass = 0x00fe
bInterfaceSubClass = 0x0001
bInterfaceProtocol = 0x0002
iInterface = 0x000b <kernel>
Interface 0 Alt 4
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0004
bNumEndpoints = 0x0000
bInterfaceClass = 0x00fe
bInterfaceSubClass = 0x0001
bInterfaceProtocol = 0x0002
iInterface = 0x000c <splash>
Interface 0 Alt 5
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0005
bNumEndpoints = 0x0000
bInterfaceClass = 0x00fe
bInterfaceSubClass = 0x0001
bInterfaceProtocol = 0x0002
iInterface = 0x000d <factory>
Interface 0 Alt 6
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0006
bNumEndpoints = 0x0000
bInterfaceClass = 0x00fe
bInterfaceSubClass = 0x0001
bInterfaceProtocol = 0x0002
iInterface = 0x000e <rootfs>
Additional Descriptor
bLength = 0x09
bDescriptorType = 0x21
bDescriptorSubType = 0x07
RAW dump:
0x00 | 0x09, 0x21, 0x07, 0x00, 0xff, 0x00, 0x10, 0x00,
0x08 | 0x01
--
Matthias Apitz
e <guru at unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
More information about the freebsd-usb
mailing list