gphoto2 icon indicating copy to clipboard operation
gphoto2 copied to clipboard

Error writing options to camera

Open ConPhoto opened this issue 3 years ago • 3 comments

Essentially I'm trying to do set longterm timelapse, but the focus on camera keeps shifting during course of the day. Ideally I'd set focus initially and then run something like: gphoto2 --set-config eosremoterelease=Immediate --capture-image-and-download

However I cannot set eosremoterelease to any of the options. Either by --set-config or through the python camera-config-gui.py I can change iso, and other camera setting through both of these ways but some camera options I get Error (0x2019: PTP Device Busy) On some errors it triggers the shutter. It feels like a permissions error

Canon 200D, 700D + RPi4, RPi3

libgphoto2 and gphoto2 version 2.5.27.1 2.5.22

ConPhoto avatar Apr 16 '21 15:04 ConPhoto

mixing eosremoterelease and capture-image-and-download is not recommend, (capture-image-and-download does its own eosremoterelease management).

use something like: gphoto2 --set-config eosremoterelease=Immediate --set-config eosremoterelease="Release Full" --wait-event-and-download=5s

perhaps.

msmeissn avatar Apr 18 '21 08:04 msmeissn

thanks. So, tried that, no shots fired. Reduced it to: gphoto2 --wait-event-and-download=5s --debug

Still no shots fired, so must be something else tripping it up instead (PTP Property!?!). Log attached Apols, not a coder, just curious with an appetite for digital problems :) Guessing here... something to do with PTP opcode? Listed in camera-config-gui.py as: 0x1001,0xparam1,Oxparam2

txt.log

ConPhoto avatar Apr 19 '21 09:04 ConPhoto

wait-event just waits and does not do actions. ... you need to have --set-config eosremoterelease=... in the commandline

e.g.: gphoto2 --set-config eosremoterelease=Immediate --set-config eosremoterelease="Release Full" --wait-event-and-download=5s

msmeissn avatar Apr 19 '21 14:04 msmeissn