From 084892ce4e3f1d2f4e1d6e36900c30ec7a5cc20e Mon Sep 17 00:00:00 2001 From: Fredrik Date: Sat, 15 Dec 2001 15:18:28 +0000 Subject: [PATCH] forgot to mention that I changed canon_usb_dialogue() to read data the same way the windows driver does. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3521 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/canon/ChangeLog | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/camlibs/canon/ChangeLog b/camlibs/canon/ChangeLog index 6db649c7d..2f21f53c5 100644 --- a/camlibs/canon/ChangeLog +++ b/camlibs/canon/ChangeLog @@ -15,11 +15,20 @@ canon_usb_camera_init() when camstat is 'A'. Simplified canon_usb_camera_init() in general. - * usb.c: Moved the code from canon_usb_ready() to + * usb.c: + Moved the code from canon_usb_ready() to canon_usb_init() - canon_usb_ready() should send a 'ping' packet to check if the camera is alive instead of doing stuff like identification and key locking. + * usb.c: + Changed canon_usb_dialogue() to read responses in two + passes - one that reads as much as possible that is + divideable with 0x40 and then one that reads the + expected number of bytes modulus 0x40. This is what + the windows driver does and it appears some cameras + (EOS D30) likes this better. + 2001-12-06 Fredrik * canon.c, library.c: