GNOME Bugzilla – Bug 671906
gvfs does not mount Galaxy Nexus phone
Last modified: 2012-03-12 18:25:10 UTC
I have an Android phone. Nothing happens when I plug it in using the USB cable. gphoto2 sees it, but gvfs does not mount it. There are photos on it that I would like to import through gThumb, which uses gvfs. Let me know what debugging info I can provide. gvfs-gphoto2-1.10.1-3.fc16.x86_64 [root@xena mjc]# gphoto2 --version gphoto2 2.4.11 gcc, popt(m), exif, no cdk, no aa, jpeg, readline libgphoto2 2.4.13 gcc, ltdl, EXIF libgphoto2_port 0.8.0 gcc, ltdl, USB (libusb0), serial without locking [root@xena mjc]# gphoto2 -a Abilities for camera : Samsung Galaxy Nexus/Galaxy S i9000, Android 4.0 updates Serial port support : no USB support : yes Capture choices : : Capture not supported by the driver Configuration support : no Delete selected files on camera : yes Delete all files on camera : no File preview (thumbnail) support : no File upload support : yes [root@xena mjc]# gphoto2 -L | grep -C 1 IMG There is 1 file in folder '/store_00010001/DCIM/Camera'. #40 IMG_20120312_095714.jpg rd 1092 KB image/jpeg
Manual mounting seems to work: [mjc@xena ~]$ gvfs-mount "gphoto2://[usb:001,004]/" [mjc@xena ~]$ ll .gvfs/gphoto2\ mount\ on\ usb%3A001\,004/ total 0 drwx------. 1 mjc mjc 0 Dec 31 1969 Alarms drwx------. 1 mjc mjc 0 Dec 31 1969 Android drwx------. 1 mjc mjc 0 Dec 31 1969 bcnav drwx------. 1 mjc mjc 0 Dec 31 1969 data drwx------. 1 mjc mjc 0 Dec 31 1969 DCIM drwx------. 1 mjc mjc 0 Dec 31 1969 Download drwx------. 1 mjc mjc 0 Dec 31 1969 factory.widgets.skins drwx------. 1 mjc mjc 0 Dec 31 1969 LazyList drwx------. 1 mjc mjc 0 Dec 31 1969 lightflow drwx------. 1 mjc mjc 0 Dec 31 1969 Movies drwx------. 1 mjc mjc 0 Dec 31 1969 Music drwx------. 1 mjc mjc 0 Dec 31 1969 Notifications drwx------. 1 mjc mjc 0 Dec 31 1969 Pictures drwx------. 1 mjc mjc 0 Dec 31 1969 Podcasts drwx------. 1 mjc mjc 0 Dec 31 1969 Ringtones [mjc@xena ~]$ gvfs-info "gphoto2://[usb:001,004]/" display name: Galaxy name: Galaxy type: directory size: 0 attributes: standard::type: 2 standard::name: Galaxy standard::display-name: Galaxy standard::icon: folder standard::content-type: inode/directory standard::size: 0 id::filesystem: gphoto2:host=%5Busb%3A001%2C004%5D access::can-read: TRUE access::can-write: TRUE access::can-execute: TRUE access::can-delete: TRUE access::can-trash: FALSE access::can-rename: FALSE
More info: [mjc@xena ~]$ gvfs-mount -li Mount(0): Galaxy -> gphoto2://[usb:001,015]/ Type: GDaemonMount default_location=gphoto2://[usb:001,015]/ themed icons: [multimedia-player] [multimedia] x_content_types: x-content/audio-player can_unmount=1 can_eject=0 is_shadowed=0
Gah... I found that it is possible to switch the phone to PTP mode, which works just fine with gvfs/gphoto/gthumb. It "just works". Something is terribly wrong with the default MTP mode, however. I'm not going to pursue that, so I'll close the bug.