Package: libgphoto2-2
Version: 2.2.1-9
Severity: wishlist
Tags: patch

A friend of mine bought a Canon EOS 400D (after selling me his "old"
350D), and was surprised to see it not supported by libgphoto2.  I
googled for the USB ids, and came up with the following patch.
Apparently the 400D doesn't have a non-PTP mode.  The patch is
reported to work (although my friend uses testing and sees an
unsatisfiable versioned dependency on dbus).

diff -ru libgphoto2-2.2.1/camlibs/ptp2/library.c 
libgphoto2-2.2.1+lolando/camlibs/ptp2/library.c
--- libgphoto2-2.2.1/camlibs/ptp2/library.c     2006-11-01 17:38:48.000000000 
+0100
+++ libgphoto2-2.2.1+lolando/camlibs/ptp2/library.c     2006-11-01 
15:07:19.000000000 +0100@@ -533,6 +533,7 @@
         */
        {"Canon:EOS 350D (PTP mode)",           0x04a9, 0x30ee, 
PTPBUG_DCIM_WRONG_PARENT},
        {"Canon:EOS 350D",                      0x04a9, 0x30ef, 
PTPBUG_DCIM_WRONG_PARENT},
+       {"Canon:EOS 400D (PTP mode)",           0x04a9, 0x3110, 0},
        {"Canon:PowerShot S2 IS (PTP mode)",    0x04a9, 0x30f0, 
PTPBUG_DELETE_SENDS_EVENT},        {"Canon:Digital IXUS 700 (PTP mode)",   
0x04a9, 0x30f2, PTPBUG_DELETE_SENDS_EVENT},        {"Canon:PowerShot SD500 (PTP 
mode)",    0x04a9, 0x30f2, PTPBUG_DELETE_SENDS_EVENT},diff -ru 
libgphoto2-2.2.1/debian/changelog libgphoto2-2.2.1+lolando/debian/changelog
--- libgphoto2-2.2.1/debian/changelog   2006-11-01 17:38:48.000000000 +0100
+++ libgphoto2-2.2.1+lolando/debian/changelog   2006-11-01 14:56:34.000000000 
+0100
@@ -1,3 +1,9 @@
+libgphoto2 (2.2.1-9+lolando) unstable; urgency=low
+
+  * Added new USB id for Canon EOS 400D.
+
+ -- Roland Mas <[EMAIL PROTECTED]>  Wed,  1 Nov 2006 14:56:34 +0100
+
 libgphoto2 (2.2.1-9) unstable; urgency=low

   * camlibs/ptp2/library.c: added new USB id for Canon PowerShot A710 IS


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-xen-k7
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages libgphoto2-2 depends on:
ii  adduser                      3.99        Add and remove users and groups
ii  libc6                        2.3.6.ds1-7 GNU C Library: Shared libraries
ii  libexif12                    0.6.13-4    library to parse EXIF files
ii  libgphoto2-port0             2.2.1-9     gphoto2 digital camera port librar
ii  libjpeg62                    6b-13       The Independent JPEG Group's JPEG 
ii  libltdl3                     1.5.22-4    A system independent dlopen wrappe

Versions of packages libgphoto2-2 recommends:
ii  udev                          0.100-2.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