阅读:2147回复:1
帮忙看看如何在D12上实现2个接口?枚举失败了!
http://www.driverdevelop.com/forum/viewthread.php?tid=90952
这里还有100 分 我想在D12上实现两个接口,每个接口一个输入端点,但枚举失败! 不知问题出在何处? Description Cmd.Phase.Ofs(rep) ------ ----- ------------------------------------------------------------------------------------------------------ ---------------- ------------------ 23.0 CTL 80 06 00 01 00 00 12 00 GET DESCRIPTOR 1.1.0 23.0 DI 12 01 10 01 00 00 00 08 9b 0b 12 40 01 00 01 02 00 01 ...........@.... 1.2.0 23.0 URB 50 00 08 00 00 00 00 00 68 3b 3c 82 22 00 00 00 80 3b 3c 82 0b 00 00 00 12 00 00 00 70 4c 4b 82 CONTROL TRANSFER 1.3.0 48 c7 52 82 00 00 00 00 ff ff ff ff 0d f0 ad de 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1.3.32 00 00 00 00 00 00 00 00 80 06 00 01 00 00 12 00 1.3.64 23.0 CTL 80 06 00 02 00 00 09 00 GET DESCRIPTOR 2.1.0 23.0 DI 09 02 3b 00 02 01 00 a0 32 ..;.....2 2.2.0 23.0 URB 50 00 08 00 00 00 00 00 68 3b 3c 82 22 00 00 00 80 3b 3c 82 0b 00 00 00 09 00 00 00 d8 c3 58 82 CONTROL TRANSFER 2.3.0 48 c7 52 82 00 00 00 00 ff ff ff ff 0d f0 ad de 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2.3.32 00 00 00 00 00 00 00 00 80 06 00 02 00 00 09 00 2.3.64 23.0 CTL 80 06 00 02 00 00 3b 00 GET DESCRIPTOR 3.1.0 23.0 DI 09 02 3b 00 02 01 00 a0 32 09 04 00 00 01 03 00 00 00 09 21 10 01 00 01 22 34 00 07 05 81 03 08 ..;.....2....... 3.2.0 00 0a 09 04 01 00 01 03 00 00 00 09 21 10 01 00 01 22 5a 00 07 05 82 03 08 00 0a ............!... 3.2.32 23.0 URB 50 00 08 00 00 00 00 00 68 3b 3c 82 22 00 00 00 80 3b 3c 82 0b 00 00 00 3b 00 00 00 a8 11 3c 82 CONTROL TRANSFER 3.3.0 48 c7 52 82 00 00 00 00 ff ff ff ff 0d f0 ad de 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3.3.32 00 00 00 00 00 00 00 00 80 06 00 02 00 00 3b 00 3.3.64 23.0 CTL 00 09 01 00 00 00 00 00 SET CONFIG 4.1.0 23.0 USTS 00 0f 00 c0 bad config desc 4.2.0 23.0 URB 3c 00 00 00 00 0f 00 c0 68 3b 3c 82 00 00 00 00 a8 11 3c 82 00 00 00 00 24 00 00 00 00 00 00 00 SELECT CONFIG 4.3.0 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 4.3.32 //配置描述符 code USB_CONFIGURATION_DESCRIPTOR ConfigDescr = { sizeof(USB_CONFIGURATION_DESCRIPTOR), USB_CONFIGURATION_DESCRIPTOR_TYPE, SWAP(CONFIG_DESCRIPTOR_LENGTH), //0x3b 2, 1, 0, 0xa0, /* configuration attributes (bus powered) */ 0x32 /* maximum power (set at 200, change this value for your specific optics)*/ }; |
|
|
沙发#
发布于:2007-03-29 18:34
也许是你的配置描述符后面的那里错了
也许是你的配置描述符后面的那里错了,后面的端点描述符是跟配置描述符一起返回的。为什么一定要两个接口啊? 用两个端点不行么? 另外,楼主你应该把你的捕捉的数据整理得好看一些,这样看起来太晕了。 |
|
|