Menu

#326 gphoto2 can not read from Kodak DC3400 with large memory

closed-fixed
None
5
2004-06-16
2004-03-21
No

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

Discussion

  • Heiner Eichmann

    Heiner Eichmann - 2004-03-21

    output of gphoto2 --list-files

     
  • Hubert Figuière

    Logged In: YES
    user_id=27487

    ok. thanks. will look at it.

     
  • Hubert Figuière

    • assigned_to: nobody --> hfiguiere
     
  • Hubert Figuière

    • status: open --> closed-fixed
     
  • Hubert Figuière

    Logged In: YES
    user_id=27487

    patch applied to CVS. Thanks a lot.

     

Log in to post a comment.