Other Parts Discussed in Thread: DLPC350
In my setup. I'm trying to communicate with a DLPLCR4500 through he USB interface on a Ubuntu 20.04 machine. The following are the steps I've taken to debug the system,
I installed libusb using the following command:
sudo apt-get install build-essential libusb-1.0.0-dev libudev-dev
Upon sending commands through the USB interface, I got the following error:
usb.core.USBError: [Errno 13] Access denied (insufficient permissions)
After some digging in the forums, I found out that I might need to add a udev rule to allow permission to the system to connect to the USB device. I added the udev rule, named 10-local.rules, in /etc/udev/rules.d/:
SUBSYSTEM=="USB", ATTRS{IdVendor}=="0451", MODE="0666"
This solution seemed to have worked since the following code ran without error:
#!/usr/bin/python from usb.core import find dev = find(idVendor=0x0451, idProduct=0x6401) dev.reset()
When trying to send commands however, I now get the following error:
raise USBError(_strerror(ret), ret, _libusb_errno[ret]) usb.core.USBError: [Errno 16] Resource busy Process finished with exit code 1
I've ran the exact same codes on a Windows 10 device, by installing libusb-win32 through Zadig, without any issues. I'm not sure where exactly the problem arises from. Any help would be appreciated.