Bug 395130 - cant connect to mtp-device (unknown error code 150)
Summary: cant connect to mtp-device (unknown error code 150)
Status: RESOLVED DUPLICATE of bug 387454
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: MTP (show other bugs)
Version: 18.04.0
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-08 07:21 UTC by Axel Braun
Modified: 2019-03-01 18:30 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Braun 2018-06-08 07:21:42 UTC
Hi,
when I try to connect my phone I'm not able to list directories (timeout). In some cases the above error occurs in dolphin.

This happens on Leap 15 as well as on Tumbleweed.
Please see https://bugzilla.opensuse.org/show_bug.cgi?id=1095822 for further info and logs
Comment 1 Christoph Feck 2018-06-21 14:22:21 UTC
Might be a duplicate of bug 387454.
Comment 2 Axel Braun 2018-06-21 16:40:20 UTC
(In reply to Christoph Feck from comment #1)
> Might be a duplicate of bug 387454.

...but I have kernel 4.17.1 in between and see the same issue (not working)
Comment 3 Christoph Feck 2018-06-21 17:41:29 UTC
Well, try Kernel 4.11 or older. Nothing in the upstream ticket suggests that the regression is fixed in newer udev versions or the kernel changes have been reverted.
Comment 4 Axel Braun 2018-09-12 13:27:36 UTC
(In reply to Christoph Feck from comment #1)
> Might be a duplicate of bug 387454.

I have tried the proposed workaround (comment #25 in the bug description) and now get the error 'Could not read. Reason: I/O-Problem'
Before it listed at least the content of the folder, just on copy the error occured.
Comment 5 Enrico Tagliavini 2018-09-12 14:56:25 UTC
(In reply to Axel Braun from comment #4)
> (In reply to Christoph Feck from comment #1)
> > Might be a duplicate of bug 387454.
> 
> I have tried the proposed workaround (comment #25 in the bug description)
> and now get the error 'Could not read. Reason: I/O-Problem'
> Before it listed at least the content of the folder, just on copy the error
> occured.

Probably not very helpful but the proposed workaround in comment #25 of bug #387454 works for me on Fedora with kernel 4.17 and 4.18. Can this be related to OpenSuse only or specific to the phone model you have?

Also consider using KDE connect, it's quite great.
Comment 6 Axel Braun 2018-09-13 12:40:25 UTC
(In reply to Enrico Tagliavini from comment #5)
> (In reply to Axel Braun from comment #4)
> > (In reply to Christoph Feck from comment #1)
> > > Might be a duplicate of bug 387454.
> > 
> > I have tried the proposed workaround (comment #25 in the bug description)
> > and now get the error 'Could not read. Reason: I/O-Problem'
> > Before it listed at least the content of the folder, just on copy the error
> > occured.
> 
> Probably not very helpful but the proposed workaround in comment #25 of bug
> #387454 works for me on Fedora with kernel 4.17 and 4.18. Can this be
> related to OpenSuse only or specific to the phone model you have?

An exotic model like a Samsung Galaxy S7 / Edge - tried both

> Also consider using KDE connect, it's quite great.

Yes, but its a workaround. As nearly everyone has a smartphone today the expectation of a user is to plug it in and transfer pictures. The status as of now, with this esoteric error message, is not a positive showcase for Linux on the desktop (although it is great in all other areas...)
Comment 7 skierpage 2018-11-17 06:32:43 UTC
I was able to view my camera folder in Dolphin, but when I tried to copy some files in Dolphin, nothing happened until after a long timeout I got three similar

Unknown error code 150
Timeout reading from or writing to the port

dialogs from all my attempts to drag, paste, and Paste five files into /tmp, and when I dismissed a dialog Dolphin crashed.

I inserted my Pixel 2 Android phone running Android Pie with Settings > USB Preferences > Use USB for set to File Transfer. I chose one of the two (bug!) "Open with File Manager" actions from the Plasma Device Notifier, Dolphin opened, I navigated to DCIM camera directory, scrolled to the images I wanted, selected five of them. All that seemed to work fine except I didn't see any previews (it's a large folder).  But when I tried to copy those files into /tmp in a Dolphin split window, I got the alert and crash behavior I describe above.

I'll try to upload my crash details as a separate bug; Fedora 29 KDE spin has dozens of abrt and reporter-ureport programs and processes yet nothing does anything :-/
Comment 8 Wolfgang Bauer 2019-03-01 17:19:21 UTC
The reporter confirmed in the openSUSE bug report that the problem is fixed meanwhile with an updated libmtp (1.16), so it most likely was a duplicate of bug#387454.

*** This bug has been marked as a duplicate of bug 387454 ***
Comment 9 Wolfgang Bauer 2019-03-01 18:30:40 UTC
(In reply to Wolfgang Bauer from comment #8)
> The reporter confirmed in the openSUSE bug report that the problem is fixed
> meanwhile with an updated libmtp (1.16)

I mean libmtp 1.1.16...