How To List Or View USB Devices On Redhat Linux system?

On RedHat Linux (RHEL), one can execute lsusb command to view or display USB devices found on the Linux system.
If you can’t find this command, run
rpm -qa | grep usbutil to confirm the package is installed. Otherwise, try run /sbin/lsusb instead.Without option switch, the lsusb command displays a simple output, e.g.:
[walker@localhost] /sbin/lsusb Bus 001 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 005 Device 006: ID 413c:0000 Dell Computer Corp. Bus 005 Device 002: ID 413c:a001 Dell Computer Corp. Hub Bus 005 Device 001: ID 0000:0000 Bus 005 Device 005: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub" Bus 003 Device 001: ID 0000:0000 Bus 003 Device 003: ID 0461:4d22 Primax Electronics, Ltd Bus 003 Device 004: ID 413c:2003 Dell Computer Corp.
Execute
lsusb -v should you need to view detail information of USB devices.To “simplify” the detail output of lsusb, says to find out the name of USB devices on the Linux system, my favorite goes like this:
[root@test ]# lsusb -v | grep -e "Bus" -e "idVendor" -e "iProduct" -e "bInterfaceProtocol"
Bus 002 Device 001: ID 0000:0000
idVendor 0x0000
iProduct 2 UHCI Host Controller
bInterfaceProtocol 0 Full speed (or root) hub
Bus 002 Device 002: ID 0624:0296 Avocent Corp.
idVendor 0x0624 Avocent Corp.
iProduct 2 IBM 73P5832
bInterfaceProtocol 1 Keyboard
bInterfaceProtocol 2 Mouse
Bus 004 Device 001: ID 0000:0000
idVendor 0x0000
iProduct 2 UHCI Host Controller
bInterfaceProtocol 0 Full speed (or root) hub
Bus 005 Device 001: ID 0000:0000
idVendor 0x0000
iProduct 2 UHCI Host Controller
bInterfaceProtocol 0 Full speed (or root) hub
Bus 003 Device 001: ID 0000:0000
idVendor 0x0000
iProduct 2 UHCI Host Controller
bInterfaceProtocol 0 Full speed (or root) hub
Bus 001 Device 001: ID 0000:0000
idVendor 0x0000
iProduct 2 EHCI Host Controller
bInterfaceProtocol 0 Full speed (or root) hub
According to USB Implementers Forum, each USB device should have an unique Vendor ID and Product ID. But, I can’t find an official listing of this information on reputable site (please share if you have one).
In the lsusb command output (above), the USB Vendor ID and Product ID is printed on “Bus” line, delimited by colon, e.g. “Bus 002 Device 002: ID 0624:0296 Avocent Corp”.


Custom Search





2012 •