![lsusb 2 lsusb 2](https://www.xda-developers.com/files/2021/11/usbipd-wsl-Ubuntu-lsusb.jpg)
It contains the full device pathĪnd in this case we are interested in third last component of the path: 2-4.2:1.0. Start by plugging in your fancy pants USB device and running dmesg to get the Wouldn’t you know it, there certainly is. I thought to myself, self: “certainly there must be some way to tame thisīeast?”. If you run lsusb with the -v flag you will get a nice verbose output, but if you locate the section that contains the report descriptor you’ll be welcomed with a typical Linux friendly message: UNAVAILABLE. Several occasions I’ve had the need to get the full device and reportĭescriptors from an attached USB device.
![lsusb 2 lsusb 2](https://www.heise.de/ct/imgs/04/2/8/4/9/9/4/8/2004512182271663373_2004512182271813923_1-8f621b4195b274ca.png)
Note that the /sys/kernel/debug/ path requires root privileges to access. sys/kernel/debug/usb/devices (or /proc/bus/usb/devices with usbfs)ĭetailed information on attached USB devices is available via the /sys/kernel/debug/usb/devices file. The discover package has a nice command too: $ discover -vendor-id -model-id usbĭiscover uses its own files : /lib/discover/usb-busclass.xml, /lib/discover/usb-device.xml, /lib/discover/usb-vendor.xml KDE's KInfo Center (in K Menu / System / KInfo Center Info Center, from package: kcontrol) has an information page on the "USB" cards. Gnomes's System Information (Hardinfo in Menu Applications/System Tools, from package: hardinfo) has an information page on the "USB" cards. To get something slightly more verbose, but still readable, I use : # lsusb -v | grep -E '\/dev/null
#LSUSB 2 UPDATE#
If your device description says "Unknown device", you can update your local usb-id definition by running update-usbids as root. # lsusbīus 004 Device 006: ID 0a5c:2110 Broadcom Corp. Lsusb (package: usbutils) is the standard tool to query the connected USB devices.
#LSUSB 2 INSTALL#
Gnome users can install and use the hardinfo method. Many people simply use lsusb, which is available on almost every Debian system, to list the devices on their computer. Most of the devices ( device-ids) handled by Debian are listed in the page : DeviceDatabase/USB. The 4 last hexadecimal digits are the Device ID (3108 = ThinkPad 800dpi Optical Travel Mouse).
#LSUSB 2 HOW TO#
How to list and identify the USB devices that are connected to you computer.