Alan Jhonn Aguiar Schwyn
2015-08-16 01:57:08 UTC
Hi,
I now that Ubuntu 10.04 (Lucid) has end their support, but I have to mantaina program for it.The problem I don't know where is, but is a recent change.The tag "1.0.0b2" works fine but the latest commit of master git not works.
Regards!
Alan
I now that Ubuntu 10.04 (Lucid) has end their support, but I have to mantaina program for it.The problem I don't know where is, but is a recent change.The tag "1.0.0b2" works fine but the latest commit of master git not works.
d = usb.core.find()Traceback (most recent call last): File "<stdin>", line 1, in <module> File "usb/core.py", line 1252, in find return _interop._next(device_iter(k, v)) File "usb/_interop.py", line 60, in _next return next(iter) File "usb/core.py", line 1221, in device_iter d = Device(dev, backend) File "usb/core.py", line 728, in __init__ desc = backend.get_device_descriptor(dev) File "usb/backend/libusb1.py", line 722, in get_device_descriptor dev_desc.speed = self.lib.libusb_get_device_speed(dev.devid) File "/usr/lib/python2.6/ctypes/__init__.py", line 366, in __getattr__ func = self.__getitem__(name) File "/usr/lib/python2.6/ctypes/__init__.py", line 371, in __getitem__ func = self._FuncPtr((name_or_ordinal, self))AttributeError: /lib/libusb-1.0.so.0: undefined symbol: libusb_get_device_speed
Seems that this version of LibUSB has not implemented get_device_speed ??Regards!
Alan