From: Marcus M. <mei...@su...> - 2011-08-31 16:08:06
|
On Wed, Aug 31, 2011 at 09:01:34AM -0700, Daniel Fuller wrote: > Hi - > > Whenever I attempt to delete images from the card on the EOS 5D Mk II > it says its going to delete them but hangs. > > Here is the sequence of commands I'm using on the mac: > > > killall PTPCamera > > gphoto2 --set-config capture=on > > gphoto2 --set-config capturetarget=1 > > gphoto2 --get-config capturetarget > > Label: Capture Target > Type: RADIO > Current: Memory card > Choice: 0 Internal RAM > Choice: 1 Memory card > > > gphoto2 --capture-image --interval 3 --frames 3 > > Time-lapse mode enabled (interval: 3s). > Capturing frame #1/3... > New file is in location /store_00010001/DCIM/100EOS5D/IMG_0008.JPG on the camera > Waiting for next capture slot 0 seconds... > Capturing frame #2/3... > New file is in location /store_00010001/DCIM/100EOS5D/IMG_0009.JPG on the camera > Waiting for next capture slot 2 seconds... > Capturing frame #3/3... > New file is in location /store_00010001/DCIM/100EOS5D/IMG_0010.JPG on the camera > > > gphoto2 -f"/store_00010001/DCIM/100EOS5D" -L > > There are 3 files in folder '/store_00010001/DCIM/100EOS5D'. > #1 IMG_0008.JPG rd 1417 KB 5616x3744 image/jpeg > #2 IMG_0009.JPG rd 1341 KB 5616x3744 image/jpeg > #3 IMG_0010.JPG rd 1409 KB 5616x3744 image/jpeg > > >gphoto2 -f"/store_00010001/DCIM/100EOS5D" -D > > Deleting 'IMG_0010.JPG' from folder '/store_00010001/DCIM/100EOS5D'... > > ... but just hangs and does not return - I have to ctrl-c a few times > to make it respond ... > > > ^C > Cancelling... > > > ^C > > Aborting... > Aborted. > > Here is the version: > > > gphoto2 -v > gphoto2 2.4.10 > > Copyright (c) 2000-2010 Lutz Mueller and others > > gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may > redistribute copies of gphoto2 under the terms of the GNU General Public > License. For more information about these matters, see the files named COPYING. > > This version of gphoto2 is using the following software versions and options: > gphoto2 2.4.10 /usr/bin/gcc-4.2, popt(m), exif, no > cdk, no aa, jpeg, readline > libgphoto2 2.4.11 /usr/bin/gcc-4.2, ltdl, EXIF > libgphoto2_port 0.8.0 /usr/bin/gcc-4.2, ltdl, USB, serial > without locking Can you capture a debug trace? Add --debug --debug-logfile=delete.log to the commandline. It perhaps needs the PTPBUG_DELETE_SENDS_EVENT removed from its library.c entry: {"Canon:EOS 5D Mark II", 0x04a9, 0x3199, PTP_CAP|PTP_CAP_PREVIEW|PTPBUG_DELETE_SENDS_EVENT}, as additional interrupt reads where no interrupt happens on MacOS hang forever. :/ Ciao, Marcus |