Q. How do I list all USB devices connected to my computer / Linux laptop?
A.You need to use command called lsusb. It is a utility for displaying information about USB buses in the system and the devices connected to them under Linux kernel.
lsusb - list USB devices
To make use of all the features of this program, you need to have a Linux kernel which supports the /proc/bus/usb interface (e.g., Linux kernel 2.3.15 or newer).
$ lsusb
Output:
Bus 004 Device 002: ID 0930:6532 Toshiba Corp. Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000
To get verbose output type the command:
$ lsusb -v
See also:
- nixCraft: Linux : How to use USB pen/flash stick
- Allow normal user to mount linux partitions, usb stick/pen device
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- My 10 UNIX Command Line Mistakes
- 10 Greatest Open Source Software Of 2009
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!
- Email FAQ to a friend
- Download PDF version
- Printable version
- Comment RSS feed
- Last Updated: 05/13/08



{ 0 comments… add one now }