1. Technology
Linux / Unix Command: lsusb
Command Library

NAME

lsusb - list all USB devices  

SYNOPSIS

lsusb [options]  

DESCRIPTION

lsusb is a utility for displaying information about all USB buses in the system and all devices connected to them.

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.

 

OPTIONS

-v
Tells lsusb to be verbose and display detailed information about all devices.
-vv
Tells lsusb to be very verbose and display even more information (actually everything the PCI device is able to tell).
-s [[<bus>]:][<devnum>]]
Show only devices in specified bus and devnum.
-d [<vendor>]:[<product>]
Show only devices with specified vendor and product ID. Both ID's are given in hexadecimal and may be omitted.
-p <procpath>
Use another path instead of /proc/bus/usb.
-D <device>
Do not scan the /proc/bus/usb directory, instead display only information if the device whose device file is given.
-t
Tells lsusb to dump the physical USB device hierarchy as a tree.

 

SEE ALSO

lspci(8)

 


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

You can opt-out at any time. Please refer to our privacy policy for contact information.

Discuss in my forum

©2014 About.com. All rights reserved.