×

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

Bi-monthly release with minor bug fixes and improvements

Cannot connect Canon DSLR

  • Posts: 57
  • Thank you received: 5
Hello,
I'm writing here my new (and I really hope my last) problem with using the git version of EKOS/KSTARS. Indeed, I tried to connect my T3i DSLR on my debian laptop, and there's no way to have the camera working. I tried on another machine, with same debian, and I have no problem. DSLR is detected and I can use it. The thing is that my laptop is the only computer I want to use in my setup.
When I try to connect the DSLR I have this message:
2017-01-02T15:32:29: Can not open camera: Power OK? If camera is auto-mounted as external disk storage, please unmount it and disable auto-mount. 
2017-01-02T15:32:29: Camera_get_config failed (-6): Unsupported operation
My camera isn't auto-mounted and libgphoto2-dev is well installed. Could I have some conflicts with previous gphoto2 use ? Or something else ?
I did tried to take a look to the logs in ~/.indi folder, but .... I have no ~/.indi folder, and even if I make a new directory, no logs are created (On my other machine I also have no ~/.indi folder).
I would really appreciate if someone could help me with this issue.
Best wishes for 2017,

Best regards,
7 years 2 months ago #13467

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

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic Cannot connect Canon DSLR

Try this command:
gsettings set org.gnome.desktop.media-handling automount false
Last edit: 7 years 2 months ago by Andrew.
7 years 2 months ago #13471

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

  • Posts: 57
  • Thank you received: 5

Replied by lock on topic Cannot connect Canon DSLR

Thanks but that does not work :(
7 years 2 months ago #13475

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

Can you capture an image with gphoto2 from the command line?
7 years 2 months ago #13480

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

  • Posts: 57
  • Thank you received: 5

Replied by lock on topic Cannot connect Canon DSLR

Not now.
It was working in the past because I wrote a little script that does not work anymore:
*** Error ***              
This camera does not provide any configuration options.
 
*** Error ***              
This camera does not provide any configuration options.
 
*** Error ***              
This camera does not provide any configuration options.
 
*** Error ***              
This camera does not provide any configuration options.
*** Error (-6: 'Unsupported operation') ***       
7 years 2 months ago #13484

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

Then troubleshoot the usual, change USB cable & try different USB ports. Remove USB hub if using one...etc. Make sure battery is OK.
7 years 2 months ago #13485

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

  • Posts: 57
  • Thank you received: 5

Replied by lock on topic Cannot connect Canon DSLR

The DSLR works on another machine with same cable and battery.
I tried all usb ports (no hubs) that are usually working (I can plug HDD and usb stick). It's like I have a problem with gphoto2.

Attached, the script I used
Last edit: 7 years 2 months ago by lock.
7 years 2 months ago #13488
Attachments:

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

  • Posts: 57
  • Thank you received: 5

Replied by lock on topic Cannot connect Canon DSLR

I forgot to say that my ZWO is working very well on all usb ports ... So I think that the problem is a software issue.
Something wrong with configuration files ?
7 years 2 months ago #13489

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

  • Posts: 57
  • Thank you received: 5

Replied by lock on topic Cannot connect Canon DSLR

Dear Jasem,
Writing this:
gphoto2 --camera « Canon EOS 1100D » --port usb: --capture-image
seems to give something because I can hear the mirror.
I have an error though (probably because I don't have sdcard in camera):
New file is in location /capt0000.cr2 on the camera                            
*** Error (-1: 'Unspecified error') ***       
Always not working with ekos.
Last edit: 7 years 2 months ago by lock.
7 years 2 months ago #13519

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

maybe that's the problem? Use an SD card and see if gphoto and then Ekos works?
7 years 2 months ago #13527

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

  • Posts: 486
  • Thank you received: 87

Replied by nMAC on topic Cannot connect Canon DSLR

Usually there is an option on Camera Menu/Advanced Settings to let the camera work without a card or to capture only to PC
Have you found and changed that option? I remember seeing it at least on my 550D.
Last edit: 7 years 2 months ago by nMAC.
7 years 2 months ago #13549

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

  • Posts: 57
  • Thank you received: 5

Replied by lock on topic Cannot connect Canon DSLR

I tried gphoto with a sdcard ...
"funny" things, I have another error message without the mirror noise this time:
*** Error ***              
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Device or resource busy). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-53: 'Could not claim the USB device') ***

nmac: I can't change any value as I cannot connect the DSLR.
Last edit: 7 years 2 months ago by lock.
7 years 2 months ago #13564

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

Time to create page: 0.727 seconds