[Pkg-phototools-devel] Bug#616648: libgphoto2-2: can't import photo using udev/gvfs/gio/... stack anymore

Yves-Alexis Perez corsac at debian.org
Sun Mar 6 09:57:34 UTC 2011


Package: libgphoto2-2
Version: 2.4.10.1-5
Severity: normal

Ok, I'm reporting against libgphoto2-2 because it was the most recently
updated one but it might not be the real one.

My photo setup is:

* a Canon EOS 350D camera
* my laptop using Xfce and gthumb

The switch to the gio/gvfs-enabled gthumb was a bit painful but in the
end it did work fine: gthumb need the camera to be “gvfs-mounted” before
but I managed to do that just fine.

Now it doesn't work anymore, and the problem seems to be that the device
is not mountable at all:

For example, right now, the camera is plugged in and udevadm info
--exportdb reports:

P: /devices/pci0000:00/0000:00:1d.7/usb2/2-1
N: bus/usb/002/006
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb2/2-1
E: MAJOR=189
E: MINOR=133
E: DEVNAME=/dev/bus/usb/002/006
E: DEVTYPE=usb_device
E: DRIVER=usb
E: DEVICE=/proc/bus/usb/002/006
E: PRODUCT=4a9/30ef/2
E: TYPE=0/0/0
E: BUSNUM=002
E: DEVNUM=006
E: SUBSYSTEM=usb
E: ID_VENDOR_FROM_DATABASE=Canon, Inc.
E: ID_MODEL_FROM_DATABASE=EOS 350D (ptp)
E: ID_VENDOR=Canon_Inc.
E: ID_VENDOR_ENC=Canon\x20Inc.
E: ID_VENDOR_ID=04a9
E: ID_MODEL=Canon_Digital_Camera
E: ID_MODEL_ENC=Canon\x20Digital\x20Camera
E: ID_MODEL_ID=30ef
E: ID_REVISION=0002
E: ID_SERIAL=Canon_Inc._Canon_Digital_Camera
E: ID_BUS=usb
E: ID_USB_INTERFACES=:060101:
E: ID_GPHOTO2=1
E: GPHOTO2_DRIVER=PTP
E: TAGS=:udev-acl:

P: /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0
E: DEVTYPE=usb_interface
E: DEVICE=/proc/bus/usb/002/006
E: PRODUCT=4a9/30ef/2
E: TYPE=0/0/0
E: INTERFACE=6/1/1
E: MODALIAS=usb:v04A9p30EFd0002dc00dsc00dp00ic06isc01ip01
E: SUBSYSTEM=usb
E: ID_VENDOR_FROM_DATABASE=Canon, Inc.
E: ID_MODEL_FROM_DATABASE=EOS 350D (ptp)

with:

crw-rw-r--+ 1 root root 189, 133  6 mars  10:52 /dev/bus/usb/002/006

Trying to gvfs-mount this fails with:

gvfs-mount -d /dev/bus/usb/002/006
No volume for device file /dev/bus/usb/002/006

Not sure if it's relevant, but nothing camera-related appears in udisks --dump.

If you need more info please ask. If that needs to be reassigned to
gvfs/glib/udev stuff, feel free to do so.

Regards,
-- 
Yves-Alexis

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libgphoto2-2 depends on:
ii  adduser                       3.112+nmu2 add and remove users and groups
ii  libc6                         2.11.2-13  Embedded GNU C Library: Shared lib
ii  libexif12                     0.6.19-1   library to parse EXIF files
ii  libgphoto2-port0              2.4.10.1-5 gphoto2 digital camera port librar
ii  libjpeg62                     6b1-1      The Independent JPEG Group's JPEG 
ii  libltdl7                      2.2.6b-2   A system independent dlopen wrappe

Versions of packages libgphoto2-2 recommends:
pn  libgphoto2-l10n               <none>     (no description available)
ii  udev                          166-1      /dev/ and hotplug management daemo

Versions of packages libgphoto2-2 suggests:
ii  gphoto2                       2.4.10-2   The gphoto2 digital camera command

-- no debconf information





More information about the Pkg-phototools-devel mailing list