Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux list usb device and port speed

# This will list USB devices along with usb port type (see bcdUSB field)
sudo lsusb -vvv |grep -i -B5 -A5 bcdUSB
# Alternatively, this gives a hierarchical view of the USB devices
sudo lsusb -t


# This is another way to look at the usb devices and get some more info
lsblk -o model,name,fstype,size,label,mountpoint,serial,path

# References
# https://askubuntu.com/questions/162434/how-do-i-find-out-usb-speed-from-a-terminal
# https://askubuntu.com/a/604176/1197918
# https://askubuntu.com/a/973790/1197918
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #linux #list #usb #device #port #speed
ADD COMMENT
Topic
Name
7+6 =