Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RTS5129 is not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
WodkaBylaZaSlona
n00b
n00b


Joined: 08 Mar 2016
Posts: 10

PostPosted: Sun Feb 05, 2017 7:07 pm    Post subject: RTS5129 is not working Reply with quote

I'm trying to set-up my sd card reader, so far without any success.

According to lsusb it is:
Code:
Bus 001 Device 007: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller


So I've added a support for MMC_REALTEK_USB (and PCI - just to be sure :D)

Code:
cat .config | grep -i realtek
CONFIG_NET_VENDOR_REALTEK=y
CONFIG_REALTEK_PHY=m
CONFIG_WLAN_VENDOR_REALTEK=y
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_USB_STORAGE_REALTEK=m
CONFIG_REALTEK_AUTOPM=y
CONFIG_MMC_REALTEK_PCI=y
CONFIG_MMC_REALTEK_USB=y
CONFIG_MEMSTICK_REALTEK_PCI=y
CONFIG_MEMSTICK_REALTEK_USB=y


And It still does not work - I have no idea why

Code:
 mmc0: error -5 whilst initialising SD card
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Sun Feb 05, 2017 7:17 pm    Post subject: Reply with quote

Quote:
solved:

the RTS5129 needs CONFIG_MMC_REALTEK_USB; module rtsx_usb_sdmmc; on tree MMC/SD/SDIO card support.
to find this in menuconfig, you must set CONFIG_MFD_RTSX_USB; module rtx_usb; on tree Multifunction device drivers.

instead CONFIG_USB_STORAGE_REALTEK; module ums-realtek; on tree USB Support is not needed.
I don't know if it's useful.


https://forums.gentoo.org/viewtopic-t-1006246-start-0.html

Plesae search first before posting
Back to top
View user's profile Send private message
WodkaBylaZaSlona
n00b
n00b


Joined: 08 Mar 2016
Posts: 10

PostPosted: Sun Feb 05, 2017 10:29 pm    Post subject: Reply with quote

Roman_Gruber wrote:
Quote:
solved:

the RTS5129 needs CONFIG_MMC_REALTEK_USB; module rtsx_usb_sdmmc; on tree MMC/SD/SDIO card support.
to find this in menuconfig, you must set CONFIG_MFD_RTSX_USB; module rtx_usb; on tree Multifunction device drivers.

instead CONFIG_USB_STORAGE_REALTEK; module ums-realtek; on tree USB Support is not needed.
I don't know if it's useful.


https://forums.gentoo.org/viewtopic-t-1006246-start-0.html

Plesae search first before posting


Did I miss something? The CONFIG_MMC_REALTEK_USB is on.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13836

PostPosted: Sun Feb 05, 2017 10:59 pm    Post subject: Reply with quote

You missed that Roman has developed an unfortunate habit of answering posts without checking whether his answer is applicable. ;)

The error message you posted initially says that it fails with EIO. Looking at the source, this probably comes from mmc_wait_for_app_cmd (but there are other MMC places that use the error code). The source is unfortunately quite sparse on print statements, so I see no way for you to get more details without patching your kernel to be more verbose. I see only warning and error level messages, both of which I would expect would be shown to you if they were hit.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum