After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 671906 - gvfs does not mount Galaxy Nexus phone
gvfs does not mount Galaxy Nexus phone
Status: RESOLVED INVALID
Product: gvfs
Classification: Core
Component: gphoto backend
1.10.x
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2012-03-12 14:26 UTC by Michael Chudobiak
Modified: 2012-03-12 18:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Chudobiak 2012-03-12 14:26:44 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
Comment 1 Michael Chudobiak 2012-03-12 15:37:39 UTC
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
Comment 2 Michael Chudobiak 2012-03-12 17:49:47 UTC
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
Comment 3 Michael Chudobiak 2012-03-12 18:25:10 UTC
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.