Got it to work. This time i did something else, i did use the repo but i blacklisted the files somewhere else as where the repo suggested.
- gedit /etc/modprobe.d/blacklist.conf
- Add these 2 lines
blacklist rtsx_pci
install rtsx_pci /bin/false
- git clone https://github.com/Zibri/Realtek-rts5229-linux-driver.git
- sudo mkdir /usr/src/rts5229-1.07
- sudo cp Realtek-rts5229-linux-driver/* /usr/src/rts5229-1.07
- cd /usr/src/rts5229-1.07
- sudo -i
- dkms install -m rts5229 -v 1.07
- sudo update-initramfs -u
- sudo dkms autoinstall
- reboot