Package: libgphoto2-2
Version: 2.1.6-8
Severity: wishlist
Tags: patch

It'd be nice if my Canon Digital IXUS 55 were supported. The attached
patch should make this be the case. I failed at making libgphoto2-2
build from source (in general, not just with this patch), but I believe
it to be correct, based on this stanza of /proc/bus/usb/devices:

    T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 12 Spd=480 MxCh= 0
    D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
    P:  Vendor=04a9 ProdID=30ff Rev= 0.02
    S:  Manufacturer=Canon Inc.
    S:  Product=Canon Digital Camera
    C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
    I:  If#= 0 Alt= 0 #EPs= 3 Cls=06(still) Sub=01 Prot=01 Driver=(none)
    E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=64ms

Also, manually adding the following two lines (which I believe would be
what would be spewed by /usr/lib/libgphoto2/print-udev-rules if I could
make libgphoto2-2 build) to /etc/udev/libgphoto2.rules makes everything
just work:

    # Canon Digital IXUS 55 (PTP mode)
    SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="30ff", MODE="0660", 
GROUP="camera"

Thanks for your time.

wjt

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (600, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages libgphoto2-2 depends on:
ii  adduser                       3.85       Add and remove users and groups
ii  libc6                         2.3.6-3    GNU C Library: Shared libraries an
ii  libexif12                     0.6.13-4   library to parse EXIF files
ii  libgphoto2-port0              2.1.6-8    gphoto2 digital camera port librar
ii  libjpeg62                     6b-12      The Independent JPEG Group's JPEG 

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

-- no debconf information
--- libgphoto2-2.1.6-old/camlibs/ptp2/library.c	2006-04-13 01:22:10.000000000 +0100
+++ libgphoto2-2.1.6/camlibs/ptp2/library.c	2006-04-13 11:40:14.000000000 +0100
@@ -477,6 +477,8 @@
 	/* Nick Richards <[EMAIL PROTECTED]> */
  	{"Canon:Digital IXUS 50 (PTP mode)",    0x04a9, 0x310e, 0},
 
+	{"Canon:Digital IXUS 55 (PTP mode)",    0x04a9, 0x30ff, 0},
+
 	/* Konica-Minolta PTP cameras */
 	{"Konica-Minolta:DiMAGE A2 (PTP mode)",        0x132b, 0x0001, 0},
 	{"Konica-Minolta:DiMAGE Z2 (PictBridge mode)", 0x132b, 0x0007, 0},

Reply via email to