liuxf66
驱动中牛
驱动中牛
  • 注册日期2001-08-15
  • 最后登录2003-04-21
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1778回复:2

用USBCheck测试设备,怎么设备描述符有问题?

楼主#
更多 发布于:2001-10-19 20:17
我用USBCheck检测(GET_Descriptors),得到的结果是:
All Descriptors Report (12:11 - 19/10/101)
Device Descriptor Fields:                                  
bLength                  0x12
bDescriptorType          0x01
bcdUSB                   0x0100 (USB spec. 01.00)......<1>
bDeviceClass             0xFF (vendor specific)
bDeviceSubClass          0xFF
bDeviceProtocol          0xFF
bMaxPacketSize0          0x40
idVendor                 0x0547 (unknown)......<2>
idProduct                0x2131
bcdDevice                0x0001 (release 00.01)
iManufacturer            0x00
iProduct                 0x00
iSerialNumber            0x00
bNumConfigurations       0x01 (1)
                                                            
Configuration Descriptor, Index 0x00                        
bLength                  0x09
bDescriptorType          0x02
wTotalLength             0x00DA (218)...... <3>
bNumInterfaces           0x01 (1)
bConfigurationValue      0x01
iConfiguration           0x00
bmAttributes             0x80 (bus powered)......   <4>
MaxPower                 0x32 (100 mA)
                                                            
INTERFACE Descriptor (Number 0x00, Alternate Setting 0x00)  
bLength                  0x09
bDescriptorType          0x04
bInterfaceNumber         0x00
bAlternateSetting        0x00
bNumEndpoints            0x00 (only uses Endpoint 0)
bInterfaceClass          0xFF (vendor specific device class)
bInterfaceSubClass       0xFF
bInterfaceProtocol       0xFF (vendor specific)
iInterface               0x00
                                                            
INTERFACE Descriptor (Number 0x00, Alternate Setting 0x01)  
bLength                  0x09
bDescriptorType          0x04
bInterfaceNumber         0x00
bAlternateSetting        0x01
bNumEndpoints            0x0D
bInterfaceClass          0xFF (vendor specific device class)
bInterfaceSubClass       0xFF
bInterfaceProtocol       0xFF (vendor specific)
iInterface               0x00
                              
Endpoint Descriptor 0x81                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x81 (ep #1, IN)    ......   <5>
bmAttributes             0x03 (Transfer Type : Interrupt)
wMaxPacketSize           0x0010
bInterval                0x0A (10 milliseconds)
                              
Endpoint Descriptor 0x82                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x82 (ep #2, IN)
bmAttributes             0x02 (Transfer Type : Bulk)
wMaxPacketSize           0x0040
bInterval                0x00 (0 milliseconds)
                                                  
Endpoint Descriptor 0x02                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x02 (ep #2, OUT)
bmAttributes             0x02 (Transfer Type : Bulk)
wMaxPacketSize           0x0040
bInterval                0x00 (0 milliseconds)
                          
Endpoint Descriptor 0x84                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x84 (ep #4, IN)
bmAttributes             0x02 (Transfer Type : Bulk)
wMaxPacketSize           0x0040
bInterval                0x00 (0 milliseconds)
                                                        
Endpoint Descriptor 0x04                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x04 (ep #4, OUT)
bmAttributes             0x02 (Transfer Type : Bulk)
wMaxPacketSize           0x0040
bInterval                0x00 (0 milliseconds)
                    
Endpoint Descriptor 0x86                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x86 (ep #6, IN)
bmAttributes             0x02 (Transfer Type : Bulk)
wMaxPacketSize           0x0040
bInterval                0x00 (0 milliseconds)
                                              
Endpoint Descriptor 0x06                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x06 (ep #6, OUT)
bmAttributes             0x02 (Transfer Type : Bulk)
wMaxPacketSize           0x0040
bInterval                0x00 (0 milliseconds)
                                                    
Endpoint Descriptor 0x88                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x88 (ep #8, IN)
bmAttributes             0x01 (Transfer Type : Isochronous)
wMaxPacketSize           0x0010
bInterval                0x01 (1 milliseconds)
                                                
Endpoint Descriptor 0x08                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x08 (ep #8, OUT)
bmAttributes             0x01 (Transfer Type : Isochronous)
wMaxPacketSize           0x0010
bInterval                0x01 (1 milliseconds)
                                                            
Endpoint Descriptor 0x89                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x89 (ep #9, IN)
bmAttributes             0x01 (Transfer Type : Isochronous)
wMaxPacketSize           0x0010
bInterval                0x01 (1 milliseconds)
                                                            
Endpoint Descriptor 0x09                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x09 (ep #9, OUT)
bmAttributes             0x01 (Transfer Type : Isochronous)
wMaxPacketSize           0x0010
bInterval                0x01 (1 milliseconds)
                                                      
Endpoint Descriptor 0x8A                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x8A (ep #10, IN)
bmAttributes             0x01 (Transfer Type : Isochronous)
wMaxPacketSize           0x0010
bInterval                0x01 (1 milliseconds)
                                                            
Endpoint Descriptor 0x0A                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x0A (ep #10, OUT)
bmAttributes             0x01 (Transfer Type : Isochronous)
wMaxPacketSize           0x0010
bInterval                0x01 (1 milliseconds)
                                                            
INTERFACE Descriptor (Number 0x00, Alternate Setting 0x02)  
bLength                  0x09
bDescriptorType          0x04
bInterfaceNumber         0x00
bAlternateSetting        0x02
bNumEndpoints            0x0D
bInterfaceClass          0xFF (vendor specific device class)
bInterfaceSubClass       0xFF
bInterfaceProtocol       0xFF (vendor specific)
iInterface               0x00
                                                      
Endpoint Descriptor 0x81                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x81 (ep #1, IN)  ......    <6>
bmAttributes             0x03 (Transfer Type : Interrupt)
wMaxPacketSize           0x0040
bInterval                0x0A (10 milliseconds)
                                                  
Endpoint Descriptor 0x82                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x82 (ep #2, IN)
bmAttributes             0x02 (Transfer Type : Bulk)
wMaxPacketSize           0x0040
bInterval                0x00 (0 milliseconds)
                                                            
Endpoint Descriptor 0x02                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x02 (ep #2, OUT)
bmAttributes             0x02 (Transfer Type : Bulk)
wMaxPacketSize           0x0040
bInterval                0x00 (0 milliseconds)
                                                            
Endpoint Descriptor 0x84                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x84 (ep #4, IN)
bmAttributes             0x02 (Transfer Type : Bulk)
wMaxPacketSize           0x0040
bInterval                0x00 (0 milliseconds)
                                                            
Endpoint Descriptor 0x04                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x04 (ep #4, OUT)
bmAttributes             0x02 (Transfer Type : Bulk)
wMaxPacketSize           0x0040
bInterval                0x00 (0 milliseconds)
                                                        
Endpoint Descriptor 0x86                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x86 (ep #6, IN)
bmAttributes             0x02 (Transfer Type : Bulk)
wMaxPacketSize           0x0040
bInterval                0x00 (0 milliseconds)
                                                            
Endpoint Descriptor 0x06                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x06 (ep #6, OUT)
bmAttributes             0x02 (Transfer Type : Bulk)
wMaxPacketSize           0x0040
bInterval                0x00 (0 milliseconds)
                                                  
Endpoint Descriptor 0x88                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x88 (ep #8, IN)
bmAttributes             0x01 (Transfer Type : Isochronous)
wMaxPacketSize           0x0100     ...... <7>
bInterval                0x01 (1 milliseconds)
                                                            
Endpoint Descriptor 0x08                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x08 (ep #8, OUT)
bmAttributes             0x01 (Transfer Type : Isochronous)
wMaxPacketSize           0x0100   ......     <8>
bInterval                0x01 (1 milliseconds)
                                                            
Endpoint Descriptor 0x89                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x89 (ep #9, IN)
bmAttributes             0x01 (Transfer Type : Isochronous)
wMaxPacketSize           0x0010
bInterval                0x01 (1 milliseconds)
                                      
Endpoint Descriptor 0x09                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x09 (ep #9, OUT)
bmAttributes             0x01 (Transfer Type : Isochronous)
wMaxPacketSize           0x0010
bInterval                0x01 (1 milliseconds)
                                                            
Endpoint Descriptor 0x8A                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x8A (ep #10, IN)
bmAttributes             0x01 (Transfer Type : Isochronous)
wMaxPacketSize           0x0010
bInterval                0x01 (1 milliseconds)
                                                            
Endpoint Descriptor 0x0A                                    
bLength                  0x07
bDescriptorType          0x05
bEndpointAddress         0x0A (ep #10, OUT)
bmAttributes             0x01 (Transfer Type : Isochronous)
wMaxPacketSize           0x0010
bInterval                0x01 (1 milliseconds)
我觉得有问题:
<1>.EZUSB不是遵循1.1协议吗?怎么会是1.0?
<2>.这个VID号是从开发板上测得的,怎么会unknow?
<3>.218是那些字节数的合?
<4>.当我用自供电方式时,也显示bus powered,为什么?
<5><6>.Interrupt的Endpoint为什么只有IN,没有OUT?
<7><8>.最大包怎么是0x0100(256字节),不是小于等于64吗?
我用开发板测得的结果同上面基本相同,尤其是我怀疑有问题的地方,则和上面一样,是不是我的USBCheck有问题?还是我没有配置的原因?
[liuxf66 编辑于 2001-10-19 20:22]
[liuxf66 编辑于 2001-10-19 20:27]

最新喜欢:

duyuanyuanduyuan...
liuxf66
liuxf66
驱动中牛
驱动中牛
  • 注册日期2001-08-15
  • 最后登录2003-04-21
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2001-10-21 22:51
各位高手,还有斑竹,可别吝啬回答啊,你们看我的帖子时,请不要劳神全部看,我已经在有问题的地方做了标注。拜托了!
liuxf66
rayyang2000
管理员
管理员
  • 注册日期2001-03-23
  • 最后登录2012-09-13
  • 粉丝3
  • 关注0
  • 积分1036分
  • 威望925点
  • 贡献值3点
  • 好评度823点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2001-10-23 10:53
1,3,4,5,6,7,8都是你的firmware里面的数据,既然你自己这么写,总归自己应该知道原因吧?
usbcheck又没有database或者可以online check usb-if的database,它怎么会知道那么多厂商呢?
天天coding-debugging中----超稀饭memory dump file ======================================================== [b]Windows Device Driver Development and Consulting Service[/b] [color=blue][url]http://www.ybwork.com[/url][/color] ========================================================
游客

返回顶部