RTS522A SD card reader on Lenovo P14s not working in Ubuntu 22.10

Bug #1995966 reported by Matej Kovacic
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have Ubuntu 22.10 (uname -a says 5.19.0-23-generic #24-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 14 15:39:57 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux) on Lenovo P14s laptop.

There is built-in SD card reader, which does not work. i e., when I insert SD card, it is not mounted or recognized at all.

Please note this is not a problem of the SD card, because this SD card works on older Lenovo laptop (with different SD card reader) with Ubuntu (so it is not some "special", incompatible SD card).

lspci says:

04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader [10ec:522a] (rev 01)
    Subsystem: Lenovo RTS522A PCI Express Card Reader [17aa:5094]
    Kernel driver in use: rtsx_pci
    Kernel modules: rtsx_pci

lsmod | grep rtsx_pci says:
rtsx_pci_sdmmc 36864 0
rtsx_pci 106496 1 rtsx_pci_sdmmc

I guess it is a kernel problem? Or there is another solution?
---
ProblemType: Bug
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.10
InstallationDate: Installed on 2022-10-24 (16 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
MachineType: LENOVO 21A0S05000
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.19.0-23-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7
RelatedPackageVersions:
 linux-restricted-modules-5.19.0-23-generic N/A
 linux-backports-modules-5.19.0-23-generic N/A
 linux-firmware 20220923.gitf09bebf3-0ubuntu1
Tags: kinetic wayland-session
Uname: Linux 5.19.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo vboxusers
_MarkForUpload: True
dmi.bios.date: 06/27/2022
dmi.bios.release: 1.19
dmi.bios.vendor: LENOVO
dmi.bios.version: R1MET49W (1.19 )
dmi.board.asset.tag: Not Available
dmi.board.name: 21A0S05000
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.19
dmi.modalias: dmi:bvnLENOVO:bvrR1MET49W(1.19):bd06/27/2022:br1.19:efr1.19:svnLENOVO:pn21A0S05000:pvrThinkPadP14sGen2a:rvnLENOVO:rn21A0S05000:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21A0_BU_Think_FM_ThinkPadP14sGen2a:
dmi.product.family: ThinkPad P14s Gen 2a
dmi.product.name: 21A0S05000
dmi.product.sku: LENOVO_MT_21A0_BU_Think_FM_ThinkPad P14s Gen 2a
dmi.product.version: ThinkPad P14s Gen 2a
dmi.sys.vendor: LENOVO

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1995966/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1995966

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Matej Kovacic (matej-kovacic) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected kinetic wayland-session
description: updated
Revision history for this message
Matej Kovacic (matej-kovacic) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : CRDA.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : IwConfig.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : Lspci.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : Lspci-vt.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : Lsusb.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : Lsusb-t.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : Lsusb-v.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : ProcEnviron.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : ProcModules.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : RfKill.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : UdevDb.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : WifiSyslog.txt

apport information

Revision history for this message
Matej Kovacic (matej-kovacic) wrote : acpidump.txt

apport information

Revision history for this message
Paul White (paulw2u) wrote :

Changing status to 'Confirmed' as was requested in comment #2.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Please attach full dmesg after the card is inserted.

Revision history for this message
Matej Kovacic (matej-kovacic) wrote :
Download full text (133.3 KiB)

sudo dmesg | grep -vw "UFW BLOCK"

[ 0.327796] ACPI: PM: Power Resource [P0NV]
[ 0.331078] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.331083] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3]
[ 0.331144] acpi PNP0A08:00: _OSC: platform does not support [SHPCHotplug LTR DPC]
[ 0.331249] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug PME AER PCIeCapability]
[ 0.331250] acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS configuration
[ 0.331259] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[ 0.331424] PCI host bridge to bus 0000:00
[ 0.331425] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000effff window]
[ 0.331426] pci_bus 0000:00: root bus resource [mem 0xd0000000-0xf7ffffff window]
[ 0.331428] pci_bus 0000:00: root bus resource [mem 0xfc000000-0xfdffffff window]
[ 0.331428] pci_bus 0000:00: root bus resource [mem 0x830000000-0xffffffffff window]
[ 0.331429] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 0.331430] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 0.331430] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.331440] pci 0000:00:00.0: [1022:1630] type 00 class 0x060000
[ 0.331497] pci 0000:00:00.2: [1022:1631] type 00 class 0x080600
[ 0.331559] pci 0000:00:01.0: [1022:1632] type 00 class 0x060000
[ 0.331617] pci 0000:00:02.0: [1022:1632] type 00 class 0x060000
[ 0.331665] pci 0000:00:02.1: [1022:1634] type 01 class 0x060400
[ 0.331715] pci 0000:00:02.1: PME# supported from D0 D3hot D3cold
[ 0.331767] pci 0000:00:02.2: [1022:1634] type 01 class 0x060400
[ 0.331820] pci 0000:00:02.2: PME# supported from D0 D3hot D3cold
[ 0.331872] pci 0000:00:02.3: [1022:1634] type 01 class 0x060400
[ 0.331922] pci 0000:00:02.3: PME# supported from D0 D3hot D3cold
[ 0.331972] pci 0000:00:02.4: [1022:1634] type 01 class 0x060400
[ 0.332021] pci 0000:00:02.4: PME# supported from D0 D3hot D3cold
[ 0.332071] pci 0000:00:02.5: [1022:1634] type 01 class 0x060400
[ 0.332120] pci 0000:00:02.5: PME# supported from D0 D3hot D3cold
[ 0.332169] pci 0000:00:02.6: [1022:1634] type 01 class 0x060400
[ 0.332219] pci 0000:00:02.6: PME# supported from D0 D3hot D3cold
[ 0.332271] pci 0000:00:02.7: [1022:1634] type 01 class 0x060400
[ 0.332320] pci 0000:00:02.7: PME# supported from D0 D3hot D3cold
[ 0.332380] pci 0000:00:08.0: [1022:1632] type 00 class 0x060000
[ 0.332428] pci 0000:00:08.1: [1022:1635] type 01 class 0x060400
[ 0.332447] pci 0000:00:08.1: enabling Extended Tags
[ 0.332476] pci 0000:00:08.1: PME# supported from D0 D3hot D3cold
[ 0.332558] pci 0000:00:14.0: [1022:790b] type 00 class 0x0c0500
[ 0.332643] pci 0000:00:14.3: [1022:790e] type 00 class 0x060100
[ 0.332749] pci 0000:00:18.0: [1022:166a] type 00 class 0x060000
[ 0.332781] pci 0000:00:18.1: [1022:166b] type 00 class 0x060000
[ 0.332811] pci 0000:00:18.2: [1022:166c] type 00 class 0x060000
[ 0.332843] pci 0000:00:18.3: [1022:166d] type 00 class 0x060000
[ 0.332873] pci 0000:00:18.4: [1022:166e] t...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.