Open zachariaserlandsson opened 3 years ago
Tested now with version 2.5.27
as well. Same behavior encountered however :disappointed: Some logging was output in the terminal when the shutter was pressed. Between two lines of >>>>...
, the manual shutter on the camera was pressed.
I have not been able to make this work on my side yet on the EOS M100. (The EOS M6 Mark2 can do it.)
It might need some settings we do not know yet though.
I have not been able to make this work on my side yet on the EOS M100. (The EOS M6 Mark2 can do it.)
It might need some settings we do not know yet though.
Thank you for your response! I see, righty. Do you encounter the same issue for the EOS M100, i.e. display going black and not being able to take any photos? Sounds indeed reasonable that some settings could be played a bit with, let me know if there is something specific that you want me to try and I'll look into it! :detective:
@msmeissn Not sure if this is valuable to you somehow, but tried on another Canon model that I own - the EOS 750D - and --capture-tethered
worked wonders straight out of the box :) Do you happen to know on which models it does work for? And which models it does not? It might guide me a bit when it comes to buying a new camera eventually, that's why I'm asking. Thanks again!
it works for all regular EOS (and EOS R).
For EOS M so far it only works on the EOS M6 Mark2, no others.
it works for all regular EOS (and EOS R).
For EOS M so far it only works on the EOS M6 Mark2, no others.
I see, thank you for the heads up :clap:
Hello!
First of all, thank you for an amazing tool! :pray:
Describe the bug I'm currently facing an issue with implementing a new feature for my Canon EOS M50. Previously, I've been triggering events in my camera from within
gphoto2
, which works fine (using--trigger-capture
). However, now I'm trying to do stuff based on user action from the actual camera itself, i.e. when a capture is triggered from the actual camera. To do this, I'm using thegphoto2
command together with the optioms--capture-tethered --hook-script=dummyScript.sh
.dummyScript.sh
is a shell script that simply prints "Hello world" and exits with code 0. I've gotten the--hook-script
option to work together with--trigger-capture
, but not together with--capture-tethered
. Using--capture-tethered
as the only option for thegphoto2
call, the LCD screen on the camera goes pitch black. If I switch camera modes back and forth, the LCD screen instead shows the message "BUSY" when I try to trigger a capture. I've tried with several different arguments for--capture-tethered
;"FILEADDED"
and times in seconds. The camera unfreezes once the timer runs out, if I specify 10 seconds for example.Do you have any clues to what might cause this? I'm running
gphoto2
andlibgphoto2
version2.5.23
at the moment.To Reproduce Plug in a Canon EOS M50 with USB and run
gphoto2 --capture-tethered --hook-script=script.sh
with some script confirmed to work.Do you want anything more from my side in order to be able to investigate this more easily?