Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ls: Input/output error, getattr #17

Open
l29ah opened this issue Aug 15, 2019 · 3 comments
Open

ls: Input/output error, getattr #17

l29ah opened this issue Aug 15, 2019 · 3 comments

Comments

@l29ah
Copy link

l29ah commented Aug 15, 2019

‰ jmtpfs -o auto_unmount -d ~/mnt/mtp 
Device 0 (VID=2717 and PID=ff40) is a Xiaomi Mi-2s (id2) (MTP).
Android device detected, assigning default bug flags
FUSE library version: 2.9.9
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 2, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.29
flags=0x01fffffb
max_readahead=0x00020000
   INIT: 7.19
   flags=0x00000011
   max_readahead=0x00020000
   max_write=0x00020000
   max_background=0
   congestion_threshold=0
   unique: 2, success, outsize: 40
unique: 4, opcode: GETXATTR (22), nodeid: 1, insize: 68, pid: 6050
   unique: 4, error: -38 (Function not implemented), outsize: 16
unique: 6, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 6050
getattr /
@WingCode
Copy link

Try
chmod 777 ~/mnt/mtp
then mount your file

@phenax
Copy link

phenax commented Jan 16, 2022

Getting the same error. chmod didn't help.

@bluecube
Copy link

bluecube commented Jul 5, 2022

For me this was caused by the phone not being set to "File transfer" in Android. To get this to work correctly I had to do:

  1. Connect phone
  2. Unlock the screen, set USB preferences to "File transfer"
  3. Mount jmtpfs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants