#27 Scan by VendorID/Product ID for USB Serial devices

v2.7
closed-fixed
Chris Liechti
None
5
2013-10-12
2012-09-08
Anonymous
No

We needed to be able to tie a VendorID/Product ID from a serial port to the device endpoint (aka COM1 or /dev/ttyXXX ) for some work we are doing. To that end, we created some new tools for Linux/Mac/Windows which ties a VendorID and ProductID to a serial port endpoint.

Our project is available at https://github.com/makerbot/pyserial

apologies I don't have time/skill to create a proper patch or diff file, but I think a core developer may do better grabbing our repo, and pulling the relevant code than I would.

The project code was done by Cibomahto and David Sayles, I'm just submitting it on their behalf.

Discussion


  • Anonymous
    2012-12-12

    I would also add the Usb SerialNumber.

    I did the same thing, made a separate class which resolves vid/pid/serial to a /dev/ttyUSBx device. (That actually has to work the other way around as you have to start by resolving the ttyUSBx devices back to their Vid/Pid/Serial.)

    Anyway, this feature is useful. But I think it does not belong within PySerial. It would be worth it becoming a module itself.

     
    Last edit: Anonymous 2013-11-20
  • Chris Liechti
    Chris Liechti
    2013-10-12

    • status: open --> closed-fixed
    • assigned_to: Chris Liechti
    • Group: --> v2.7
     
  • Chris Liechti
    Chris Liechti
    2013-10-12

    After checking with Cibomahto, i've added the list_ports implementation for OSX.