6 Replies Latest reply on Jun 18, 2015 11:17 AM by Intel_Peter

    Gphoto Intel Edison

    Bodd

      Hello everyone!

       

      First i would tanks Intel_Peter for this help on first post : Install Libgphoto on Edison

       

      Now i would like to install gphoto on the edison to pilot a camera.

       

      How to do that ?

       

      Thanks of all

        • 1. Re: Gphoto Intel Edison
          wb_Intel

          Hi Bodd,

           

          Thank you for the post. I will forward your inquiry to the Edison support group.

           

          rgds,

          wb

          • 2. Re: Gphoto Intel Edison
            Bodd

            I'm trying something else.

            I have found this link to install gphoto2: RPM resource gphoto2

            I have download this file  gphoto2-2.4.11-3mgc30.src RPM because he has the same arch than the edison.

            when i try to use the command:

            rpm -i --nodeps gphoto2-2.4.11-1-mdv2011.0.i586.rpm

            i have this mesage error :

            error: Install/Erase problems:

                installing package gphoto2-2.4.11-1.i586 needs 2MB on the / filesystem

             

            Could someone can help me please?

            • 3. Re: Gphoto Intel Edison
              Intel_Peter

              Hello Bodd,

              First of all, you are very welcome, I'm glad to help whenever possible.

              Now, I managed to install gphoto on my Edison, however it was a bit trickier that I thought it would be...

              I'll try to put every step I took bellow:

               

              1. I removed the libgphoto version i recommended you on Install Libgphoto on Edison, I had issues with it when trying to install gphoto.

              2. I downloaded libgphoto and gphoto 2.4.11 from /libgphoto/2.4.11 and /gphoto/2.4.11

              3. I was missing some dependencies, I needed libtool-2.4.6, libusb-1.0.9 and popt-1.16. I got them from ftp://ftp.gnu.org/gnu/libtool/, libusb and Popt-1.16.

              4. I decompressed all packages and started installing them, they all are installed the same way:

                   4.1 ./configure

                   4.2 make

                   4.3 make install

              However, you need to install them on the following order:

                   a. libtool-2.4.6

                   b. libusb-1.0.9

                   c. popt-1.16

                   d. libgphoto2-2.4.11

                   e. gphoto2-2.4.11

              5. The first three packages should install without any issues, however when you reach libgphoto2-2.4.11, even though I had libusb installed it kept requesting it, so I used:

              ./configure --with-libusb=no

              After this you can install gphoto and you should be able to use it.

              I did not test it however I did run it and everything seemed fine.

               

              Peter.

              • 4. Re: Gphoto Intel Edison
                Bodd

                Thanks for all Peter.

                The installation was successfull.

                But i can't use my camera Canon 500D.

                First of all my camera is in the list of the compatible camera of this version of gphoto.

                 

                I try this:

                root@edison1:~# lsusb         

                Bus 001 Device 002: ID 04a9:31cf Canon, Inc.

                Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

                Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

                 

                root@edison1:~# gphoto2 --capture-image

                                                                                              

                *** Error ***             

                Could not detect any camera

                *** Error (-105: 'Unknown model') ***      

                 

                For debugging messages, please use the --debug option.

                Debugging messages may help finding a solution to your problem.

                If you intend to send any error or debug messages to the gphoto

                developer mailing list <gphoto-devel@lists.sourceforge.net>, please run

                gphoto2 as follows:

                 

                    env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --capture-image

                 

                Please make sure there is sufficient quoting around the arguments.

                 

                root@edison1:~# gphoto2 --list-ports

                Devices found: 1

                Path                             Description

                --------------------------------------------------------------

                ptpip:                           PTP/IP Connection              

                 

                Do i need to install some drivers to detect my camera ?

                • 5. Re: Gphoto Intel Edison
                  Bodd

                  Sorry just an other questions Peter.

                   

                  Can i try to install a recent version like libgphoto2-2.5.6?

                  How to know  the version libtool /libusb/popt/ i need for this new installation.

                   

                  Thanks for all your helps

                  • 6. Re: Gphoto Intel Edison
                    Intel_Peter

                    I'm not sure if that camera needs a specific driver to work with gphoto and unfortunately I don't have access to one of these cameras. So I believe my best suggestion would be for you to contact the gphoto developers to get a more accurate response; as you can see in the error message you posted, they included a support email. Why don't you try to get in contact with them for this specific issue?

                     

                    Regarding your last question I believe you should be able to install an updated version of gphoto. The reason why I chose to install version 2.4.11, was because the version of libgphoto that I initially had installed was 2.4.11. As you know I had to remove that version but since I already had downloaded gphoto 2.4.11 I decided to install it anyways. If you want to install the latest version, you'll have to remove the older versions of libgphoto and gphoto and then install the newer versions as explained above.

                     

                    Peter.