I have installed Realtek RTL88x2BU drivers from Cilynx's GitHub repo using DKMS installation in Ubuntu MATE 19.04 with kernel 5.3.4 (and later 5.3.7)
Drivers worked fine for a week, then suddenly stopped detecting TP-Link Archer T3U AC1300 Wireless USB Adapter altogether. The same adapter works fine with other PC.
This is how drivers were installed:
cd rtl88x2bu
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu
So how could I completely remove kernel modules of all the previous versions (1.1, 5.6.1, etc) for RTL88x2BU? Many thanks.
You can do the reverse steps:
Unload module
Check for all module builds status
output
Unregister it from DKMS,
sudo dkms uninstall ..
is optional as we are looking for complete purge.Remove source from DKMS
WARNING: Be careful
rm -r
is a dangerous command!