Bug 442629

Summary: Pixel MTP device does not appear in Disks & Devices
Product: [Plasma] plasmashell Reporter: Andrew Udvare <audvare>
Component: Disks & Devices widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: asturm, nate
Priority: NOR    
Version First Reported In: 5.22.4   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Andrew Udvare 2021-09-18 04:55:17 UTC
SUMMARY

My Pixel 2 XL shows up in Disks & Devices after accessing it from the Places view in Dolphin. It used to appear automatically after plugging in. This is a high-speed (USB 2) device.

My Pixel 5 does not show up in Disks & Devices in any case. I am plugging it in via a Thunderbolt bridged connector just in case this makes a difference. This allows the device to use SuperSpeed without going through a USB-A connector.

Browsing from Dolphin works fine. I think Pixel devices or any MTP device should be appearing under Removable Devices, but both show up in the 'Devices' section in the Places view.

Sep 18 00:48:23 limelight kernel: pcieport 0000:00:01.1: PME: Spurious native interrupt!
Sep 18 00:48:25 limelight kernel: usb 4-2: new SuperSpeed USB device number 18 using xhci_hcd
Sep 18 00:48:25 limelight kernel: usb 4-2: New USB device found, idVendor=18d1, idProduct=4ee1, bcdDevice= 4.40
Sep 18 00:48:25 limelight kernel: usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 18 00:48:25 limelight kernel: usb 4-2: Product: Pixel 5
Sep 18 00:48:25 limelight kernel: usb 4-2: Manufacturer: Google
Sep 18 00:48:25 limelight kernel: usb 4-2: SerialNumber: ...

STEPS TO REPRODUCE
1. Have a Plasma Panel configured to show a System Tray widget with Disks & Devices
2. Plug in an MTP device

OBSERVED RESULT

Disks & Devices does not show a new device.

EXPECTED RESULT

Disks & Devices should show the new device.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux 5.14.5 , X11
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.12.2
Comment 1 Nate Graham 2021-09-21 19:53:14 UTC
Hmm, it's supposed to. My phone shows up in there FWIW.
Comment 2 Andrew Udvare 2021-09-21 21:20:01 UTC
It's an issue that seems to be intermittent.

If this happens again, what kind of information can I attach for debugging?
Comment 3 Nate Graham 2021-09-21 23:38:57 UTC
I don't know, sorry.
Comment 4 Andreas Sturmlechner 2021-09-23 07:46:15 UTC
(In reply to Andrew Udvare from comment #2)
> It's an issue that seems to be intermittent.
In case it only fails to appear if you plug it in a second time after having had ejected it, then this is another duplicate of bug 438874, supposedly fixed by kde-plasma/plasma-workspace-5.22.5-r2.
Comment 5 Andrew Udvare 2021-09-26 01:51:33 UTC
Honestly I think this is a USB-C cable issue. Sometimes the cable works, other times it doesn't. If I use a USB-C to 3.x cable, it always works.
Comment 6 Nate Graham 2021-09-26 19:01:47 UTC
That can happen, yeah! Glad you got it figured out.