×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

CANON DSLR stopped working, incomplete connection

  • Posts: 8
  • Thank you received: 1

I had not thought of that, I had never used gphoto2 ...
Thanks for the suggestion, I will try in both machines, and let you know
BR
5 years 2 months ago #33225

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

  • Posts: 643
  • Thank you received: 62
Hi!

From experience: try another USB-cable.

Magnus
5 years 2 months ago #33226

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

  • Posts: 8
  • Thank you received: 1
Hi Magnus,
Yes, I tried with 2 m and 25 cm cables, both working in the mint machine, but no connection shows in the ubuntu netbook

Yes, I have tested in the two machines, and gphoto2 is working in both of them:
Abilities for camera             : Canon EOS 1100D                             
Serial port support              : no
USB support                      : yes
Capture choices                  :
                                 : Image
                                 : Preview
                                 : Trigger Capture
Configuration support            : yes
Delete selected files on camera  : yes
Delete all files on camera       : no
File preview (thumbnail) support : yes
File upload support              : yes

I can take pictures and previews with gphoto, but still not connection through ekos in the ubuntu netbook.

Is there any other log or test I can try?
Thanks for the help.
Pepe
5 years 2 months ago #33229

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

  • Posts: 643
  • Thank you received: 62
OK, trying more standard problems: Could it be that the Canon is automounted on the netbook? (have no idea if GPhoto would work in that case)

Magnus
5 years 2 months ago #33231

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

  • Posts: 8
  • Thank you received: 1
Yes, I had disabled automount before.
In fact the canon has been working in the netbook under ekos, but suddendly it has stopped working, and I don't recall having changed anything in the installation (though I certainly must have changed something inadvertently)
I'll keep digging and will report ...

Pepe
5 years 2 months ago #33235

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

  • Posts: 2
  • Thank you received: 0
I am facing exactly same issue, Canon DSLR sort of half connects. I am trying to set up a new machine with Ubuntu 16.04 32-bit and Indi/Ekos latest stable release. I have disabled the automount. I can control the camera using gphoto2 without any problem.
dee@Astro-Linux:~$ gphoto2 --auto-detect 
Model                          Port                                            
----------------------------------------------------------
Canon EOS 80D                  usb:001,002     
deepanshu@Astro-Linux:~$ gphoto2 --capture-image
New file is in location /capt0000.cr2 on the camera                            
dee@Astro-Linux:~$

But when using Ekos, I see exactly same thing as OP shared above. Yellow dot with nothing happening. Log also shows similar thing -
I'm clueless on how to fix this.
[2019-01-09T19:36:40.234 PST DEBG ][           org.kde.kstars.indi] - INDI: Starting local drivers...
[2019-01-09T19:36:40.235 PST DEBG ][           org.kde.kstars.indi] - Starting INDI Server:  ("-v", "-p", "7624", "-f", "/tmp/indififo58540e46") -f "/tmp/indififo58540e46"
[2019-01-09T19:36:40.238 PST DEBG ][           org.kde.kstars.indi] - INDI Server Started?  true
[2019-01-09T19:36:40.238 PST DEBG ][           org.kde.kstars.indi] - INDI: INDI Server started locally on port  7624
[2019-01-09T19:36:40.238 PST DEBG ][           org.kde.kstars.indi] - Starting INDI Driver  "indi_canon_ccd"
[2019-01-09T19:36:40.238 PST DEBG ][           org.kde.kstars.indi] - Adding managed driver "Canon DSLR"
[2019-01-09T19:36:40.238 PST DEBG ][           org.kde.kstars.indi] - INDIListener: Adding a new client manager to INDI listener..
[2019-01-09T19:36:40.238 PST DEBG ][           org.kde.kstars.indi] - INDI: Connecting to local INDI server on port  7624  ...
[2019-01-09T19:36:40.341 PST DEBG ][           org.kde.kstars.indi] - INDI: Connecting to local INDI server on port  7624  ...
[2019-01-09T19:36:40.341 PST DEBG ][           org.kde.kstars.indi] - INDI server connected.
[2019-01-09T19:36:40.341 PST DEBG ][           org.kde.kstars.indi] - Connection to INDI server is successful
[2019-01-09T19:36:40.342 PST DEBG ][           org.kde.kstars.indi] - Received new device Canon DSLR EOS 80D
[2019-01-09T19:36:40.349 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-01-10T03:36:40: startup: /usr/bin/indiserver -v -p 7624 -f /tmp/indififo58540e46 "
[2019-01-09T19:36:40.349 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-01-10T03:36:40: listening to port 7624 on fd 3"
[2019-01-09T19:36:40.349 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "FIFO: start indi_canon_ccd"
[2019-01-09T19:36:40.349 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "FIFO: Starting driver indi_canon_ccd"
[2019-01-09T19:36:40.349 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-01-10T03:36:40: Driver indi_canon_ccd: pid=2330 rfd=4 wfd=7 efd=8"
[2019-01-09T19:36:40.349 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-01-10T03:36:40: Driver indi_canon_ccd: Number of cameras detected: 1."
[2019-01-09T19:36:40.349 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-01-10T03:36:40: Driver indi_canon_ccd: Detected camera model Canon EOS 80D on port usb:001,002"
[2019-01-09T19:36:40.349 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-01-10T03:36:40: Driver indi_canon_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD"
[2019-01-09T19:36:40.349 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-01-10T03:36:40: Driver indi_canon_ccd: snooping on Telescope Simulator.TELESCOPE_INFO"
[2019-01-09T19:36:40.349 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-01-10T03:36:40: Driver indi_canon_ccd: snooping on Telescope Simulator.GEOGRAPHIC_COORD"
[2019-01-09T19:36:40.350 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-01-10T03:36:40: Driver indi_canon_ccd: snooping on Focuser Simulator.ABS_ROTATOR_ANGLE"
[2019-01-09T19:36:40.350 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-01-10T03:36:40: Driver indi_canon_ccd: snooping on CCD Simulator.FILTER_SLOT"
[2019-01-09T19:36:40.350 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-01-10T03:36:40: Driver indi_canon_ccd: snooping on CCD Simulator.FILTER_NAME"
[2019-01-09T19:36:40.350 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-01-10T03:36:40: Driver indi_canon_ccd: snooping on SQM.SKY_QUALITY"
[2019-01-09T19:36:40.350 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-01-10T03:36:40: Client 5: new arrival from 127.0.0.1:47258 - welcome!"
[2019-01-09T19:36:40.350 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2019-01-09T19:36:40.364 PST DEBG ][           org.kde.kstars.indi] - INDIListener: New device Canon DSLR EOS 80D
[2019-01-09T19:36:40.389 PST DEBG ][           org.kde.kstars.indi] - < Canon DSLR EOS 80D >: < CONNECTION >
[2019-01-09T19:36:40.409 PST DEBG ][           org.kde.kstars.indi] - < Canon DSLR EOS 80D >: < DRIVER_INFO >
[2019-01-09T19:36:40.412 PST DEBG ][           org.kde.kstars.indi] - < Canon DSLR EOS 80D >: < POLLING_PERIOD >
[2019-01-09T19:36:40.415 PST DEBG ][           org.kde.kstars.indi] - < Canon DSLR EOS 80D >: < DEBUG >
[2019-01-09T19:36:40.416 PST DEBG ][           org.kde.kstars.indi] - < Canon DSLR EOS 80D >: < SIMULATION >
[2019-01-09T19:36:40.418 PST DEBG ][           org.kde.kstars.indi] - < Canon DSLR EOS 80D >: < CONFIG_PROCESS >
[2019-01-09T19:36:40.418 PST DEBG ][           org.kde.kstars.indi] - < Canon DSLR EOS 80D >: < ACTIVE_DEVICES >
[2019-01-09T19:36:40.419 PST DEBG ][           org.kde.kstars.indi] - < Canon DSLR EOS 80D >: < DEVICE_PORT >
[2019-01-09T19:36:47.941 PST DEBG ][           org.kde.kstars.indi] - INDI: Stopping local drivers...
[2019-01-09T19:36:47.941 PST DEBG ][           org.kde.kstars.indi] - Removing managed driver "Canon DSLR"
[2019-01-09T19:36:47.941 PST DEBG ][           org.kde.kstars.indi] - INDIListener: Removing device Canon DSLR EOS 80D with unique label  ""
[2019-01-09T19:36:47.943 PST DEBG ][           org.kde.kstars.indi] - INDIListener: Removing client manager for server localhost @ 7624
[2019-01-09T19:36:47.943 PST DEBG ][           org.kde.kstars.indi] - INDI server disconnected. Exit code: 0
[2019-01-09T19:36:47.943 PST DEBG ][           org.kde.kstars.indi] - INDI server disconnected. Exit code: 0
[2019-01-09T19:36:47.943 PST DEBG ][           org.kde.kstars.indi] - Stopping INDI Driver  "indi_canon_ccd"
[2019-01-09T19:36:47.944 PST DEBG ][           org.kde.kstars.indi] - Stopping INDI Server  "localhost" @ "7624"
[2019-01-09T19:36:47.944 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-01-10T03:36:47: Client 5: read EOF"
[2019-01-09T19:36:47.944 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2019-01-10T03:36:47: Client 5: shut down complete - bye!"
[2019-01-09T19:36:47.944 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "FIFO: stop indi_canon_ccd"
[2019-01-09T19:36:47.944 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "dp->name: indi_canon_ccd - tDriver: indi_canon_ccd"
[2019-01-09T19:36:47.944 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "name:  - dp->dev[0]: Canon DSLR EOS 80D"
[2019-01-09T19:36:47.944 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "FIFO: Shutting down driver: indi_canon_ccd"
[2019-01-09T19:36:47.945 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "<delProperty device=\"Canon DSLR EOS 80D\"/>"
[2019-01-09T19:36:47.945 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  "Child process 2330 died"
[2019-01-09T19:36:47.945 PST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2019-01-09T19:36:47.945 PST WARN ][                       default] - QIODevice::write (QTemporaryFile, "/tmp/kstars.El2316"): device not open
[2019-01-09T19:36:47.945 PST DEBG ][           org.kde.kstars.ekos] - Resetting Ekos Manager...
5 years 2 months ago #33511

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

Thanks for the report. Try to do this:

1. Edit your profile and turn off "Auto Connect". Save Profile.
2. Start the Profile.
3. Go to the camera tab in the INDI Control Panel --> Options. Make sure Driver Debug is checked next to Debug Levels.
4. Go back to Main Control Panel and connect the camera.
5. Share the log.
5 years 2 months ago #33514

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

  • Posts: 2
  • Thank you received: 0
I am not seeing Debug Driver in Options tab in INDI control panel as suggested. Please see the picture attached. I disabled Auto Connect and made sure 'Debug' was enabled. Same behavior.

Log is attached.
Last edit: 5 years 2 months ago by deepanshu.
5 years 2 months ago #33518
Attachments:

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

  • Posts: 984
  • Thank you received: 160
In case you haven't done it already, go to Indi Logs, activate Verbose. Then check again if the debug options are available in Indi.
5 years 2 months ago #33528

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

  • Posts: 8
  • Thank you received: 1
Hi,

An update from my side.
  1. I tried to test this issue over a clean install on the netbook of ubuntu mate 16.04 32 bits + indi + kstars, with the same result: gphoto is working, and ekos is not able to fully connect the camera, leaving it in a semiconnected, "yellow" state. This make me think that the problem may be related to the HW and not the SW (though the camera connected before to the same configuration)

  2. I have generated a log file, as per Jasem's instructions, it is attached (activated only for "Capture" and "CCD"). The point is, I am not sure whether I am able to activate the debug log properly, since the Debug option in the "Options" tab is also in a "yellow" state, regardless of pushing "enable" or "disable". In any case, the log is the same I attached in my first post. After starting INDI and before connecting:

    <code>[2019-01-10T23:01:56.439 CET DEBG ][ org.kde.kstars.indi] - < Canon DSLR EOS 1100D >: < CONNECTION >
    [2019-01-10T23:01:56.526 CET DEBG ][ org.kde.kstars.indi] - < Canon DSLR EOS 1100D >: < DRIVER_INFO >
    [2019-01-10T23:01:56.681 CET DEBG ][ org.kde.kstars.indi] - < Canon DSLR EOS 1100D >: < POLLING_PERIOD >
    [2019-01-10T23:01:56.721 CET DEBG ][ org.kde.kstars.indi] - < Canon DSLR EOS 1100D >: < DEBUG >
    [2019-01-10T23:01:56.750 CET DEBG ][ org.kde.kstars.indi] - < Canon DSLR EOS 1100D >: < SIMULATION >
    [2019-01-10T23:01:56.756 CET DEBG ][ org.kde.kstars.indi] - < Canon DSLR EOS 1100D >: < CONFIG_PROCESS >
    [2019-01-10T23:01:56.761 CET DEBG ][ org.kde.kstars.indi] - < Canon DSLR EOS 1100D >: < ACTIVE_DEVICES >
    [2019-01-10T23:01:56.784 CET DEBG ][ org.kde.kstars.indi] - < Canon DSLR EOS 1100D >: < DEVICE_PORT >
    </code>

    And only after pressing "Connect" in the Control panel, the following line is added:

    <code>[2019-01-10T23:02:45.971 CET DEBG ][ org.kde.kstars.ekos] - Connecting Canon DSLR EOS 1100D
    </code>

File Attachment:

File Name: log_21-17-...0.tar.gz
File Size:1 KB


Nothing else after pushing "Connect" and before disconnecting.


I'm happy to perform any test that you may suggest.

Thaks for the help
Last edit: 5 years 2 months ago by José Enríquez. Reason: Remove duplicate attachment
5 years 2 months ago #33549
Attachments:

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

I'm suspecting the Canon driver is crashing (hence it is stuck in the yellow state). Perhaps running it in gdb can shed some light?

From the console, start this:
gdb --ex=run --eval-command="set follow-fork-mode child" --args indiserver indi_canon_ccd indi_simulator_telescope

In Ekos, edit your profile, so that it only have Canon CCD and Telescope Simulator. Set mode to <strong>remote</strong>. Save then connect.

Go check back on the console, does it report any issues? If it crashes, it should stop and allows you to issue command. In this case, type in <strong>bt</strong> to get the backtrace.
Last edit: 5 years 2 months ago by Jasem Mutlaq.
5 years 2 months ago #33553

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

  • Posts: 8
  • Thank you received: 1
OK, thanks for your feedback. I'll test tonight and let you know.
5 years 2 months ago #33557

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

Time to create page: 1.161 seconds