[frameworks-solid] [Bug 497140] USB detecting Android phone as Portable Media Player and not mounting it
John
bugzilla_noreply at kde.org
Mon Feb 24 17:28:07 GMT 2025
https://bugs.kde.org/show_bug.cgi?id=497140
John <ilikefoss at waterisgone.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ilikefoss at waterisgone.com
--- Comment #5 from John <ilikefoss at waterisgone.com> ---
I cannot reproduce this with a Samsung Galaxy S10 (Android 12)
On Debian 13 (Trixie) - unstable repository, with:
SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.7.2
Kernel Version: 6.12.16-amd64 (64-bit)
Mesa Version: 25.0.0-1
Graphics Platform: Wayland
HARDWARE SPECIFICATIONS
Hardware: Laptop Dell Inspiron 5770 (17" 1080p at 60Hz screen)
CPU: Intel® Core™ i5-8250U CPU @ 1.60GHz
GPU 1: Mesa Intel® UHD Graphics 620 (main, Vulkan capable)
GPU 2: AMD Radeon R5 M465 Series
RAM: 8 GiB (7.7 GiB usable)
The only weird thing is that when I click on the "Allow" button for the
computer to access its files, through scrcpy's mirroring window, it makes
scrcpy crash, interrupting the mirroring.
And the fact that the phone is shown in Dolphin as:
SAMSUNG_Android
Instead of:
My-phone
That I've put in Settings -> About phone
Maybe that cannot be accessed over USB.
But a Samsung_Android would be more accurate to how the brands are normally
called.
Or better: Samsung with Android or even Samsung-Android.
Searching a bit of solid and its commands I found that you can list devices and
then filter the list with grep for only USB connected ones like:
solid-hardware6 list | grep usb
Then I tried each one with the 'solid-hardware6 details' command until I
reached the one that I wanted, like:
solid-hardware6 details
/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3
Which gave me this output:
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3'
parent = '/org/kde/solid/udev' (string)
vendor = 'SAMSUNG' (string)
product = 'SAMSUNG_Android' (string)
description = 'SAMSUNG_Android' (string)
icon = 'multimedia-player' (string)
Block.major = 189 (0xbd) (int)
Block.minor = 13 (0xd) (int)
Block.device = '/dev/bus/usb/001/014' (string)
Camera.supportedProtocols = {'ptp'} (string list)
Camera.supportedDrivers = {'gphoto'} (string list)
PortableMediaPlayer.supportedProtocols = {'mtp'} (string list)
PortableMediaPlayer.supportedDrivers = {'usb'} (string list)
So I guess from here Dolphin it taking that label information.
But now I wonder where Solid is getting that information from and if there
isn't more information available.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list