Wifi card driver fails to load

I have a network card that requires the kernel module rtw89_8852ae.
When trying to load said module with modprobe dmesg shows the following:
MAC has already powered on
txdma ch busy
[ERR] poll pcie dma all idle
failed to setup chip information
probe with driwer rtw89_8852ae failed with error -110.
It worked fine previously and there were no issues with my wifi and out of nowhere it suddenly stopped to function.

i tried enabling pcie_aspm=off during startup but it did not change anything, also reseted my bios and that didn’t work aswell

Is it possible to show the output of inxi -Na

Have you tried the AUR package? rtw89-dkms-git

inxi -Na outputs:
Device-1: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
vendor: Lenovo driver: N/A modules: rtw89_8852ae pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: e000 bus-ID 04:00.0chip-ID: 10ec:8852
class-ID: 0280

I cannot really try the aur package as without the driver, as I have no means of getting access to the internet without it. I just have the default loopback address.

The AUR package may not work either. Did it quit working with a newer kernel?

i think, it also does not work with a fresh up to date install aswell, the live usb’s wifi works fine but once the system actually runs it fails in the exact same way

1 Like

did some more testing and it even fails on plain arch linux,
building rtw89-dkms-git does not work either as I cant even get it to compile. I’m completely lost om how to evem begin fixomg this mess of a problem

I now got it to work.
Had to change the line 1177 in the file mac80211 from
.stop = rtw_89_ops_stop,
to
.stop = (void*)rtw_89_ops_stop,

1 Like

Where is this you refer to? Is this in the package build?

the exact things I did were:

  1. yay -S rtw89-dkms-git
  2. cd /usr/src/
  3. open rtw89.d1fced/mac80211.c in a text editor
  4. change line 1177 from .stop = rtw_89_ops_stop to .stop = (void*)rtw_89_ops_stop,
  5. sudo dkms install -m rtw89 -v r1090.d1fced
  6. restart
    then it fully worked
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.