Bug#564540: gvfs-backends: Canon camera not auto mounted by gphoto2 backend, manually accessing gphoto2://[usb:id] works though

Diego Escalante Urrelo diegoe at gnome.org
Sun Jan 10 03:37:36 UTC 2010


Package: gvfs-backends
Version: 1.4.3-1
Severity: important


I'm running sid, with nautilus and friends up to date.
Since 1 or 2 months ago I'm unable to use my Canon Powershot A590 IS as always:
 1. plug it in via usb
 2. turn it on
 3. see nautilus automount it thanks to gphoto2 gvfs backend
 4. happiness

I remind that this broke around the time of 1.4.1-5, when HAL was apparently
removed from gvfs packages.

The current situation is:
 1. plug the camera via usb
 2. turn it on
 3. nothing happens

No unit is shown in nautilus' computer://, nor automount happens.

*HOWEVER* I can access my camera with nautilus by manually typying the camera
id, right now for example:
    nautilus gphoto2://[usb:001015]/

The camera is listed then as a mounted unit but just as "Digital Camera
(usb:001015)". I can access my photos and do stuff as usual.

The camera is accessible to f-spot or any application using gphoto2, even
gphoto2 itself:
    ~$ gphoto2 --auto-detect
    Modelo                         Puerto                                          
    ----------------------------------------------------------
    Canon PowerShot A590 IS        usb:  

lsusb sees it without problem:
    ~$ lsusb
    Bus 003 Device 003: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 016: ID 04a9:3176 Canon, Inc. PowerShot A590
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

and udev (set to debug log level) prints this to daemon.log:

    udevd[2051]: seq 1305 queued, 'add' 'usb'
    udevd[2051]: passed 273 bytes to monitor 0x836e1f0
    udevd-work[2932]: seq 1305 running
    udevd-work[2932]: device 0x836e0a8 has devpath '/devices/pci0000:00/0000:00:1d.7/usb1/1-4'
    udevd-work[2932]: device 0x837cec0 has devpath '/devices/pci0000:00/0000:00:1d.7/usb1'
    udevd-work[2932]: device 0x836e358 has devpath '/devices/pci0000:00/0000:00:1d.7'
    udevd-work[2932]: device 0x836e280 has devpath '/devices/pci0000:00'
    udevd-work[2932]: GROUP 46 /etc/udev/rules.d/025_libgphoto2.rules:160
    udevd-work[2932]: MODE 0664 /etc/udev/rules.d/025_libgphoto2.rules:160
    udevd-work[2932]: PROGRAM 'check-ptp-camera 06/01/01' /etc/udev/rules.d/025_libgphoto2.rules:967
    udevd-work[2932]: 'check-ptp-camera 06/01/01' started
    udevd[2051]: seq 1306 queued, 'add' 'usb'
    udevd-work[2932]: 'check-ptp-camera 06/01/01' returned with exitcode 0
    udevd-work[2932]: GROUP 46 /etc/udev/rules.d/025_libgphoto2.rules:967
    udevd-work[2932]: MODE 0664 /etc/udev/rules.d/025_libgphoto2.rules:967
    udevd-work[2932]: GROUP 119 /etc/udev/rules.d/10-vboxdrv.rules:3
    udevd-work[2932]: MODE 0664 /etc/udev/rules.d/10-vboxdrv.rules:3
    udevd-work[2932]: LINK 'char/189:16' /lib/udev/rules.d/50-udev-default.rules:2
    udevd-work[2932]: file '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4/descriptors' appeared after 0 loops
    udevd-work[2932]: NAME 'bus/usb/001/017' /lib/udev/rules.d/50-udev-default.rules:37
    udevd-work[2932]: IMPORT 'usb_id --export /devices/pci0000:00/0000:00:1d.7/usb1/1-4' /lib/udev/rules.d/70-acl.rules:8
    udevd-work[2932]: 'usb_id --export /devices/pci0000:00/0000:00:1d.7/usb1/1-4' started
    usb_id[8783]: custom logging function 0x8ca3008 registered
    usb_id[8783]: device 0x8ca30a0 has devpath '/devices/pci0000:00/0000:00:1d.7/usb1/1-4'
    udevd-work[2932]: '/lib/udev/usb_id' (stdout) 'ID_VENDOR=Canon_Inc.'
    udevd-work[2932]: '/lib/udev/usb_id' (stdout) 'ID_VENDOR_ENC=Canon\x20Inc.'
    udevd-work[2932]: '/lib/udev/usb_id' (stdout) 'ID_VENDOR_ID=04a9'
    udevd-work[2932]: '/lib/udev/usb_id' (stdout) 'ID_MODEL=Canon_Digital_Camera'
    udevd-work[2932]: '/lib/udev/usb_id' (stdout) 'ID_MODEL_ENC=Canon\x20Digital\x20Camera'
    udevd-work[2932]: '/lib/udev/usb_id' (stdout) 'ID_MODEL_ID=3176'
    udevd-work[2932]: '/lib/udev/usb_id' (stdout) 'ID_REVISION=0002'
    udevd-work[2932]: '/lib/udev/usb_id' (stdout) 'ID_SERIAL=Canon_Inc._Canon_Digital_Camera_EBFB2B4D7FCE405BA68274C630705D7A'
    udevd-work[2932]: '/lib/udev/usb_id' (stdout) 'ID_SERIAL_SHORT=EBFB2B4D7FCE405BA68274C630705D7A'
    udevd-work[2932]: '/lib/udev/usb_id' (stdout) 'ID_BUS=usb'
    udevd-work[2932]: '/lib/udev/usb_id' (stdout) 'ID_USB_INTERFACES=:060101:'
    udevd-work[2932]: 'usb_id --export /devices/pci0000:00/0000:00:1d.7/usb1/1-4' returned with exitcode 0
    udevd-work[2932]: RUN 'udev-acl --action=$env{ACTION} --device=$env{DEVNAME}' /lib/udev/rules.d/70-acl.rules:73
    udevd-work[2932]: RUN 'socket:@/org/freedesktop/hal/udev_event' /lib/udev/rules.d/90-hal.rules:2
    udevd-work[2932]: MODE 0664 /lib/udev/rules.d/91-permissions.rules:41
    udevd-work[2932]: created db file for '/devices/pci0000:00/0000:00:1d.7/usb1/1-4' in '/dev/.udev/db/usb:1-4'
    udevd-work[2932]: creating device node '/dev/bus/usb/001/017', devnum=189:16, mode=0664, uid=0, gid=119
    udevd-work[2932]: mknod(/dev/bus/usb/001/017, 020664, (189,16))
    udevd-work[2932]: chmod(/dev/bus/usb/001/017, 020664)
    udevd-work[2932]: chown(/dev/bus/usb/001/017, 0, 119)
    udevd-work[2932]: creating symlink '/dev/char/189:16' to '../bus/usb/001/017'
    udevd-work[2932]: 'udev-acl --action=add --device=/dev/bus/usb/001/017' started
    udevd-work[2932]: 'udev-acl --action=add --device=/dev/bus/usb/001/017' returned with exitcode 0
    udevd-work[2932]: passed 664 bytes to monitor 0x836e748
    udevd-work[2932]: passed -1 bytes to monitor 0x837cf58
    udevd-work[2932]: seq 1305 processed with 0
    udevd[2051]: seq 1305 done with 0
    udevd[2051]: passed 290 bytes to monitor 0x836e1f0
    udevd-work[2932]: seq 1306 running
    udevd-work[2932]: RUN '/sbin/modprobe -b $env{MODALIAS}' /lib/udev/rules.d/80-drivers.rules:7
    udevd-work[2932]: RUN 'socket:@/org/freedesktop/hal/udev_event' /lib/udev/rules.d/90-hal.rules:2
    udevd-work[2932]: '/sbin/modprobe -b usb:v04A9p3176d0002dc00dsc00dp00ic06isc01ip01' started
    udevd-work[2932]: '/sbin/modprobe' (stderr) 'FATAL: Module usb:v04A9p3176d0002dc00dsc00dp00ic06isc01ip01 not found.'
    udevd-work[2932]: '/sbin/modprobe -b usb:v04A9p3176d0002dc00dsc00dp00ic06isc01ip01' returned with exitcode 1
    udevd-work[2932]: passed 312 bytes to monitor 0x836e518
    udevd-work[2932]: passed -1 bytes to monitor 0x837cf58
    udevd-work[2932]: seq 1306 processed with 0
    udevd[2051]: seq 1306 done with 0

The FATAL warning regarding loading the usb:devid module seems to be
irrelevant, I tried cheating udev with an alias in /etc/modules/aliases.conf,
the warning was supressed but there was no difference. I'm sure my camera
doesn't require any special module, otherwise manually pointing nautilus to the
device id wouldn't work.

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

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=es_PE.UTF-8, LC_CTYPE=es_PE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gvfs-backends depends on:
ii  gvfs                        1.4.3-1      userspace virtual filesystem - ser
ii  libarchive1                 2.6.2-1      Single library to read/write tar, 
ii  libavahi-client3            0.6.25-2     Avahi client library
ii  libavahi-common3            0.6.25-2     Avahi common library
ii  libavahi-glib1              0.6.25-2     Avahi glib integration library
ii  libbluetooth3               4.57-1       Library to use the BlueZ Linux Blu
ii  libc6                       2.10.2-4     Embedded GNU C Library: Shared lib
ii  libcdio-cdda0               0.81-4       library to read and control digita
ii  libcdio-paranoia0           0.81-4       library to read digital audio CDs 
ii  libcdio10                   0.81-4       library to read and control CD-ROM
ii  libdbus-1-3                 1.2.16-2     simple interprocess messaging syst
ii  libdbus-glib-1-2            0.82-2       simple interprocess messaging syst
ii  libexpat1                   2.0.1-7      XML parsing C library - runtime li
ii  libgconf2-4                 2.28.0-1     GNOME configuration database syste
ii  libglib2.0-0                2.23.1-1     The GLib library of C routines
ii  libgphoto2-2                2.4.6-1      gphoto2 digital camera library
ii  libgphoto2-port0            2.4.6-1      gphoto2 digital camera port librar
ii  libgudev-1.0-0              150-2        GObject-based wrapper library for 
ii  libsmbclient                2:3.4.3-2    shared library for communication w
ii  libsoup-gnome2.4-1          2.29.3-1     an HTTP library implementation in 
ii  libsoup2.4-1                2.29.3-1     an HTTP library implementation in 
ii  libxml2                     2.7.6.dfsg-1 GNOME XML library

gvfs-backends recommends no packages.

Versions of packages gvfs-backends suggests:
ii  obexd-client                  0.14-1     D-Bus OBEX client

-- no debconf information






More information about the pkg-gnome-maintainers mailing list