Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Nov 2012 22:26:17 -0800
From:      Yuri <yuri@rawbw.com>
To:        freebsd-gnome@freebsd.org
Subject:   How to mount MTP directory through fuse,gvfs,gphoto2 ?
Message-ID:  <509CA209.6010604@rawbw.com>

index | next in thread | raw e-mail

I need to read the files from the smartphone, the protocol is MTP 
through usb link.
gphoto2 is able to see it:
$ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note 
usb:/dev/usb,/dev/ugen3.3
$ gphoto2 --list-files
There is no file in folder '/'.
There is no file in folder '/store_00010001'.
There is no file in folder '/store_00010001/.android_secure'.
...

However, I see that ubuntu is able to mount such folder automatically 
through fuse/gvfs/gphoto2. Even though this has issues and files can't 
be currently read from such folder on Ubuntu.

Is there any HOWTO about how to mount MTP folder through fuse/gvfs/gphoto2?

All my attempts to mount fail:

# gvfs-mount -d "gphoto2://[usb:/dev/usb,/dev/ugen3.3]/" gvfs-mountpoint/

(gvfs-mount:11851): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect 
to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive 
a reply. Possible causes include: the remote application did not send a 
reply, the message bus security policy blocked the reply, the reply 
timeout expired, or the network connection was broken.

(gvfs-mount:11851): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect 
to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive 
a reply. Possible causes include: the remote application did not send a 
reply, the message bus security policy blocked the reply, the reply 
timeout expired, or the network connection was broken.
No volume for device file gphoto2://[usb:/dev/usb,/dev/ugen3.3]/

dbus is running.
Anybody knows how to mount it?

9.1-RC3 amd64, kde4

Yuri


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?509CA209.6010604>