Results 1 to 6 of 6

Thread: connect android with jmtpfs

  1. #1
    Join Date
    May 2017
    Beans
    45

    connect android with jmtpfs

    I need to get my android device as mass storage, so that I can use posixovl, so that I can add symlinks(-like) to my android device.
    Now I am trying with jmtpfs:
    1. I added in fstab this line
    Code:
    jmtpfs /media/duns/likebook fuse nodev,allow_other,rw,user,noauto,noatime,uid=1000,gid=1000    0    0
    2. then I tried to mount my device, both with sudo:
    Code:
    sudo jmtpfs -o allow_other /media/duns/likebook
    or without sudo
    Code:
    jmtpfs -o allow_other /media/duns/likebook
    But I get this error message
    Code:
    Device 0 (VID=2207 and PID=0011) is a Various Viewpia DR/bq Kepler Debugging.
    PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
    LIBMTP libusb: Attempt to reset device
    LIBMTP PANIC: failed to open session on second attempt
    terminate called after throwing an instance of 'MtpErrorCantOpenDevice'
      what():  Can't open device
    Aborted
    Last edited by jduns; November 26th, 2019 at 05:50 PM.

  2. #2
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: connect android with jmtpfs

    On my Android phone I have to go into the phone's settings -> Connected devices -> USB and there choose to use the phone as a mass storage device, at which point it is like any other USB flash drive. The computer setting does not seem to make any difference, it's all to do with phone settings.

    This may, of course, be different with different phones, but it may help you as a start in your investigation

  3. #3
    Join Date
    May 2017
    Beans
    45

    Re: connect android with jmtpfs

    Thank you. In effect, with the smartphone it works, but with another device, Likebook (an e-ink ebook reader with Android 6) it doesn't.

    EDIT
    No, now it works!
    Last edited by jduns; November 26th, 2019 at 01:13 PM.

  4. #4
    Join Date
    May 2017
    Beans
    45

    Re: connect android with jmtpfs

    I thought it was resolved, but two problems remain
    1) not always the connection works (both for the smartphone and the android ereader), with the same messages as above;
    2) the sync (with Krusader syncronization) freezes

  5. #5
    Join Date
    May 2017
    Beans
    45

    Re: connect android with jmtpfs (sync freezing)

    For the first problem (1) I noticed that I have to unplug and (re)plug the device.
    For the second (2) I supppose that the problem is the grafical app (Krusader, Dolphin) so now I'm trying with a rsync script. But so far I get an error with symlinks, even though I'm using posixovl. Tomorrow I will re-try.
    Thank you

    EDIT
    Nothing to do: even with a script it freezes (after some files syncronized: it begins, but not ends).

    EDIT
    sync had lasted more than 8 hours: I interrupted it!
    Last edited by jduns; November 28th, 2019 at 09:03 AM. Reason: title modified

  6. #6
    Join Date
    May 2017
    Beans
    45

    Re: connect android with jmtpfs

    My workaround now is to use a sd-card (with posixovl to keep the symlinks between different PC connected with the likebook).

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •