From: Philip L. <ph...@ov...> - 2019-03-11 21:25:41
|
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 |