LLI Wiki — My Digital Knowledge Base

Linux: find the vendor id and product id of a USB device

Show the VID:PID of a USB device with lsusb and usb-devices.

To write a udev rule or identify a USB device you need its vendor id (VID) and product id (PID). Two commands show them.

lsusb
usb-devices
Mastodon LLIMastodon SocialFosstodon