Where can I find the vendor ID and product ID for a USB device? They are given by the company who manufactured the USB, right?
-
Somewhat related app note by FTDI: USB Vendor ID / Product ID Guidelines.– Nick AlexeevCommented Jul 28, 2016 at 20:05
-
1You want to get these IDs for a device you have, or you want to create a new device?– Eugene Sh.Commented Jul 28, 2016 at 20:05
-
@EugeneSh. For a device I have– ladsCommented Jul 28, 2016 at 20:09
-
See my answer..– Eugene Sh.Commented Jul 28, 2016 at 20:10
2 Answers
On Windows: Assuming your device is connected to the computer, go to "Device manager", find your device, right click on it, select "Properties", go to "Details" tab, select "Hardware IDs" from the drop-down, and you will find an entry of a form:
HID\VID_046D&PID_C05A
which are correspondingly vendor and product IDs.
On Linux: Run the following command from your terminal:
lsusb
You will see pairs VID:PID near the names of all of the USB devices connected..
How can I get the vendor id and the PID for a USB device?
If you are running Windows then you can USBDeview from NirSoft.
Screenshot showing VendorID and ProductID (PID):
Source: Screen shot of USMDeview running on my PC.
USBDeview is a small utility that lists all USB devices that currently connected to your computer, as well as all USB devices that you previously used.
For each USB device, extended information is displayed: Device name/description, device type, serial number (for mass storage devices), the date/time that device was added, VendorID, ProductID, and more...
Source: View any installed/connected USB device on your system
Disclaimer
I am not affiliated with NirSoft in any way; I am just an end user of their software.
