我用BusHound截取的(19) USB Root Hub的即插即用设备的连接时的通讯情况。看完后问题来了,在“GET DESCRIPTOR”之前,为什么有这么多“GET STATUS ”,并且是从1到8port都询问了一遍(我猜测是get port status,不知道对不对)。
不知哪位高手能解我疑惑,先谢了。
Bus Hound 6.01 capture on Windows XP Service Pack 3 (x86). Complements of www.perisoft.net
Device - Device ID (followed by the endpoint for USB devices)
(19) USB Root Hub
(27) USB Mass Storage Device
(28) Generic Flash Disk [ROM=1.68]
(29) USB 人体学输入设备
(30) HID-compliant mouse
(31) USB 人体学输入设备
(32) HID Keyboard Device
Phase - Phase Type
CTL USB control transfer
IN Data in transfer
OUT Data out transfer
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)
------ ----- ------------------------ ---------------- ------------------
19 IN 1.1.0
19.0 CTL a3 00 00 00 07 00 04 00 GET STATUS 2.1.0(2)
19.0 IN 00 85 01 00 .... 2.2.0
19.0 CTL 23 01 10 00 07 00 00 00 CLEAR FEATURE 4.1.0
19.0 CTL a3 00 00 00 01 00 04 00 GET STATUS 5.1.0
19.0 IN 00 05 00 00 .... 5.2.0
19.0 CTL a3 00 00 00 02 00 04 00 GET STATUS 6.1.0
19.0 IN 00 05 00 00 .... 6.2.0
19.0 CTL a3 00 00 00 03 00 04 00 GET STATUS 7.1.0
19.0 IN 00 85 00 00 .... 7.2.0
19.0 CTL a3 00 00 00 04 00 04 00 GET STATUS 8.1.0
19.0 IN 00 05 00 00 .... 8.2.0
19.0 CTL a3 00 00 00 05 00 04 00 GET STATUS 9.1.0
19.0 IN 00 05 00 00 .... 9.2.0
19.0 CTL a3 00 00 00 06 00 04 00 GET STATUS 10.1.0
19.0 IN 00 85 00 00 .... 10.2.0
19.0 CTL a3 00 00 00 07 00 04 00 GET STATUS 11.1.0
19.0 IN 00 85 00 00 .... 11.2.0
19.0 CTL a3 00 00 00 08 00 04 00 GET STATUS 12.1.0
19.0 IN 00 05 00 00 .... 12.2.0
31.0 CTL 80 06 00 03 00 00 ff 00 GET DESCRIPTOR 13.1.0(2)
31.0 IN 04 03 09 04 .... 13.2.0
31.0 CTL 80 06 02 03 09 04 ff 00 GET DESCRIPTOR 14.1.0(2) |