Realtek RTS5227 driver for Ubuntu 14.04

Download the modified Realtek driver from here (made by Adam).

Unload the current driver:

sudo modprobe -r rtsx_pci_sdmmc
sudo modprobe -r rtsx_pci_ms
sudo modprobe -r rtsx_pci
sudo depmod -a

Blacklist the current driver:

sudo nano /etc/modprobe.d/blacklist-rtsx.conf

Add the following line to the end of the file and save it:

blacklist rtsx_pci

Build and install the new driver:

tar -xzvf rts5227_linux.tar.gz
cd rts5227
make
sudo make install
sudo depmod -a
sudo modprobe rts5227
sudo update-initramfs -u

Via:
http://askubuntu.com/a/492515
https://dainaccio.wordpress.com/2013/07/14/realtek-sd-reader-mounting-problems-under-linux-mintubuntu/
https://abhinavgupta2812.wordpress.com/2014/01/28/getting-a-realtek-sd-card-reader-to-work-on-linux-tried-and-tested-on-debian/