Linux

  1. Home
  2. Computing & Technology
  3. Linux
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

Explore Linux

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Linux

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.