高手好: 我最近作了一个无驱动uSB光驱,这个无驱动uSB光驱现在可以在winxp系统上正常工作了,但是在win2000系统中总是不行,win2000系统可以检测出有 uSB光驱插入,并能正确映射盘符给它,但是每次我想点击进入时,系统就提示“功能错误”,我去查看这个光驱的容量也是0,各位高手帮帮忙啊,怎么样让他在2000上也能够正常工作。 我用BUSHOUND抓了下总线TRACE, 感觉WIN2000下的不能工作TRACE和winxp下能正常工作的trace比较起来多了很多的invalid param,并且好像顺序也有些问题. 这是在win2000系统中插上uSB光驱时用BUSHOUND跟踪的trace, Bus Hound 5.00 capture. Complements of www.perisoft.net
usb_2000
Device - Device ID (followed by the endpoint for USB devices) Phase - Phase Type CDB Command descriptor block DI Data in SNS SCSI sense data SSTS SCSI request block 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) ------ ----- ------------------------------------------------------------------------------------------------------ ---------------- ------------------ 37 CDB 12 00 00 00 24 00 INQUIRY 1.1.0 37 DI 05 80 00 02 20 00 00 00 4e 65 78 70 65 72 69 61 44 65 76 2e 20 30 20 4c 55 4e 20 30 00 00 00 00 .... ...Nexperia 1.2.0 37 CDB 25 00 00 00 00 00 00 00 00 00 READ CAPACITY 2.1.0 37 SNS 70 00 02 00 00 00 00 0a 00 00 00 00 3a 00 00 00 00 00 no media 2.2.0 37 CDB 5a 08 2a 00 00 00 00 00 20 00 MODE SENSE 3.1.0(2) 37 SNS 70 00 05 00 00 00 00 0a 00 00 00 00 26 00 00 00 00 00 invalid param 3.2.0 37 CDB 25 00 00 00 00 00 00 00 00 00 READ CAPACITY 5.1.0 37 SNS 70 00 02 00 00 00 00 0a 00 00 00 00 3a 00 00 00 00 00 no media 5.2.0 37 CDB 00 00 00 00 00 00 TEST UNIT READY 6.1.0 37 SNS 70 00 02 00 00 00 00 0a 00 00 00 00 3a 00 00 00 00 00 no media 6.2.0 37 CDB 25 00 00 00 00 00 00 00 00 00 READ CAPACITY 7.1.0 37 SNS 70 00 02 00 00 00 00 0a 00 00 00 00 3a 00 00 00 00 00 no media 7.2.0 37 CDB 00 00 00 00 00 00 TEST UNIT READY 8.1.0 37 SNS 70 00 02 00 00 00 00 0a 00 00 00 00 3a 00 00 00 00 00 no media 8.2.0 37 CDB 25 00 00 00 00 00 00 00 00 00 READ CAPACITY 9.1.0 37 SNS 70 00 02 00 00 00 00 0a 00 00 00 00 3a 00 00 00 00 00 no media 9.2.0 37 CDB 00 00 00 00 00 00 TEST UNIT READY 10.1.0 37 SNS 70 00 02 00 00 00 00 0a 00 00 00 00 3a 00 00 00 00 00 no media 10.2.0 37 CDB 25 00 00 00 00 00 00 00 00 00 READ CAPACITY 11.1.0 37 SNS 70 00 02 00 00 00 00 0a 00 00 00 00 3a 00 00 00 00 00 no media 11.2.0 37 CDB 00 00 00 00 00 00 TEST UNIT READY 12.1.0 37 SNS 70 00 02 00 00 00 00 0a 00 00 00 00 3a 00 00 00 00 00 no media 12.2.0 37 CDB 25 00 00 00 00 00 00 00 00 00 READ CAPACITY 13.1.0 37 SNS 70 00 02 00 00 00 00 0a 00 00 00 00 3a 00 00 00 00 00 no media 13.2.0 37 CDB 00 00 00 00 00 00 TEST UNIT READY 14.1.0 37 SNS 70 00 02 00 00 00 00 0a 00 00 00 00 3a 00 00 00 00 00 no media 14.2.0 37 CDB 43 02 00 00 00 00 00 03 24 00 READ TOC 15.1.0 37 DI 00 23 01 01 01 14 00 a0 00 00 00 00 01 00 00 01 14 00 a1 00 00 00 00 01 00 00 01 14 00 a2 00 00 .#.............. 15.2.0 37 SSTS 12 data overrun 15.3.0 37 CDB 51 00 00 00 00 00 00 00 20 00 READ DISC INFO 16.1.0 37 CDB 25 00 00 00 00 00 00 00 00 00 READ CAPACITY 17.1.0 37 SNS 70 00 05 00 00 00 00 0a 00 00 00 00 26 00 00 00 00 00 invalid param 16.2.0 37 CDB 51 00 00 00 00 00 00 00 20 00 READ DISC INFO 18.1.0 37 SNS 70 00 02 00 00 00 00 0a 00 00 00 00 3a 00 00 00 00 00 no media 17.2.0 37 CDB 00 00 00 00 00 00 TEST UNIT READY 19.1.0 37 SNS 70 00 05 00 00 00 00 0a 00 00 00 00 26 00 00 00 00 00 invalid param 18.2.0 37 CDB 51 00 00 00 00 00 00 00 20 00 READ DISC INFO 20.1.0 37 SNS 70 00 02 00 00 00 00 0a 00 00 00 00 3a 00 00 00 00 00 no media 19.2.0 37 SNS 70 00 05 00 00 00 00 0a 00 00 00 00 26 00 00 00 00 00 invalid param 20.2.0 37 CDB 51 00 00 00 00 00 00 00 20 00 READ DISC INFO 21.1.0 37 SNS 70 00 05 00 00 00 00 0a 00 00 00 00 26 00 00 00 00 00 invalid param 21.2.0 37 CDB 00 00 00 00 00 00 TEST UNIT READY 22.1.0 37 SNS 70 00 06 00 00 00 00 0a 00 00 00 00 28 00 00 00 00 00 medium changed 22.2.0 37 CDB 25 00 00 00 00 00 00 00 00 00 READ CAPACITY 23.1.0 37 DI 00 02 1e 33 00 00 02 00 ...3.... 23.2.0 37 CDB 51 00 00 00 00 00 00 00 20 00 READ DISC INFO 24.1.0 37 CDB 43 00 00 00 00 00 00 00 0c 40 READ TOC 25.1.0 37 SNS 70 00 05 00 00 00 00 0a 00 00 00 00 26 00 00 00 00 00 invalid param 24.2.0 37 CDB 51 00 00 00 00 00 00 00 20 00 READ DISC INFO 26.1.0 37 DI 00 12 01 01 00 14 01 00 00 00 02 00 ............ 25.2.0 37 CDB 28 00 00 00 00 40 00 00 04 00 READ 27.1.0 37 SNS 70 00 05 00 00 00 00 0a 00 00 00 00 26 00 00 00 00 00 invalid param 26.2.0 37 CDB 51 00 00 00 00 00 00 00 20 00 READ DISC INFO 28.1.0 37 DI 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 27.2.0 37 CDB 00 00 00 00 00 00 TEST UNIT READY 29.1.0 37 SNS 70 00 05 00 00 00 00 0a 00 00 00 00 26 00 00 00 00 00 invalid param 28.2.0 37 CDB 51 00 00 00 00 00 00 00 20 00 READ DISC INFO 30.1.0 37 SSTS 01 ok 29.2.0 37 CDB 25 00 00 00 00 00 00 00 00 00 READ CAPACITY 31.1.0 37 SNS 70 00 05 00 00 00 00 0a 00 00 00 00 26 00 00 00 00 00 invalid param 30.2.0 37 DI 00 02 1e 33 00 00 02 00 ...3.... 31.2.0 37 CDB 43 02 00 00 00 00 00 03 24 00 READ TOC 32.1.0 37 DI 00 23 01 01 01 14 00 a0 00 00 00 00 01 00 00 01 14 00 a1 00 00 00 00 01 00 00 01 14 00 a2 00 00 .#.............. 32.2.0 37 SSTS 12 data overrun 32.3.0 37 CDB 43 00 00 00 00 00 00 03 24 40 READ TOC 33.1.0 37 DI 00 12 01 01 00 14 01 00 00 00 02 00 00 00 00 00 00 00 00 00 ................ 33.2.0 37 SSTS 12 data overrun 33.3.0 37 CDB 28 00 00 00 00 40 00 00 04 00 READ 34.1.0 37 DI 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 34.2.0 37 CDB 00 00 00 00 00 00 TEST UNIT READY 35.1.0(14) 37 SSTS 01 ok 35.2.0 37 CDB 5a 08 2a 00 00 00 00 00 20 00 MODE SENSE 49.1.0 37 SNS 70 00 05 00 00 00 00 0a 00 00 00 00 26 00 00 00 00 00 invalid param 49.2.0 37 CDB 00 00 00 00 00 00 TEST UNIT READY 50.1.0(3) 37 SSTS 01 ok 50.2.0 37 CDB 5a 08 2a 00 00 00 00 00 20 00 MODE SENSE 53.1.0 37 SNS 70 00 05 00 00 00 00 0a 00 00 00 00 26 00 00 00 00 00 invalid param 53.2.0 37 CDB 00 00 00 00 00 00 TEST UNIT READY 54.1.0(2) 37 SSTS 01 ok 54.2.0 37 CDB 5a 08 2a 00 00 00 00 00 20 00 MODE SENSE 56.1.0 37 SNS 70 00 05 00 00 00 00 0a 00 00 00 00 26 00 00 00 00 00 invalid param 56.2.0 37 CDB 00 00 00 00 00 00 TEST UNIT READY 57.1.0(19) 37 SSTS 01 ok 57.2.0 37 CDB 5a 08 2a 00 00 00 00 00 20 00 MODE SENSE 76.1.0 37 SNS 70 00 05 00 00 00 00 0a 00 00 00 00 26 00 00 00 00 00 invalid param 76.2.0 37 CDB 00 00 00 00 00 00 TEST UNIT READY 77.1.0(48) 37 SSTS 01 ok 77.2.0
|