1
Discussion - Drivers / Issues with using D2XX driver without root privileges on Ubuntu (udev)
« on: June 12, 2018, 05:27:35 PM »
Hi there,
I hope this is not a stupid question and that this community can help me.
I'm using FTDI D2XX driver on a virtual Ubuntu 16.04. However, I have some issues with accessing my devices without root privileges. The EEPROM/read example, which comes with the driver just worked fine executed as root. However, I can not execute it as "normal" user. And I have the same problem with my own software. Therefore, I was trying to set up an udev rule. Seems to work fine on my "physical" Ubuntu 16.04, but not on VMware. I have the exactly same rule on my "physical" Ubuntu and it works without root privileges. This is what I did:
Any help is appreciated.
Best,
prex
I hope this is not a stupid question and that this community can help me.
I'm using FTDI D2XX driver on a virtual Ubuntu 16.04. However, I have some issues with accessing my devices without root privileges. The EEPROM/read example, which comes with the driver just worked fine executed as root. However, I can not execute it as "normal" user. And I have the same problem with my own software. Therefore, I was trying to set up an udev rule. Seems to work fine on my "physical" Ubuntu 16.04, but not on VMware. I have the exactly same rule on my "physical" Ubuntu and it works without root privileges. This is what I did:
Code: [Select]
cd /etc/udev/rules.d
sudo gedit 52-thorlab.rules
SUBSYSTEMS==”usb”, ATTRS{idVendor}==”0403”, ATTRS{idProduct}==”faf0”,
GROUP=”student”
sudo udevadm control –reload-rules
Any help is appreciated.
Best,
prex