Nowadays there are many USB devices such as the mouse, keyboard, pen drive, webcam, scanner, speaker and many more. For linux, there is a simple command that allows you to display information about USB buses in the system and all the connected USB devices.
lsusb [options]
Options
-b
Show IRQ and addresses as seen by the cards instead of the kernel.
-D device
Only show information about the specified device. This should be given as a file in the /proc/bus/usb directory—e.g., /proc/bus/usb/001/001.
-t
Print a tree showing connections between devices.
-v, -vv
List devices verbosely. Use the second form for very verbose listings.
This command has many options of use for debugging device drivers. To make use of all the features of this program, you need to have Linux kernel 2.3.15 or newer which supports the /proc/bus/usb interface.




No comments yet.