Linux: How do I list all USB devices?

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.

ADVERTISEMENTS

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:

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
4 comments… add one
  • csrpazzi Jul 16, 2011 @ 21:25

    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.

  • andyg Nov 4, 2013 @ 13:33

    Hi there, how would I go about determining the port number of a specific USB device?

  • stev Dec 6, 2013 @ 0:25

    with an older zonet bluetooth dongle not showing in lsusb or errors in dmesg how can I tell if there are any interactions when plugged? (Mint 15 64bit mate)

  • Dave Apr 25, 2016 @ 22:34

    If the device has been formatted and given a path on the system, then typing “df” will show the device/path on the list. If you unplug it and type “df” again, then compare the two lists, you can see which one it is.

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.