From: Brendan S. (eTRIX) <Bre...@eT...> - 2009-06-15 06:58:36
|
Answering my own question here. The answer is yes. I ran usbenum.py on Mac OS X 10.5 and it gave me what the Vendor IDs and Product IDs which is what I wanted :) The readme indicates that it works on MSW and Linux too, so that's great -- exactly what I need. Brendan. Brendan Simon (eTRIX) wrote: > I need to write a program on OS X that talks to a usb device that using > a serial protocol. > > I have found PySerial which looks like a good cross-platform serial library. > > I want to find the USB Vendor ID (VID) and Product ID (PID) of the > device before talking to it using the serial protocol. > I presume I can NOT do that with PySerial? > I'm hoping that PyUSB will allow me to search for usb devices and find > the VID and PID. > > Will PyUSB allow me to search for usb devices and find the VID and PID ??? > > Does PyUSB work on OS X, MSW and Linux ?? > > Thanks, Brendan. > > |