Hi all,
I am currently experimenting using libftdi on Ubuntu. I compiled the
'simple' example.
danny@ubuntu-desktop:~$ gcc simple.c /usr/lib/libftdi.so -o simple
When I tried to run it, I got the following error:
danny@ubuntu-desktop:~$ ./simple
unable to open ftdi device: -8 (inappropriate permissions on devic
When the example is run as root, it works fine.
danny@ubuntu-desktop:~$ sudo ./simple
ftdi_read_chipid: 0
FTDI chipid: 7EEE7FC5
Is it absolutely necessary to run the program as root? Or is it possible
to change the permissions of a user on the device? If so, which device?
I couldn't found anything on this in the documentation.
Thanks!
Best regards,
Danny Haak
--
Product Developer RFID (UHF)
Nedap Retail Support
e: danny.haak@xxxxxxxxx
t: +31 544 471568
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|