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.
>
>
begin:vcard
fn:Brendan Simon
n:Simon;Brendan
org:eTRIX pty ltd
adr:;;PO Box 306;St Kilda;VIC;3182;Australia
email;internet:brendan.si...@etrix.com.au
title:Managing Director
tel;work:+61-417-380-984
tel;cell:+61-417-380-984
x-mozilla-html:TRUE
version:2.1
end:vcard
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Pyusb-users mailing list
Pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users