1

I'm missing the driver for the Realtek RTL8852be Wifi Adapter. There are just the rtw8852a_fw.bin and rtw8852c_fw.bin files in the /lib/firmware/rtw89 folder and I need the rtw8852b_fw.bin file. I downloaded the rtw8852b_fw.bin from git.kernel.org and put it in the folder, but that doesn't fixed the issue. I tried a reboot and run sudo modprobe rtw8852b:

modprobe: FATAL: Module rtw8852b not found in directory /lib/modules/5.15.0-67-generic

I couldn't find any helpful information about how to install drivers with a .bin file.

Could someone point me in the right direction how to solve the problem?

Koque
  • 11
  • 1
    I driver often consists of code and the firmware blob. From the information you gave, what you downloaded was only the blob, not the driver. What's the output from modinfo rtw89_8852b? – popey Mar 13 '23 at 19:06
  • 1
    So it looks like that's for a newer kernel. It's available for Ubuntu Lunar but that's not officially supported until next month. Alternatively, you could try finding firmware on github but this usually requires some module compiling and/or DKMS installation. Installation is usually straightforward but you'd need to find something compatible with your current kernel and one that isn't too outdated or it probably won't compile. – mchid Mar 13 '23 at 19:35
  • You really have two questions here: first, how to install the firmware file and second, why isn't the driver installed and working. Please edit your question to tell us the exact process you followed to install the driver. I assume that you downloaded the driver here: https://github.com/lwfinger/rtw89 What did you do next? Welcome to Ask Ubuntu. – chili555 Mar 13 '23 at 20:05
  • Please see the comment at the git repository: "you can download the firmware from https://lwfinger.com/download/rtw8852b_fw.bin, and copy it to /lib/firmware/rtw89/." – chili555 Mar 13 '23 at 20:07
  • 2
  • @popey modinfo doesn't find the modul. - I guess this is a dead end? – Koque Mar 14 '23 at 16:39
  • @Koque - no it just means the kernel you're running doesn't have the driver. As I said, the bin file is only half the story. There's other comments above suggesting how you can install the driver - but you have to do that manually. – popey Mar 14 '23 at 17:57

1 Answers1

0

My wifi is now working. I used the driver from https://github.com/lwfinger/rtw89, as chili555 advised.

Thanks popey for explaining why just copying the .bin file didn't work.

Koque
  • 11