Bug ID 1204908
Summary simple-mtpfs totally broken
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.4
Hardware Other
OS openSUSE Leap 15.4
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee screening-team-bugs@suse.de
Reporter bugz57@top.geek.nz
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Writing any file to mtpfs now hangs, reboot required to fix.

mkdir /tmp/f
simple-mtpfs -o enable-move -o auto_unmount -o large_read /tmp/f
date > /tmp/f/SD\ card/user/FILE

Now every read access fails:

mtp-detect
Attempting to connect device(s)
error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to
initialize device
Unable to open raw device 0

reboot required.


mtp-detect
OK, as long as device is not mounted.

simple-mtpfs -v -f -s /tmp/f
2022/08/29 23:01:50: Connected.
HANGS
Actually, succeeds, it stays in the foreground because of -v;
it exits after fusermount -u /tmp/f.

But all writes fail:

date > /tmp/f/SD\ card/user/FILE
date: write error: Input/output error
Exit 1

The file is created, but it 0 length. It can be deleted after remounting.

The same happens on a different opensuse 15.4 computer.

simple-mtpfs 0.4.0 is broken on 15.4! :-(


The persistent error comes from the device file still being open.

This really helps:

  fuser /dev/libmtp-3-2

Get rid of the processes:

  pkill -f kiod            (started by dolphin)
  pkill -f simple-mtpfs    (fusermount -u doesn't stop it when it hangs)


Phone with Android 7.1.1.


You are receiving this mail because: