Package Details: rts5227-dkms 1.08-1

Git Clone URL: https://aur.archlinux.org/rts5227-dkms.git (read-only, click to copy)
Package Base: rts5227-dkms
Description: Driver to support Realtek RTS5227/5229 SD Card Reader
Upstream URL: http://www.realtek.com.tw/Downloads/downloadsView.aspx?Langid=1&PNid=15&PFid=25&Level=4&Conn=3&DownTypeID=3&GetDown=false
Licenses: GPL2
Submitter: mober
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 11
Popularity: 0.000000
First Submitted: 2017-06-22 13:19 (UTC)
Last Updated: 2023-04-04 22:25 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

paolobb4 commented on 2019-04-25 09:27 (UTC) (edited on 2019-04-25 11:56 (UTC) by paolobb4)

Can't install under manjaro. Builds ok but during installation I get this error message:

==> Unable to install module rts5227/1.07 for kernel 4.19.31-rt18-MANJARO: Missing kernel modules tree.

I can't find anything online about a "kernel modules tree" (Sorry, I'm very ignorant of how the kernel works).

luka.r commented on 2019-04-19 22:35 (UTC)

The driver compiled after uncommenting

// #define SG_END 0x02

At line 319 of rtsx_chip.h

luka.r commented on 2019-04-19 22:16 (UTC)

There seems to be a conflict with SG_END variable... Might have a fix here: https://gitlab.ic.unicamp.br/lkcamp/linux-staging/commit/b5d013bc09e9e76df9cdc85c2598486ba9a5b9b6

luka.r commented on 2019-03-30 14:20 (UTC)

Won't build on Manjaro... Here's the make.log file:

DKMS make.log for rts5227-1.07 for kernel 4.14.93-rt53-MANJARO (x86_64) Sat Mar 30 15:03:18 CET 2019 make: Entering directory '/usr/lib/modules/4.14.93-rt53-MANJARO/build' AR /var/lib/dkms/rts5227/1.07/build/built-in.o CC [M] /var/lib/dkms/rts5227/1.07/build/rtsx.o CC [M] /var/lib/dkms/rts5227/1.07/build/rtsx_chip.o CC [M] /var/lib/dkms/rts5227/1.07/build/rtsx_transport.o CC [M] /var/lib/dkms/rts5227/1.07/build/rtsx_scsi.o /var/lib/dkms/rts5227/1.07/build/rtsx_transport.c: In function ‘rtsx_add_sg_tbl’: /var/lib/dkms/rts5227/1.07/build/rtsx_transport.c:352:26: error: ‘SG_END’ undeclared (first use in this function); did you mean ‘SG_INT’? temp_opt = option & (~SG_END); ^~~~~~ SG_INT /var/lib/dkms/rts5227/1.07/build/rtsx_transport.c:352:26: note: each undeclared identifier is reported only once for each function it appears in /var/lib/dkms/rts5227/1.07/build/rtsx_transport.c: In function ‘rtsx_transfer_sglist_adma_partial’: /var/lib/dkms/rts5227/1.07/build/rtsx_transport.c:462:24: error: ‘SG_END’ undeclared (first use in this function); did you mean ‘SG_INT’? option = SG_VALID | SG_END | SG_TRANS_DATA; ^~~~~~ SG_INT /var/lib/dkms/rts5227/1.07/build/rtsx_transport.c: In function ‘rtsx_transfer_sglist_adma’: /var/lib/dkms/rts5227/1.07/build/rtsx_transport.c:620:25: error: ‘SG_END’ undeclared (first use in this function); did you mean ‘SG_INT’? option = SG_VALID | SG_END | SG_TRANS_DATA; ^~~~~~ SG_INT make[1]: [scripts/Makefile.build:326: /var/lib/dkms/rts5227/1.07/build/rtsx_transport.o] Error 1 make[1]: Waiting for unfinished jobs.... make: *** [Makefile:1535: module/var/lib/dkms/rts5227/1.07/build] Error 2 make: Leaving directory '/usr/lib/modules/4.14.93-rt53-MANJARO/build'

muhviehstarr commented on 2019-03-09 18:44 (UTC)

build fails at linux 5.0

try this

--- PKGBUILD +++ PKGBUILD @@ -13,13 +13,13 @@ url="http://www.realtek.com.tw/Downloads/downloadsView.aspx?Langid=1&PNid=15&PFid=25&Level=4&Conn=3&DownTypeID=3&GetDown=false" license=('GPL2') depends=('dkms') -source=("rts5229::git+https://github.com/astyonax/patched-RTS5227-5229.git" +source=("rts5229::git+https://github.com/kmahyyg/rts5229-dkms.git" 'blacklist-rts5227-dkms.conf' 'rts5227-dkms-suspend.sh' )

package(){ - sourceDir="${srcdir}/rts5229/rts5229" + sourceDir="${srcdir}/rts5229" installDir="${pkgdir}/usr/src/${_pkgbase}-${pkgver}"

# Blacklist rtsx_pci

teamgeist commented on 2019-02-27 12:39 (UTC)

The driver works fine for me on 4.20.12. There is just one small issue as it seems like the device is not detected (not showing in lspci) after after a warm reboot (shutdown -r). However if I shutdown -h and then restart it works.

kmahyyg commented on 2019-01-26 07:20 (UTC)

You may need to append

install rtsx_pci /bin/false

in your blacklist.conf.

By the way, the patch is redundant in RTS5229, I use https://github.com/kmahyyg/rts5229-dkms , It works fine on 4.20.3

rellieberman commented on 2018-06-23 22:47 (UTC)

Also blacklisting rtsx_pci seems to stop at least 2 other modules from loading (rtsx_pci, rtsx_pci_ms, rtsx_pci_sdmmc), these are all replaced by rts5227?

rellieberman commented on 2018-06-23 22:21 (UTC) (edited on 2018-06-23 22:34 (UTC) by rellieberman)

Have you got it to work?

I seems I have 2 issues:

  1. Before I installed this driver I got dmesg errors every time I inserted a card. Now nothing seems to happen at all even though the correct module (rts5227) is loaded.

  2. The module only loads automatically on the first reboot after installation, after that I have to load it manually like mentioned bellow. This still doesn't get the card reader to work. Moreover, even after manually loading rts5227 the card reader doesn't appear in lspci (it did the first time rts5227 was used).

njoyard commented on 2018-06-14 07:59 (UTC)

Quick followup: manually modprobing rtsx_pci solves the issue.

I'll have to find why the modules are no longer inserted at boot.