×

INDI Library v1.9.9 Released (30 Nov 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

CANON DSLR stopped working, incomplete connection

  • 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
3 years 11 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...
3 years 10 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.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
3 years 10 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: 3 years 10 months ago by deepanshu.
3 years 10 months ago #33518
Attachments:

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

  • Posts: 846
  • Thank you received: 139
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.
3 years 10 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: 3 years 10 months ago by José Enríquez. Reason: Remove duplicate attachment
3 years 10 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.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
Last edit: 3 years 10 months ago by Jasem Mutlaq.
3 years 10 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.
3 years 10 months ago #33557

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

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

I have tested as suggested, the driver is not crashing and it ends up in the usual yellow state, and gdb only reports the same information that is dumped to the indi log:

2019-01-12T11:04:05: Driver indi_canon_ccd: Number of cameras detected: 1.
2019-01-12T11:04:05: Driver indi_canon_ccd: Detected camera model Canon EOS 1100D on port usb:001,017

I attach an screenshot to show what happens in ekos and in the console



Is there a quick way to check with gdb where the driver is stuck? (sorry, my c programming skills are almost forgotten and rusty ...)

Thanks
3 years 10 months ago #33601
Attachments:

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

One solution is to reinstall the driver:
sudo apt-get install -y --reinstall indi-gphoto

You can send me a private message with TeamViewer details and I can login to check it out remotely as well as a last resort.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
3 years 10 months ago #33603

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

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

I reinstalled the driver and same behaviour.

As mentioned before, I suspect that this has something to do with some change in the hw (power, etc), that cause the hanging of the driver, since a fresh reinstall of OS + kstars + INDI has not solved the issue. So I have switched to use a rasppi + ubuntu mate 16.04 and everything is working perfectly (I was using the netbook for the superior disk capacity / USB / screen capabilities wrt the rasppi)

Thus it is not necessary that you spend time connecting remotely to solve the issue, I imagine you have enough tasks on hand already. Many thanks for offering anyway.

If I happen to find out the root cause of this I'll let you know.

Thanks
Pepe
The following user(s) said Thank You: Jasem Mutlaq
3 years 10 months ago #33686

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

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

Thank you for posting you reply.
I am facing exactly the same problem.
I found it on different topics on this forum but each time without a real answer.
I still can't connect my Canon 1300D to Ekos.
Did you find a way to correct this ?

Thanks in advance !
3 years 9 months ago #34860

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

Time to create page: 1.286 seconds