jmtpfs icon indicating copy to clipboard operation
jmtpfs copied to clipboard

ls: Input/output error, getattr

Open l29ah opened this issue 5 years ago • 3 comments

‰ 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 /

l29ah avatar Aug 15 '19 10:08 l29ah

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

WingCode avatar Sep 26 '19 08:09 WingCode

Getting the same error. chmod didn't help.

phenax avatar Jan 16 '22 15:01 phenax

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

bluecube avatar Jul 05 '22 16:07 bluecube