12

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?

4
  • Somewhat related app note by FTDI: USB Vendor ID / Product ID Guidelines. Commented Jul 28, 2016 at 20:05
  • 1
    You 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
    – lads
    Commented Jul 28, 2016 at 20:09
  • See my answer..
    – Eugene Sh.
    Commented Jul 28, 2016 at 20:10

2 Answers 2

18

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..

1
  • One can also install lsusb on a Mac using homebrew to get this information.
    – Chuim
    Commented Jul 10, 2021 at 3:06
6

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):

enter image description here

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .