Linux: How do I list all USB devices?

by nixcraft on March 7, 2006 · 1 comment

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:

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 1 comment… read it below or add one }

1 csrpazzi July 16, 2011

Hi im new into reading unsupported usb devices on linux and I have a question to ask, after that whats the next step to do? how can I read the raw data (if thats the right way to call it like that), and what type of applications can I use to getting the data… Any help I will apreciate it. BTW Im trying to getting the pictures of a Disney Jonas Brother Digital Still Camera or use it like a webcam or something else like controlling when to take pictures, you know the usual stuff.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 6 + 13 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: