Hi Ping-Ke,
Am 29.12.22 um 01:26 schrieb Ping-Ke Shih:
RFE type 38 is very similar to type 6, so I suggest to try this:
diff --git a/rtw8821c.c b/rtw8821c.c
index dd01b22f..9ac83756 100644
--- a/rtw8821c.c
+++ b/rtw8821c.c
@@ -1547,6 +1547,7 @@ static const struct rtw_rfe_def rtw8821c_rfe_defs[] = {
[4] = RTW_DEF_RFE_EXT(8821c, 0, 0, 2),
[6] = RTW_DEF_RFE(8821c, 0, 0),
[34] = RTW_DEF_RFE(8821c, 0, 0),
+ [38] = RTW_DEF_RFE(8821c, 0, 0),
};
That seems to help. The errors I posted initially are all gone.
Now I see a wifi card in network manager and scanning for wifi networks works as
well. Connection to my wireless network does not work though (neither 2.4 Ghz
nor 5) - no real errors just endless spinning after I entered my password.
(Though running any application is *extremly* slow without an obvious cause when
running 6.2rc1, maybe a different bug?)
I should probably debug this without gnome + networkmanager but maybe you have
an idea based on these errors?
rtw_8821cu 1-4:1.0: read register 0x5 failed with -110
rtw_8821cu 1-4:1.0: read register 0x20 failed with -110
rtw_8821cu 1-4:1.0: read register 0x7c failed with -110
rtw_8821cu 1-4:1.0: read register 0x1080 failed with -110
rtw_8821cu 1-4:1.0: write register 0x3 failed with -110
I attached the logs produced once I attach the USB device running Linux 6.2rc1
with the additional patch for rfe 38.
Felix