View previous topic :: View next topic |
Author |
Message |
Vrenn Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 15 Dec 2004 Posts: 327
|
Posted: Thu May 16, 2013 3:05 pm Post subject: New kernel driver for RTS5209 cardreader in 3.8 doesn't work |
|
|
In my Alienware M17x there is a build in card reader for SD-Cards.
Currently I have no Idea why it doesn't work as I have used the new supplied driver in kernel 3.8. see lspci -v
Code: | 13:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
Subsystem: Dell Device 0490
Flags: bus master, fast devsel, latency 0, IRQ 41
Memory at d3101000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 00-00-00-01-00-4c-e0-00
Kernel driver in use: rtsx_pci
13:00.1 SD Host controller: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
Subsystem: Dell Device 0490
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at d3100000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 3
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [b0] Express Endpoint, MSI 01
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 00-00-00-01-00-4c-e0-00
Kernel driver in use: sdhci-pci |
dmesg seems to accept it too Code: | [ 0.854548] sdhci: Secure Digital Host Controller Interface driver
[ 0.854632] sdhci: Copyright(c) Pierre Ossman
[ 0.854718] sdhci-pci 0000:13:00.1: SDHCI controller found [10ec:5209] (rev 1)
[ 0.854831] sdhci-pci 0000:13:00.1: Will use DMA mode even though HW doesn't fully claim to support it.
[ 0.854952] sdhci-pci 0000:13:00.1: Will use DMA mode even though HW doesn't fully claim to support it.
[ 0.879122] mmc0: SDHCI controller on PCI [0000:13:00.1] using DMA
|
Code: | [ 0.737128] rtsx_pci 0000:13:00.0: irq 41 for MSI/MSI-X
[ 0.737141] rtsx_pci 0000:13:00.0: rtsx_pci_acquire_irq: pcr->msi_en = 1, pci->irq = 41 | But theres no useable blockdevice, dolphin is missing the device when a sd-card is used.
The kerneldriver lists my RTS5209 and an usb-adapter for sd-cards is functional.
Do you have any idea where to look next? _________________ With nice greetings
Vrenn |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
aCOSwt Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Thu May 16, 2013 4:09 pm Post subject: Re: New kernel driver for RTS5209 cardreader in 3.8 doesn't |
|
|
Vrenn wrote: | Do you have any idea where to look next? |
there ? _________________
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Vrenn Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 15 Dec 2004 Posts: 327
|
Posted: Thu May 16, 2013 4:54 pm Post subject: |
|
|
Never used rts_bpp, but I hope it is the same and gets fixed
edith: mine was CONFIG_RTS_PSTOR
But thank you, now I know I might be not alone. _________________ With nice greetings
Vrenn |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
polslinux Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry.gif)
Joined: 12 Apr 2010 Posts: 253 Location: Veneto
|
Posted: Thu May 23, 2013 5:51 pm Post subject: |
|
|
With the patch that is in the bug report it compiles ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
polslinux Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry.gif)
Joined: 12 Apr 2010 Posts: 253 Location: Veneto
|
Posted: Thu May 23, 2013 7:29 pm Post subject: |
|
|
The module compile fine but i cannot read any sd card
Code: | CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PCI=y
CONFIG_MMC_SDHCI_ACPI=y
CONFIG_MMC_SDHCI_PLTFM=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_MFD_RTSX_PCI=y |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
beizhuchun n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Apr 2013 Posts: 29
|
Posted: Sat May 25, 2013 9:44 am Post subject: |
|
|
This also occured with gentoo-source-3.9.3
dmesg:
mmc0: error -110 whilst initialising SD card |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
alinefr Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1655886997575b94001ffbe.jpg)
Joined: 05 Jul 2009 Posts: 113 Location: São Paulo, Brasil
|
Posted: Sat May 25, 2013 2:59 pm Post subject: |
|
|
Googling around I found this.
http://www.skuldougery.com/?p=93
We need to make sure our kernel has:
Code: |
CONFIG_MFD_RTSX_PCI=m
CONFIG_MMC_REALTEK_PCI=m
CONFIG_MEMSTICK_REALTEK_PCI=m
MMC_REALTEK_PCI=m
MEMSTICK_REALTEK_PCI=m
|
And now my card reader is working as it should. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
polslinux Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry.gif)
Joined: 12 Apr 2010 Posts: 253 Location: Veneto
|
Posted: Mon May 27, 2013 9:29 pm Post subject: |
|
|
it works ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lkraav Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/2325663314d8b46e94f6a0.jpg)
Joined: 13 Oct 2004 Posts: 130 Location: Estonia
|
Posted: Fri Aug 09, 2013 9:03 am Post subject: |
|
|
+1, yes it does |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
el_Salmon Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/14500302473ff58da7739d1.jpg)
Joined: 15 Dec 2003 Posts: 339 Location: Around 2.4GHz
|
Posted: Fri Oct 25, 2013 8:20 am Post subject: |
|
|
It works for my HP laptop too. Thanks! _________________ Linux Proud User: HP Pavilion 15-an002ns laptop (KDE Neon), Xiaomi Mi Air 12 (KDE Neon), Raspberry Pi 3 (Nextcloudpi), Docooler MS9 Pro (LibreElec) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|