Get USB ID of a serial port through pyserial?

John Nagle nagle at animats.com
Wed Mar 30 15:01:00 EDT 2011


   Is there some way to get the USB ID of a serial port through
pyserial on Linux and/or Windows?  USB serial port devices have
device names determined by when they were plugged in.  So, if
you have more than one USB serial device, you need the USB device's
built-in ID to figure out what's out there.

   Is there a way to get that info portably?

				John Nagle



More information about the Python-list mailing list