jbl-at-mydefence
August 13th, 2020, 10:41 AM
No device is mounted when inserting SD card into card reader.
I'm running Ubuntu 20.04 on a Lenovo P53 laptop
Card reader is enabled in BIOS.
Card reader seems to be found by the system
❯ sudo lspci -s 54:00.0 -v
54:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
Subsystem: Lenovo RTS525A PCI Express Card Reader
Flags: fast devsel, IRQ 19
Memory at ee100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [b0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Device Serial Number 00-00-00-01-00-4c-e0-00
Capabilities: [158] Latency Tolerance Reporting
Capabilities: [160] L1 PM Substates
Kernel modules: rtsx_pci
❯ dmesg | grep 54:00.0
[ 0.443484] pci 0000:54:00.0: [10ec:525a] type 00 class 0xff0000
[ 0.443515] pci 0000:54:00.0: reg 0x14: [mem 0xee100000-0xee100fff]
[ 0.443624] pci 0000:54:00.0: supports D1 D2
[ 0.443626] pci 0000:54:00.0: PME# supported from D1 D2 D3hot D3cold
[ 0.700407] pci 0000:54:00.0: Adding to iommu group 10
[ 0.700410] pci 0000:54:00.0: DMAR: Device uses a private identity domain.
[ 0.969659] rtsx_pci 0000:54:00.0: enabling device (0000 -> 0002)
[ 0.970438] rtsx_pci 0000:54:00.0: DMAR: 32bit DMA uses non-identity mapping
❯ dmesg | grep rtsx_pci
[ 0.969659] rtsx_pci 0000:54:00.0: enabling device (0000 -> 0002)
[ 0.970438] rtsx_pci 0000:54:00.0: DMAR: 32bit DMA uses non-identity mapping
❯ dmesg | grep mmc
❯ lsmod | grep rts
rtsx_pci 73728 0
❯
However, nothing happens when inserting/removing an SD card in/from the reader. No new entries in dmesg output. I was expecting an mmc block device to be mounted.
Has anyone gotten the card reader in a Lenovo P53 to work on Ubuntu 20.04?
/Jesper
I'm running Ubuntu 20.04 on a Lenovo P53 laptop
Card reader is enabled in BIOS.
Card reader seems to be found by the system
❯ sudo lspci -s 54:00.0 -v
54:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
Subsystem: Lenovo RTS525A PCI Express Card Reader
Flags: fast devsel, IRQ 19
Memory at ee100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [b0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Device Serial Number 00-00-00-01-00-4c-e0-00
Capabilities: [158] Latency Tolerance Reporting
Capabilities: [160] L1 PM Substates
Kernel modules: rtsx_pci
❯ dmesg | grep 54:00.0
[ 0.443484] pci 0000:54:00.0: [10ec:525a] type 00 class 0xff0000
[ 0.443515] pci 0000:54:00.0: reg 0x14: [mem 0xee100000-0xee100fff]
[ 0.443624] pci 0000:54:00.0: supports D1 D2
[ 0.443626] pci 0000:54:00.0: PME# supported from D1 D2 D3hot D3cold
[ 0.700407] pci 0000:54:00.0: Adding to iommu group 10
[ 0.700410] pci 0000:54:00.0: DMAR: Device uses a private identity domain.
[ 0.969659] rtsx_pci 0000:54:00.0: enabling device (0000 -> 0002)
[ 0.970438] rtsx_pci 0000:54:00.0: DMAR: 32bit DMA uses non-identity mapping
❯ dmesg | grep rtsx_pci
[ 0.969659] rtsx_pci 0000:54:00.0: enabling device (0000 -> 0002)
[ 0.970438] rtsx_pci 0000:54:00.0: DMAR: 32bit DMA uses non-identity mapping
❯ dmesg | grep mmc
❯ lsmod | grep rts
rtsx_pci 73728 0
❯
However, nothing happens when inserting/removing an SD card in/from the reader. No new entries in dmesg output. I was expecting an mmc block device to be mounted.
Has anyone gotten the card reader in a Lenovo P53 to work on Ubuntu 20.04?
/Jesper