1
Discussion - Software / Re: How to use libftd2xx.so middleware(ROS at 64bit Linux)
« on: May 13, 2022, 10:24:04 PM »
Terry:
You can make "sudo" built-in as follows.
Making the following change to the /lib/udev/rules.d/50-udev-default.rules file allows you to run d2xx applications without the need to ‘sudo’ them:
SUBSYSTEM==”usb”, ENV{DEVTYPE}==”usb_device”, MODE=”0664″
to :
SUBSYSTEM==”usb”, ENV{DEVTYPE}==”usb_device”, MODE=”0666″
This has been tested on a Ubuntu 20.04 VM, and works quite well when testing with an FT232R and the EEPROM/read example.
A customer noted the following udev rule which should do the same thing, and be less of a security risk (this would be for a single device, but could be modified for all FTDI devices):
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="faf0", GROUP="users", MODE="0666"
Best Regards,
Cameron Forbes, USA Support
You can make "sudo" built-in as follows.
Making the following change to the /lib/udev/rules.d/50-udev-default.rules file allows you to run d2xx applications without the need to ‘sudo’ them:
SUBSYSTEM==”usb”, ENV{DEVTYPE}==”usb_device”, MODE=”0664″
to :
SUBSYSTEM==”usb”, ENV{DEVTYPE}==”usb_device”, MODE=”0666″
This has been tested on a Ubuntu 20.04 VM, and works quite well when testing with an FT232R and the EEPROM/read example.
A customer noted the following udev rule which should do the same thing, and be less of a security risk (this would be for a single device, but could be modified for all FTDI devices):
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="faf0", GROUP="users", MODE="0666"
Best Regards,
Cameron Forbes, USA Support