Integrated Thermal Printer
Integrated Thermal Printer

What are the VID and PID of USB, and what are their functions?

Time:2022.11.26Browse:1

Share:

VID: Vender ID supplier identification code

PID: Product ID product identification code

Every USB (Universal Serial BUS) has VID and PID. The VID and PID values ​​are actually the unique identification ID of the USB device connected to the Windows system. When the device is connected to the computer via USB, its driver depends on it.


The VID is applied by the supplier to the USB-IF (Implementers Forum). The VID of each supplier is unique, and the PID is determined by the supplier. The host uses VID and PID to identify different devices, and according to them (and the version number of the device), it can load or install the corresponding driver for the device. Both VID and PID are two bytes in length. Usually the VID and PID of the device are composed of a string of characters, such as: USB\VID_04A9&PID_1761, "_" indicates the specific VID and PID values.


How to check the vid and pid of the usb device?

View as follows:

1. Insert the USB into the computer,

2. Right-click [This PC], select [Manage],

3. In the pop-up dialog box, select [Device Manager], select [corresponding USB device],

4. Right-click [corresponding USB device], select [Properties], select [Details] in the pop-up dialog box, and select [Hardware ID] for properties.


There are usually two ways to store VID and PID. The first is the VID and PID of the main control manufacturer, which are stored in the bootcode of the main control. The second type is the VID and PID of the device manufacturer, and the VID and PID are stored in the device firmware in a non-volatile storage device (EEPROM or Flash) outside the main control. When a USB device is connected to the host, if there is a device manufacturer's VID and PID reported to the host in the firmware, the host manufacturer's VID and PID are ignored. Theoretically, the VID of a USB storage device is the VID of the device manufacturer, not the VID of the main control manufacturer. The two VIDs should be different (except for the equipment produced by the main control manufacturer).


The USB is displayed in hexadecimal on the computer side, and in decimal on the Android side:


For example, hexadecimal 4B43 is converted to decimal 19267

Read recommendations:

United States Mobile thermal printer

How to install and set up a label barcode printer?

Wireless thermal printer Wireless thermal printer LAST ARTICLE

Return to List

NEXT ARTICLE Wireless thermal printer Wireless thermal printer

Recommended News