阅读:3814回复:1
求助:win7与winxp下HID枚举的不同处
同样的描述符,winxp枚举OK,但在win7环境下fail.用BusHound抓取数据,在Set config后有Bad parameter问题。将Endpoin 描述符的负载包长度从16改回8,就枚举成功了。
端点是 中断传输,输入端点1。 两系统到底有什么不同?我做的是 HID Digitizer. |
|
沙发#
发布于:2010-07-27 14:35
你好!我正遇到这个问题,XP下能用,WIN7下不能用,是USB2.0低速的
Device - Device ID (followed by the endpoint for USB devices) (15) USB Root Hub (24) USB 输入设备 (25) HID-compliant device Phase - Phase Type CTL USB control transfer DI Data in USTS USB status Data - Hex dump of the data transferred Descr - Description of the phase Cmd... - Position in the captured data Device Phase Data Description Cmd.Phase.Ofs(rep) ------ ----- ------------------------------------------------------------------------------------------------------ ---------------- ------------------ 15.1 DI 04 . 1.1.0(5) 24.0 CTL 80 06 00 01 00 00 12 00 GET DESCRIPTOR 6.1.0 24.0 DI 12 01 10 01 00 00 00 08 c4 10 cd 82 00 00 01 02 00 01 ................ 6.2.0 24.0 CTL 80 06 00 02 00 00 09 00 GET DESCRIPTOR 7.1.0 24.0 DI 09 02 29 00 01 01 00 80 20 ..)..... 7.2.0 24.0 CTL 80 06 00 02 00 00 29 00 GET DESCRIPTOR 8.1.0 24.0 DI 09 02 29 00 01 01 00 80 20 09 04 00 00 02 03 00 00 00 09 21 01 01 00 02 22 62 00 07 05 81 03 0a ..)..... ....... 8.2.0 24.0 CTL 00 09 01 00 00 00 00 00 SET CONFIG 9.1.0 24.0 USTS 00 03 00 80 bad parameter 9.2.0 |
|