gphoto2 icon indicating copy to clipboard operation
gphoto2 copied to clipboard

Can not save photo on camera

Open alperenkilic opened this issue 2 years ago • 2 comments

Describe the bug When i run sudo gphoto2 --set-config eosremoterelease="Immediate" --set-config eosremoterelease="Release Full" on my mac, it saves photo on camera. But also i run same command sudo gphoto2 --set-config eosremoterelease="Immediate" --set-config eosremoterelease="Release Full" on my raspberry, it can not save on camera. How can i set default save location=camera ?

A clear and concise description of what the bug is.

CANON 1200d Canon EOS 1200D usb:001,007

libgphoto2 and gphoto2 version gphoto2 2.5.27 libgphoto2 2.5.27

To Reproduce Steps to reproduce the behavior:

Ekran Resmi 2022-02-18 10 46 56 Ekran Resmi 2022-02-18 10 47 47

alperenkilic avatar Feb 18 '22 07:02 alperenkilic

you need to change the capturetarget configuration on the system

gphoto2 --set-config capturetarget=1

would set SD card (=0 would be SDRAM)

msmeissn avatar Feb 18 '22 08:02 msmeissn

thanks my hero :) I have tried your advise, when i run command line it works. But did not work in script. Can you check it out this output: `+ take_photo

  • sudo gphoto2 --set-config capturetarget=1 --wait-event=5s Waiting for 5 seconds for events from camera. Press Ctrl-C to abort. UNKNOWN PTP Property d105 changed UNKNOWN PTP Property d108 changed UNKNOWN PTP Property d106 changed UNKNOWN PTP Property d107 changed UNKNOWN PTP Property d109 changed UNKNOWN PTP Property d10b changed UNKNOWN PTP Property d10c changed UNKNOWN PTP Property d10d changed UNKNOWN PTP Property d10e changed UNKNOWN PTP Property d10f changed UNKNOWN PTP Property d11b changed UNKNOWN PTP Property d114 changed UNKNOWN PTP Property d116 changed UNKNOWN PTP Property d119 changed UNKNOWN PTP Property d110 changed UNKNOWN PTP Property d101 changed UNKNOWN PTP Property d102 changed UNKNOWN PTP Property d103 changed UNKNOWN PTP Property d104 changed UNKNOWN PTP Property d11d changed UNKNOWN PTP Property d111 changed UNKNOWN PTP Property d112 changed UNKNOWN PTP Property d113 changed UNKNOWN PTP Property d120 changed UNKNOWN PTP Property d122 changed UNKNOWN PTP Property d156 changed UNKNOWN PTP Property d150 changed UNKNOWN PTP Property d151 changed UNKNOWN PTP Property d152 changed UNKNOWN PTP Property d153 changed UNKNOWN PTP Property d154 changed UNKNOWN PTP Property d155 changed UNKNOWN PTP Property d160 changed UNKNOWN PTP Property d161 changed UNKNOWN PTP Property d162 changed UNKNOWN PTP Property d11c changed UNKNOWN PTP Property d1a0 changed UNKNOWN PTP Property d1a1 changed UNKNOWN PTP Property d1a8 changed UNKNOWN PTP Property d1ab changed UNKNOWN PTP Property d1b0 changed UNKNOWN PTP Property d1b1 changed UNKNOWN PTP Property d1b2 changed UNKNOWN PTP Property d1b3 changed UNKNOWN PTP Property d1b4 changed UNKNOWN PTP Property d1b5 changed UNKNOWN PTP Property d1a9 changed UNKNOWN PTP Property d146 changed UNKNOWN PTP Property d1ac changed UNKNOWN PTP Property d11e changed UNKNOWN PTP Property d11f changed UNKNOWN PTP Property d1d9 changed UNKNOWN PTP Property d1ba changed UNKNOWN PTP Property d1ca changed UNKNOWN PTP Property d1bc changed UNKNOWN PTP Property d1b8 changed UNKNOWN FocusInfo eosversion=4,size=5184x3456,size2=5184x3456,points={{0,743,117,181},{-839,393,172,129},{839,393,172,129},{-1394,0,172,129},{0,0,224,222},{1394,0,172,129},{-839,-393,172,129},{839,-393,172,129},{0,-743,117,181}},select={},unknown={ff010000ffff} UNKNOWN PTP Property d1d8 changed UNKNOWN PTP Property d1b7 changed UNKNOWN PTP Property d1b9 changed UNKNOWN PTP Property d1db changed UNKNOWN PTP Property d1dc changed UNKNOWN PTP Property d1df changed UNKNOWN PTP Property d1bd changed UNKNOWN PTP Property d1c1 changed UNKNOWN PTP Property d1c0 changed UNKNOWN PTP Property d1bf changed UNKNOWN PTP Property d1c4 changed UNKNOWN PTP Property d1c2 changed UNKNOWN PTP Property d1c5 changed UNKNOWN PTP Property d194 changed UNKNOWN PTP Property d195 changed UNKNOWN PTP Property d196 changed UNKNOWN PTP Property d197 changed UNKNOWN PTP Property d198 changed UNKNOWN PTP Property d1c6 changed UNKNOWN PTP Property d1c8 changed UNKNOWN PTP Property d17c changed UNKNOWN PTP Property d17d changed UNKNOWN PTP Property d17e changed UNKNOWN PTP Property d138 changed UNKNOWN CTGInfoCheckComplete 0x00020001 UNKNOWN PTP Property d115 changed UNKNOWN PTP Property d1d0 changed UNKNOWN PTP Property d1d1 changed UNKNOWN PTP Property d1af changed
  • sleep 5
  • gphoto2 --set-config eosremoterelease=Immediate --set-config 'eosremoterelease=Release Full' --wait-event=5s Waiting for 5 seconds for events from camera. Press Ctrl-C to abort. UNKNOWN PTP Property d105 changed UNKNOWN PTP Property d108 changed UNKNOWN PTP Property d106 changed UNKNOWN PTP Property d107 changed UNKNOWN PTP Property d109 changed UNKNOWN PTP Property d10b changed UNKNOWN PTP Property d10c changed UNKNOWN PTP Property d10d changed UNKNOWN PTP Property d10e changed UNKNOWN PTP Property d10f changed UNKNOWN PTP Property d11b changed UNKNOWN PTP Property d114 changed UNKNOWN PTP Property d116 changed UNKNOWN PTP Property d119 changed UNKNOWN PTP Property d110 changed UNKNOWN PTP Property d101 changed UNKNOWN PTP Property d102 changed UNKNOWN PTP Property d103 changed UNKNOWN PTP Property d104 changed UNKNOWN PTP Property d11d changed UNKNOWN PTP Property d111 changed UNKNOWN PTP Property d112 changed UNKNOWN PTP Property d113 changed UNKNOWN PTP Property d120 changed UNKNOWN PTP Property d122 changed UNKNOWN PTP Property d156 changed UNKNOWN PTP Property d150 changed UNKNOWN PTP Property d151 changed UNKNOWN PTP Property d152 changed UNKNOWN PTP Property d153 changed UNKNOWN PTP Property d154 changed UNKNOWN PTP Property d155 changed UNKNOWN PTP Property d160 changed UNKNOWN PTP Property d161 changed UNKNOWN PTP Property d162 changed UNKNOWN PTP Property d11c changed UNKNOWN PTP Property d1a0 changed UNKNOWN PTP Property d1a1 changed UNKNOWN PTP Property d1a8 changed UNKNOWN PTP Property d1ab changed UNKNOWN PTP Property d1b0 changed UNKNOWN PTP Property d1b1 changed UNKNOWN PTP Property d1b2 changed UNKNOWN PTP Property d1b3 changed UNKNOWN PTP Property d1b4 changed UNKNOWN PTP Property d1b5 changed UNKNOWN PTP Property d1a9 changed UNKNOWN PTP Property d146 changed UNKNOWN PTP Property d1ac changed UNKNOWN PTP Property d11e changed UNKNOWN PTP Property d11f changed UNKNOWN PTP Property d1d9 changed UNKNOWN PTP Property d1ba changed UNKNOWN PTP Property d1ca changed UNKNOWN PTP Property d1bc changed UNKNOWN PTP Property d1b8 changed UNKNOWN FocusInfo eosversion=4,size=5184x3456,size2=5184x3456,points={{0,743,117,181},{-839,393,172,129},{839,393,172,129},{-1394,0,172,129},{0,0,224,222},{1394,0,172,129},{-839,-393,172,129},{839,-393,172,129},{0,-743,117,181}},select={},unknown={ff010000ffff} UNKNOWN PTP Property d1d8 changed UNKNOWN PTP Property d1b7 changed UNKNOWN PTP Property d1b9 changed UNKNOWN PTP Property d1db changed UNKNOWN PTP Property d1dc changed UNKNOWN PTP Property d1df changed UNKNOWN PTP Property d1bd changed UNKNOWN PTP Property d1c1 changed UNKNOWN PTP Property d1c0 changed UNKNOWN PTP Property d1bf changed UNKNOWN PTP Property d1c4 changed UNKNOWN PTP Property d1c2 changed UNKNOWN PTP Property d1c5 changed UNKNOWN PTP Property d194 changed UNKNOWN PTP Property d195 changed UNKNOWN PTP Property d196 changed UNKNOWN PTP Property d197 changed UNKNOWN PTP Property d198 changed UNKNOWN PTP Property d1c6 changed UNKNOWN PTP Property d1c8 changed UNKNOWN PTP Property d17c changed UNKNOWN PTP Property d17d changed UNKNOWN PTP Property d17e changed UNKNOWN PTP Property d138 changed UNKNOWN CTGInfoCheckComplete 0x00020001 UNKNOWN PTP Property d115 changed UNKNOWN PTP Property d1d0 changed UNKNOWN PTP Property d1d1 changed UNKNOWN PTP Property d1af changed UNKNOWN PTP Property d11b changed UNKNOWN PTP Property d11c changed UNKNOWN PTP Property d11b changed UNKNOWN PTP Property d11b changed UNKNOWN PTP Property d11c changed UNKNOWN PTP Property d11b changed UNKNOWN PTP Property d11c changed UNKNOWN PTP Property d11b changed UNKNOWN PTP Property d11b changed UNKNOWN PTP Property d102 changed UNKNOWN PTP Property d101 changed UNKNOWN PTP Property d103 changed UNKNOWN Camera Status 1 UNKNOWN PTP Property d11b changed FILEADDED capt0000.jpg / #---------> it must be "FILEADDED IMG_0002.JPG /store_00020001/DCIM/100CANON" CAPTURECOMPLETE UNKNOWN PTP Property d102 changed UNKNOWN PTP Property d101 changed UNKNOWN PTP Property d103 changed`

alperenkilic avatar Feb 18 '22 13:02 alperenkilic