Best practices for USB Vendor / Product ID

tachin
Posts: 17
Joined: Sun Feb 02, 2020 1:02 am

Best practices for USB Vendor / Product ID

Postby tachin » 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

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.

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: Best practices for USB Vendor / Product ID

Postby ESP_Sprite » Sat Mar 09, 2024 2:50 am

You may want to have a look at https://github.com/espressif/usb-pids .

tachin
Posts: 17
Joined: Sun Feb 02, 2020 1:02 am

Re: Best practices for USB Vendor / Product ID

Postby tachin » 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?

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: Best practices for USB Vendor / Product ID

Postby ESP_Sprite » Tue Mar 12, 2024 2:40 am

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.

tachin
Posts: 17
Joined: Sun Feb 02, 2020 1:02 am

Re: Best practices for USB Vendor / Product ID

Postby tachin » Sun Mar 17, 2024 12:45 pm

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

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: Best practices for USB Vendor / Product ID

Postby ESP_Sprite » 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.

tachin
Posts: 17
Joined: Sun Feb 02, 2020 1:02 am

Re: Best practices for USB Vendor / Product ID

Postby tachin » Mon Mar 18, 2024 8:54 pm

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

Who is online

Users browsing this forum: Bing [Bot] and 146 guests