Usually gphoto2 --list-files works fine with my Kodak
DC3400 (working on FreeBSD 4.9). Recently I attached a
256 MB compact flash card. After filling this with lots
of photos, gphoto2 --list-files just dies (see attached
log). Obviously the reading of 258 bytes from the
\DCIM\100K3400\ returns an error (wich is not handled
correctly!). After some experiments, the following patch
---
work/libgphoto2-2.1.4/camlibs/kodak/dc240/dc240.h.orig
Sun Mar 21 16:50:59 2004
+++ work/libgphoto2-2.1.4/camlibs/kodak/dc240/dc240.h
Sun Mar 21 16:51:34 2004
@@ -1,5 +1,5 @@
-#define TIMEOUT 750
+#define TIMEOUT 2000
#define SLEEP_TIMEOUT 50
#define RETRIES 8
helped.
Heiner
output of gphoto2 --list-files
Logged In: YES
user_id=27487
ok. thanks. will look at it.
Logged In: YES
user_id=27487
patch applied to CVS. Thanks a lot.