AronChu
驱动牛犊
驱动牛犊
  • 注册日期2001-08-01
  • 最后登录2002-01-08
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1435回复:2

usbcheck检查只有一个项目不行了,哪位大侠指点指点.

楼主#
更多 发布于:2001-10-26 11:31
1.我的设备插入PC后,设备管理器找不到。
2.HIDview 检查不到。
3.USBcheck 可以发现设备并测试测试结果如下。
  第一次 GetStatus passed
  但 SetFeature 后
  再 GetStatus 就 Failed 了。
  这是为什么?
  怎样才能能过 1 & 2 & 3 项的检查?
USBcheck 结果如下,错误处的 !!!!! 为本人所加以方便查找。

DEVICE 00 Vid (0x1061) Pid (0xb001) Tests:

- Get Device Descriptor Passed.
Returned Device Descriptor:
0x12 0x01 0x10 0x01 0x00 0x00 0x00 0x08
0x61 0x10 0x01 0xb0 0x10 0x01 0x00 0x00
0x00 0x01
Descriptor Fields:
bLength            : 0x12
bDescriptorType    : 0x01 (Dev. Descriptor)
bcdUSB             : 0x0110 (USB spec. 01.10)
bDeviceClass       : 0x00 (ifc's specify own)
bDeviceSubClass    : 0x00
bDeviceProtocol    : 0x00
bMaxPacketSize0    : 0x08
idVendor           : 0x1061 (unknown)
idProduct          : 0xB001
bcdDevice          : 0x0110 (release 01.10)
iManufacturer      : 0x00
iProduct            : 0x00
iSerialNumber       : 0x00
bNumConfigurations : 0x01 (1)
CONFIGURATION Index 0 Tests:

- Get Configuration Descriptor Passed. Configuration Value = 0x01

Configuration Descriptor:
0x09 0x02 0x22 0x00 0x01 0x01 0x00 0x80
0x32 0x09 0x04 0x00 0x00 0x01 0x03 0x00
0x00 0x00 0x09 0x21 0x10 0x01 0x00 0x01
0x22 0x73 0x00 0x07 0x05 0x81 0x03 0x08
0x00 0x0a

Get Configuration Descriptor with Transfer size 0x22 for Config# 0x0

Descriptor Fields:
bLength             : 0x09
bDescriptorType     : 0x02
wTotalLength        : 0x0022 (34)
bNumInterfaces      : 0x01 (1)
bConfigurationValue : 0x01
iConfiguration      : 0x00
bmAttributes        : 0x80 (bus powered)
MaxPower            : 0x32 (100 mA)
- Unconfigure Device Passed. Set To 0x00

- Get Configuration Passed. Device Is Unconfigured

- Set Configuration Passed. Set To 0x01

- Get Configuration Passed. Returned 0x01.

INTERFACE 0x0 Tests:

INTERFACE Number 0x00, Alt. Setting 0x00 Tests:

bLength            : 0x09
bDescriptorType    : 0x04
bInterfaceNumber   : 0x00
bAlternateSetting  : 0x00
bNumEndpoints      : 0x01
bInterfaceClass    : 0x03 (USB specified device class)
bInterfaceSubClass : 0x00
bInterfaceProtocol : 0x00 (not vendor or class specific)
iInterface         : 0x00
Descriptor (Endpoint 0x00) Fields:
bLength           : 0x07
bDescriptorType   : 0x05
bEndpointAddress  : 0x81 (ep #1, IN)
bmAttributes      : 0x03 (Transfer Type : Interrupt)
wMaxPacketSize    : 0x0008
bInterval         : 0x0A (10 milliseconds)
ENDPOINT With Address 0x81 Tests:

- GetStatus Passed. Endpoint NOT Stalled

- Set Feature (STALL) Passed.

- GetStatus *** FAILED ***. Endpoint NOT Stalled !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

*** See Section 4.1.4.2 in USBCheck.doc for more information
- Clear Feature (STALL) Passed.

- GetStatus Passed. Clear Stall Confirmed

NonStandard Descriptor
Size : 0x09 Bytes
Type : 0x21
Data : 0x10 0x01 0x00 0x01 0x22 0x73 0x00

More DEVICE Tests For Current Configuration:
- Get Status Passed. Remote Wakeup Not Supported - Remote Wakeup Disabled, Bus-Powered


00 Vid (0x1061) Pid (0xb001): 1 Selected Test(s) FAILED!
DEVICE HAS NOT PASSED CHAPTER 9 COMPLIANCE!
bcdDevice: 0x0110 (release 01.10)



最新喜欢:

bbz1979bbz197...
Best Regards/Aron Chu 拉拉拉,拉拉拉,我是个失业的流浪汉!
wang_lei_kaka
驱动牛犊
驱动牛犊
  • 注册日期2004-01-12
  • 最后登录2004-04-23
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2004-03-31 17:23
怎么搞 老大能说清楚点吗?
usb11
驱动小牛
驱动小牛
  • 注册日期2001-09-17
  • 最后登录2009-04-24
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2001-10-26 19:47
检查你的firmware对标准类请求的实现有没有问题
助人乃快乐之本! 共同进步是我的本意!
游客

返回顶部