Page 1 of 1

Best practices for USB Vendor / Product ID

Posted: Sat Mar 09, 2024 1:56 am
by tachin
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

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

Re: Best practices for USB Vendor / Product ID

Posted: Sat Mar 09, 2024 2:50 am
by ESP_Sprite
You may want to have a look at https://github.com/espressif/usb-pids .

Re: Best practices for USB Vendor / Product ID

Posted: Mon Mar 11, 2024 10:46 am
by tachin
Yeah, I already mention that link in my original post, do you mean to write to Espressif to create a new PID?

Re: Best practices for USB Vendor / Product ID

Posted: Tue Mar 12, 2024 2:40 am
by ESP_Sprite
tachin wrote:
Mon Mar 11, 2024 10:46 am
Yeah, I already mention that link in my original post, do you mean to write to Espressif to create a new PID?
Ah sorry, I did not see that. Yes, you can follow the instructions in that repo to get a PID that is reserved for your thing.

Re: Best practices for USB Vendor / Product ID

Posted: Sun Mar 17, 2024 12:45 pm
by tachin
Not sure if I can bother them for a very low quantity product, that's why I was asking if the serial number could be a solution :D

Re: Best practices for USB Vendor / Product ID

Posted: Mon Mar 18, 2024 2:45 am
by ESP_Sprite
I'm the guy who hands out the PIDs there. If you make any number (>=1) of devices you give away or sell or whatever, as long as you're willing to answer the questions in the readme of that repo, you'll get a PID.

Re: Best practices for USB Vendor / Product ID

Posted: Mon Mar 18, 2024 8:54 pm
by tachin
ESP_Sprite wrote:
Mon Mar 18, 2024 2:45 am
I'm the guy who hands out the PIDs there. If you make any number (>=1) of devices you give away or sell or whatever, as long as you're willing to answer the questions in the readme of that repo, you'll get a PID.
Understood!! :D
Thanks