I am connecting my FTDI Device with Laptop USB. I was following all the steps given in the link How to build libftdi git under Linux
But after installing.. When I was running ./eeprom
it is throwing:
Unable to open device -1: (libusb_open() failed)ftdi_read_eeprom: -2 (USB device unavailable)
I installed FTDI D2XX driver from link:
After installing, I was trying some examples to write in USB EEPROM.
$sudo ./write
It is throwing:
libusb couldn't open USB device /dev/bus/usb/002/006: Permission denied.
libusb requires write access to USB device nodes
I was setting
cat /etc/udev/rules.d/85-ftdi.rules
SYSFS{idVendor}=="0403", SYSFS{idProduct}=="6001", MODE="660", GROUP="ftdi-user"
Then also, it is not working. Same error is coming.