[Pkg-phototools-devel] Bug#529704: Bug#529704: can no longer download photos from RAM on Canon Powershot S50

Anne C. Hanna orion at ugcs.caltech.edu
Sat May 23 03:40:53 UTC 2009


Marcus Meissner wrote:
>> $ canon_run.sh
> 
> This script needs to include
> 
> 	set-config capture=1   as first thing passed to gphoto2 --shell.
> [...]
> I dont understand the last 2 lines of canon_run.sh
> 
> 	gphoto2 --capture-image --interval  1 --hook-script /home/rafi/bin/test-hook.sh
> 	echo capture-image-and-download | gphoto2 -I 1 --filename "%y-%m-%d_%H:%M:%S.jpg" --hook-script ./test-hook.sh --shell
> 
> The --capture-image will not download, so not trigger the hook.
> 
> This could be just:
> 	gphoto2 --capture-image-and-download --interval  1 --hook-script /home/rafi/bin/test-hook.sh

Oops, sorry, that was the wrong version of the script; I forgot we'd left it in
a bit of a mess when we did testing to try to figure out what was going wrong.
In any case the combination of "set-config capture=1" and
"--capture-image-and-download" seems to have fixed things.  I wonder why it
worked with just --capture-image and without the set-config command before?

Anyway, thanks for your help.

 - Anne





More information about the Pkg-phototools-devel mailing list