When I connect my phone via usb, gnome (or more exactly, mate) pops up a window which displays 2 icons named: internal storage sd card
however, mount command does not show them mounted.
I want to browse them via the terminal cli interface.
How do I force mate or gnome to mount them the traditional way?
When I click on internal storage icon, the pathname in the gui is displayed as mtp://[usb:002,005]/Internal%20storage and sd card is displayed as mtp://[usb:002,005]/SD%20Card
Thanx for any info on how to achieve what I want to do.
On Sun, 2015-02-15 at 15:46 -0700, jd1008 wrote:
When I connect my phone via usb, gnome (or more exactly, mate) pops up a window which displays 2 icons named: internal storage sd card
however, mount command does not show them mounted.
I want to browse them via the terminal cli interface.
How do I force mate or gnome to mount them the traditional way?
When I click on internal storage icon, the pathname in the gui is displayed as mtp://[usb:002,005]/Internal%20storage and sd card is displayed as mtp://[usb:002,005]/SD%20Card
Thanx for any info on how to achieve what I want to do.
yum install simple-mtpfs
poc
On 02/15/2015 04:53 PM, Patrick O'Callaghan wrote:
On Sun, 2015-02-15 at 15:46 -0700, jd1008 wrote:
When I connect my phone via usb, gnome (or more exactly, mate) pops up a window which displays 2 icons named: internal storage sd card
however, mount command does not show them mounted.
I want to browse them via the terminal cli interface.
How do I force mate or gnome to mount them the traditional way?
When I click on internal storage icon, the pathname in the gui is displayed as mtp://[usb:002,005]/Internal%20storage and sd card is displayed as mtp://[usb:002,005]/SD%20Card
Thanx for any info on how to achieve what I want to do.
yum install simple-mtpfs
poc
Thanx Patrick. Unfortunately, it tells me I am not privileged, so I have to su to do the mounting. Not a big deal, but I think that it should not require root privs.
Cheers,
JD
On Sun, 2015-02-15 at 18:50 -0700, jd1008 wrote:
On 02/15/2015 04:53 PM, Patrick O'Callaghan wrote:
On Sun, 2015-02-15 at 15:46 -0700, jd1008 wrote:
When I connect my phone via usb, gnome (or more exactly, mate) pops up a window which displays 2 icons named: internal storage sd card
however, mount command does not show them mounted.
I want to browse them via the terminal cli interface.
How do I force mate or gnome to mount them the traditional way?
When I click on internal storage icon, the pathname in the gui is displayed as mtp://[usb:002,005]/Internal%20storage and sd card is displayed as mtp://[usb:002,005]/SD%20Card
Thanx for any info on how to achieve what I want to do.
yum install simple-mtpfs
poc
Thanx Patrick. Unfortunately, it tells me I am not privileged, so I have to su to do the mounting. Not a big deal, but I think that it should not require root privs.
For some background on MTP, see the discussion at:
http://comments.gmane.org/gmane.linux.redhat.fedora.general/440860
poc
Patrick O'Callaghan writes:
On Sun, 2015-02-15 at 15:46 -0700, jd1008 wrote:
When I connect my phone via usb, gnome (or more exactly, mate) pops up a window which displays 2 icons named: internal storage sd card
however, mount command does not show them mounted.
I want to browse them via the terminal cli interface.
How do I force mate or gnome to mount them the traditional way?
When I click on internal storage icon, the pathname in the gui is displayed as mtp://[usb:002,005]/Internal%20storage and sd card is displayed as mtp://[usb:002,005]/SD%20Card
Thanx for any info on how to achieve what I want to do.
yum install simple-mtpfs
This won't work, of course, if your USB device is really a USB storage device that Gnome has decided, for some dumb reason, is really an MTP only device.
This is what F21's Gnome decided my MP3 player was. After updating to F21, I could not mount my MP3 player any more. What was, for several years, a USB storage device, was now allegedly an MTP device. Which works as well as you can probably expect.
After I received no response to my bug report, I simply bit the bullet and switched my last workstation to XFCE. Unlike Gnome, F21's XFCE desktop can mount my MP3 player just fine, with no issues.
On 02/16/2015 06:30 PM, Sam Varshavchik wrote:
Patrick O'Callaghan writes:
On Sun, 2015-02-15 at 15:46 -0700, jd1008 wrote:
When I connect my phone via usb, gnome (or more exactly, mate) pops up a window which displays 2 icons named: internal storage sd card
however, mount command does not show them mounted.
I want to browse them via the terminal cli interface.
How do I force mate or gnome to mount them the traditional way?
When I click on internal storage icon, the pathname in the gui is displayed as mtp://[usb:002,005]/Internal%20storage and sd card is displayed as mtp://[usb:002,005]/SD%20Card
Thanx for any info on how to achieve what I want to do.
yum install simple-mtpfs
This won't work, of course, if your USB device is really a USB storage device that Gnome has decided, for some dumb reason, is really an MTP only device.
This is what F21's Gnome decided my MP3 player was. After updating to F21, I could not mount my MP3 player any more. What was, for several years, a USB storage device, was now allegedly an MTP device. Which works as well as you can probably expect.
After I received no response to my bug report, I simply bit the bullet and switched my last workstation to XFCE. Unlike Gnome, F21's XFCE desktop can mount my MP3 player just fine, with no issues.
In my case then, it is mate DT that is the guilty party. I am loath to switch to xfce or lxde just for the darned phone. I am certainly no happy with the directions that DT's seem to be heading. One solution I found is that I have a flash reader/writer usb adapter and that gets mounted like traditional flash disks. I can remove the flash from the phone and put it in the adapter and slip it into my laptop's usb port.
Cheers,
JD
On 02/15/2015 04:46 PM, jd1008 wrote:
How do I force mate or gnome to mount them the traditional way?
Why? So you can access them via terminal? Just stick with gvfs MTP (installed by default with Gnome) and you can find the mounted file system in your /run folder:
/run/user/$UID/gvfs
On 02/16/2015 07:20 AM, Michael Cronenworth wrote:
On 02/15/2015 04:46 PM, jd1008 wrote:
How do I force mate or gnome to mount them the traditional way?
Why? So you can access them via terminal? Just stick with gvfs MTP (installed by default with Gnome) and you can find the mounted file system in your /run folder:
/run/user/$UID/gvfs
Well Michael, I am a mate user, because I loath what the devs did to gnome 3. I hope the mate devs pick up this issue and start mounting my phone storage the traditional way, rather than for me to manually run simple-mtpfs
On 02/16/2015 07:20 AM, Michael Cronenworth wrote:
On 02/15/2015 04:46 PM, jd1008 wrote:
How do I force mate or gnome to mount them the traditional way?
Why? So you can access them via terminal? Just stick with gvfs MTP (installed by default with Gnome) and you can find the mounted file system in your /run folder:
/run/user/$UID/gvfs
I have these mtp packages installed simple-mtpfs-0.2-3.fc21.x86_64 gvfs-mtp-1.22.3-2.fc21.x86_64 libmtp-1.1.8-1.fc21.x86_64
and still, pluging in my phone does automount the phone storage.
In the files /usr/share/dbus-1/services/org.gtk.Private.MTPVolumeMonitor.service contains: [D-BUS Service] Name=org.gtk.Private.MTPVolumeMonitor Exec=/usr/libexec/gvfs-mtp-volume-monitor
/usr/share/gvfs/mounts/mtp.mount contains: [Mount] Type=mtp Exec=/usr/libexec/gvfsd-mtp AutoMount=true
/usr/share/gvfs/remote-volume-monitors/mtp.monitor contains: [RemoteVolumeMonitor] Name=GProxyVolumeMonitorMTP DBusName=org.gtk.Private.MTPVolumeMonitor IsNative=true
So, what is wrong here, such that /usr/libexec/gvfs-mtp-volume-monitor is not executing /usr/libexec/gvfsd-mtp to mount the device?
On 02/16/2015 10:42 AM, jd1008 wrote:
On 02/16/2015 07:20 AM, Michael Cronenworth wrote:
On 02/15/2015 04:46 PM, jd1008 wrote:
How do I force mate or gnome to mount them the traditional way?
Why? So you can access them via terminal? Just stick with gvfs MTP (installed by default with Gnome) and you can find the mounted file system in your /run folder:
/run/user/$UID/gvfs
I have these mtp packages installed simple-mtpfs-0.2-3.fc21.x86_64 gvfs-mtp-1.22.3-2.fc21.x86_64 libmtp-1.1.8-1.fc21.x86_64
and still, pluging in my phone does automount the phone storage.
In the files /usr/share/dbus-1/services/org.gtk.Private.MTPVolumeMonitor.service contains: [D-BUS Service] Name=org.gtk.Private.MTPVolumeMonitor Exec=/usr/libexec/gvfs-mtp-volume-monitor
/usr/share/gvfs/mounts/mtp.mount contains: [Mount] Type=mtp Exec=/usr/libexec/gvfsd-mtp AutoMount=true
/usr/share/gvfs/remote-volume-monitors/mtp.monitor contains: [RemoteVolumeMonitor] Name=GProxyVolumeMonitorMTP DBusName=org.gtk.Private.MTPVolumeMonitor IsNative=true
So, what is wrong here, such that /usr/libexec/gvfs-mtp-volume-monitor is not executing /usr/libexec/gvfsd-mtp to mount the device?
Found this page which apparently works for ubuntu, but the "tools" are not available for fedora:
http://bernaerts.dyndns.org/linux/74-ubuntu/268-ubuntu-automount-any-mtp-dev...
On Mon, 16 Feb 2015 11:14:29 -0700 jd1008 jd1008@gmail.com wrote:
On 02/16/2015 10:42 AM, jd1008 wrote:
On 02/16/2015 07:20 AM, Michael Cronenworth wrote:
On 02/15/2015 04:46 PM, jd1008 wrote:
How do I force mate or gnome to mount them the traditional way?
Why? So you can access them via terminal? Just stick with gvfs MTP >> (installed by default with Gnome) and you can find the mounted file >> system in your /run folder:
/run/user/$UID/gvfs
I have these mtp packages installed simple-mtpfs-0.2-3.fc21.x86_64 gvfs-mtp-1.22.3-2.fc21.x86_64 libmtp-1.1.8-1.fc21.x86_64
and still, pluging in my phone does automount the phone storage.
In the files /usr/share/dbus-1/services/org.gtk.Private.MTPVolumeMonitor.service contains: [D-BUS Service] Name=org.gtk.Private.MTPVolumeMonitor Exec=/usr/libexec/gvfs-mtp-volume-monitor
/usr/share/gvfs/mounts/mtp.mount contains: [Mount] Type=mtp Exec=/usr/libexec/gvfsd-mtp AutoMount=true
/usr/share/gvfs/remote-volume-monitors/mtp.monitor contains: [RemoteVolumeMonitor] Name=GProxyVolumeMonitorMTP DBusName=org.gtk.Private.MTPVolumeMonitor IsNative=true
So, what is wrong here, such that /usr/libexec/gvfs-mtp-volume-monitor is not executing /usr/libexec/gvfsd-mtp to mount the device?
Found this page which apparently works for ubuntu, but the "tools" are not available for fedora:
http://bernaerts.dyndns.org/linux/74-ubuntu/268-ubuntu-automount-any-mtp-dev...
autofs + simple-mtfs:
/etc/auto.master ... /home/bob/MPT /etc/auto.master.d/auto.mpt --timeout=30 --ghost ...
/etc/auto.master.d/auto.mpt ... AnyMPT -fstype=fuse,allow_other,umask=000 :simple-mtpfs ...
Read the fuse man page for other options. -fstype=fuse,transform_symlinks,uid=0,gid=0 ...
BR, Bob
On 02/17/2015 07:14 AM, Bob Marcan wrote:
On Mon, 16 Feb 2015 11:14:29 -0700 jd1008 jd1008@gmail.com wrote:
On 02/16/2015 10:42 AM, jd1008 wrote:
On 02/16/2015 07:20 AM, Michael Cronenworth wrote:
On 02/15/2015 04:46 PM, jd1008 wrote:
How do I force mate or gnome to mount them the traditional way?
Why? So you can access them via terminal? Just stick with gvfs MTP >> (installed by default with Gnome) and you can find the mounted file >> system in your /run folder:
/run/user/$UID/gvfs
I have these mtp packages installed simple-mtpfs-0.2-3.fc21.x86_64 gvfs-mtp-1.22.3-2.fc21.x86_64 libmtp-1.1.8-1.fc21.x86_64
and still, pluging in my phone does automount the phone storage.
In the files /usr/share/dbus-1/services/org.gtk.Private.MTPVolumeMonitor.service contains: [D-BUS Service] Name=org.gtk.Private.MTPVolumeMonitor Exec=/usr/libexec/gvfs-mtp-volume-monitor
/usr/share/gvfs/mounts/mtp.mount contains: [Mount] Type=mtp Exec=/usr/libexec/gvfsd-mtp AutoMount=true
/usr/share/gvfs/remote-volume-monitors/mtp.monitor contains: [RemoteVolumeMonitor] Name=GProxyVolumeMonitorMTP DBusName=org.gtk.Private.MTPVolumeMonitor IsNative=true
So, what is wrong here, such that /usr/libexec/gvfs-mtp-volume-monitor is not executing /usr/libexec/gvfsd-mtp to mount the device?
Found this page which apparently works for ubuntu, but the "tools" are not available for fedora:
http://bernaerts.dyndns.org/linux/74-ubuntu/268-ubuntu-automount-any-mtp-dev...
autofs + simple-mtfs:
/etc/auto.master ... /home/bob/MPT /etc/auto.master.d/auto.mpt --timeout=30 --ghost ...
/etc/auto.master.d/auto.mpt ... AnyMPT -fstype=fuse,allow_other,umask=000 :simple-mtpfs ...
Read the fuse man page for other options. -fstype=fuse,transform_symlinks,uid=0,gid=0 ...
BR, Bob
Thanx Bob. I tried your suggestions. Did not work. Nothing got mounted when I connected my phone, not even the mtp automounter built-in to mate DT.
Did you try to access the directory, where it should be mounted? nb: ls /home/bob/MPT/AnyMPT It will not apppear automagically under graphical file manager, at least mine (FileRunner), until someone will touch something inside mount point.
On my Lenovo tablet, when connected to USB, i have 3 choices: CONNECT AS Media device (MPT) Camera (PTP) Charge only
On Samsung S3 phone, there are no such choices. Both works with this setup. Check your device.
Another way: Install from Google play https://play.google.com/store/apps/details?id=com.arachnoid.sshelper&hl=... https://play.google.com/store/apps/details?id=com.arachnoid.sshelper&hl=... Configure sshelper.
From memory: ssh-keygen (if it doesn't exist yet) ssh -p 2222 root@<your-device-ip> ssh-copy-id -p 2222 root@<your-device-ip> Test this, so you can connect without password: ssh -p 2222 root@<your-device-ip>
Here we are again at autofs: /etc/auto.master ... /home/bob/SSHFS /etc/auto.master.d/auto.sshfs --timeout=30 --ghost ...
/etc/auto.master.d/auto.sshfs ... GalaxyS3 -fstype=fuse,rw,nodev,nonempty,noatime,max_read=65535,transform_symlinks,allow_other,reconnect,port=2222 :sshfs#galaxys3:/ Lenovo -fstype=fuse,rw,nodev,nonempty,noatime,max_read=65535,transform_symlinks,allow_other,reconnect,port=2222 :sshfs#lenovo:/ ... To trigger automount: nb: ls /home/bob/SSHFS/Lenovo
Hope it will help. If it will not, please send me private mail with attached: /etc/auto.master /etc/auto.master.d/auto.mpt.d/auto.sshfs /etc/auto.master.d/auto.mpt
BR, Bob
P.S. My english is lousy. It's not my native language. Don't mention the grammar. Hope you will never heard my accent :-)
On 02/17/2015 07:14 AM, Bob Marcan wrote:
On Mon, 16 Feb 2015 11:14:29 -0700 jd1008 jd1008@gmail.com wrote:
On 02/16/2015 10:42 AM, jd1008 wrote:
On 02/16/2015 07:20 AM, Michael Cronenworth wrote:
On 02/15/2015 04:46 PM, jd1008 wrote:
How do I force mate or gnome to mount them the traditional way?
Why? So you can access them via terminal? Just stick with gvfs MTP >> (installed by default with Gnome) and you can find the mounted file >> system in your /run folder:
/run/user/$UID/gvfs
I have these mtp packages installed simple-mtpfs-0.2-3.fc21.x86_64 gvfs-mtp-1.22.3-2.fc21.x86_64 libmtp-1.1.8-1.fc21.x86_64
and still, pluging in my phone does automount the phone storage.
In the files /usr/share/dbus-1/services/org.gtk.Private.MTPVolumeMonitor.service contains: [D-BUS Service] Name=org.gtk.Private.MTPVolumeMonitor Exec=/usr/libexec/gvfs-mtp-volume-monitor
/usr/share/gvfs/mounts/mtp.mount contains: [Mount] Type=mtp Exec=/usr/libexec/gvfsd-mtp AutoMount=true
/usr/share/gvfs/remote-volume-monitors/mtp.monitor contains: [RemoteVolumeMonitor] Name=GProxyVolumeMonitorMTP DBusName=org.gtk.Private.MTPVolumeMonitor IsNative=true
So, what is wrong here, such that /usr/libexec/gvfs-mtp-volume-monitor is not executing /usr/libexec/gvfsd-mtp to mount the device?
Found this page which apparently works for ubuntu, but the "tools" are not available for fedora:
http://bernaerts.dyndns.org/linux/74-ubuntu/268-ubuntu-automount-any-mtp-dev...
autofs + simple-mtfs:
/etc/auto.master ... /home/bob/MPT /etc/auto.master.d/auto.mpt --timeout=30 --ghost ...
/etc/auto.master.d/auto.mpt ... AnyMPT -fstype=fuse,allow_other,umask=000 :simple-mtpfs ...
Read the fuse man page for other options. -fstype=fuse,transform_symlinks,uid=0,gid=0 ...
BR, Bob
Hi Bob, It does not work :(
So I resort to taking my sd card out and inserting it into a usb adapter and then it gets automounted by mate DT.