Best practices for USB Vendor / Product ID
Posted: Sat Mar 09, 2024 1:56 am
Hello there, I'm making a destokp app that look into an specific usb in order to autoconnect to it. This is what I can get from the app when I search for com ports
Following this example, I manage to change some of the USB descriptor, Except manufacurer and product name that seems not to work in Windows (always says Microsoft manufacturer)
As per this Espressif guide, seems you can't just write whatever vid/pid you want as it's under commercial licenses. So taking into account that manufacturer and name don't work, and vid/pid should not be changed, I wonder if it is a good option to delegate in the only remaining field, the serial number.
Code: Select all
path: 'COM8',
manufacturer: 'Microsoft',
serialNumber: '1234-567890',
pnpId: 'USB\\VID_DEAD&PID_BEEF&MI_00\\6&302FB22&0&0000',
locationId: '0000.0014.0000.004.000.000.000.000.000',
vendorId: 'DEAD',
productId: 'BEEF'
As per this Espressif guide, seems you can't just write whatever vid/pid you want as it's under commercial licenses. So taking into account that manufacturer and name don't work, and vid/pid should not be changed, I wonder if it is a good option to delegate in the only remaining field, the serial number.