WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: rtl88x2bu.tcz is deprecated, firmware-rtlwifi.tcz needs fixing  (Read 22 times)

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1558
Hello forum. Just a heads-up that the rtl88x2bu.tcz extension should be removed from the TCL16 repos. The relevant wifi devices are now supported by the rtw88 driver, which is in-kernel (woo-hoo!) and provided by wireless-KERNEL.tcz.

On a related note, firmware-rtlwifi.tcz needs a small fix. The new rtw88 driver seems hardwired to look for firmware inside /lib/firmware/rtw88. If firmware is inside /usr/local/lib/firmware/rtw88, the driver cannot find it:
Code: [Select]
$ dmesg | grep firmware
...
[   39.660222] rtw_8822bu 3-2:1.0: Direct firmware load for rtw88/rtw8822b_fw.bin failed with error -2
[  100.387244] rtw_8822bu 3-2:1.0: failed to request firmware
[  100.387278] rtw_8822bu 3-2:1.0: failed to load firmware
[  338.528686] rtw_8822bu 3-2:1.0: Direct firmware load for rtw88/rtw8822b_fw.bin failed with error -2
If I move the /usr/local/lib/firmware/rtw88 directory in firmware-rtlwifi.tcz to /lib/firmware/rtw88 then the firmware is found and my device works as expected. Please make this small fix to firmware-rtlwifi.tcz.

P.S. firmware-rtlwifi.tcz contains a second firmware directory, namely /usr/local/lib/firmware/rtlwifi. I don't have any devices that use those, so cannot test whether that directory can stay where it is or whether it also needs to be moved (to /lib/firmware/rtlwifi).