×

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
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.

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

I am facing exactly the same problem.
Is the only answer to reinstall a different version of ubuntu ?
I tried all the reinstall proposed on different posts of this forum ... But it still don't work ... I am still having the yellow connection sign.

Did anybody found a working solution in the end ?

Many thanks in advance !!
3 years 9 months ago #34861

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

Try this:
sudo apt-add-respository ppa:mutlaqja/libgphoto2
sudo apt-get update
sudo apt-get -y dist-upgrade
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
3 years 9 months ago #34864

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

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

Thank's Jasem,
I already tried this and retried but without result ...

Any other good idea ?

Thaknk's in advance !
3 years 9 months ago #34946

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

  • Posts: 1
  • Thank you received: 0
James:

Your webpage of libgphoto2-bleeding in launchpad.net/~mutlaqja/+archive/ubuntu/libgphoto2 stated :

sudo add-apt-repository ppa:mutlaqja/libgphoto2
sudo apt-get update

Command of "apt-add-respository" did not work.

Anthony LEE
3 years 9 months ago #35167

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

  • Posts: 1944
  • Thank you received: 419
It might help if you would explain how it didn't work? Command not found? Other reason? Please let us know so we can try to help you.
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
3 years 9 months ago #35175

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

Time to create page: 0.727 seconds