From: Brendan S. (eTRIX) <Bre...@eT...> - 2009-06-22 07:32:00
|
I'm using PyUSB to obtain USB info, but the Location ID I get for my device is different to what "System Profiler" and "ioreg" shows me. eg. SP and ioreg show Location ID 0x1a200000 pyusb: dev.location returns 0x1a000000 There seems to be some kind of offset, so I presume I need to "calculate" the offset but I'm not entirely sure how or what needs to be added. Any one used PyUSB to find the Location ID of a device on OS X (or any other OS) ??? Thanks, Brendan. |