usb-deviceコマンドのポート番号はどういう意味ですか?

usb-deviceコマンドのポート番号はどういう意味ですか?

USBデバイス用のC ++を使用してプログラムを作成し、ポート番号を表示します。端末に入力するとroot@raminfp# usb-device出力に表示されます。

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=02 Dev#=  3 Spd=12  MxCh= 7 

Port:00それともどういう意味ですかPort:01

ベストアンサー1

https://www.mjmwired.net/kernel/Documentation/usb/proc_usb_info.txt

T:  Bus=dd Lev=dd Prnt=dd Port=dd Cnt=dd Dev#=ddd Spd=dddd MxCh=dd
118 |   |      |      |       |       |      |        |        |__MaxChildren
119 |   |      |      |       |       |      |        |__Device Speed in Mbps
120 |   |      |      |       |       |      |__DeviceNumber
121 |   |      |      |       |       |__Count of devices at this level
122 |   |      |      |       |__Connector/Port on Parent for this device
123 |   |      |      |__Parent DeviceNumber
124 |   |      |__Level in topology for this bus
125 |   |__Bus number
126 |__Topology info tag

おすすめ記事