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.000004
First Submitted: 2017-06-22 13:19 (UTC)
Last Updated: 2023-04-04 22:25 (UTC)

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

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

ochurlaud commented on 2018-04-29 20:49 (UTC)

@robertfoster: my dmesg doesn't log anything concerning sd card when I plug/unplug it.

robertfoster commented on 2018-04-29 15:24 (UTC)

@otcho @ochurlaud please take a look at dmesg. lspci output is not representative of working drivers but, in this case, of assigning a correct identification to device. See for pciids

ochurlaud commented on 2018-04-29 14:22 (UTC)

Same as @otcho here...

I'll be please to see this working :)

<deleted-account> commented on 2018-02-15 19:38 (UTC)

Driver isn't loaded with current 4.15.3.1 kernel - am I missing something? It installed fine, but lscpi gives me

00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
[...]
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)

Cheers!

robertfoster commented on 2018-01-17 14:51 (UTC) (edited on 2018-02-07 17:31 (UTC) by robertfoster)

Please use this in the meantime, astyonax will merge PR asap:

# Maintainer: mober <maxATmoberDOTat>
# Thanks to:
# * astyonax@github
#   https://github.com/astyonax/patched-RTS5227-5229

_pkgbase=rts5227
pkgname=rts5227-dkms
pkgver=1.07
pkgrel=5
pkgdesc="Driver to support Realtek RTS5227/5229 SD Card Reader"
arch=('i686' 'x86_64')
url="http://www.realtek.com.tw/Downloads/downloadsView.aspx?Langid=1&PNid=15&PFid=25&Level=4&Conn=3&DownTypeID=3&GetDown=false"
license=('')
depends=('dkms')
source=("rts5229::git+https://github.com/astyonax/patched-RTS5227-5229.git"
    'dkms.conf'
    'blacklist-rts5227-dkms.conf'
    'rts5227-dkms-suspend.sh'
)

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

    # Copy dkms .conf
    install -Dm644 dkms.conf "${pkgdir}/usr/src/${_pkgbase}-${pkgver}/dkms.conf"
    # Set name and version
    sed -e "s/@_PKGBASE@/${_pkgbase}/" \
        -e "s/@PKGVER@/${pkgver}/" \
        -i "${pkgdir}/usr/src/${_pkgbase}-${pkgver}/dkms.conf"

    # Blacklist rtsx_pci
    install -Dm644 "blacklist-${pkgname}.conf" "${pkgdir}/etc/modprobe.d/blacklist-${pkgname}.conf"

    # Fix suspend
    install -Dm755 "${pkgname}-suspend.sh" "${pkgdir}/usr/lib/systemd/system-sleep/${pkgname}-suspend.sh"

    # Copy sources (including Makefile)
    cd "${sourceDir}"
    for d in `find . -type d`
    do
        install -dm755  "${installDir}/$d"
    done
    for f in `find . -type f ! -name 'README.md' ! -name '.gitignore'`
    do
        install -m644 "${sourceDir}/$f" "${installDir}/$f"
    done
}

md5sums=('SKIP'
         '63ab60ad3295c0aed7219dbddfd50af3'
         '6640eecc5bcc3584397a7d1a33eb028f'
         'e59828310982d2943318900d7017b99f')

Makefile.patch not needed, I've merged it in sources

turboencabulator commented on 2017-12-18 04:07 (UTC)

Thank you @robertfoster, I was able to dkms rebuild the driver after that change successfully and add the module to kernel. For those using Arch, once you finish with the yaourt process and get the error reported by @ldmdev and others, go to the directory with the source code for e.g. "/var/lib/dkms/rts5227/1.07/source", then edit the file "rtsx_scsi.c" as described by @robertfoster in his link and save the edits. Then do a <$ make clean> inside the "build" directory under "../1.07/" finally under the "/var/lib/dkms" directory, execute < $ dkms install rts5227/1.07 -k 4.XX.X-X-ARCH > where 4.XX.X-X-ARCH is your kernel version. This should complete all the remaining install steps and end automatically with depmod.

robertfoster commented on 2017-12-07 14:39 (UTC)

Please use this to fix dkms on latest kernel: https://gist.github.com/M0Rf30/216dac68d544d60f94df862b074781fa

ldmdev commented on 2017-11-26 22:13 (UTC) (edited on 2017-11-26 22:14 (UTC) by ldmdev)

Same for me [code] ==> dkms install rts5227/1.07 -k 4.14.2-1-MANJARO Error! Bad return status for module build on kernel: 4.14.2-1-MANJARO (x86_64) Consult /var/lib/dkms/rts5227/1.07/build/make.log for more information. [/code] log: https://hastebin.com/ewakubirec.cs