https://bugs.kde.org/show_bug.cgi?id=440794
Bug ID: 440794
Summary: Dolphin needs to be re-opened in order to access MTP
device, after state changed between "No file
transmission" and "File transmission"
Product: kio-extras
Version: 21.04.3
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: MTP
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
When I plugin in my phone, the applet drops down and asking me to "mount and
open" the Android 11 device, which I do. However, if the phone's state has been
in "no file transmission" at this time,
I cannot open the MTP storage now in this Dolphin instance. Instead Dolphin
opens
`mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4/`
and claims `so suitable MTP device found.
In order to fix this I need to change the state of the phone's usb connection
to "file transmission" AND to open another instance of Dolphin. Using the
current one is not possible as shown in the following at the hand of the
journalctl log. It would however be convenient if Dolphin recognized that the
state has changed and auto-fix the issue within the current instance.
# What did I do?
1) Plug in device via usb-c, set as "no file transmission"
16:59:30 kiod5[32025]: kf5.kiod.kmtpd: New device attached with udi=
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
. Checking if PortableMediaPlayer...
16:59:30 kiod5[32025]: kf5.kiod.kmtpd: SOLID: New Device with udi=
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
16:59:30 kiod5[32025]: kf5.kiod.kmtpd: new device, getting raw devices
16:59:30 kiod5[32025]: kf5.kiod.kmtpd: No Error, continuing
16:59:30 kiod5[32025]: kf5.kiod.kmtpd: Found device matching the Solid
description
16:59:30 kiod5[32025]: kf5.kiod.kmtpd: Created device "Pixel 4a" with udi=
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
and timeout 48
2) Open Dolphin
17:00:00 kdeinit5[3977]: kde.kio-mtp: Slave started
17:00:00 kdeinit5[3977]: kde.kio-mtp: Connected to kiod5 module: true
17:00:00 kdeinit5[3977]: kde.kio-mtp: fileSystemFreeSpace:
QUrl("mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4")
17:00:00 kdeinit5[3977]: kde.kio-mtp: udi =
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
3) Click on android device in Dolphin
In the address bar says:
mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4/
17:00:51 kdeinit5[3977]: kde.kio-mtp: udi =
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
17:00:51 kdeinit5[3977]: kde.kio-mtp: fileSystemFreeSpace:
QUrl("mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4")
17:00:51 kdeinit5[3977]: kde.kio-mtp: udi =
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
17:00:51 kdeinit5[3977]: kde.kio-mtp: Listing storage media for device "Pixel
4a"
17:00:57 kdeinit5[3977]: kde.kio-mtp: fileSystemFreeSpace:
QUrl("mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4")
17:00:57 kdeinit5[3977]: kde.kio-mtp: udi =
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
17:01:03 kdeinit5[3977]: kde.kio-mtp: fileSystemFreeSpace:
QUrl("mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4")
17:01:03 kdeinit5[3977]: kde.kio-mtp: udi =
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
4) Change to "File transer" at Android device
17:01:36 kiod5[32025]: kf5.kiod.kmtpd: SOLID: Device with udi=
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
removed.
17:01:36 kiod5[32025]: kf5.kiod.kmtpd: release device: "Pixel 4a"
17:01:36 org.kde.kiod5[32025]: ERROR: Could not close session!
17:01:36 org.kde.kiod5[32025]: inep: usb_get_endpoint_status(): No suitable
device found
17:01:36 org.kde.kiod5[32025]: outep: usb_get_endpoint_status(): No suitable
device found
17:01:36 kdeinit5[3457]: kde.kio-mtp: fileSystemFreeSpace:
QUrl("mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4")
17:01:36 kdeinit5[3457]: kde.kio-mtp: udi =
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
17:01:37 kiod5[32025]: kf5.kiod.kmtpd: New device attached with udi=
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
. Checking if PortableMediaPlayer...
17:01:37 kiod5[32025]: kf5.kiod.kmtpd: SOLID: New Device with udi=
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
17:01:37 kiod5[32025]: kf5.kiod.kmtpd: new device, getting raw devices
17:01:37 kiod5[32025]: kf5.kiod.kmtpd: No Error, continuing
17:01:37 kiod5[32025]: kf5.kiod.kmtpd: Found device matching the Solid
description
17:01:37 kiod5[32025]: kf5.kiod.kmtpd: Created device "Pixel 4a" with udi=
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
and timeout 48
17:01:57 kdeinit5[3977]: kde.kio-mtp: fileSystemFreeSpace:
QUrl("mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4")
17:01:57 kdeinit5[3977]: kde.kio-mtp: udi =
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
17:02:03 kdeinit5[3977]: kde.kio-mtp: fileSystemFreeSpace:
QUrl("mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4")
17:02:03 kdeinit5[3977]: kde.kio-mtp: udi =
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
5) In Dolphin, click on device again
17:02:30 kdeinit5[3977]: kde.kio-mtp: udi =
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
17:02:30 kdeinit5[3977]: kde.kio-mtp: Listing storage media for device "Pixel
4a"
6) Leave the Dolphin window open, start another instance of Dolphin
17:03:14 kdeinit5[4807]: kde.kio-mtp: Slave started
17:03:14 kdeinit5[4807]: kde.kio-mtp: Connected to kiod5 module: true
17:03:14 kdeinit5[4807]: kde.kio-mtp: fileSystemFreeSpace:
QUrl("mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4")
17:03:14 kdeinit5[4807]: kde.kio-mtp: udi =
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
7) Click in this new instance on the device
17:03:51 kdeinit5[4807]: kde.kio-mtp: udi =
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
17:03:51 kdeinit5[4807]: kde.kio-mtp: fileSystemFreeSpace:
QUrl("mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4")
17:03:51 kdeinit5[4807]: kde.kio-mtp: udi =
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
17:03:51 kdeinit5[4807]: kde.kio-mtp: Listing storage media for device "Pixel
4a"
17:03:51 kdeinit5[4807]: kde.kio-mtp: [SUCCESS] :: Storage media: 1
17:03:57 kdeinit5[3977]: kde.kio-mtp: fileSystemFreeSpace:
QUrl("mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4")
17:03:57 kdeinit5[3977]: kde.kio-mtp: udi =
"/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:08:00.3/usb4/4-4"
SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210805
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.13.6-1-default (64-bit)
--
You are receiving this mail because:
You are watching all bug changes.