Neeb help with exodriver...
Posted 06 October 2010 - 01:07 PM
When I get to this step:
>>> import u6
>>> d = u6.U6()
libusb couldn't open USB device /dev/bus/usb/003/003: Permission denied.
libusb requires write access to USB device nodes.
libusb error: LIBUSB_ERROR_ACCESS
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.6/dist-packages/u6.py", line 186, in __init__
File "/usr/local/lib/python2.6/dist-packages/u6.py", line 203, in open
Device.open(self, 6, firstFound = firstFound, serial = serial, localId = localId, devNumber = devNumber, handleOnly = handleOnly, LJSocket = LJSocket )
File "/usr/local/lib/python2.6/dist-packages/LabJackPython.py", line 574, in open
d = openLabJack(devType, ct, firstFound = True, handleOnly = handleOnly, LJSocket = LJSocket)
File "/usr/local/lib/python2.6/dist-packages/LabJackPython.py", line 1400, in openLabJack
handle = _openLabJackUsingExodriver(deviceType, firstFound, pAddress, devNumber)
File "/usr/local/lib/python2.6/dist-packages/LabJackPython.py", line 1262, in _openLabJackUsingExodriver
LabJackPython.NullHandleException: Couldn't open device. Please check that the device you are trying to open is connected.
What am I doing wrong? Thanks!
Posted 06 October 2010 - 01:14 PM
$ sudo usermod -a -G adm <Your username>
Posted 06 October 2010 - 02:28 PM
Posted 06 October 2010 - 06:08 PM
Posted 11 February 2014 - 01:51 PM
After installation, disconnect and reconnect your LabJack to your system. This is to make sure the newly installed permissions are in effect. Also, log off and log in to your Linux machine to make sure adm group on the current user is in effect.
If the above doesn't help, please tell me what LabJack device (UE9, U3, or U6) you are using and describe and/or provide the error you are getting.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users