S: Manufacturer=Linux 5.15.0-69-generic ehci_hcd In the above snippet, using the -C option prints the specified number of surrounding lines in addition to the matched line, allowing us to obtain more context. Similarly, we can also filter a specific device with vendor and product id numbers using grep: $ usb-devices | grep -C 3 'Vendor=346d ProdID=5678' When we take a closer look, we can see the USB Disk 2.0 as we did previously.
I: If#=0x0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storageįrom the above, we can immediately say that it outputs many details by default. S: Manufacturer=Linux 5.15.0-67-generic ehci_hcd
Let’s get the connected USB devices with usb-devices: $ usb-devices