marlow@phy-gr10a:~/test$ python3 ./uldaq-1.2.3/examples/a_in.py
Found 1 DAQ device(s):
[0] USB-1208FS-Plus (NO PERMISSION)
libusb_open() failed: LIBUSB_ERROR_ACCESS
Please select a DAQ device, enter a number between 0 and 0: 0
Connecting to USB-1208FS-Plus - please wait...
Traceback (most recent call last):
File "/home/marlow/test/./uldaq-1.2.3/examples/a_in.py", line 146, in <module>
main()
File "/home/marlow/test/./uldaq-1.2.3/examples/a_in.py", line 76, in main
daq_device.connect(connection_code=0)
File "/home/marlow/.local/lib/python3.10/site-packages/uldaq/daq_device.py", line 136, in connect
raise ULException(err)
uldaq.ul_exception.ULException: ULError.USB_DEV_NO_PERMISSION: Insufficient permission to access this device
Is there a way on Linux (Ubuntu) that I can tell which device is being used so that I can change its permission?
Question
Dan Marlow
Hello,
I have installed the uldaq S/W according to the published instructions (e.g., (https://linuxize.com/post/how-to-install-gcc-compiler-on-ubuntu-18-04/ ) and https://www.mccdaq.com/PDFs/Manuals/UL-Linux/python/overview.html ). Everything seems fine in that the a_in.py test program runs and finds the device I am using. However, it gives a permission error that I am unable to resolve. The output looks like:
marlow@phy-gr10a:~/test$ python3 ./uldaq-1.2.3/examples/a_in.py
Found 1 DAQ device(s):
[0] USB-1208FS-Plus (NO PERMISSION)
libusb_open() failed: LIBUSB_ERROR_ACCESS
Please select a DAQ device, enter a number between 0 and 0: 0
Connecting to USB-1208FS-Plus - please wait...
Traceback (most recent call last):
File "/home/marlow/test/./uldaq-1.2.3/examples/a_in.py", line 146, in <module>
main()
File "/home/marlow/test/./uldaq-1.2.3/examples/a_in.py", line 76, in main
daq_device.connect(connection_code=0)
File "/home/marlow/.local/lib/python3.10/site-packages/uldaq/daq_device.py", line 136, in connect
raise ULException(err)
uldaq.ul_exception.ULException: ULError.USB_DEV_NO_PERMISSION: Insufficient permission to access this device
Is there a way on Linux (Ubuntu) that I can tell which device is being used so that I can change its permission?
Dan Marlow
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now