I have a USB device that registers itself as a serial device (/dev/usbmodemXXXX).
I have used pyusb to detect the device, and now I need to know what serial device has been "created" so I can talk to it using pyserial. I don't know what the best way is to find that association, but I came across the I/O registry via a google search, and I think that will give me enough info to obtain that association. Is there a python way of reading the OS X I/O Registry ??? All I've come up with so far is to run the "ioreg" command via the subprocess module and parse the output. Is there a better python module to interrogate the I/O registry ?? or is there a better way to find the association between the USB serial device and the serial device filename that is generated ?? Thanks very much for any help or pointers, 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
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig