From: ToddAndMargo <Tod...@zo...> - 2019-03-11 23:03:32
|
On 3/11/19 2:08 PM, Philip Langdale wrote: > On 2019-03-11 09:07, Andrea Vai wrote: >> Hi, >> Il giorno lun, 11/03/2019 alle 04.19 -0700, ToddAndMargo via Libmtp- >> discuss ha scritto: >>> [...] >>> >> >>> >> https://github.com/kiorky/jmtpfs >>> > >>> > Hi Andrea, >>> > >>> > Thank you! It looks like what I want. >>> > >>> > Would you mind sending me an example command line. The github >>> > page confused me. >> >> what operation would you like to perform using the command line? >> >>> >>> # jmtpfs >>> Device 0 (VID=0482 and PID=0a9a) is a Kyocera Duraforce XD. >>> error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable >>> to >>> initialize device >>> terminate called after throwing an instance of >>> 'MtpErrorCantOpenDevice' >>> what(): Can't open device >>> Aborted (core dumped) >> >> I suppose this happens if you have the device already mounted. You >> need to unmount the phone in nautilus first. Only one mtp client can >> talk to the device at a time. >> >> Bye, >> Andrea > > Yes, this is happening because the device is mounted by gvfs, although > nautilus may not be involved in the mounting if automount is configured > in gnome (I assume you're using gnome). > > Although I am biased, I would say that you should focus on continuing > to use gvfs vs jmtpfs because if you do, it means your command line > usage and nautilus usage are not conflicting with each other. > > Based on your original message, I suspect the issue is that the > gvfs fuse bridge is not installed, and apparently it is not part of > a default fedora installation, even though the rest of gvfs is. > > So install `gvfs-fuse` and then you should see the mounted device > under /run/ where you were originally looking. > > Good luck. > > --phil I installed gvfs-fuse, fired up my phone $ grep todd /etc/passwd todd:x:500:100:todd:/home/todd:/bin/bash $ ls -al /run/user total 0 drwxr-xr-x. 3 root root 60 Mar 11 15:04 . drwxr-xr-x. 48 root root 1440 Mar 11 15:40 .. drwx------. 8 todd users 200 Mar 11 15:04 500 $ ls -al /run/user/500/gvfs total 0 drwx------. 2 todd users 40 Mar 11 15:04 . drwx------. 8 todd users 200 Mar 11 15:04 .. Then fired up Nautilus, which showed my phone (and its data) mounted on mtp://KYOCERA_KYOCERA_Android_615756870/ No joy. :'( What other gvfs utilities might I be missing? |