From: SourceForge.net <no...@so...> - 2006-08-14 16:20:29
|
Feature Requests item #971447, was opened at 2004-06-11 23:55 Message generated for change (Comment added) made by carathje You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=358874&aid=971447&group_id=8874 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: camera support Group: None Status: Open Resolution: None Priority: 5 Submitted By: Ken Koehler (koehlekr) Assigned to: Stephen H. Westin (swestin) Summary: canon remote flash control Initial Comment: Using Canon G1 with libgphoto2-2.1.4 and gphoto2 to capture images for time-lapse movie. Problem is that camera uses flash for every capture. Have tried turning flash off with flash button on camera, but that apparently does not persist to remote capture. Software manual that comes with camera indicates that supplied windoze program can do this (see page 38 of Software Starter Guide, under Setting Basic Shooting Settings in RemoteCapture). Thanks in advance, Ken ---------------------------------------------------------------------- Comment By: Claas Anders Rathje (carathje) Date: 2006-08-14 18:20 Message: Logged In: YES user_id=1575504 Is there a possibility to add support for disableing flashlight for the Canon Powershot S40? It was not listed in "gphoto2 --config" but it is possible with the windows driver. I want to use my S40 as a high quality webcam but flashing every let's say 20secconds is a bad idea for a cam filming a coastline, could irritate some of the ships. tried libgphoto2-2.1.6 + gphoto2-2.1.6 and libgphoto2-2.2.1 + gphoto2-2.2.0 is there any information I could supply to get this feature added? Would be really nice to make images without flashlight and without windows ;) -- gphoto2 --list-config Detected a 'Canon:PowerShot S40'. /Camera and Driver Configuration/Camera/Camera Model (readonly) /Camera and Driver Configuration/Camera/Owner name /Camera and Driver Configuration/Camera/Date and Time (readonly) /Camera and Driver Configuration/Camera/Set camera date to PC date /Camera and Driver Configuration/Camera/Firmware revision (readonly) /Camera and Driver Configuration/Camera/Power (readonly) /Camera and Driver Configuration/Driver/List all files ---------------------------------------------------------------------- Comment By: Ken Koehler (koehlekr) Date: 2005-06-30 10:16 Message: Logged In: YES user_id=285862 diff -u of gphoto2 configure hack to allow it to build with cdk (second change may not be necessary; cdk was indeed only necessary for --config): --- configure~ 2005-06-23 00:24:59.000000000 -0400 +++ configure 2005-06-28 11:37:25.000000000 -0400 @@ -10621,7 +10621,7 @@ fi; if $try_cdk; then CPPFLAGS_save="$CPPFLAGS" - CPPFLAGS="-I$cdk_prefix/include $CPPFLAGS" + CPPFLAGS="-I$cdk_prefix/include -I$cdk_prefix/include/cdk $CPPFLAGS" if test "${ac_cv_header_cdk_cdk_h+set}" = set; then echo "$as_me:$LINENO: checking for cdk/cdk.h" >&5 echo $ECHO_N "checking for cdk/cdk.h... $ECHO_C" >&6 @@ -10761,7 +10761,7 @@ if test $ac_cv_header_cdk_cdk_h = yes; then have_cdk=true - CDK_CFLAGS="-I$cdk_prefix/include" + CDK_CFLAGS="-I$cdk_prefix/include -I$cdk_prefix/include/cdk" CDK_LIBS="-L$cdk_prefix/lib -lcdk -lncurses" cat >>confdefs.h <<\_ACEOF problem was that configure test compile was able to find cdk.h but not the includes referenced therein. Better fix is to probably to change the flags to -I$cdk_prefix/include/cdk and change cdk/cdh.h references to cdk.h. ---------------------------------------------------------------------- Comment By: Marcus Meissner (marcusmeissner) Date: 2005-06-30 07:13 Message: Logged In: YES user_id=48092 gphoto2 --list-config dos not require cdk ... anyway, this seems to be in the canon driver itself... so probably stephen westin knows more. can you also do a "diff -u" of your hack and attach it here please? ---------------------------------------------------------------------- Comment By: Ken Koehler (koehlekr) Date: 2005-06-29 22:31 Message: Logged In: YES user_id=285862 Believe exposure parameter setting may be impossible with a G1, but have implemented turning off the flash during remote capture by shamelessly borrowing from existing 2.1.6 code (canon.c in libgphoto2/camlibs/canon): 1246c1246 < #ifdef DEBUG_TINY_IMAGES --- > /* #ifdef DEBUG_TINY_IMAGES */ 1268,1271c1268,1271 < params[1] = 2; /* "Normal" compression */ < params[2] = 1; /* JPEG */ < params[3] = 2; /* small */ < params[4] = params[5] = 0; /* Self timer off */ --- > /* params[1] = 2; /\* "Normal" compression *\/ */ > /* params[2] = 1; /\* JPEG *\/ */ > /* params[3] = 2; /\* small *\/ */ > /* params[4] = params[5] = 0; /\* Self timer off *\/ */ 1273c1273 < params[7] = 0; /* Beep off */ --- > /* params[7] = 0; /\* Beep off *\/ */ 1279c1279 < #endif /* DEBUG_TINY_IMAGES */ --- > /* #endif /\* DEBUG_TINY_IMAGES *\/ */ Seems to do what I needed. Might I suggest a gphoto2 option "--no-flash" which does the above? Regards, Ken ---------------------------------------------------------------------- Comment By: Ken Koehler (koehlekr) Date: 2005-06-28 17:47 Message: Logged In: YES user_id=285862 Installed gphoto2/libgphoto2 2.1.6. Had to hack configure to recognize cdk so --config would work (added -I$cdk_prefix/include/cdk after -I$cdk_prefix/include). But get/set-config does nothing to allow me to control camera flash or exposure parameters. Request explanation or re-opening of request. Thanks in advance, Ken ---------------------------------------------------------------------- Comment By: Marcus Meissner (marcusmeissner) Date: 2005-05-08 17:36 Message: Logged In: YES user_id=48092 gphoto2/libgphoto2 2.1.6 have options to control that. either use gphoto2 --config for full screen ncurses ui, or --list-config and --get-config / --set-config on the cmdline. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=358874&aid=971447&group_id=8874 |