2

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:

D2XX for Linux

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.

1

SYSFS was deprecated in favor of ATTR/ATTRS. See hotplug/udev.git

Try with:

ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE="660", GROUP="ftdi-user"

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.