×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Ekos wont connect to 5DMark3 with Canon or Gphoto CCD

  • Posts: 6
  • Thank you received: 0
Hi,

Hoping someone can help.
I'm trying to run Ekos with camera on Ubuntu Mate
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.2 LTS
Release:	18.04
Codename:	bionic

I've attached a picture of what is happening. When I try to connect the camera if just says connect in yellow. There is no error log. I've tried both Gphoto and Canon DLSR options.
Now the odd thing is I can take an image capture with gphoto2, but only when I'm using root permissions.
dan@astromate-SBC-FITPC2:~/.indi$ sudo gphoto2 --capture-image-and-download
New file is in location /capt0000.jpg on the camera
File capt0000.jpg exists. Overwrite? [y|n] y
Saving file as capt0000.jpg
Deleting file /capt0000.jpg on the camera

My installs from repo are:
libgphoto2-6:
  Installed: 2.5.22+201812221909~ubuntu18.04.1
  Candidate: 2.5.22+201812221909~ubuntu18.04.1
  Version table:
 *** 2.5.22+201812221909~ubuntu18.04.1 500
        500 http://ppa.launchpad.net/mutlaqja/libgphoto2/ubuntu bionic/main i386 Packages
        100 /var/lib/dpkg/status
     2.5.16-2 500
        500 http://au.archive.ubuntu.com/ubuntu bionic/main i386 Packages
gphoto2:
  Installed: 2.5.15-2
  Candidate: 2.5.15-2
  Version table:
 *** 2.5.15-2 500
        500 http://au.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
        100 /var/lib/dpkg/status

Is this possibly a permission issue with gphoto2?
I checked permissions against an install on RPi3 with astroberry and they are the same. The camera connects fine with Astroberry installation on the RPi
My gphoto2 versions are different however: Ubuntu mate versions are:
dan@astromate-SBC-FITPC2:~$ gphoto2 -v
gphoto2 2.5.15
 
Copyright (c) 2000-2017 Lutz Mueller and others
 
gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.
 
This version of gphoto2 is using the following software versions and options:
gphoto2         2.5.15         gcc, popt(m), exif, cdk, aa, jpeg, readline
libgphoto2      2.5.21.1       all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.12.0         iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, USB, serial without locking
dan@astromate-SBC-FITPC2:~$ dpkg -l | grep gphoto
ii  gphoto2                                      2.5.15-2                                i386         digital camera command-line client
ii  indi-gphoto                                  2.6~201811150002~ubuntu18.04.1          i386         INDI GPhoto (DSLR) Camera Driver.
ii  libgphoto2-6:i386                            2.5.22+201812221909~ubuntu18.04.1       i386         gphoto2 digital camera library
ii  libgphoto2-dev:i386                          2.5.22+201812221909~ubuntu18.04.1       i386         gphoto2 digital camera library (development files)
ii  libgphoto2-l10n                              2.5.23+201904141650~ubuntu18.04.1       all          gphoto2 digital camera library - localized messages
ii  libgphoto2-port12:i386                       2.5.22+201812221909~ubuntu18.04.1       i386         gphoto2 digital camera port library

I've attached the logs from ekos.
With the connect issue I get the same yellow connect issue with both Canon DSLR selected and Gphoto

Any help would be greatly appreciated.

File Attachment:

File Name: log_13-16-10.txt
File Size:21 KB


4 years 11 months ago #38204
Attachments:

Please Log in or Create an account to join the conversation.

sudo apt-add-repository ppa:mutlaqja/libgphoto2
sudo apt-get update && sudo apt-get -y dist-upgrade
4 years 11 months ago #38229

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
Thanks for fast reply..
Ran those commands but still the same..

logs as follows:
[2019-04-22T21:34:11.027 AWST DEBG ][           org.kde.kstars.indi] - Connection to INDI server is successful
[2019-04-22T21:34:11.029 AWST INFO ][           org.kde.kstars.ekos] - "INDI services started on port 7624. Please connect devices."
[2019-04-22T21:34:11.056 AWST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-04-22T13:34:11: startup: /usr/bin/indiserver -v -p 7624 -f /tmp/indififofa66226a "
[2019-04-22T21:34:11.056 AWST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-04-22T13:34:11: listening to port 7624 on fd 3"
[2019-04-22T21:34:11.057 AWST DEBG ][           org.kde.kstars.indi] - INDI Server:  "FIFO: start indi_gphoto_ccd -n \"GPhoto CCD\""
[2019-04-22T21:34:11.058 AWST DEBG ][           org.kde.kstars.indi] - INDI Server:  "With name: GPhoto CCD"
[2019-04-22T21:34:11.058 AWST DEBG ][           org.kde.kstars.indi] - INDI Server:  "FIFO: Starting driver indi_gphoto_ccd"
[2019-04-22T21:34:11.059 AWST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-04-22T13:34:11: Driver indi_gphoto_ccd: pid=5980 rfd=4 wfd=7 efd=8"
[2019-04-22T21:34:11.060 AWST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-04-22T13:34:11: Client 5: new arrival from 127.0.0.1:59890 - welcome!"
[2019-04-22T21:34:11.060 AWST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2019-04-22T21:34:11.135 AWST DEBG ][           org.kde.kstars.indi] - Received new device GPhoto CCD
[2019-04-22T21:34:11.182 AWST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-04-22T13:34:11: Driver indi_gphoto_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD"
[2019-04-22T21:34:11.185 AWST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-04-22T13:34:11: Driver indi_gphoto_ccd: snooping on Telescope Simulator.TELESCOPE_INFO"
[2019-04-22T21:34:11.187 AWST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-04-22T13:34:11: Driver indi_gphoto_ccd: snooping on Telescope Simulator.GEOGRAPHIC_COORD"
[2019-04-22T21:34:11.188 AWST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-04-22T13:34:11: Driver indi_gphoto_ccd: snooping on Focuser Simulator.ABS_ROTATOR_ANGLE"
[2019-04-22T21:34:11.189 AWST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-04-22T13:34:11: Driver indi_gphoto_ccd: snooping on CCD Simulator.FILTER_SLOT"
[2019-04-22T21:34:11.189 AWST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-04-22T13:34:11: Driver indi_gphoto_ccd: snooping on CCD Simulator.FILTER_NAME"
[2019-04-22T21:34:11.190 AWST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-04-22T13:34:11: Driver indi_gphoto_ccd: snooping on SQM.SKY_QUALITY"
[2019-04-22T21:34:11.190 AWST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2019-04-22T21:34:11.199 AWST DEBG ][           org.kde.kstars.indi] - INDIListener: New device GPhoto CCD
[2019-04-22T21:34:11.200 AWST INFO ][           org.kde.kstars.ekos] - Ekos received a new device:  GPhoto CCD
[2019-04-22T21:34:11.228 AWST DEBG ][           org.kde.kstars.indi] - < GPhoto CCD >: < CONNECTION >
[2019-04-22T21:34:11.305 AWST DEBG ][           org.kde.kstars.indi] - < GPhoto CCD >: < DRIVER_INFO >
[2019-04-22T21:34:11.347 AWST DEBG ][           org.kde.kstars.indi] - < GPhoto CCD >: < POLLING_PERIOD >
[2019-04-22T21:34:11.466 AWST DEBG ][           org.kde.kstars.indi] - < GPhoto CCD >: < DEBUG >
[2019-04-22T21:34:11.708 AWST DEBG ][           org.kde.kstars.indi] - < GPhoto CCD >: < SIMULATION >
[2019-04-22T21:34:11.715 AWST DEBG ][           org.kde.kstars.indi] - < GPhoto CCD >: < CONFIG_PROCESS >
[2019-04-22T21:34:11.736 AWST DEBG ][           org.kde.kstars.indi] - < GPhoto CCD >: < ACTIVE_DEVICES >
[2019-04-22T21:34:11.751 AWST DEBG ][           org.kde.kstars.indi] - < GPhoto CCD >: < DEVICE_PORT >
libgphoto2-port10:
  Installed: (none)
  Candidate: (none)
  Version table:
libgphoto2-port12:
  Installed: 2.5.22+201812221909~ubuntu18.04.1
  Candidate: 2.5.22+201812221909~ubuntu18.04.1
  Version table:
 *** 2.5.22+201812221909~ubuntu18.04.1 500
        500 http://ppa.launchpad.net/mutlaqja/libgphoto2/ubuntu bionic/main i386 Packages
        100 /var/lib/dpkg/status
     2.5.16-2 500
        500 http://au.archive.ubuntu.com/ubuntu bionic/main i386 Packages
libgphoto2-6:
  Installed: 2.5.22+201812221909~ubuntu18.04.1
  Candidate: 2.5.22+201812221909~ubuntu18.04.1
  Version table:
 *** 2.5.22+201812221909~ubuntu18.04.1 500
        500 http://ppa.launchpad.net/mutlaqja/libgphoto2/ubuntu bionic/main i386 Packages
        100 /var/lib/dpkg/status
     2.5.16-2 500
        500 http://au.archive.ubuntu.com/ubuntu bionic/main i386 Packages
libgphoto2-2-dev:
  Installed: (none)
  Candidate: (none)
  Version table:
libgphoto2-dev-doc:
  Installed: (none)
  Candidate: 2.5.23+201904141650~ubuntu18.04.1
  Version table:
     2.5.23+201904141650~ubuntu18.04.1 500
        500 http://ppa.launchpad.net/mutlaqja/libgphoto2/ubuntu bionic/main i386 Packages
     2.5.22+201812221909~ubuntu18.04.1 500
        500 http://ppa.launchpad.net/mutlaqja/libgphoto2/ubuntu bionic/main i386 Packages
     2.5.16-2 500
        500 http://au.archive.ubuntu.com/ubuntu bionic/main i386 Packages
libgphoto2-l10n:
  Installed: 2.5.23+201904141650~ubuntu18.04.1
  Candidate: 2.5.23+201904141650~ubuntu18.04.1
  Version table:
 *** 2.5.23+201904141650~ubuntu18.04.1 500
        500 http://ppa.launchpad.net/mutlaqja/libgphoto2/ubuntu bionic/main i386 Packages
        100 /var/lib/dpkg/status
     2.5.22+201812221909~ubuntu18.04.1 500
        500 http://ppa.launchpad.net/mutlaqja/libgphoto2/ubuntu bionic/main i386 Packages
     2.5.16-2 500
        500 http://au.archive.ubuntu.com/ubuntu bionic/main i386 Packages
libgphoto2-dev:
  Installed: 2.5.22+201812221909~ubuntu18.04.1
  Candidate: 2.5.22+201812221909~ubuntu18.04.1
  Version table:
 *** 2.5.22+201812221909~ubuntu18.04.1 500
        500 http://ppa.launchpad.net/mutlaqja/libgphoto2/ubuntu bionic/main i386 Packages
        100 /var/lib/dpkg/status
     2.5.16-2 500
        500 http://au.archive.ubuntu.com/ubuntu bionic/main i386 Packages
gphoto2 2.5.15
 
Copyright (c) 2000-2017 Lutz Mueller and others
 
gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.
 
This version of gphoto2 is using the following software versions and options:
gphoto2         2.5.15         gcc, popt(m), exif, cdk, aa, jpeg, readline
libgphoto2      2.5.21.1       all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.12.0         iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, USB, serial without locking
4 years 11 months ago #38244

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
Unable to see an error; ZWO camera is working without issues and creates the required .xml profiles.
Tried also with my Canon 7DMkII ; gphhoto2 itself worked fine. Ekos fails to load, same as 5DMark3
astromate@astromate-SBC-FITPC2:~$ ls -la .indi/
total 60
drwxr-xr-x  2 astromate astromate  4096 Apr 22 22:28  .
drwxr-xr-x 22 astromate astromate  4096 Apr 22 22:03  ..
-rw-r--r--  1 astromate astromate 36864 Apr 22 22:28  profiles.db
-rw-r--r--  1 astromate astromate  4969 Apr 21 20:43 'ZWO CCD ASI120MM Mini_config.xml'
-rw-r--r--  1 astromate astromate  4969 Apr 21 20:43 'ZWO CCD ASI120MM Mini_config.xml.default'

lsusb output
astromate@astromate-SBC-FITPC2:~$ lsusb -s 001:006 -v
 
Bus 001 Device 006: ID 04a9:323a Canon, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x04a9 Canon, Inc.
  idProduct          0x323a
  bcdDevice            0.02
  iManufacturer           1 Canon Inc.
  iProduct                2 Canon Digital Camera
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         6 Imaging
      bInterfaceSubClass      1 Still Image Capture
      bInterfaceProtocol      1 Picture Transfer Protocol (PIMA 15470)
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
 
 Device Status:     0xf95f
  Self Powered
  Remote Wakeup Enabled
  Test Mode
  Debug Mode
Last edit: 4 years 11 months ago by danoz.
4 years 11 months ago #38246

Please Log in or Create an account to join the conversation.

Oh I see your problem.. you're on 32bit machine... support for 32bit was dropped a while ago. You need an x86-64 bit machine, or raspberry pi 32/64 bit.
4 years 11 months ago #38248

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
:)

Bugger, was hoping to make use of the fitpc2 I had here. Will have to put it to some other use in that case.
Thanks for the fast assistance with this one.
Can mark this as resolved
4 years 11 months ago #38278

Please Log in or Create an account to join the conversation.

  • Posts: 326
  • Thank you received: 50
Hi - I'm finding similar issues with connecting my Canon cameras (450D and 600D) in Ekos. I am running Kstars/Ekos/Indi on a raspberry pi 4 under Raspbian. It seems that the camera is mounted before even I start kstars. Is this still an issue with libgphoto2?
Last edit: 4 years 8 months ago by Avocette.
4 years 8 months ago #42100

Please Log in or Create an account to join the conversation.

  • Posts: 969
  • Thank you received: 94
4 years 8 months ago #42101

Please Log in or Create an account to join the conversation.

  • Posts: 326
  • Thank you received: 50
Sorry - re-entrant loop to this thread!
4 years 8 months ago #42102

Please Log in or Create an account to join the conversation.

  • Posts: 326
  • Thank you received: 50
Solved the issue by editing the RPi file /home/pi/.config/pcmanfm/LXDE-pi/pcmanfm.conf setting

[volume]
mount_on_startup=0
mount_removable=0
4 years 8 months ago #42105

Please Log in or Create an account to join the conversation.

Time to create page: 1.306 seconds