I found that rtl8852cu should already be in linux-firmware: https://www.mail-archive.com/kernel-packages@xxxxxxxxxxxxxxxxxxx/msg490319.html Maybe it is just matter of adding rtl8832cu as a variant. Fabrizio On Tue, May 23, 2023 at 9:28 AM Fabrizio del Tin <devotedmystic@xxxxxxxxx> wrote: > > I got the common.mk file from here: > https://github.com/lwfinger/rtl8852au/blob/dwa-x1850/common.mk > > It seemed to me it could be fit. > > It compiled for a long while, then died: > > CC [M] /usr/src/rtw8852cu/phl/hal_g6/phy/rf/halrf_8852c/halrf_kfree_8852c.o > CC [M] /usr/src/rtw8852cu/phl/hal_g6/phy/rf/halrf_8852c/halrf_psd_8852c.o > LD [M] /usr/src/rtw8852cu/8852cu.o > MODPOST /usr/src/rtw8852cu/Module.symvers > ERROR: modpost: "dump_radar_detect_status" > [/usr/src/rtw8852cu/8852cu.ko] undefined! > ERROR: modpost: "rtw_dfs_rd_hdl" [/usr/src/rtw8852cu/8852cu.ko] undefined! > ERROR: modpost: "rtw_chset_search_ch" [/usr/src/rtw8852cu/8852cu.ko] undefined! > ERROR: modpost: "dump_chinfos" [/usr/src/rtw8852cu/8852cu.ko] undefined! > ERROR: modpost: "rtw_rfctl_dfs_init" [/usr/src/rtw8852cu/8852cu.ko] undefined! > ERROR: modpost: "get_ch_type_from_str" [/usr/src/rtw8852cu/8852cu.ko] undefined! > ERROR: modpost: "rtw_5ghz_a_channels" [/usr/src/rtw8852cu/8852cu.ko] undefined! > ERROR: modpost: "rtw_ap_check_ecsa_allow" > [/usr/src/rtw8852cu/8852cu.ko] undefined! > ERROR: modpost: "rtw_chset_is_bchbw_non_ocp" > [/usr/src/rtw8852cu/8852cu.ko] undefined! > ERROR: modpost: "rtw_chset_search_bch" [/usr/src/rtw8852cu/8852cu.ko] undefined! > WARNING: modpost: suppressed 41 unresolved symbol warnings because > there were too many) > make[2]: *** [scripts/Makefile.modpost:136: > /usr/src/rtw8852cu/Module.symvers] Error 1 > make[1]: *** [Makefile:1977: modpost] Error 2 > make: *** [Makefile:705: modules] Error 2 > > Fabrizio > > On Tue, May 23, 2023 at 9:16 AM Fabrizio del Tin > <devotedmystic@xxxxxxxxx> wrote: > > > > Hello Larry, > > great news really! > > > > Actually, the file common.mk is missing, so it fails. > > > > #rm -f .symvers.8852cu > > make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.3.3-arch1-1/build > > M=/usr/src/rtw8852cu modules > > /usr/src/rtw8852cu/Makefile:654: /usr/src/rtw8852cu/common.mk: No such > > file or directory > > make[2]: *** No rule to make target '/usr/src/rtw8852cu/common.mk'. Stop. > > make[1]: *** [Makefile:2025: /usr/src/rtw8852cu] Error 2 > > make: *** [Makefile:705: modules] Error 2 > > > > Fabrizio > > > > On Tue, May 23, 2023 at 7:45 AM Larry Finger <Larry.Finger@xxxxxxxxxxxx> wrote: > > > > > > On 5/22/23 10:35, Fabrizio del Tin wrote: > > > > Thank you Larry, that would be great. > > > > > > > > I was just advised to return the dongle, but I still keep it. > > > > > > The RTW8832CU is a variant of the RTW8852CU. I received a copy of the driver > > > from Realtek and fixed it to build on kernels thru 6.4.0. The driver gives > > > reasopnable performance (350 Mpps up and down) when connected to the 5G band of > > > my ax1500 router. This router does not support the 6G band, thus I cannot say > > > whether it would work for that 3rd band. > > > > > > To get a copy, do the following: > > > > > > git clone https://github.com/lwfinger/rtw8852cu.git > > > cd rtw8852cu > > > make > > > sudo make install > > > > > > I suggest that you install the modeswitch package for your distro. That will > > > automatically eject the CDROM device and enable the wifi interface. > > > > > > I will be making improvements in the coming days, but I wanted you to have > > > access as soon as possible. > > > > > > Larry > > >