Comment 2 for bug 1700649

Revision history for this message
JPT (j-p-t) wrote :

usbfs: process <pid> (mtp.so) did not claim interface 0 before use

I get this error message on ubuntu 18.4.
I believe there are two different problems.

First problem could be that InternalSD is readonly to the MTP process on the phone (see last line in log), why?
Read-only requests worked.

The other problem are the failed read attempts with varying errno, see below.

Log from phone is:

05-28 15:32:02.505 D/MtpService(3263): Adding MTP storage 0x10001 at /storage/emulated/0
05-28 15:32:02.505 D/MtpService(3263): Adding MTP storage 0xa5bf0001 at /storage/7743-14FD
05-28 15:32:02.505 D/MtpService(3263): starting MTP server in MTP mode with storage /storage/emulated/0 disabled
05-28 15:32:13.094 E/MtpServer(3263): request read returned -1, errno: 5
05-28 15:32:13.551 D/MtpService(3263): starting MTP server in MTP mode with storage /storage/emulated/0
05-28 15:32:13.558 D/MtpService(3263): Adding MTP storage 0xa5bf0001 at /storage/7743-14FD
05-28 15:32:13.558 D/MtpService(3263): Adding MTP storage 0x10001 at /storage/emulated/0
05-28 15:32:26.711 E/MtpServer(3263): request read returned -1, errno: 5
[ above repeated several times. ]

05-28 15:35:30.269 D/MtpService(3263): Adding MTP storage 0xa5bf0001 at /storage/7743-14FD
05-28 15:35:30.270 D/MtpService(3263): Adding MTP storage 0x10001 at /storage/emulated/0
05-28 15:35:53.914 E/MtpServer(3263): deletePath stat failed for /storage/emulated/0/DCIM/Camera/IMG_20180519_202734.jpg: No such file or directory
[repeated for each file]