Just tried the OpenUSB backend under Mac OS X Lion and it does
not seem to work.
>>> import usb.backend.openusb
>>> c=usb.backend.openusb.get_backend()
dlerror: dlopen(/usr/local/Cellar/openusb/HEAD/lib/openusb_backend/darwin.so,
1): Symbol not found: _usbi_devices
Referenced from: /usr/local/Cellar/openusb/HEAD/lib/openusb_backend/darwin.so
Expected in: flat namespace
in /usr/local/Cellar/openusb/HEAD/lib/openusb_backend/darwin.so
fail to load /usr/local/Cellar/openusb/HEAD/lib/openusb_backend/darwin.so
2012-01-21 21:54:31,772 ERROR:usb.backend.openusb:Error loading OpenUSB backend
Traceback (most recent call last):
File "usb/backend/openusb.py", line 703, in get_backend
_ctx = _Context()
File "usb/backend/openusb.py", line 489, in __init__
_check(_lib.openusb_init(0, byref(self.handle)))
File "usb/backend/openusb.py", line 480, in _check
ret = retval.value
AttributeError: 'int' object has no attribute 'value'
--
Xiaofan
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
pyusb-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyusb-users