Hi all,

I am currently experimenting using libftdi on Ubuntu. I compiled the
'simple' example.
da...@ubuntu-desktop:~$ gcc simple.c /usr/lib/libftdi.so -o simple

When I tried to run it, I got the following error:
da...@ubuntu-desktop:~$ ./simple 
unable to open ftdi device: -8 (inappropriate permissions on devic

When the example is run as root, it works fine.
da...@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: [email protected]
t: +31 544 471568

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]

Reply via email to