lwfinger/rtw89

Seems to build correctly, still not appearing at all. 8852ce

cmf2201 opened this issue ยท 13 comments

Hello!
I have the 8852ce driver, and when I run
lsmod | grep rtw
I get
rtw_8852ce 16384 0 rtw_8852c 974848 1 rtw_8852ce rtw89pci 81920 1 rtw_8852ce rtw89core 761856 2 rtw_8852c,rtw89pci mac80211 1249280 2 rtw89pci,rtw89core cfg80211 970752 3 rtw_8852c,rtw89core,mac80211
so it seems like everything should be working, but the wireless connection option still does not exist. I've been going at this for a few hours now and was looking for some help.
Here's the output of dmesg :
dmesg.txt

(also sorry if you saw this on the rtw88 repo, accidentally posted this there)

As I wrote there, your firmware is missing.

I think I installed the firmware, but I am not sure. I did
git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
will this install the firmware?

No, you still need to 'sudo cp ~/linux-firmware/rtw89/* /lib/firmware/rtw89/.'

Got it! Seems that the firmware is now properly installed, but I think now there is a problem with the computer registering the hardware? On startup, I see these three lines:
rtw89_8852ce 0000:04:00.0: failed to register hw rtw89_8852ce 0000:04:00.0: failed to register core hw rtw89_8852ce 0000:04:00.0: failed to register core

Here is the new dmesg:

dmesg.txt

The problem is a WARNING from mac80211 that a channel offset is wrong. I installed Ubuntu 20.04.6, and it worked correctly for an RTW8852BE - I do not hace a CE, but the BE uses the same core as the CE. Have you installed the package wireless-regdb?

Hello! Writing from a different Github account. I have installed that package.

I have installed the package

I need to see the dmesg output. Do 'sudo dmesg > dmesg.txt' and attach file dmesg.txt to this issue.

I have installed that wireless-regdb. and my dmesg.txt is
dmesg.txt, more detail is in #323 , i seems having the same problems cmf2201 meet.

Here is the
dmesg.txt

Your dmesg has the line WARNING: CPU: 2 PID: 420 at net/wireless/core.c:879 wiphy_register+0xa5a/0xa80 [cfg80211], which is the problem. That is a common problem with Ubuntu 20.04.2. I have duplicated the issue, but have not had time to research the problem, but 'git checkout 6dc944' followed by a 'make' and 'sudo make install' has helped for some people.

@lwfinger I also encountered the same problem above, tried the method you said and then it works!! Thank you very much for your timely help.

This worked! Thank you so much.