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.

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

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Pyusb-users mailing list
Pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to