Internal SD Card Reader Does Not Work

Hi everyone,
I’m not new to Linux, but I’m still a noob at a lot of stuff. Anyways, I own an Asus ROG Flow Z13 computer, which has an internal SD Card. Attempting to read SD cards on my Manjaro KDE Plasma partition never works. The SD card is shown in Dolphin, but can never mount. This is what ````dmesg | tail -n 10``` looks like:

[   72.827683] ntfs3: Enabled Linux POSIX ACLs support
[   72.827691] ntfs3: Read-only LZX/Xpress compression included
[   76.623745] pcieport 0000:00:1c.0: broken device, retraining non-functional downstream link at 2.5GT/s
[   77.623672] pcieport 0000:00:1c.0: retraining failed
[   78.623703] pcieport 0000:00:1c.0: Data Link Layer Link Active not set in 1000 msec
[   78.623759] rtsx_pci 0000:31:00.0: Unable to change power state from D3cold to D0, device inaccessible
[   80.767017] mmc0: error -110 doing runtime resume
[   91.559895] mmc0: card aaaa removed
[  895.578198] pcieport 0000:00:1c.0: Data Link Layer Link Active not set in 1000 msec
[  895.578238] rtsx_pci 0000:31:00.0: Unable to change power state from D3cold to D0, device inaccessible

I also would like to note that my laptop has a PCIe slot for plugging in an external GPU. I don’t have one so I don’t think it matters for me.
This is what inxi --admin --verbosity=7 --filter --no-host --width looks like for me by the way:

  Kernel: 6.12.12-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.12-x86_64
    root=UUID=b32eb167-0613-452f-a1b2-fb1861d85de9 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 6.2.5 tk: Qt v: N/A info: frameworks v: 6.10.0
    wm: kwin_wayland vt: 1 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Detachable System: ASUSTeK product: ROG Flow Z13 GZ301VU v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: GZ301VU v: 1.0 serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends LLC. v: GZ301VU.316
    date: 10/24/2024
Battery:
  ID-1: BAT0 charge: 56.8 Wh (100.0%) condition: 56.8/56.0 Wh (101.4%)
    volts: 17.7 min: 16.0 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: full cycles: 9
Memory:
  System RAM: total: 16 GiB available: 15.25 GiB used: 4.22 GiB (27.6%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 16 GiB slots: 8 modules: 8 EC: None
    max-module-size: 2 GiB note: est.
  Device-1: Controller0-ChannelA type: LPDDR5 detail: synchronous size: 2 GiB
    speed: spec: 6400 MT/s actual: 5200 MT/s volts: curr: 0.5 min: 0.5 max: 0.5
    width (bits): data: 16 total: 16 manufacturer: Samsung
    part-no: K3LKBKB0BM-MGCP serial: <filter>
  Device-2: Controller0-ChannelB type: LPDDR5 detail: synchronous size: 2 GiB
    speed: spec: 6400 MT/s actual: 5200 MT/s volts: curr: 0.5 min: 0.5 max: 0.5
    width (bits): data: 16 total: 16 manufacturer: Samsung
    part-no: K3LKBKB0BM-MGCP serial: <filter>
  Device-3: Controller0-ChannelC type: LPDDR5 detail: synchronous size: 2 GiB
    speed: spec: 6400 MT/s actual: 5200 MT/s volts: curr: 0.5 min: 0.5 max: 0.5
    width (bits): data: 16 total: 16 manufacturer: Samsung
    part-no: K3LKBKB0BM-MGCP serial: <filter>
  Device-4: Controller0-ChannelD type: LPDDR5 detail: synchronous size: 2 GiB
    speed: spec: 6400 MT/s actual: 5200 MT/s volts: curr: 0.5 min: 0.5 max: 0.5
    width (bits): data: 16 total: 16 manufacturer: Samsung
    part-no: K3LKBKB0BM-MGCP serial: <filter>
  Device-5: Controller1-ChannelA type: LPDDR5 detail: synchronous size: 2 GiB
    speed: spec: 6400 MT/s actual: 5200 MT/s volts: curr: 0.5 min: 0.5 max: 0.5
    width (bits): data: 16 total: 16 manufacturer: Samsung
    part-no: K3LKBKB0BM-MGCP serial: <filter>
  Device-6: Controller1-ChannelB type: LPDDR5 detail: synchronous size: 2 GiB
    speed: spec: 6400 MT/s actual: 5200 MT/s volts: curr: 0.5 min: 0.5 max: 0.5
    width (bits): data: 16 total: 16 manufacturer: Samsung
    part-no: K3LKBKB0BM-MGCP serial: <filter>
  Device-7: Controller1-ChannelC type: LPDDR5 detail: synchronous size: 2 GiB
    speed: spec: 6400 MT/s actual: 5200 MT/s volts: curr: 0.5 min: 0.5 max: 0.5
    width (bits): data: 16 total: 16 manufacturer: Samsung
    part-no: K3LKBKB0BM-MGCP serial: <filter>
  Device-8: Controller1-ChannelD type: LPDDR5 detail: synchronous size: 2 GiB
    speed: spec: 6400 MT/s actual: 5200 MT/s volts: curr: 0.5 min: 0.5 max: 0.5
    width (bits): data: 16 total: 16 manufacturer: Samsung
    part-no: K3LKBKB0BM-MGCP serial: <filter>
CPU:
  Info: model: 13th Gen Intel Core i9-13900H bits: 64 type: MST AMCP
    arch: Raptor Lake gen: core 13 level: v3 note: check built: 2022+
    process: Intel 7 (10nm) family: 6 model-id: 0xBA (186) stepping: 2
    microcode: 0x4123
  Topology: cpus: 1x dies: 1 clusters: 8 cores: 14 threads: 20 mt: 6 tpc: 2
    st: 8 smt: enabled cache: L1: 1.2 MiB desc: d-8x32 KiB, 6x48 KiB; i-6x32
    KiB, 8x64 KiB L2: 11.5 MiB desc: 6x1.2 MiB, 2x2 MiB L3: 24 MiB
    desc: 1x24 MiB
  Speed (MHz): avg: 915 min/max: 400/5200:5400:4100 scaling:
    driver: intel_pstate governor: powersave cores: 1: 915 2: 915 3: 915 4: 915
    5: 915 6: 915 7: 915 8: 915 9: 915 10: 915 11: 915 12: 915 13: 915 14: 915
    15: 915 16: 915 17: 915 18: 915 19: 915 20: 915 bogomips: 119840
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_lbr arch_perfmon art avx avx2 avx_vnni bmi1 bmi2
    bts clflush clflushopt clwb cmov constant_tsc cpuid cpuid_fault cx16 cx8
    de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c flexpriority
    flush_l1d fma fpu fsgsbase fsrm fxsr gfni hfi ht hwp hwp_act_window
    hwp_epp hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ibt ida intel_pt
    invpcid lahf_lm lm mca mce md_clear mmx monitor movbe movdir64b movdiri
    msr mtrr nonstop_tsc nopl nx ospke pae pat pbe pclmulqdq pconfig pdcm
    pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts rdpid rdrand rdseed
    rdtscp rep_good sdbg sep serialize sha_ni smap smep smx split_lock_detect
    ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc
    tsc_adjust tsc_deadline_timer tsc_known_freq umip user_shstk vaes vme vmx
    vnmi vpclmulqdq vpid waitpkg x2apic xgetbv1 xsave xsavec xsaveopt xsaves
    xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling mitigation: Clear Register File
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional;
    RSB filling; PBRSB-eIBRS: SW sequence; BHI: BHI_DIS_S
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Raptor Lake-P [Iris Xe Graphics] vendor: ASUSTeK driver: i915
    v: kernel alternate: xe arch: Xe process: Intel 7 (10nm) built: 2022+ ports:
    active: eDP-1 empty: DP-2,DP-3 bus-ID: 0000:00:02.0 chip-ID: 8086:a7a0
    class-ID: 0300
  Device-2: NVIDIA AD107M [GeForce RTX 4050 Max-Q / Mobile] vendor: ASUSTeK
    driver: nouveau v: kernel non-free: 550/565.xx+
    status: current (as of 2025-01) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022+ ports: active: none empty: DP-1,eDP-3
    bus-ID: 0000:01:00.0 chip-ID: 10de:28e1 class-ID: 0300
  Device-3: Shinetech USB2.0 5M UVC WebCam driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-8:4 chip-ID: 3277:0031
    class-ID: fe01 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.5
    compositor: kwin_wayland driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: iris,nouveau gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: TL134ADXP01-0 built: 2022 res: mode: 2560x1600
    hz: 165 scale: 175% (1.75) to: 1463x914 dpi: 226 gamma: 1.2
    size: 288x180mm (11.34x7.09") diag: 340mm (13.4") ratio: 16:10
    modes: 2560x1600
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia nouveau platforms:
    device: 0 drv: iris device: 1 drv: nouveau device: 2 drv: swrast gbm:
    drv: iris surfaceless: drv: iris wayland: drv: iris x11: drv: iris
  API: OpenGL v: 4.6 compat-v: 4.3 vendor: intel mesa v: 24.3.4-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel Iris Xe Graphics (RPL-P)
    device-ID: 8086:a7a0 memory: 7.45 GiB unified: yes display-ID: :1.0
  API: Vulkan v: 1.4.303 layers: N/A device: 0 type: discrete-gpu name: NVIDIA
    GeForce RTX 4050 Laptop GPU (NVK AD107) driver: N/A device-ID: 10de:28e1
    surfaces: xcb,xlib,wayland device: 1 type: integrated-gpu name: Intel Iris
    Xe Graphics (RPL-P) driver: N/A device-ID: 8086:a7a0
    surfaces: xcb,xlib,wayland
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info x11: xdpyinfo,xprop
Audio:
  Device-1: Intel Raptor Lake IPU vendor: ASUSTeK driver: intel-ipu6
    alternate: intel_ipu6 bus-ID: 0000:00:05.0 chip-ID: 8086:a75d class-ID: 0480
  Device-2: Intel Raptor Lake-P/U/H cAVS vendor: ASUSTeK
    driver: snd_hda_intel v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_tgl
    bus-ID: 0000:00:1f.3 chip-ID: 8086:51ca class-ID: 0403
  Device-3: NVIDIA AD107 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 0000:01:00.1 chip-ID: 10de:22be
    class-ID: 0403
  API: ALSA v: k6.12.12-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Raptor Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 0000:00:14.3 chip-ID: 8086:51f1 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: ASIX AX88179 Gigabit Ethernet driver: cdc_ncm type: USB rev: 3.2
    speed: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 bus-ID: 4-1.3:3 chip-ID: 0b95:1790
    class-ID: 0a00 serial: <filter>
  IF: enp0s20f0u1u3c2 state: down mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-10:8 chip-ID: 8087:0033
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller Intel
    driver: vmd v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:a77f rev:
    class-ID: 0104
Drives:
  Local Storage: total: 953.87 GiB used: 240.93 GiB (25.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: WD PC
    SN740 SDDPTQD-1T00-1002 size: 953.87 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 73101000 temp: 32.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 318.89 GiB size: 312.81 GiB (98.10%)
    used: 41.74 GiB (13.3%) fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7
    label: N/A uuid: b32eb167-0613-452f-a1b2-fb1861d85de9
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 69.5 MiB (27.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: SYSTEM uuid: 4C5B-E752
  ID-3: /run/media/asad/OS raw-size: 605.48 GiB size: 605.48 GiB (100.00%)
    used: 199.12 GiB (32.9%) fs: ntfs dev: /dev/nvme0n1p3 maj-min: 259:3
    label: OS uuid: 66585D90585D5FBB
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p4 maj-min: 259:4 size: 1000 MiB fs: ntfs label: RECOVERY
    uuid: DC7C38B67C388D70
  ID-3: /dev/nvme0n1p5 maj-min: 259:5 size: 28 GiB fs: ntfs label: RESTORE
    uuid: 780C1B820C1B3B18
  ID-4: /dev/nvme0n1p6 maj-min: 259:6 size: 260 MiB fs: vfat label: MYASUS
    uuid: 2C1B-7C70
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 2-0:1 info: super-speed hub ports: 1 rev: 3.1
    speed: 20 Gb/s (2.33 GiB/s) lanes: 2 mode: 3.2 gen-2x2 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 3-1:2 info: VIA Labs USB2.0 Hub ports: 5 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 2109:2817
    class-ID: 0900
  Device-1: 3-1.1:5 info: Logitech G502 SE HERO Gaming Mouse type: mouse,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 300mA chip-ID: 046d:c08b class-ID: 0300
    serial: <filter>
  Device-2: 3-1.4:7 info: Compx 2.4G Wireless Receiver type: keyboard,mouse
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 98mA chip-ID: 3554:fa09 class-ID: 0301
  Device-3: 3-1.5:9 info: Anker USB-C Hub Device type: billboard driver: N/A
    interfaces: 1 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
    power: 100mA chip-ID: 291a:8365 class-ID: 1100 serial: <filter>
  Device-4: 3-4:3 info: Winbond USB Device type: HID
    driver: hid-generic,hid-sensor-hub,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 20mA
    chip-ID: 0416:5020 class-ID: 0300 serial: <filter>
  Device-5: 3-8:4 info: Shinetech USB2.0 5M UVC WebCam type: video
    driver: uvcvideo interfaces: 5 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 500mA chip-ID: 3277:0031 class-ID: fe01 serial: <filter>
  Device-6: 3-9:6 info: ASUSTek N-KEY Device type: keyboard
    driver: asus,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 100mA chip-ID: 0b05:18c6 class-ID: 0301
  Device-7: 3-10:8 info: Intel AX211 Bluetooth type: bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 8087:0033 class-ID: e001
  Hub-5: 4-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-6: 4-1:2 info: VIA Labs USB3.0 Hub ports: 4 rev: 3.2
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 2109:0817
    class-ID: 0900
  Device-1: 4-1.3:3 info: ASIX AX88179 Gigabit Ethernet
    type: communication,CDC-data driver: cdc_ncm interfaces: 2 rev: 3.2
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 power: 184mA
    chip-ID: 0b95:1790 class-ID: 0a00 serial: <filter>
Sensors:
  System Temperatures: cpu: 44.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 357 Power: uptime: 21m states: freeze,mem,disk suspend: s2idle
    avail: deep wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend,
    test_resume image: 6.07 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
    tool: systemctl
  Packages: 1401 pm: pacman pkgs: 1380 libs: 386 tools: pamac pm: rpm pkgs: 0
    pm: flatpak pkgs: 21 Compilers: clang: 19.1.7 gcc: 14.2.1 Shell: Zsh v: 5.9
    default: Bash v: 5.2.37 running-in: konsole inxi: 3.3.37

If anyone can help me fix this issue with my SD Card slot I’d really appreciate it. Also let me knwo if my formatting is messed up, I don’t usually post to forums so I don’t know much about formatting posts.

Welcome to the Manjaro Community!

This has given me an incentive to look in to this again; I’ve never been able to use built-in SD card readers with Linux! Either Mint or Manjaro. Although readers connected via USB work just fine.

Hopefully someone who has got this working will see this thread in the meantime? :wink:

Some issue with dust gathering in the slot? They can get dirty from the fast fan-driven air flow inside the case as well as from the outside. Stipple with a flat paint brush to loosen dust then put hoover nozzle to the slot, maybe apply (Q-tip) a little contact cleaner on the card contacts before inserting.

Also keep in mind that manufacturing date of laptop/reader will limit card class, so a 2016 laptop is unlikely to read a 2023 SD Express card:
sdcard.

My card readers (2014 Clevo and 2009 MBP) work fine with SD XC V30 cards and various old micro SD in adapters. On the MBP I had occasionally to reboot to show the card.

Drives:
  ID-1: /dev/mmcblk0 size: 59.48 GiB type: Removable tech: SSD
Partition:
  ID-2: /run/media/dynoblue/MixPre dev: /dev/mmcblk0p1 label: MixPre

As you state the card show up but you cannot access it.

That points to an issue with the card media itself - not the reader - not Manjaro.

Full SD-card sizes often has a readonly switch - microSD does not - so if your card reader is full SD it is worth checking if the readonly has been toggled.

The unmounted partitions indicate a Windows dual-boot - please assure you are shutting down Windows completely before booting into Manjaro - there is the possibility windows was using the sdcard and has locked the device. (Ensure Windows Fast Startup has been disabled in Windows power settings)

Is it an issue on this specific device?
I have an HP ZBook G6 and the internal SD Card reader runs perfectly fine, indenependent of the SD card type and size i am trying to mount.

I am using MicroSD cards only with an adapter. What i’ve seen is that some adapters are crap. The same card which works fine in one of them failed on a different adapter.

SD Card reader works perfectly fine on Windows, and the SD Card is healthy. My laptop came out in 2023 as well so I don’t think it’s this.

I fixed the issue with reading the Windows drive as you stated. However, the sd card is read perfectly in Windows and I can read/write to it too. Something that helped was that I installed a different driver(?) for reading SD cards and after I did that, it showed up in Dolphin but couldn’t be mounted. Will get back to you later about what exactly it was.