最終更新:2018-01-12 (金) 16:08:27 (2268d)
usb-devices
Top / usb-devices
print USB device details
パッケージ
中身
- usb-devices is a (bash) shell script that can be used to display details of USB buses in the system and the devices connected to them.
- シェルスクリプト
for device in /sys/bus/usb/devices/usb* do print_device $device 0 0 0 done
意味
- T:トポロジ
- B:Bandwidth
- D:デバイス情報1 (バージョンとか)
- P:デバイス情報2 (VID/PIDとか)
- S:ストリングディスクリプタ
- C:USB/コンフィグレーション
- A:IAD
- I:USB/インターフェイス
- E:USB/エンドポイント
関連ファイル
関連
- Linux/sys/kernel/debug/usb/devices (debugfs)
Linux/proc/bus/usb/devices (usbfs)- drivers/usb/core/devices.c