From owner-freebsd-gnome@FreeBSD.ORG Fri Nov 9 06:26:19 2012 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A771AEA8 for ; Fri, 9 Nov 2012 06:26:19 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 85F858FC08 for ; Fri, 9 Nov 2012 06:26:19 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id qA96QH2f078628 for ; Thu, 8 Nov 2012 22:26:17 -0800 (PST) (envelope-from yuri@rawbw.com) Message-ID: <509CA209.6010604@rawbw.com> Date: Thu, 08 Nov 2012 22:26:17 -0800 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121107 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-gnome@freebsd.org Subject: How to mount MTP directory through fuse,gvfs,gphoto2 ? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2012 06:26:19 -0000 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