QUERY · ISSUE
What to do about USB VID and PID?
rfcport-stm32
As @chrismas9 pointed out to me, there are a few options, none of which are optimal:
- Buy your own VID from USB-IF for $US5000.
- Request free PIDs from Openmoko http://wiki.openmoko.org/wiki/USB_Product_IDs
- 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.
- 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?
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?