You are not logged in.

#1 2025-11-20 17:04:36

foomotor
Member
Registered: 2025-11-20
Posts: 2

[SOLVED] SD card reader is stuck as Read only

Hello! I am trying to write to my SD card but when i mount the drive it can only be mounted as read only. The card mounts like normal through a USB device but I don't want to have to carry it around. The lock switch is open. I have made sure everything is updated.

lspci -v

0d:00.0 System peripheral: Ricoh Co Ltd PCIe SDXC/MMC Host Controller (rev 05) (prog-if 01)
    Subsystem: Lenovo Device 21ce
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at f1400000 (32-bit, non-prefetchable) [size=256]
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [78] Power Management version 3
    Capabilities: [80] Express Endpoint, IntMsgNum 0
    Capabilities: [100] Virtual Channel
    Capabilities: [800] Advanced Error Reporting
    Kernel driver in use: sdhci-pci
    Kernel modules: sdhci_pci

Last edited by foomotor (2025-11-21 01:46:17)

Offline

#2 2025-11-20 20:13:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,094

Re: [SOLVED] SD card reader is stuck as Read only

"lspci -knn" would be more helpful to identify the reader.

Does the journal say

WARNING: source write-protected, mounted read-only.

?
Is it only this or all cards?
Is there a parallel OS (windows)?

The latch is a suggestion for the readers firmware, it's not itself a lock.

Edit: is the answers are yes, maybe, no try "sdhci.debug_quirks=0x10000", https://wiki.archlinux.org/title/Kernel_parameters
https://elixir.bootlin.com/linux/v6.17. … hci.h#L465

Last edited by seth (2025-11-20 20:25:06)

Offline

#3 2025-11-21 01:43:43

foomotor
Member
Registered: 2025-11-20
Posts: 2

Re: [SOLVED] SD card reader is stuck as Read only

seth wrote:

"lspci -knn" would be more helpful to identify the reader.

Does the journal say

WARNING: source write-protected, mounted read-only.

?
Is it only this or all cards?
Is there a parallel OS (windows)?

The latch is a suggestion for the readers firmware, it's not itself a lock.

Edit: is the answers are yes, maybe, no try "sdhci.debug_quirks=0x10000", https://wiki.archlinux.org/title/Kernel_parameters
https://elixir.bootlin.com/linux/v6.17. … hci.h#L465

Thank you so much it mounts perfect after i added that "sdhci.debug_quirks=0x10000" to grub.

Offline

Board footer

Powered by FluxBB