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

Marcus Meissner meissner at suse.de
Fri May 22 09:50:39 UTC 2009


> > I can't see any relevant to that problem in the changelog of libgphoto2
> > 2.4.6, which you can find in unstable, but you may want to try that
> > version anyway?
> 
> I generally run unstable, and I did an upgrade last night, which seems to have
> brought libgphoto2 to version 2.4.6-1, but gphoto2 is still at 2.4.5-2, with
> nothing newer listed as currently available.  With these versions I still see
> the problem I described.

libgphoto2 is the driver containing library, gphoto2 is still at 2.4.5.
 
> $ canon_run.sh

This script needs to include

	set-config capture=1   as first thing passed to gphoto2 --shell.


> Label: Capture Settings
> gphoto2: {/home/orion} /> 
> test-hook.sh: INIT
> test-hook.sh: START                                                            
> Time-lapse mode enabled (interval: 1s).
> Capturing frame #1...
> New file is in location /store_80000001/capt0000.jpg on the camera             
> not sleeping (21 seconds behind schedule)

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





More information about the Pkg-phototools-devel mailing list