hanwen / go-mtpfs

Mount MTP devices over FUSE
Other
682 stars 85 forks source link

Errors on first read #145

Open werdck opened 4 years ago

werdck commented 4 years ago

Hello,

I've used gomtpfs for a long time with not an issue. It's really fast and low on resources. Lately I can't use it for anything anymore, sadly.

What happens:

...
2020/01/28 22:45:46 AndroidGetPartialObject64 failed: mtp: cannot run operation ANDROID_GET_PARTIAL_OBJECT64, device is not open
2020/01/28 22:45:46 AndroidGetPartialObject64 failed: mtp: cannot run operation ANDROID_GET_PARTIAL_OBJECT64, device is not open
2020/01/28 22:45:46 AndroidGetPartialObject64 failed: mtp: cannot run operation ANDROID_GET_PARTIAL_OBJECT64, device is not open
...

This happens directly after mount, when I try using rsync to pull some files. Funny enough it does only happen when using TWRPs implementation of MTP so far. I'll test more and report back.

kuon commented 2 years ago

I had the same issue with a USB A -> USB C cable, and then I tried with a USB C -> USB C cable on another port and the issue was gone.

I am not sure if this is your issue, but it seems USB is quite sensible to cables and port.

kuon commented 2 years ago

I got the same issue with USB 3 (A) to USB C cable. But it works with USB 2 (A) to USB C or USB C to USB C cable.