You can change the rights via an udev rule.
Mine loooks like:
cat /etc/udev/rules.d/85-ftdi.rules
SYSFS{idVendor}=="0403", SYSFS{idProduct}=="6010", MODE="660", GROUP="ftdi-user"
Regards, Florian
On Wed, Mar 17, 2010 at 3:47 PM, Dr. Igor Nikitin
<igor.nikitin@xxxxxxxxxxx> wrote:
> Hello,
>
> when starting my application using libftdi and libusb,
> I have a problem with write access:
>
> ./application
> libusb couldn't open USB device /dev/bus/usb/007/003: Permission denied.
> libusb requires write access to USB device nodes.
>
> sudo ./application
> -> works
>
> What should I change to make it working without sudo?
>
> Cheers, Igor.
>
>
> --
> libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
> To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
>
>
--
Dipl.-Inf. Florian Beier
Dept. of Computer Science V
ICM - Institute for Computational Medicine
University of Heidelberg
B6, 23-29 Building C
68131 Mannheim
Germany
Tel: +49-621-181-2738
Fax: +49-621-181-2591
Mail: florian.beier@xxxxxxxxxxxxxxxxxxxxxx
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|