← index #47Issue #7481
Off-topic · high · value 0.739
QUERY · ISSUE

What to do about USB VID and PID?

openby dpgeorgeopened 2014-01-03updated 2024-07-23
rfcport-stm32

As @chrismas9 pointed out to me, there are a few options, none of which are optimal:

  1. Buy your own VID from USB-IF for $US5000.
  2. Request free PIDs from Openmoko http://wiki.openmoko.org/wiki/USB_Product_IDs
  3. Buy PIDs from MCS Electronics for EUR9.95. Their VID has been revoked so they are only selling a guarantee that no one else will have the same PID.
  4. Use VID=0xf055; see http://hackaday.com/2013/10/22/usb-implementers-forum-says-no-to-open-source/
CANDIDATE · ISSUE

mpremote lists VID and PID backwards?

closedby lurchopened 2021-07-01updated 2021-07-02
tools

I just noticed that mpremote connect list seemed to be displaying the PID before the VID, so I had a look at the source and saw that https://github.com/micropython/micropython/blob/master/tools/mpremote/mpremote/main.py#L169 says

                        p.device, p.serial_number, p.pid, p.vid, p.manufacturer, p.product

which seems a bit odd, as in my experience the USB VID (vendor id) is always displayed before the PID (product id).
I won't submit a PR though, in case this was a deliberate decision rather than just a typo?

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied