Package: libgphoto2-2
Version: 2.4.0-7.shai
Severity: normal
Tags: patch

Version 2.4.0 of libgphoto2 broke support for several Canon camares,
it seems, by using a parameter CANON_FAST_TIMEOUT whose value
seems to be set too low. The result is that libgphoto fails to
connect to the camera, reporting something like

  Error (-114: 'OS error in camera communication')

This is all reported in an upstream bug:
http://sourceforge.net/tracker/index.php?func=detail&aid=1790633&group_id=8874&atid=108874

The upstream bug includes a suggestion for a fix -- increase
the timeout constant. The fix seems to have helped the original
reporter, and he said so over two months ago; it seems to have
corrected the problem completely for me. So I'm filing this
bug, hoping to get the fix tested in debian as long as upstream
hesitates.

The fix: in file camlibs/canon/usb.c, line #75, instead of

#define CANON_FAST_TIMEOUT 75

put

#define CANON_FAST_TIMEOUT 750

Thanks,
        Shai.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libgphoto2-2 depends on:
ii  adduser                     3.105        add and remove users and groups
ii  libc6                       2.7-1        GNU C Library: Shared libraries
ii  libexif12                   0.6.16-2     library to parse EXIF files
ii  libgphoto2-port0            2.4.0-7.shai gphoto2 digital camera port librar
ii  libjpeg62                   6b-14        The Independent JPEG Group's JPEG 
ii  libltdl3                    1.5.24-1     A system independent dlopen wrappe

Versions of packages libgphoto2-2 recommends:
ii  udev                          0.114-2    /dev/ and hotplug management daemo

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to