Internal SD card reader not working

Hello.

I have an Dell XPS 15 7590 and just finished installing newest Garuda OS. I am trying to read my SD card data, but it is not showing in file manager.
Do you have any recommendations what else to try?

EDIT: 64GB kingston is another USB, not SD card.
inxi output:

System:
Kernel: 5.16.10-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=6caa828b-1fe1-438c-b753-ec4d6173e158 rw [email protected]
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=55204ea6-05d6-4401-b78d-0fc6406bcba3 loglevel=3
Desktop: KDE Plasma 5.24.2 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Dell product: XPS 15 7590 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Dell model: 0T8KGX v: A00 serial: <superuser required> UEFI: Dell
v: 1.5.0 date: 12/25/2019
Battery:
ID-1: BAT0 charge: 87.7 Wh (100.0%) condition: 87.7/97.0 Wh (90.5%)
volts: 13.2 min: 11.4 model: SMP DELL GPM0365 type: Li-ion serial: <filter>
status: Full
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3
serial: <filter> charge: 100% (should be ignored) rechargeable: yes
status: Discharging
CPU:
Info: model: Intel Core i9-9980HK bits: 64 type: MT MCP arch: Coffee Lake
family: 6 model-id: 0x9E (158) stepping: 0xD (13) microcode: 0xEC
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 900 min/max: 800/5000 scaling: driver: intel_pstate
governor: powersave cores: 1: 900 2: 900 3: 900 4: 900 5: 900 6: 900 7: 900
8: 900 9: 900 10: 900 11: 900 12: 900 13: 900 14: 900 15: 900 16: 900
bogomips: 76800
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown 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 IBRS, IBPB: conditional, RSB filling
Type: srbds mitigation: TSX disabled
Type: tsx_async_abort mitigation: TSX disabled
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Dell
driver: i915 v: kernel ports: active: eDP-1 empty: DP-1,DP-2,DP-3
bus-ID: 00:02.0 chip-ID: 8086:3e9b class-ID: 0300
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q]
vendor: Hewlett-Packard driver: nvidia v: 510.54
alternate: nouveau,nvidia_drm pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 01:00.0 chip-ID: 10de:1f91 class-ID: 0302
Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 1-12:5 chip-ID: 0c45:6723 class-ID: 0e02
Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
loaded: modesetting,nvidia gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 507x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: eDP-1 model: Samsung built: 2019 res: 1920x1080 hz: 60
dpi: 142 gamma: 1.2 size: 344x194mm (13.5x7.6") diag: 395mm (15.5")
ratio: 16:9 modes: 3840x2160
OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
v: 4.6 Mesa 21.3.6 direct render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel
v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
chip-ID: 8086:a348 class-ID: 0403
Sound Server-1: ALSA v: k5.16.10-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.47 running: yes
Network:
Device-1: Intel Wi-Fi 6 AX200 vendor: Rivet Networks Killer™
driver: iwlwifi v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
bus-ID: 3b:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp59s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 1-4:3 chip-ID: 8087:0029 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 1011.62 GiB used: 31.01 GiB (3.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: A-Data model: SX8200PNP
size: 953.87 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 42AZS6AC
temp: 32.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 type: USB vendor: Kingston
model: DT microDuo 3.0 size: 57.75 GiB block-size: physical: 512 B
logical: 512 B type: N/A serial: <filter> rev: PMAP scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 920.9 GiB size: 256 GiB (27.80%) used: 19.99 GiB (7.8%)
fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
ID-2: /boot/efi raw-size: 351 MiB size: 350.3 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 920.9 GiB size: 256 GiB (27.80%)
used: 19.99 GiB (7.8%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
ID-4: /var/log raw-size: 920.9 GiB size: 256 GiB (27.80%)
used: 19.99 GiB (7.8%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
ID-5: /var/tmp raw-size: 920.9 GiB size: 256 GiB (27.80%)
used: 19.99 GiB (7.8%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 32 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: swap-2 type: zram size: 15.26 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 59.0 C pch: 43.0 C mobo: N/A
Fan Speeds (RPM): cpu: 0 fan-2: 0
Info:
Processes: 381 Uptime: 20m wakeups: 1510 Memory: 15.26 GiB
used: 3.43 GiB (22.5%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1475 lib: 334 Shell: fish
v: 3.3.1 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.13
Garuda (2.5.5-1):
System install date:     2022-02-23
Last full system update: 2022-02-23
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:

Is that the device? 64GB Kingston?

What is the output of lsblk? Do you see the device on there?

If you edit your first post, highlight the terminal output, press ctrl+E (or click the preformatted text button) it will make the output much easier to read.

image

Hi, thanks for recomendation, already edited.

64GB kingston is anther USB, not SD card I need to read.

I do not see SD card in output of lsblk

Output of lsblk looks like this. SD card is not there

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    1  57,8G  0 disk
├─sda1        8:1    1  57,7G  0 part
└─sda2        8:2    1    32M  0 part
zram0       254:0    0  15,3G  0 disk [SWAP]
nvme0n1     259:0    0 953,9G  0 disk
├─nvme0n1p1 259:1    0   351M  0 part /boot/efi
├─nvme0n1p2 259:2    0    32G  0 part [SWAP]
└─nvme0n1p3 259:3    0 920,9G  0 part /var/tmp
/srv
/var/log
/var/cache
/root
/home
/

Okay. Can you check the output of lsusb to make sure your SD reader is on there?

It is an internal SD card reader, that is why I specified my PC model, but output of lsusb is:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0951:16a3 Kingston Technology DT microDuo 3.0
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 27c6:5395 Shenzhen Goodix Technology Co.,Ltd. Fingerprint Reader
Bus 001 Device 006: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 005: ID 0c45:6723 Microdia Integrated_Webcam_HD
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Post lspci. You are likely missing the firmware for your card reader.

Output of lspci

0:00.0 Host bridge: Intel Corporation Device 3e20 (rev 0d)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 0d)
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0d)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:15.0 Serial bus controller: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10)
00:15.1 Serial bus controller: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #1 (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake Mobile PCH SATA AHCI Controller (rev 10)
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #17 (rev f0)
00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #1 (rev f0)
00:1c.4 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #5 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Cannon Lake LPC Controller (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
02:00.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
03:00.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
03:01.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
03:02.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
04:00.0 System peripheral: Intel Corporation JHL6340 Thunderbolt 3 NHI (C step) [Alpine Ridge 2C 2016] (rev 02)
3a:00.0 USB controller: Intel Corporation JHL6340 Thunderbolt 3 USB 3.1 Controller (C step) [Alpine Ridge 2C 2016] (rev 02)
3b:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
3c:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
3d:00.0 Non-Volatile memory controller: ADATA Technology Co., Ltd. XPG SX8200 Pro PCIe Gen3x4 M.2 2280 Solid State Drive (rev 03)

As it seems to be missing from your outputs I see 3 likely causes.

You need to INSTALL the firmware from the AUR. You will need to search online for your exact computer/mobo model to find which card reader model is installed.

Possibly your bios is outdated, search for an update. Reset your bios to the factory default.

Your kernel is missing the required information about your card reader. Test alternate kernels.

1 Like

I checked BIOS version and it should be up to date. Also tried factory reset and did not work.

Tried installing another kernel sudo pacman -Syu linux-lts linux-lts-headers and switching to it on restart, but it did not help.

Could you please elaborate on that first option with firmware from AUR? I do not really know what do you mean by that, but I already tried installing 3 drivers for Realtek card readers from github; Realtek-rts5229-linux-driver, rts5227-dkms and rts_bpp.

But I am using arch based linux first time ever, so not sure if I installed them correctly or what else could be wrong.

The linux-mainline kernel would certainly be worth trying.

Are you sure it is even a Realtek card reader? You must search the Internet, (perhaps your manufacturers site) to find the exact model number ID of your card reader. Once you have this key information a fix should be easier to find.

Edit:

I now notice in your inxi output that you are likely a Windows dual booter. There is a reason why we say we do not support dual boots. Windows has a nasty habit of disabling hardware in Linux.

Be sure fast boot is disabled in Windows. Then, go into the Windows device manager. Find your card reader and record the model information. Then be sure to disable power saving in the card readers advanced properties tab. Shut down and unplug power supply, then boot into Linux.

1 Like

Booting on linux-mainline kernel did not help either.

I am not dual booter. I formated my whole SSD with windows and installed Garuda. How is that output possible?

This is mobo I have: Dell 0T8KGX but cannot find exact card reader in my laptop. Everywhere is just "SD card reader". But found driver on official Dell webpage and it suits on these versions:

Realtek Card Reader

Realtek CardReader

Realtek Memory Card Reader

Realtek Memory Card Reader Driver

Realtek PCI-E Memory Card Reader

Realtek PCI-E Memory Card Reader Driver

Realtek RTS 5242 PCIe Gen2 CardReader

Realtek RTS5240 Card Reader

Realtek RTS5242 Card Reader

Realtek RTS5242 CardReader

Realtek RTS5249 CardReader

Realtek RTS5330 Card Reader

Realtek USB Memory Card Reader Driver

This "Community Manager" from Dell says your laptop has a toggle for the SD card reader in the BIOS menu.

Community Manager DELL-Chris M

Community Manager

‎03-17-2021 07:59 AM

  • Restart the laptop
  • Press F2 to enter the BIOS
  • Go to System Configuration- Miscellaneous Devices
  • Remove the check from "Enable Secure Digital SD Card"
  • Click Apply- Exit
  • Press F2 to enter the BIOS
  • Go to System Configuration- Miscellaneous Devices
  • Add the check to "Enable Secure Digital SD Card"
  • Click Apply- Exit

His advice is to turn it off and on again, but at the very least I'd say checking that it is on in the first place would be worth a go.

3 Likes

Okay, this did not work but I saw Windows Boot Loader in Boot options in BIOS and tried to remove it from there and that worked.

Thank you for showing me the right direction and @tbg thank you for all the advanced effort. Did not even know that Windows boot option was still there even after removing windows from SSD completely.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.