Bug 479498

Summary: Partition manager does not show mmcblk0 device
Product: [Applications] partitionmanager Reporter: David <kitt997>
Component: generalAssignee: Andrius Štikonas <andrius>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: 23.08.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description David 2024-01-07 11:31:12 UTC
SUMMARY
No matter what I try, I am not able to see mmcblk0 in partition manager, resulting in no SD card support.

STEPS TO REPRODUCE
1. Insert SD card
2. Open Partition manager
3. 

OBSERVED RESULT
No SD card listed

EXPECTED RESULT
I remember using partition manager to manage my SDs just a few months ago

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 39
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.6.8-200.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Dell Inc.
Product Name: Inspiron 5570
Comment 1 Andrius Štikonas 2024-01-07 13:32:16 UTC
It uses lsblk to scan for devices (https://invent.kde.org/system/kpmcore/-/blob/master/src/plugins/sfdisk/sfdiskbackend.cpp?ref_type=heads#L74)

Can you paste output of lsblk?
Comment 2 David 2024-03-03 21:43:51 UTC
(In reply to Andrius Štikonas from comment #1)
> It uses lsblk to scan for devices
> (https://invent.kde.org/system/kpmcore/-/blob/master/src/plugins/sfdisk/
> sfdiskbackend.cpp?ref_type=heads#L74)
> 
> Can you paste output of lsblk?

I figured it out randomly, it appears that my SD's read'only switch is faulty and triggers itself when not needed. And, this is the point, when the SD is read-only KDE Partition manager does not even show it. 
I don't know if this is by design or what, but I think this could turn out to be useful for others.