×

INDI Library v1.9.9 Released (30 Nov 2022)

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

Canon DSLR connect error to Astroberry/Ekos/INDI

  • Posts: 13
  • Thank you received: 1
Hello Fellow Astronomers,
I just have installed Astroberry/Indilib/Kstars/Ekos on my Raspberry Pi and ZWO Asi camera, EQMod mount, guide camera, focuser are working flawlessly.

Now I wanted to setup my Canon EOS 80D DSLR as well. In the INDI server I loaded the Canon DSLR driver, in Ekos I configured the CCD as Canon DSLR.
The DSLR is connected to the Raspi via USB connection. USB connection under Windows works without problems. When I connect Ekos to the DSLR I get
"green light" for th connection, however when I try to take a capture, I get error message that capture is not possible and The DSLR displays a message
on its LCD screen: "Error! Switch off the camera and switch on again".

In a n Ubuntu terminal, when doing a "gphoto2 -a" I get the info:
Abilities for camera: USB PTP class camera
Serial port support: no
USB support: yes
Capture choice: Image, Preview
Configuration support: yes
Delete selected files on camera: yes
Delete all files on camera: no
File preview (thumbnails): yes
File upload: yes

gphoto2 --auto-detect gives:

USB PTP class camera USB port usb:001,005

When I try to take an image ina terminal with "gphoto2 --capture-image" then the shutter is released, an image is taken but then the image is not
stored on the camera SDHC card, the camera says "busy" and in the terminal after a minute I get the error message:

*** Error ***
Canon EOS full press failed (0x2019: PTP device busy)
ERROR: could not capture image
ERROR: could not capture

Has anyone successfully connected Canon DSLRs with Astroberry/Indi ?

I would appreciate any hint on what I can do tho overcome this problem.

Clear night skies !

Helmut Zimmermann
Cologne/Germany
3 years 1 month ago #44781

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

  • Posts: 1279
  • Thank you received: 222
Try it with the GPhoto driver instead
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
3 years 1 month ago #44784

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

  • Posts: 13
  • Thank you received: 1
Thank you for the info.
But how can I choose a gphoto driver? The INDI server panel at the start of Astroberry offers a drop-downl-list with pre-configured INDILIB drivers.
And the only choice there is the "Canon DSLR driver"...

How can I figure out which driver gphoto2 is using??? When I try to take an image with gphoto2 the shutter is released, but no image is stored and the camera
hangs and displays "busy...".

Helmut
3 years 1 month ago #44786

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

  • Posts: 1279
  • Thank you received: 222
I'm not that familiar with astroberry and the web server, but you should be able to create a profile with the GPhoto driver.

As for your camera's shutter behavior, since your camera has a B mode and an M mode, I believe you have to set it to B, since it can not force your camera into bulb mode when in manual.
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
3 years 1 month ago #44792

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

  • Posts: 13
  • Thank you received: 1
I have resolved the issue by re-installing indi-libgphoto2.
Now my camera is no longer detected as "PTP class camera" but as "Canon EOS 80D" instead.
Now triggering the shutter and capturing images with gphoto2 works flawlessly both in "Bulk" or "Manual" mode.
In KStars/Ekos the camera is now connected and I'm asked for the sensor resolution. After input of sensor resolution
I can trigger liveview and capture and download images.

Works now like a charm !

Thanks to all for your suggestions!

Clear night skies!

Helmut
Cologne/Germany
3 years 1 month ago #44808

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

  • Posts: 2
  • Thank you received: 0
Hi Helmut, I think I have exactly the same issue as you, very similar setup (but using a 6D, and a different mount) - though not sure about how to go about reinstalling indi-libgphoto2 ? Any help greatly appreciated!
3 years 1 month ago #44815

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

  • Posts: 13
  • Thank you received: 1
Hello Andy,

this is what I did to re-install libgphoto2:

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

Hope this helps you as well.

Clear night skies!

Helmut
Cologne/Germany
3 years 1 month ago #44844

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

  • Posts: 2
  • Thank you received: 0
Great thanks Helmut! Got it working. Cheers !
3 years 1 month ago #44917

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

Time to create page: 1.006 seconds