New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Canon EOS M6 --set-config fails #493
Comments
I have learned some more by searching on the error message "bulb not found in configuration tree".
debug logfile attached: However I am able to BULB capture with the following command: |
Digging a bit in the code, and logfiles I think I have found the issue. For EOS-M camera's the unprepare camera code makes a setting to the electronic view finder, which my camera does not have. libgphoto2/camlibs/ptp2/config.c Line 565 in 72a7595
I am going to rebuild the code with this setting commented out. |
Hi joël |
After further testing and digging around in the ptp2 config.c code I conclude that the failure mode is in applying set-config settings to for example shutterspeed and iso. I can capture an image, provided I make no other settings: What fails is this:
The first scenario fails with a camera busy when
The second scenario fails with some usb time out when
I have tried several things in the code, but was not able to figure out a way to set shutterspeed and capture an image. |
So the way it should is to set --set-config shutterspeed=2 (the bulb value) and then using eosremoterelease like you did. gphoto2 --set-config eosremoterelease="Press Full" --wait-event=10s --set-config eosremoterelease="Release Full" --wait-event-and-download=2s My M10 does not seem to do bulb after some tries sadly, so I cannot reproduce it right now. the evfoutputdevice setting crash is weird, the camera is probably crashing at this point. |
So just check if this issue is still the same or has it be addressed in recent libgphto2 updates? Do we need to do anything on the client side to make this work? |
I did not further pursue this and got myself an Altair astro camera. This was only after I figured out that also Canon did not provide SDK support for this camera nor EOS tools that can do remote capture (at least controlling settings). Probably there is something fundamentally wrong in this camera firmware or USB hardware. I propose to close this and consider the M6 as not supported. |
Hello I have exact same issue on Canon EOS M3 ( firmware 1.1, 1.2.0 and 1.2.1). The get-config command works fine and I can launch a capture if I don't change the parameter |
currently a known issue without fix... also for M3 :/ |
I can confirm this issue on a EOS M3 as well. On my mobile I have the android app "Camera Connect and Control" installed. This app handles the M3 nicely. Is there a way do fix gphoto, by looking how this app handles the configuration of the EOS M series cameras? |
if you can get a sniffed traffic trace of this it would be nice. but android app goes over wifi, right? |
@msmeissn Yes, the Android App connects over wifi. On Monday I can setup Wireshark to sniff the traffic of the interaction with the M3. Does Gphoto support the connection over wifi for the M Series? Maybe a comparison of the traffic between the Android App and Gphoto for setting the exposure, capturing, etc. would be useful? I do not know if there is a big difference between the USB protocol and the WiFi protocol. |
The problem that the shutterspeed and other properties cannot be set is not present when the camera is connected over Wifi instead of USB. I connected in shell mode, as the camera is otherwise always exiting the remote control mode: When I tried to list the available config options, I did encounter a minor problem as Gphoto could not detect the camera:
which could be resolved by explicitly stating the camera model: |
Describe the bug
I try to get to get my M6 to work in Kstars/Ekos/Indi using libgphoto2. No image capture takes place, and most likely related to bulb mode. from logs it is clear that Indi is communicating well with the camera, so no basic USB connectivity issues expected. I have explored with gphoto2 and found this:
gphoto2 --capture-image -> success. Iamge taken and stored on SD card.
gphoto2 --capture-image --bulb=1 -> no capture takes place. error messages generated.
Steps taken to resolve:
Name the camera
Canon EOS M6
libgphoto2 and gphoto2 version
This version of gphoto2 is using the following software versions and options:
gphoto2 2.5.23 gcc, popt(m), exif, no cdk, no aa, jpeg, no readline
libgphoto2 2.5.23.1 standard camlibs (SKIPPING lumix), gcc, ltdl, EXIF
libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, EXIF, USB, serial without locking
To Reproduce
gphoto2 --capture-image --bulb=1
with the M6.
log file attached.
M6-bulb.txt
possibly relevant section of logging:
The text was updated successfully, but these errors were encountered: