USB ID - USB devices in GNU-Linux
lsusb
The Linux
lsusb
command lists information about the USB devices connected to a system, but sometimes the information is incomplete (see line 5 lacks manufracturer).1
2
3
4
5
6$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 046d:082c Logitech, Inc.
Bus 001 Device 003: ID 0951:16d2 Kingston Technology
Bus 001 Device 002: ID 18f8:1486
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
USB ID Repository
Check repository
Location
- The USB ID database is stored in a file called
usb.ids
. - This location may vary depending on the Linux distribution.
- Ubuntu 18.04:
/var/lib/usbutils
- Ubuntu 18.04:
Update your USB IDs
Update
1
$ sudo update-usbids
If a new file is available, it will be downloaded. The current file will be backed up and replaced by the new one.
1
2
3
4
5
6$ ls -la
total 1148
drwxr-xr-x 2 root root 4096 Jan 15 00:34 .
drwxr-xr-x 85 root root 4096 Nov 7 08:05 ..
-rw-r--r-- 1 root root 614379 Jan 9 15:34 usb.ids
-rw-r--r-- 1 root root 551472 Jan 15 00:34 usb.ids.old