I wanted to replace problematic rtl8192cu driver with rtl8xxxu driver, compiled it as a module and realized this release already comes with rtl8xxxu driver, but I cannot get the built-in module to load the required firmware. What am I doing wrong?
Dmesg with native module loaded, I removed and reconnected the dongle:
[ 245.781729] usb 1-1.2: USB disconnect, device number 4
[ 251.712573] usb 1-1.2: new high-speed USB device number 6 using dwc_otg
[ 251.844517] usb 1-1.2: New USB device found, idVendor=7392, idProduct=7811, bcdDevice= 2.00
[ 251.844573] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 251.844598] usb 1-1.2: Product: 802.11n WLAN Adapter
[ 251.844619] usb 1-1.2: Manufacturer: Realtek
[ 251.844639] usb 1-1.2: SerialNumber: redacted
[ 315.681401] usbcore: deregistering interface driver rtl8xxxu
Module Size Used by Tainted: G
rtl8xxxu 184320 0
Then I removed the module, loaded my compiled .ko file removed and reinserted the dongle and it loaded firmware and wifi.sh worked as expected.
[ 1019.844554] usb 1-1.2: New USB device found, idVendor=7392, idProduct=7811, bcdDevice= 2.00
[ 1019.844616] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1019.844641] usb 1-1.2: Product: 802.11n WLAN Adapter
[ 1019.844662] usb 1-1.2: Manufacturer: Realtek
[ 1019.844680] usb 1-1.2: SerialNumber: redacted
[ 1020.099310] usb 1-1.2: RTL8188CU rev A (TSMC) romver 0, 1T1R, TX queues 2, WiFi=1, BT=0, GPS=0, HI PA=0
[ 1020.099380] usb 1-1.2: RTL8188CU MAC: redacted
[ 1020.099409] usb 1-1.2: rtl8xxxu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[ 1020.099860] usb 1-1.2: Firmware revision 88.2 (signature 0x88c1)
Module Size Used by Tainted: G
rtl8xxxu 188416 0
Is there something wrong with the native rtl8xxxu module?