rtl8832cu

发布时间 2023-07-23 12:13:55作者: 摧锋

RTL8832CU 只提供了win10/win11 驱动

网上找的解决办法

https://www.spinics.net/lists/linux-wireless/msg236319.html

To: Fabrizio del Tin devotedmystic@xxxxxxxxx
Subject: Re: Realtek RTL8832CU compatibility
From: Larry Finger Larry.Finger@xxxxxxxxxxxx
Date: Tue, 23 May 2023 00:45:54 -0500
Cc: linux-wireless@xxxxxxxxxxxxxxx, James bjlockie@xxxxxxxxx
In-reply-to: 33FF0DFF-0FBF-4344-95BA-55C2FE740B49@gmail.com
References: CAMzNfvPpi9GiFHf0UcBpS8oozg6o_s3wwzOAPJ0FzGy7LaC4pw@mail.gmail.com 777df364-6a1c-4427-ab68-46a9a71fc629@lockie.ca 6f014d1e-7d50-5688-1ffc-88e00c77a61f@lwfinger.net 33FF0DFF-0FBF-4344-95BA-55C2FE740B49@gmail.com
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0
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

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