Hi,

when i try to use the usbtmc lib which uses pyusb i get the following
error:


Traceback (most recent call last):
  File "read.py", line 2, in <module>
    instr=usbtmc.Instrument(
0x0957, 0x1907)
  File
"/usr/local/lib/python2.7/dist-packages/python_usbtmc-0.5-py2.7.egg/usbtmc/usbtmc.py",
line 233, in __init__
    if self.device.is_kernel_driver_active(0):
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 992, in
is_kernel_driver_active
    interface)
  File "/usr/local/lib/python2.7/dist-packages/usb/backend/__init__.py",
line 363, in is_kernel_driver_active
    _not_implemented(self.is_kernel_driver_active)
  File "/usr/local/lib/python2.7/dist-packages/usb/backend/__init__.py",
line 79, in _not_implemented
    raise NotImplementedError(func.__name__)
NotImplementedError: is_kernel_driver_active


I use Raspbian and i have installed the latest libusb lib.
As i know so far this all should work fine together. Any idea why this
function
is not implemented and what i can do to fix this?

Alex
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to