Bug#542124: gvfs-backends: gphoto2 backend confuses multiple stores with same name

Islam Amer pharon at gmail.com
Mon Aug 17 22:46:23 UTC 2009


Package: gvfs-backends
Version: 1.2.3-2
Severity: normal

I have a sony ericsson C905 mobile that I connect to my laptop using the usb cable and choose "phone mode". This mode exposes
two gphoto mounts for the phone memory and the memory card. However both are named the same, so the information such as free space
of one is reported for both. Unmounting one of them unmounts both.

The main problem is that free space on the phone memory is reported as free space on the memory card, so nautilus refuses to copy stuff 
complaining there isn't enough space although there is.

I will include output of several commands to try to clarify the situation :

this is the output of "gphoto2 --storage-info" when the device is plugged in but not mounted by nautilus :
[Storage 0]                                                                    
description=Phone Memory
basedir=/store_00010001
access=0 Read-Write
type=3 Fixed RAM
fstype=3 Generic Hierarchical
totalcapacity=179892 KB
free=99440 KB
freeimages=0
[Storage 1]
description=Memory Stick (TM)
basedir=/store_00020001
access=0 Read-Write
type=4 Removable RAM
fstype=4 Generic Hierarchical
totalcapacity=7876416 KB
free=4001856 KB
freeimages=0

When mounted in nautilus I get an error message
"Unable to mount Sony Ericsson Mobile Communications AB Sony Ericsson C905
Error initializing camera: -60: Could not lock the device"

and here's what gvfs sees using the command "gvfs-mount -l"
Volume(0): Sony Ericsson Mobile Communications AB Sony Ericsson C905
  Type: GProxyVolume (GProxyVolumeMonitorGPhoto2)
  Mount(0): Sony Ericsson Mobile Communications AB Sony Ericsson C905 -> gphoto2://[usb:001,007]/store_00010001
    Type: GProxyShadowMount (GProxyVolumeMonitorGPhoto2)
Volume(3): Sony Ericsson Mobile Communications AB Sony Ericsson C905
  Type: GProxyVolume (GProxyVolumeMonitorGPhoto2)
  Mount(0): Sony Ericsson Mobile Communications AB Sony Ericsson C905 -> gphoto2://[usb:001,007]/store_00020001
    Type: GProxyShadowMount (GProxyVolumeMonitorGPhoto2)

trying to get information about each using "gvfs-info -f gphoto2://[usb:001,007]/store_00010001"
attributes:
  filesystem::size: 184209408
  filesystem::free: 101826560
  filesystem::type: gphoto2
  filesystem::readonly: FALSE
  filesystem::use-preview: 1
  gvfs::backend: gphoto2

and "gvfs-info -f gphoto2://[usb:001,007]/store_00020001
attributes:
  filesystem::size: 184209408
  filesystem::free: 101826560
  filesystem::type: gphoto2
  filesystem::readonly: FALSE
  filesystem::use-preview: 1
  gvfs::backend: gphoto2

Please tell me if you need more info.

Thank you.

-- System Information:
Debian Release: squeeze/sid
  APT prefers experimental
  APT policy: (960, 'experimental'), (950, 'unstable'), (900, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-5.slh.1-sidux-amd64 (SMP w/2 CPU cores; PREEMPT)
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 gvfs-backends depends on:
ii  gvfs                      1.2.3-2        userspace virtual filesystem - ser
ii  libarchive1               2.6.2-1        Single library to read/write tar, 
ii  libavahi-client3          0.6.25-1       Avahi client library
ii  libavahi-common3          0.6.25-1       Avahi common library
ii  libavahi-glib1            0.6.25-1       Avahi glib integration library
ii  libbluetooth3             4.42-2         Library to use the BlueZ Linux Blu
ii  libc6                     2.9-25         GNU C Library: Shared libraries
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-1         simple interprocess messaging syst
ii  libexpat1                 2.0.1-4        XML parsing C library - runtime li
ii  libgconf2-4               2.26.2-3       GNOME configuration database syste
ii  libglib2.0-0              2.21.4-1       The GLib library of C routines
ii  libgnome-keyring0         2.26.1-1       GNOME keyring services library
ii  libgphoto2-2              2.4.6-1        gphoto2 digital camera library
ii  libgphoto2-port0          2.4.6-1        gphoto2 digital camera port librar
ii  libhal1                   0.5.13-3       Hardware Abstraction Layer - share
ii  libsmbclient              2:3.4.0-2+b1   shared library for communication w
ii  libsoup-gnome2.4-1        2.27.90-1      an HTTP library implementation in 
ii  libsoup2.4-1              2.27.90-1      an HTTP library implementation in 
ii  libxml2                   2.7.3.dfsg-2.1 GNOME XML library

gvfs-backends recommends no packages.

Versions of packages gvfs-backends suggests:
ii  obex-data-server              0.4.4-2    D-Bus service for OBEX client and 

-- no debconf information






More information about the pkg-gnome-maintainers mailing list