I recently got a “TP-Link TL-WN822N” working by
- installing the 8192eu-dkms package
- blacklisting the old module that was also still in use
Without blacklisting the ‘rtl8xxxu’ module, the usb-dongle still didn’t work, so I generated the following file
sudo nano /etc/modprobe.d/rtl8xxxu.conf
with the line
blacklist rtl8xxxu
Rebootet and all was good.
[Edit] Find out which modules are in use by running
dmesg | grep usbcore