Guest mathk Posted April 23, 2012 Report Share Posted April 23, 2012 I am trying to load a simple test.bit bitstream file with the papilio-prog but I got an error. [tt] $ papilio-prog -f test.bit Could not access USB device 0403:6010.[/tt] It is a papilio-prog compile from github. I did have a quick look at the source code and add more debug information and here is the actual output: [tt]ftdi_usb_open_desc: unable to claim usb device. Make sure the default FTDI driver is not in use.[/tt] It seems to me that I am missing some driver. Thanks for the help Link to comment Share on other sites More sharing options...
Jack Gassett Posted April 26, 2012 Report Share Posted April 26, 2012 Does a lsusb show that the Papilio is connected and everything? Jack. Link to comment Share on other sites More sharing options...
ben Posted April 26, 2012 Report Share Posted April 26, 2012 [tt] $ papilio-prog -f test.bit Could not access USB device 0403:6010.[/tt] This requires special privileges. There must be a way of doing that in user space, tweaking config files here and there, but I'm just too lazy to look into it: I just 'sudo' the call to papilio-prog Link to comment Share on other sites More sharing options...
Jack Gassett Posted April 27, 2012 Report Share Posted April 27, 2012 Ahhhh, right! It probably just needs a sudo... Jack. Link to comment Share on other sites More sharing options...
Guest mathk Posted April 27, 2012 Report Share Posted April 27, 2012 Yup [tt]sudo[/tt] did make it work. Thanks guys. Link to comment Share on other sites More sharing options...
Colin Posted September 13, 2012 Report Share Posted September 13, 2012 I have currently the same problem after updating my ubuntu 12.04 LTS distro.I use this added file:/etc/udev/rules.d/45-ftdi2232-libftdi.rules wich contains these lines:#ftdiSYSFS{idProduct}=="6010", SYSFS{idVendor}=="0403", MODE="666", GROUP="dialout"I wonder if my libftdi1 version 0.19-4 that is no longer working fine ?any idea ? Link to comment Share on other sites More sharing options...
Jack Gassett Posted September 13, 2012 Report Share Posted September 13, 2012 Does sudo or running as root help?Jack. Link to comment Share on other sites More sharing options...
Colin Posted September 13, 2012 Report Share Posted September 13, 2012 First thing first: Thank you Jack for your answer I should have read the manual before I did a sudo. it works.However I wasn't shure where to put the libftdi.rules file, so I did both locations:/lib/udev/rules.d and /etc/udev/rules.dHope this helps someone else too and don't forget command "lsusb" to fullfill the libftdi.rules! Link to comment Share on other sites More sharing options...
Dhia Posted September 13, 2012 Report Share Posted September 13, 2012 c bien de voir des francai ici sur le forum et qui sont des utilisateurs de Papilio Don't ask me how I knew you are from france I'm going to tell you in a private message.I'm Glad you found the answer here Colin. Link to comment Share on other sites More sharing options...
Tb_ Posted October 13, 2012 Report Share Posted October 13, 2012 I have currently the same problem after updating my ubuntu 12.04 LTS distro.I use this added file:/etc/udev/rules.d/45-ftdi2232-libftdi.ruleswich contains these lines:#ftdiSYSFS{idProduct}=="6010", SYSFS{idVendor}=="0403", MODE="666", GROUP="dialout"I wonder if my libftdi1 version 0.19-4 that is no longer working fine ?any idea ?Hi ColinUbuntu 12.04 use Udev version that have deprecated SYSFS.If i remember well i provide you this udev rule last year at the LOG ^^I got the same issue this morning after several month away of the papilio board. I just fix the problem on my system. Here is what i put in this file/etc/udev/rules.d/45-ftdi2232-libftdi.rules:$$cat /etc/udev/rules.d/45-ftdi2232-libftdi.rules#ftdi#SYSFS{idProduct}=="6010", SYSFS{idVendor}=="0403", MODE="666", GROUP="dialout"ATTR{idProduct}=="6010", ATTR{idVendor}=="0403", MODE="666", GROUP="dialout"You need to be part of dialout. To know if you are:$$groups $USERAfter a reboot (the reboot could be avoid, but udev restart seem not to be enough ...) you can use or reuse FDTI FT2232H device without sudo command.Thomas Link to comment Share on other sites More sharing options...
Felix Posted October 13, 2012 Report Share Posted October 13, 2012 so..sudo usermod -a -G dialout YOUR_USERNAMEin most linux distros to add dialout group to user? Link to comment Share on other sites More sharing options...
Tb_ Posted October 15, 2012 Report Share Posted October 15, 2012 Yes, this should work. Consult man page in case of doubt. Link to comment Share on other sites More sharing options...
tomdehavas Posted December 1, 2014 Report Share Posted December 1, 2014 Hi I had the same problem, "Could not access USB device 0403:6010. If this is linux then use sudo" it was intermittent. Rebooting the computer seemed to help but it would fail after 10 mins or so. I found this forum and twoothers and tried the recommendations to no avail but then found at the end of this forum; http://embeddedprogrammer.blogspot.co.uk/2012/07/hacking-ov7670-camera-module-sccb-cheat.html The conclusion that the cable was the problem. I replaced my cable with a shorter one and it all worked! :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.