lwfinger / rtw8852be Goto Github PK
View Code? Open in Web Editor NEWLinux driver for RTW8852BE PCIe card
License: GNU General Public License v2.0
Linux driver for RTW8852BE PCIe card
License: GNU General Public License v2.0
Installed this driver on ubuntu22.04, but the computer still can't recognize wifi.
Could you tell me how to install the driver?
thinkbook@thinkbook:/Downloads/test/RTL88x2BU-Linux-Driver$ lspci | grep Network
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b852
thinkbook@thinkbook:$ lsusb
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 04f2:b758 Chicony Electronics Co., Ltd Integrated Camera
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 005: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 004 Device 004: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 0bda:4853 Realtek Semiconductor Corp. Bluetooth Radio
Bus 003 Device 005: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 003 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04f3:0c4b Elan Microelectronics Corp. ELAN:Fingerprint
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Due to the specificities of the platform and the software source environment, many dependencies cannot be installed. openSUSE and Fedora software packages cannot be installed on CentOS. Is there a good solution to install this driver on CentOS?
Hey, I'm pretty new to Linux.
I'm on recent PopOS, Kernel version 5.19.0-76051900.
I installed everything as i'm supposed to, but getting the "skipping btf generation due to unavailabililty of vmlinux.xz" during "make".
I installed it anyway with following output:
install -p -m 644 8852be.ko /lib/modules/5.19.0-76051900-generic/kernel/drivers/net/wireless/realtek/rtw89/
/sbin/depmod -a 5.19.0-76051900-generic
Wifi card is now shown, but can't find networks straight away. Sometimes after disabling and reenabling it works, but isn't stable.
Also installed bluetooth drivers, same "Skipping BTF generation"-error during "make", but then seems to install correctly afterwards. Doesnt show any devices tho.
unloading and loading wifi driver is giving:
rmmod 8852be
rmmod cfg80211
insmod /lib/modules/5.19.0-76051900-generic/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/5.19.0-76051900-generic/kernel/drivers/net/wireless/realtek/rtw89/8852be.ko
lspci -knn shows:
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b852]
Subsystem: Lenovo Device [17aa:4853]
Kernel driver in use: rtl8852be
Kernel modules: 8852be
Is there any way to fix it?
Assuming my new HP 835 G9 would come with the RTL8852AE hoping for good linux support, to find out it was the BE model. So I had to install this kernel module.
This is the one thing that is unstable on my laptop and hope I can get your help to make it more stable. Reproducable problems:
I also had dmesg filling up when I ran iperf, but cannot reproduce that anymore. Also iperf speed seems slow at 150mbit/s, when my phone easily reaches 340mbit/s.
System details:
~ sudo lspci -vv -s 01:00
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b852
Subsystem: Hewlett-Packard Company Device 88e3
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 121
IOMMU group: 11
Region 0: I/O ports at 6000 [size=256]
Region 2: Memory at b4a00000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee00000 Data: 0000
Capabilities: [70] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 <64us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ SlotPowerLimit 75.000W
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop- FLReset-
MaxPayload 256 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <4us, L1 <64us
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s (ok), Width x1 (ok)
TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis+ NROPrPrP- LTR+
10BitTagComp- 10BitTagReq- OBFF Via message/WAKE#, ExtFmt- EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS- TPHComp- ExtTPHComp-
AtomicOpsCap: 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+ LTR+ OBFF Disabled,
AtomicOpsCtl: ReqEn-
LnkCap2: Supported Link Speeds: 2.5GT/s, Crosslink- Retimer- 2Retimers- DRS-
LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1-
EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
Retimer- 2Retimers- CrosslinkRes: unsupported
Capabilities: [100 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
Capabilities: [148 v1] Device Serial Number 00-e0-4c-ff-fe-***
Capabilities: [158 v1] Latency Tolerance Reporting
Max snoop latency: 1048576ns
Max no snoop latency: 1048576ns
Capabilities: [160 v1] L1 PM Substates
L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
PortCommonModeRestoreTime=30us PortTPowerOnTime=60us
L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
T_CommonMode=0us LTR1.2_Threshold=0ns
L1SubCtl2: T_PwrOn=10us
Kernel driver in use: rtl8852be
Kernel modules: 8852be
~ uname -a
Linux hhwlnx004 5.19.13-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 4 15:42:43 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Thanks for your support!
Hello,
as in the subject, in a fresh new install I get first this error:
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
I've found somewhere that in order to solve I have to add this:
export LLVM=1 && export LLVM_IS=1
Then I get this:
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0
You are using:
/bin/sh: 1: clang: not found
So I installed clang, but now:
clang: error: unknown argument: '-mfunction-return=thunk-extern'
clang: error: unknown argument: '-fzero-call-used-regs=used-gpr'
clang: error: unknown argument: '-fconserve-stack'
clang: error: unsupported option '-mrecord-mcount' for target 'x86_64-unknown-linux-gnu'
clang: error: '-ftrivial-auto-var-init=zero' hasn't been enabled; enable it at your own peril for benchmarking purpose only with '-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang'
At this point I think that I'm getting too many errors, for sure there is something wrong in my way of solving the problem of the missing driver for RTL8852be..
Any help?
I have no Idea what's going on......
WiFi is working, but error messages is printed at boot time.
[ 3.298828] UBSAN: shift-out-of-bounds in /home/user/rtl8852be/phl/hal_g6/phy/bb/halbb_interface.c:235:42
[ 3.298830] shift exponent 32 is too large for 32-bit type 'unsigned int'
[ 3.299925] UBSAN: shift-out-of-bounds in /home/user/rtl8852be/phl/hal_g6/phy/bb/halbb_interface.c:184:44
[ 3.299926] shift exponent 32 is too large for 32-bit type 'unsigned int'
[ 3.406869] UBSAN: array-index-out-of-bounds in /home/user/rtl8852be/phl/phl_cmd_dispatcher.c:1942:7
[ 3.406871] index 16 is out of range for type 'u8 [16]'
[ 3.407993] UBSAN: array-index-out-of-bounds in /home/user/rtl8852be/phl/phl_cmd_dispatcher.c:557:5
[ 3.407994] index 16 is out of range for type 'u8 [16]'
[ 3.409165] UBSAN: array-index-out-of-bounds in /home/user/rtl8852be/phl/phl_cmd_dispatcher.c:580:5
[ 3.409166] index 16 is out of range for type 'u8 [16]'
[ 3.410407] UBSAN: array-index-out-of-bounds in /home/user/rtl8852be/phl/phl_cmd_dispatcher.c:1304:7
[ 3.410408] index 16 is out of range for type 'u8 [16]'
My ubuntu kernel version is 5.15.153-rt75
There is a warning when compiling, but the compilation can be completed and installed correctly.
OS: Archlinux
Kernel: 5.18.5
Arch: x86_64
evine@laptop ~/scripts/rtw8852be $ LANG=C make V=sc
#rm -f .symvers.8852be
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.18.5-arch1-1/build M=/home/evine/scripts/rtw8852be modules
make[1]: Entering directory '/usr/lib/modules/5.18.5-arch1-1/build'
CC [M] /home/evine/scripts/rtw8852be/platform/platform_linux_pc_pci.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/osdep_service.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/osdep_service_linux.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/rtw_cfg.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/os_intfs.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/ioctl_linux.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/xmit_linux.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/mlme_linux.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/recv_linux.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/ioctl_cfg80211.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/rtw_cfgvendor.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/wifi_regd.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/rtw_android.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/rtw_proc.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/nlrtw.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/rtw_rhashtable.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/pci_intf.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/pci_ops_linux.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/ioctl_mp.o
CC [M] /home/evine/scripts/rtw8852be/os_dep/linux/ioctl_efuse.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_cmd.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_security.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_debug.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_io.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_ioctl_query.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_ioctl_set.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_ieee80211.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_mlme.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_mlme_ext.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_sec_cam.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_mi.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_wlan_util.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_vht.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_he.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_pwrctrl.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_rf.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_chplan.o
CC [M] /home/evine/scripts/rtw8852be/core/monitor/rtw_radiotap.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_recv.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_recv_shortcut.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_sta_mgt.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_ap.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_csa.o
CC [M] /home/evine/scripts/rtw8852be/core/wds/rtw_wds.o
CC [M] /home/evine/scripts/rtw8852be/core/mesh/rtw_mesh.o
CC [M] /home/evine/scripts/rtw8852be/core/mesh/rtw_mesh_pathtbl.o
CC [M] /home/evine/scripts/rtw8852be/core/mesh/rtw_mesh_hwmp.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_xmit.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_xmit_shortcut.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_p2p.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_tdls.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_br_ext.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_sreset.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_rm.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_rm_fsm.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_rm_util.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_trx.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_beamforming.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_scan.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_phl.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_phl_cmd.o
CC [M] /home/evine/scripts/rtw8852be/core/crypto/aes-internal.o
CC [M] /home/evine/scripts/rtw8852be/core/crypto/aes-internal-enc.o
CC [M] /home/evine/scripts/rtw8852be/core/crypto/aes-gcm.o
CC [M] /home/evine/scripts/rtw8852be/core/crypto/aes-ccm.o
CC [M] /home/evine/scripts/rtw8852be/core/crypto/aes-omac1.o
CC [M] /home/evine/scripts/rtw8852be/core/crypto/ccmp.o
CC [M] /home/evine/scripts/rtw8852be/core/crypto/gcmp.o
CC [M] /home/evine/scripts/rtw8852be/core/crypto/aes-siv.o
CC [M] /home/evine/scripts/rtw8852be/core/crypto/aes-ctr.o
CC [M] /home/evine/scripts/rtw8852be/core/crypto/sha256-internal.o
CC [M] /home/evine/scripts/rtw8852be/core/crypto/sha256.o
CC [M] /home/evine/scripts/rtw8852be/core/crypto/sha256-prf.o
CC [M] /home/evine/scripts/rtw8852be/core/crypto/rtw_crypto_wrap.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_swcrypto.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_trx_pci.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_mp.o
CC [M] /home/evine/scripts/rtw8852be/core/rtw_btc.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_init.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_debug.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_tx.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_rx.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_rx_agg.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_api_drv.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_role.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_sta.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_mr.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_sec.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_chan.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_sw_cap.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_util.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_pkt_ofld.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_connect.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_chan_info.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_wow.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_dm.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_chnlplan.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_country.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_chnlplan_6g.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_regulation.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_regulation_6g.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_led.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_trx_mit.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_acs.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_mcc.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_ecsa.o
CC [M] /home/evine/scripts/rtw8852be/phl/test/phl_dbg_cmd.o
CC [M] /home/evine/scripts/rtw8852be/phl/test/phl_ser_dbg_cmd.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_msg_hub.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_sound.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_twt.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_notify.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_sound_cmd.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_p2pps.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_thermal.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_txpwr.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_ps.o
CC [M] /home/evine/scripts/rtw8852be/phl/test/phl_ps_dbg_cmd.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_cmd_ps.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_cmd_dispatch_engine.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_cmd_dispatcher.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_cmd_dispr_controller.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_cmd_ser.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_cmd_general.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_cmd_scan.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_cmd_btc.o
CC [M] /home/evine/scripts/rtw8852be/phl/phl_watchdog.o
CC [M] /home/evine/scripts/rtw8852be/phl/hci/phl_trx_pcie.o
CC [M] /home/evine/scripts/rtw8852be/phl/test/trx_test.o
CC [M] /home/evine/scripts/rtw8852be/phl/test/test_module.o
CC [M] /home/evine/scripts/rtw8852be/phl/test/cmd_disp_test.o
CC [M] /home/evine/scripts/rtw8852be/phl/test/mp/phl_test_mp.o
CC [M] /home/evine/scripts/rtw8852be/phl/test/mp/phl_test_mp_config.o
CC [M] /home/evine/scripts/rtw8852be/phl/test/mp/phl_test_mp_tx.o
CC [M] /home/evine/scripts/rtw8852be/phl/test/mp/phl_test_mp_rx.o
CC [M] /home/evine/scripts/rtw8852be/phl/test/mp/phl_test_mp_reg.o
CC [M] /home/evine/scripts/rtw8852be/phl/test/mp/phl_test_mp_efuse.o
CC [M] /home/evine/scripts/rtw8852be/phl/test/mp/phl_test_mp_txpwr.o
CC [M] /home/evine/scripts/rtw8852be/phl/test/mp/phl_test_mp_cal.o
CC [M] /home/evine/scripts/rtw8852be/phl/test/verify/phl_test_verify.o
CC [M] /home/evine/scripts/rtw8852be/phl/test/verify/dbcc/phl_test_dbcc.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_api_mac.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_api_bb.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_api_rf.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_api_btc.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_api_efuse.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_com_i.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_init.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_io.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_rx.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_tx.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_sta.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_cam.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_csi_buffer.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_beamform.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_sound.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_chan.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_str_proc.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_fw.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_cap.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_ser.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_ps.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_c2h.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_dbcc.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_chan_info.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_wow.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_ld_file.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_regulation.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_led.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_trx_mit.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_acs.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_mcc.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_api.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_twt.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_notify.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_p2pps.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_thermal.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_txpwr.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/hal_pci.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/test/hal_test_module.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/test/mp/hal_test_mp.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/test/mp/hal_test_mp_cal.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/test/mp/hal_test_mp_config.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/test/mp/hal_test_mp_efuse.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/test/mp/hal_test_mp_reg.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/test/mp/hal_test_mp_rx.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/test/mp/hal_test_mp_tx.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/test/mp/hal_test_mp_txpwr.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/efuse/hal_efuse.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/addr_cam.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/cmac_tx.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/coex.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/cpuio.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/dbcc.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/dbgpkg.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/dbgport_hw.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/dbg_cmd.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/dle.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/efuse.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/fwcmd.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/fwdl.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/fwofld.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/gpio.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/hci_fc.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/hdr_conv.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/hw_seq.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/h2c_agg.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/hw.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/hwamsdu.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/init.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/la_mode.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/mcc.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/mport.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/phy_rpt.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/power_saving.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/pwr.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/p2p.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/role.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/rx_filter.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/rx_forwarding.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/rrsr.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/ser.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/security_cam.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/ftm.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/sounding.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/status.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/sta_sch.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/tblupd.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/tcpip_checksum_offload.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/trx_desc.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/trxcfg.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/twt.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/wowlan.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/flash.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/spatial_reuse.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/pwr_seq_func.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/phy_misc.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/_pcie.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/mac_8852b/gpio_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/mac_8852b/init_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/mac_8852b/pwr_seq_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/mac_ax/mac_8852b/pwr_seq_func_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/fw_ax/rtl8852b/hal8852b_fw.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/fw_ax/rtl8852b/hal8852b_fw_log.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/mac/fw_ax/rtl8852b/hal8852b_fw_u1.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/btc/hal_btc.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/btc/halbtc_def.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/btc/halbtc_action.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/btc/halbtc_fw.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/btc/halbtc_dbg_cmd.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/btc/btc_8852b/btc_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/rtl8852b/rtl8852b_halinit.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/rtl8852b/rtl8852b_mac.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/rtl8852b/rtl8852b_cmd.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/rtl8852b/rtl8852b_phy.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/rtl8852b/rtl8852b_ops.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/rtl8852b/hal_trx_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/rtl8852b/pci/rtl8852be_halinit.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/rtl8852b/pci/rtl8852be_halmac.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/rtl8852b/pci/rtl8852be_io.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/rtl8852b/pci/rtl8852be_led.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/rtl8852b/pci/rtl8852be_ops.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/rtl8852b/pci/hal_trx_8852be.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_api.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_rua_tbl.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_auto_dbg.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_cfo_trk.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_ch_info.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_cmn_rpt.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_dbcc.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_dbg.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_dbg_cmd.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_dfs.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_edcca.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_env_mntr.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_hw_cfg.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_init.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_interface.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_la_mode.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_math_lib.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_mp.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_plcp_gen.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_plcp_tx.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_pmac_setting.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_psd.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_ul_tb_ctrl.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_physts.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_pwr_ctrl.o
/home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_pwr_ctrl.c: In function 'halbb_pwr_ctrl_dbg':
/home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_pwr_ctrl.c:434:21: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)((int)i + 1) * 16)' must not be NULL [-Waddress]
434 | if (input[i + 1])
| ^~~~~
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_ra.o
/home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_ra.c: In function 'halbb_ra_dbg':
/home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_ra.c:1964:21: warning: the comparison will always evaluate as 'true' for the pointer operand in 'input + (sizetype)((long unsigned int)((int)i + 1) * 16)' must not be NULL [-Waddress]
1964 | if (input[i + 1])
| ^~~~~
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_statistics.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_ant_div.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_dig.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_fwofld.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_dyn_csi_rsp.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_8852b/halbb_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_8852b/halbb_8852b_api.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_8852b/halbb_8852b_fwofld_api.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_8852b/halbb_hwimg_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/bb/halbb_8852b/halbb_reg_cfg_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_pmac.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_api.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_dbg.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_dbg_cmd.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_ex.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_hw_cfg.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_init.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_interface.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_pwr_table.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_iqk.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_8852b/halrf_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_8852b/halrf_8852b_api.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_8852b/halrf_hwimg_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_8852b/halrf_txgapk_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_8852b/halrf_iqk_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_8852b/halrf_reg_cfg_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_8852b/halrf_dack_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_8852b/halrf_dpk_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_8852b/halrf_set_pwr_table_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_8852b/halrf_efuse_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_8852b/halrf_tssi_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_8852b/halrf_kfree_8852b.o
CC [M] /home/evine/scripts/rtw8852be/phl/hal_g6/phy/rf/halrf_8852b/halrf_psd_8852b.o
AR [M] /home/evine/scripts/rtw8852be/8852be.o
LD [M] /home/evine/scripts/rtw8852be/8852be.prelink.o
MODPOST /home/evine/scripts/rtw8852be/Module.symvers
CC [M] /home/evine/scripts/rtw8852be/8852be.mod.o
LD [M] /home/evine/scripts/rtw8852be/8852be.ko
BTF [M] /home/evine/scripts/rtw8852be/8852be.ko
make[1]: Leaving directory '/usr/lib/modules/5.18.5-arch1-1/build'
#cp Module.symvers .symvers.8852be
Thank you for your work lwfinger.
Do you know if the be chip support the 6ghz wifi6e band? Some searching in the code yields references to 6ghz, but googling about be says otherwise.
Hello, I have Laptop redmi notebook 14 pro. I installed your driver for WiFi Thanks!!!
As I understand this chip is a combo WiFi + Bluetooth https://wikidevi.wi-cat.ru/Realtek_RTL8852BE_Combo_Module
Does your driver support Bluetooth?
During boot, I cannot see any error
dmesg | grep Bluetooth
[ 1.536391] usb 1-4: Product: Bluetooth Radio
[ 3.120330] Bluetooth: Core ver 2.22
[ 3.120396] Bluetooth: HCI device and connection manager initialized
[ 3.120404] Bluetooth: HCI socket layer initialized
[ 3.120408] Bluetooth: L2CAP socket layer initialized
[ 3.120416] Bluetooth: SCO socket layer initialized
[ 3.351544] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 3.351552] Bluetooth: BNEP filters: protocol multicast
[ 3.351561] Bluetooth: BNEP socket layer initialized
[ 11.383222] Bluetooth: RFCOMM TTY layer initialized
[ 11.383236] Bluetooth: RFCOMM socket layer initialized
[ 11.383250] Bluetooth: RFCOMM ver 1.11
I can get info about Bluetooth using bluetoothctl:
bluetoothctl
Agent registered
[bluetooth]# show
Controller 34:6F:24:D3:98:D1 (public)
Name: LMain
Alias: LMain
Class: 0x007c010c
Powered: yes
Discoverable: yes
DiscoverableTimeout: 0x00000000
Pairable: yes
UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: OBEX Object Push (00001105-0000-1000-8000-00805f9b34fb)
UUID: Message Access Server (00001132-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: IrMC Sync (00001104-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific (00005005-0000-1000-8000-0002ee000001)
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: Phonebook Access Server (0000112f-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: Device Information (0000180a-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Handsfree Audio Gateway (0000111f-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
UUID: OBEX File Transfer (00001106-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d0540
Discovering: no
Roles: central
Roles: peripheral
Advertising Features:
ActiveInstances: 0x00 (0)
SupportedInstances: 0x0a (10)
SupportedIncludes: tx-power
SupportedIncludes: appearance
SupportedIncludes: local-name
SupportedSecondaryChannels: 1M
SupportedSecondaryChannels: 2M
SupportedSecondaryChannels: Coded
But I cannot pair any device via console or GUI. Search always returns empty result.
I use Manjaro with kernel 5.15.49-1-MANJARO.
lsusb
Bus 001 Device 003: ID 0cb8:c559 Opticis Co., Ltd Bluetooth Radio
On Windows OS all work correctly. I use drivers from China website
Hello,
I see in the latest commit message that this repo is being deprecated in favor of the one at https://github.com/lwfinger/rtw89.git . However, lwfinger/rtw89 did not fix my missing Wi-Fi issue on my laptop but lwfinger/rtw8852be did give me working Wi-Fi. Please keep this repo open until at least the end of December when I will have more free time to test lwfinger/rtw89 again. At the moment, I can't afford to be debugging my Wi-Fi issues until my school semester is over.
Hi! I am trying to install wifi driver on xiaomi redmi 15 ryzen edition laptop.
$ make
#rm -f .symvers.8852be
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.15.0-25-generic/build M=/home/bloodlog/rtw8852be modules
make[1]: вход в каталог «/usr/src/linux-headers-5.15.0-25-generic»
CC [M] /home/bloodlog/rtw8852be/phl/hal_g6/btc/hal_btc.o
In file included from ./include/linux/string.h:262,
from ./include/linux/bitmap.h:10,
from ./include/linux/cpumask.h:12,
from ./arch/x86/include/asm/cpumask.h:5,
from ./arch/x86/include/asm/msr.h:11,
from ./arch/x86/include/asm/processor.h:22,
from ./arch/x86/include/asm/timex.h:5,
from ./include/linux/timex.h:65,
from ./include/linux/time32.h:13,
from ./include/linux/time.h:60,
from ./include/linux/stat.h:19,
from ./include/linux/module.h:13,
from /home/bloodlog/rtw8852be/include/basic_types.h:38,
from /home/bloodlog/rtw8852be/include/drv_types.h:24,
from /home/bloodlog/rtw8852be/phl/hal_g6/btc/../../pltfm_ops_linux.h:17,
from /home/bloodlog/rtw8852be/phl/hal_g6/btc/../../pltfm_ops.h:21,
from /home/bloodlog/rtw8852be/phl/hal_g6/btc/../hal_headers_le.h:22,
from /home/bloodlog/rtw8852be/phl/hal_g6/btc/hal_btc.c:16:
In function ‘memcpy’,
inlined from ‘hal_btc_init’ at /home/bloodlog/rtw8852be/phl/hal_g6/btc/hal_btc.c:1861:2:
./include/linux/fortify-string.h:187:25: error: call to ‘__read_overflow2’ declared with attribute error: detected read beyond size of object passed as 2nd parameter
187 | __read_overflow2();
| ^~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:285: /home/bloodlog/rtw8852be/phl/hal_g6/btc/hal_btc.o] Ошибка 1
make[1]: *** [Makefile:1875: /home/bloodlog/rtw8852be] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-headers-5.15.0-25-generic»
make: *** [Makefile:767: modules] Ошибка 2
Hi there,
I assume you provide the solution I need, but I do not understand how to apply ;)
laptop: Lenovo IdeaPad 3
Network adapter: Realtek RTL8852BE
OS: Debian 12
During installation and after my system is not able to establish wifi connection. (I neither have a cable connection to internet).
Can you please help how I could apply your solution to my system?
Due to lack of internet connection I can't even install "make" or whatever on my system.
Many thanks in advance
as the title said
lspci -k output:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Kernel driver in use: r8169
Kernel modules: r8169
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b852
Subsystem: Lenovo Device 4853
Kernel driver in use: rtl8852be
Kernel modules: 8852be
Edit: It was a wrong measurement, everything works perfectly.
I have a problem that wifi doesn't reconnect when computer power on after suspend. There is a wifi network SSID list and is stuck trying to connect to default wifi. I'm not an experienced user, but what I see in the log just:
kernel: rtw8852be: Connection disconnected for reason 1
Ubuntu 22.04.01 LTS kernel 6.0.7
Just updated to 5.15.59-1-MANJARO kernel.
compiled and installed and rebooted did not work.
Running arch, updated kernel today to 5.18.6-arch1.
Modules were working fine on kernel 5.18.5, prior to this update.
I have clean rebuild the module, with
git pull
make clean
make
sudo make install
and wireless is still not working after reboot. No errors are outputed in either step of the build process.
Also tested deleting the local repo and cloning again from the begining, to the same effect.
Any assistance would be appreciated. Laptop is a thinkpad E15 gen4.
This morning I updated the kernel on my Fedora installation to 5.18.18-200. After, I reinstalled the driver by deleting the directory where I had cloned this repository and cloning it anew, before running make
and sudo make sign-install
, the output of which is attached.
Before I did this, the drivers worked fine. Now, the WiFi has stopped working. Here is the output of some commands:
uname -r:
5.18.18-200.fc36.x86_64
modprobe -v 8852be:
modprobe: FATAL: Module 8852be not found in directory /lib/modules/5.18.18-200.fc36.x86_64
lspci -nn | grep Realtek
01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b852]
Find the output of dmesg attached as well.
Thanks for any help you can offer
Hello,
I have the problem that I cannot establish a 5GHz connection.
If I switch to band A and deactivate the WLAN briefly, I can no longer get a connection. Although all WLANs in the area are displayed.
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=21.3
6.5.0-35-generic
sudo lshw -C network
[sudo] password for doppellhelix:
*-network
description: Wireless interface
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlo1
version: 00
serial: 40:1a:58:83:0c:d8
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtw89_8852be driverversion=6.5.0-35-generic firmware=N/A ip=192.168.1.134 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:143 ioport:3000(size=256) memory:80400000-804fffff
lsmod | grep rtw
rtw89_8852be 12288 0
rtw89_8852b 389120 1 rtw89_8852be
rtw89_pci 77824 1 rtw89_8852be
rtw89_core 618496 2 rtw89_8852b,rtw89_pci
mac80211 1720320 2 rtw89_core,rtw89_pci
cfg80211 1323008 3 rtw89_8852b,rtw89_core,mac80211
I have now tried this driver here, unfortunately without success.
Does anyone have an idea?
Thanks for the help.
Greetings Helix
Hello, the driver does not seem to work on Linux 6 it installs and gets inicialised without any problems but the wifi status does not change and the wifi card is not detected at all. Tried on multiple distributions - Ubuntu, PopOS, Manjaro
Always did a full reboot between reinstalls/configurations. Tried specifying new_id to the wifi module id on Ubuntu, this did not help.
Bluetooth works fine
dmesg: dmesg.txt
lshw: lshw.txt
lspci -nn: lspci.txt
sudo modprobe -v 8852be
Outputs nothing
sudo modprobe -vr 8852be && sudo modprobe -v 8852be
rmmod 8852be
rmmod cfg80211
insmod /lib/modules/6.0.0-1-MANJARO/kernel/net/wireless/cfg80211.ko.zst
insmod /lib/modules/6.0.0-1-MANJARO/kernel/drivers/net/wireless/realtek/rtw89/8852be.ko
I hope i provided all the possible relevant information. May have missed something. Thank you for reading this far.
There is no general arm64 platform in the platform selection, can you make another configure file, or how to install this driver on the general arm64 platform.
Kenerl Version:5.4.18-35-generic OS:Ubuntu Kylin CPU:HUAWEI Kunpeng 920
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /home/peace/gopath/src/github.com/lwfinger/rtw8852be/os_dep/linux/os_intfs.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.8.0-31-generic/Makefile:1926: /home/peace/gopath/src/github.com/lwfinger/rtw8852be] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-31-generic'
make: *** [Makefile:635: modules] Error 2
Hello,
Last night I updated to the latest version of this driver and installed it on Kernel 5.19.7 on Fedora 36. I'm now experiencing a bug where WiFi no longer auto-connects after restart. When investigating this, the settings panel tells me my adapter is searching for connectors, until eventually showing me no available results:
If I turn off the WiFi adapter (the toggle in the top-right corner in the above image) and turn it back on again, the WiFi connects and works perfectly. Yet, the next time I restart, it stops working, and I have to do the same thing again.
I'm not sure what could be causing the problem, but here's the appropriate lines from dmesg:
[ 22.280319] NET: Registered PF_QIPCRTR protocol family
[ 22.567399] 8852be: loading out-of-tree module taints kernel.
[ 22.813550] rtl8852be 0000:01:00.0: enabling device (0000 -> 0003)
[ 23.109597] eric-tx CALL alloc_txring !!!!
[ 23.120325] rtl8852be 0000:01:00.0 wlp1s0: renamed from wlan0
Thanks for any help you can offer
as the new commit asks to use the rtw89 repo..
so I should we move to the new repo? and why this repo will be redundant ?
Miracast with gnome-network-display is not possible due to the missing p2p-device. Is it possible to activate it?
As i understand it, 'iw dev' schould show a p2p-device (type) in addition to the managed (type) wifi-device but with this code, only the managed wifi-device is listed.
Hi,
idk if it's issue on my side, but the wifi keeps disconnecting and until I turn it off and on, I don't even see any networks available. What should I do?
Btw, thanks for this. I was looking for that driver for an hours and finally...
Kernel 6 due to Ryzen 6000 keyboard issue.
Doesn't work with 5.18.16 kernel. Hrex39's repo doesn't work either
I am using this driver in the RK3588 6.1 kernel and loading it in KO mode. The driver works properly, but the following error may occur. Please assist in handling it. Thank you.
[ 13.955213] Bluetooth: hci0: RTL: examining hci_ver=0b hci_rev=000b lmp_ver=0b lmp_subver=8852
[ 13.956207] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 13.956213] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852bu_fw.bin
[ 13.957100] usbcore: registered new interface driver btusb
[ 13.957859] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852bu_config.bin
[ 13.959096] Bluetooth: hci0: RTL: cfg_sz 6, total sz 58003
[ 13.991429] rtw8852be driver loaded
[ 13.991489] rtl8852be 0002:21:00.0: enabling device (0000 -> 0003)
[ 13.993314] BUG: spinlock bad magic on CPU#2, (udev-worker)/536
[ 13.999349] lock: 0xffffffc00c0dd080, .magic: 00000000, .owner: /-1, .owner_cpu: 0
[ 14.000197] cdc_ether 1-1:2.0 eth0: register 'cdc_ether' at usb-xhci-hcd.4.auto-1, CDC Ethernet Device, 00:0e:08:82:03:3f
[ 14.007527] CPU: 2 PID: 536 Comm: (udev-worker) Not tainted 6.1.43 #88
[ 14.018536] usbcore: registered new interface driver cdc_ether
[ 14.024964] Hardware name: RK3588 CoolPi CM5 NoteBook Board (DT)
[ 14.024968] Call trace:
[ 14.024970] dump_backtrace+0xec/0x124
[ 14.042978] show_stack+0x1c/0x28
[ 14.046293] dump_stack_lvl+0x68/0x80
[ 14.049957] dump_stack+0x14/0x2c
[ 14.053270] spin_bug+0x8c/0xac
[ 14.056412] do_raw_spin_lock+0x3c/0xd0
[ 14.060246] _raw_spin_lock+0x14/0x1c
[ 14.063909] pq_push+0xb4/0xf8 [8852be]
[ 14.068043] _phl_ser_mdl_init+0x118/0x1f0 [8852be]
[ 14.073188] bk_module_init+0x3c/0x60 [8852be]
[ 14.077902] dispr_register_module+0x148/0x2a8 [8852be]
[ 14.083391] phl_disp_eng_register_module+0x4c/0x5c [8852be]
[ 14.089314] phl_register_ser_module+0x24/0x2c [8852be]
[ 14.094814] rtw_phl_init+0x5c0/0x728 [8852be]
[ 14.099539] rtw_hw_init+0x58/0x1a0 [8852be]
[ 14.104081] rtw_dev_probe+0x3a0/0x498 [8852be]
[ 14.108879] pci_device_probe+0xb0/0x11c
[ 14.112806] really_probe+0x1b8/0x390
[ 14.116469] __driver_probe_device+0x134/0x14c
[ 14.120910] driver_probe_device+0x40/0xf8
[ 14.125003] __driver_attach+0xb4/0x174
[ 14.128835] bus_for_each_dev+0x74/0xbc
[ 14.132669] driver_attach+0x28/0x30
[ 14.136242] bus_add_driver+0xf4/0x204
[ 14.139988] driver_register+0xb4/0xf0
[ 14.143736] __pci_register_driver+0x70/0x7c
[ 14.148003] rtw_drv_entry+0x50/0x1000 [8852be]
[ 14.152805] do_one_initcall+0x84/0x1c4
[ 14.156641] do_init_module+0x54/0x1d8
[ 14.160392] load_module+0x1820/0x18e4
[ 14.164139] __do_sys_finit_module+0xf4/0x110
[ 14.168493] __arm64_sys_finit_module+0x20/0x28
[ 14.173021] invoke_syscall+0x80/0x10c
[ 14.176769] el0_svc_common.constprop.0+0xc8/0x118
[ 14.181555] do_el0_svc+0x24/0x2c
[ 14.184869] el0_svc+0x24/0x48
[ 14.187923] el0t_64_sync_handler+0xa8/0x134
[ 14.192201] el0t_64_sync+0x174/0x178
[ 14.466281] Bluetooth: hci0: RTL: fw version 0xdbc6b20f
[ 14.478897] 8021q: 802.1Q VLAN Support v1.8
[ 16.132881] Freeing drm_logo memory: 736K
Driver had been working perfectly for one month and recently wifi icon disappeared.
After reinstall it's still not working.
:~$ inxi -nn
Network:
Device-1: Realtek driver: N/A
IF-ID-1: br-b3108ebf6c7c state: up speed: 10000 Mbps duplex: unknown
mac: 02:42:7c:2e:26:4a
:~$ lspci -nn
01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b852]
After I did disable/enable driver via modprobe, got the following dmesg output (in attachment):
dmesg.txt
xxyy@xxyy:~$ uname -a
Linux xxyy 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
xxyy@xxyy:~$ lsmod | grep 88
8852be 4423680 0
nvidia_modeset 1146880 2 nvidia_drm
nls_iso8859_1 16384 1
bluetooth 688128 41 btrtl,btintel,btbcm,bnep,btusb,rfcomm
cfg80211 970752 1 8852be
xxyy@xxyy:~$ sudo modprobe -rv 8852be
[sudo] password for xxyy:
rmmod 8852be
rmmod cfg80211
xxyy@xxyy:~$ sudo modprobe -v 8852be
insmod /lib/modules/5.15.0-46-generic/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/5.15.0-46-generic/kernel/drivers/net/wireless/realtek/rtw89/8852be.ko
xxyy@xxyy:~$
I have tried to reboot many times, and when i use
ifconfig -a
it shows that
enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.102 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::e23a:40e4:1500:277d prefixlen 64 scopeid 0x20<link>
ether 98:8f:e0:60:fb:f9 txqueuelen 1000 (Ethernet)
RX packets 338 bytes 138709 (138.7 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 476 bytes 137859 (137.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 memory 0x5e580000-5e5a0000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 173 bytes 14688 (14.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 173 bytes 14688 (14.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
i still can not use my wifi.
xxyy@xxyy:~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 30c9:0057 8SSC21D70376V1SR2395675 Integrated RGB Camera
Bus 003 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 003 Device 005: ID 0bda:4853 Realtek Semiconductor Corp. Bluetooth Radio
Bus 003 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 152d:1580 JMicron Technology Corp. / JMicron USA Technology Corp. USB to ATA/ATAPI Bridge
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
xxyy@xxyy:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:4641] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:46a6] (rev 0c)
00:04.0 Signal processing controller [1180]: Intel Corporation Device [8086:461d] (rev 02)
00:06.0 PCI bridge [0604]: Intel Corporation Device [8086:464d] (rev 02)
00:06.2 PCI bridge [0604]: Intel Corporation Device [8086:463d] (rev 02)
00:07.0 PCI bridge [0604]: Intel Corporation Device [8086:466e] (rev 02)
00:08.0 System peripheral [0880]: Intel Corporation Device [8086:464f] (rev 02)
00:0a.0 Signal processing controller [1180]: Intel Corporation Device [8086:467d] (rev 01)
00:0d.0 USB controller [0c03]: Intel Corporation Device [8086:461e] (rev 02)
00:0d.2 USB controller [0c03]: Intel Corporation Device [8086:463e] (rev 02)
00:12.0 Serial controller [0700]: Intel Corporation Device [8086:51fc] (rev 01)
00:14.0 USB controller [0c03]: Intel Corporation Device [8086:51ed] (rev 01)
00:14.2 RAM memory [0500]: Intel Corporation Device [8086:51ef] (rev 01)
00:15.0 Serial bus controller [0c80]: Intel Corporation Device [8086:51e8] (rev 01)
00:16.0 Communication controller [0780]: Intel Corporation Device [8086:51e0] (rev 01)
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:51bc] (rev 01)
00:1c.5 PCI bridge [0604]: Intel Corporation Device [8086:51bd] (rev 01)
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:5182] (rev 01)
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Device [8086:51c8] (rev 01)
00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:51a3] (rev 01)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:51a4] (rev 01)
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (16) I219-V [8086:1a1f] (rev 01)
01:00.0 3D controller [0302]: NVIDIA Corporation Device [10de:25a9] (rev a1)
02:00.0 Non-Volatile memory controller [0108]: Micron Technology Inc Device [1344:5407]
2c:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b852]
2d:00.0 SD Host controller [0805]: O2 Micro, Inc. SD/MMC Card Reader Controller [1217:8621] (rev 01)
xxyy@xxyy:~$ lspci -nn | grep Network
2c:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b852]
xxyy@xxyy:~$
I found that there is no hotspot function for new WLAN in NetworkManager. Is this a system problem or the driver does not support it?
I am using this driver in the RK3588 6.1 kernel and loading it in KO mode. The driver works properly, but the following error may occur. Please assist in handling it. Thank you.
[ 13.955213] Bluetooth: hci0: RTL: examining hci_ver=0b hci_rev=000b lmp_ver=0b lmp_subver=8852 [ 13.956207] Bluetooth: hci0: RTL: rom_version status=0 version=1 [ 13.956213] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852bu_fw.bin [ 13.957100] usbcore: registered new interface driver btusb [ 13.957859] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852bu_config.bin [ 13.959096] Bluetooth: hci0: RTL: cfg_sz 6, total sz 58003 [ 13.991429] rtw8852be driver loaded [ 13.991489] rtl8852be 0002:21:00.0: enabling device (0000 -> 0003) [ 13.993314] BUG: spinlock bad magic on CPU#2, (udev-worker)/536 [ 13.999349] lock: 0xffffffc00c0dd080, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0 [ 14.000197] cdc_ether 1-1:2.0 eth0: register 'cdc_ether' at usb-xhci-hcd.4.auto-1, CDC Ethernet Device, 00:0e:08:82:03:3f [ 14.007527] CPU: 2 PID: 536 Comm: (udev-worker) Not tainted 6.1.43 #88 [ 14.018536] usbcore: registered new interface driver cdc_ether [ 14.024964] Hardware name: RK3588 CoolPi CM5 NoteBook Board (DT) [ 14.024968] Call trace: [ 14.024970] dump_backtrace+0xec/0x124 [ 14.042978] show_stack+0x1c/0x28 [ 14.046293] dump_stack_lvl+0x68/0x80 [ 14.049957] dump_stack+0x14/0x2c [ 14.053270] spin_bug+0x8c/0xac [ 14.056412] do_raw_spin_lock+0x3c/0xd0 [ 14.060246] _raw_spin_lock+0x14/0x1c [ 14.063909] pq_push+0xb4/0xf8 [8852be] [ 14.068043] _phl_ser_mdl_init+0x118/0x1f0 [8852be] [ 14.073188] bk_module_init+0x3c/0x60 [8852be] [ 14.077902] dispr_register_module+0x148/0x2a8 [8852be] [ 14.083391] phl_disp_eng_register_module+0x4c/0x5c [8852be] [ 14.089314] phl_register_ser_module+0x24/0x2c [8852be] [ 14.094814] rtw_phl_init+0x5c0/0x728 [8852be] [ 14.099539] rtw_hw_init+0x58/0x1a0 [8852be] [ 14.104081] rtw_dev_probe+0x3a0/0x498 [8852be] [ 14.108879] pci_device_probe+0xb0/0x11c [ 14.112806] really_probe+0x1b8/0x390 [ 14.116469] __driver_probe_device+0x134/0x14c [ 14.120910] driver_probe_device+0x40/0xf8 [ 14.125003] __driver_attach+0xb4/0x174 [ 14.128835] bus_for_each_dev+0x74/0xbc [ 14.132669] driver_attach+0x28/0x30 [ 14.136242] bus_add_driver+0xf4/0x204 [ 14.139988] driver_register+0xb4/0xf0 [ 14.143736] __pci_register_driver+0x70/0x7c [ 14.148003] rtw_drv_entry+0x50/0x1000 [8852be] [ 14.152805] do_one_initcall+0x84/0x1c4 [ 14.156641] do_init_module+0x54/0x1d8 [ 14.160392] load_module+0x1820/0x18e4 [ 14.164139] __do_sys_finit_module+0xf4/0x110 [ 14.168493] __arm64_sys_finit_module+0x20/0x28 [ 14.173021] invoke_syscall+0x80/0x10c [ 14.176769] el0_svc_common.constprop.0+0xc8/0x118 [ 14.181555] do_el0_svc+0x24/0x2c [ 14.184869] el0_svc+0x24/0x48 [ 14.187923] el0t_64_sync_handler+0xa8/0x134 [ 14.192201] el0t_64_sync+0x174/0x178 [ 14.466281] Bluetooth: hci0: RTL: fw version 0xdbc6b20f [ 14.478897] 8021q: 802.1Q VLAN Support v1.8 [ 16.132881] Freeing drm_logo memory: 736K
how to install it on manjaro? can you help please
cant install on a new system I have no idea what I am missing...
make[1]: Leaving directory '/usr/lib/modules/5.15.63-1-lts/build'
#cp Module.symvers .symvers.8852be
[saikat@linux rtw8852be]$ sudo make install
[sudo] password for saikat:
install -p -m 644 8852be.ko /lib/modules/5.15.63-1-lts/kernel/drivers/net/wireless/realtek/rtw89/
install: cannot create regular file '/lib/modules/5.15.63-1-lts/kernel/drivers/net/wireless/realtek/rtw89/': Not a directory
make: *** [Makefile:614: install] Error 1
[saikat@linux rtw8852be]$
I'm trying to install the drivers using secure boot by following the instructions in the readme. They build fine, but when I run 'sudo make sign-install', I receive the response:
make: *** No rule to make target 'sign-install'. Stop.
I'm running kernel 5.18.16 on Fedora 36. Thanks in advance for any help.
After update to kernel 5.19.3, wifi no longer works. Has been updated following guidelines, as per usual:
git pull
make clean
make
sudo make install
No errors were present during compilation.
Output of sudo modprobe -rv 8852be
:
> sudo modprobe -rv 8852be
rmmod 8852be
rmmod cfg80211
Output of sudo modprobe -v 8852be
:
> sudo modprobe -v 8852be
insmod /lib/modules/5.19.3-arch1-1/kernel/net/wireless/cfg80211.ko.zst
insmod /lib/modules/5.19.3-arch1-1/kernel/drivers/net/wireless/realtek/rtw89/8852be.ko
dmesg output: dmesg.txt
Many thanks, I've just gotten WiFi up on my new laptop - Ubuntu 22.04 - seems to be working OK, but on module load I get spammed by some ugly looking warnings. Not sure if this is normal, or peculiar to my hardware/setup so thought I'd raise them.
I haven't looked into the code yet to see if its anything obvious.
h2. In open
[ 4.242884] ================================================================================
[ 4.242892] UBSAN: shift-out-of-bounds in /var/lib/dkms/rtw8852be/1.0.0/build/phl/hal_g6/phy/bb/halbb_interface.c:235:42
[ 4.242899] shift exponent 32 is too large for 32-bit type 'unsigned int'
[ 4.242905] CPU: 7 PID: 661 Comm: NetworkManager Tainted: G O 5.15.0-47-generic #51-Ubuntu
[ 4.242908] Hardware name: LENOVO 82UD/LNVNB161216, BIOS JECN11WW(V1.04) 03/14/2022
[ 4.242910] Call Trace:
[ 4.242912] <TASK>
[ 4.242915] show_stack+0x52/0x5c
[ 4.242923] dump_stack_lvl+0x4a/0x63
[ 4.242928] dump_stack+0x10/0x16
[ 4.242931] ubsan_epilogue+0x9/0x49
[ 4.242934] __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
[ 4.242940] ? halbb_set_cr+0x41/0x7d [8852be]
[ 4.243041] ? pci_read32+0x15/0x1b [8852be]
[ 4.243162] ? _hal_read32+0x34/0x3d [8852be]
[ 4.243281] halbb_get_reg_cmn+0x5d/0x5f [8852be]
[ 4.243376] halbb_dig_gain_para_init+0x28/0x655 [8852be]
[ 4.243462] halbb_dig_init+0x8c/0xff [8852be]
[ 4.243541] halbb_dm_init+0x9c/0x17d [8852be]
[ 4.243629] rtw_hal_bb_dm_init+0x1a/0x20 [8852be]
[ 4.243749] hal_start_8852b+0x134/0x24a [8852be]
[ 4.243853] hal_start_8852be+0x58/0xa0 [8852be]
[ 4.243950] ? __nla_validate_parse+0x152/0x1a0
[ 4.243957] rtw_hal_start+0x33/0x10d [8852be]
[ 4.244078] rtw_phl_start+0x35/0x14f [8852be]
[ 4.244183] rtw_hw_start+0x26/0x61 [8852be]
[ 4.244280] netdev_open+0xa3/0x188 [8852be]
[ 4.244353] __dev_open+0xf7/0x1c0
[ 4.244359] __dev_change_flags+0x1a7/0x220
...
[ 4.244509] RIP: 0033:0x7f76f7e14b4d
[ 4.244513] Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 3a 8f f6 ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 33 44 89 c7 48 89 44 24 08 e8 7e 8f f6 ff 48
[ 4.244515] RSP: 002b:00007fffdf9f7eb0 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
[ 4.244519] RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007f76f7e14b4d
[ 4.244521] RDX: 0000000000000000 RSI: 00007fffdf9f7ef0 RDI: 000000000000000c
[ 4.244523] RBP: 0000558932968040 R08: 0000000000000000 R09: 0000000000000000
[ 4.244524] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
[ 4.244526] R13: 00007fffdf9f8040 R14: 00007fffdf9f803c R15: 0000000000000000
[ 4.244590] ================================================================================
[ 4.244593] UBSAN: shift-out-of-bounds in /var/lib/dkms/rtw8852be/1.0.0/build/phl/hal_g6/phy/bb/halbb_interface.c:184:44
[ 4.244598] shift exponent 32 is too large for 32-bit type 'unsigned int'
[ 4.244602] CPU: 7 PID: 661 Comm: NetworkManager Tainted: G O 5.15.0-47-generic #51-Ubuntu
[ 4.244605] Hardware name: LENOVO 82UD/LNVNB161216, BIOS JECN11WW(V1.04) 03/14/2022
[ 4.244606] Call Trace:
[ 4.244607] <TASK>
[ 4.244608] show_stack+0x52/0x5c
[ 4.244612] dump_stack_lvl+0x4a/0x63
[ 4.244615] dump_stack+0x10/0x16
[ 4.244618] ubsan_epilogue+0x9/0x49
[ 4.244621] __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
[ 4.244625] ? halbb_set_cr+0x41/0x7d [8852be]
[ 4.244720] ? halbb_set_reg_cmn+0x30/0x92 [8852be]
[ 4.244806] halbb_set_reg_cmn+0x90/0x92 [8852be]
[ 4.244889] halbb_sdagc_follow_pagc_config+0x64/0x111 [8852be]
[ 4.244975] halbb_dig_cfg_bbcr+0x17f/0x184 [8852be]
[ 4.245055] halbb_dig_init+0xc8/0xff [8852be]
[ 4.245134] halbb_dm_init+0x9c/0x17d [8852be]
[ 4.245220] rtw_hal_bb_dm_init+0x1a/0x20 [8852be]
[ 4.245269] hal_start_8852b+0x134/0x24a [8852be]
[ 4.245269] hal_start_8852be+0x58/0xa0 [8852be]
[ 4.245269] ? __nla_validate_parse+0x152/0x1a0
[ 4.245269] rtw_hal_start+0x33/0x10d [8852be]
[ 4.245269] rtw_phl_start+0x35/0x14f [8852be]
[ 4.245269] rtw_hw_start+0x26/0x61 [8852be]
[ 4.245269] netdev_open+0xa3/0x188 [8852be]
h2. In dispatcher thread
[ 4.440192] ================================================================================
[ 4.440195] UBSAN: array-index-out-of-bounds in /var/lib/dkms/rtw8852be/1.0.0/build/phl/phl_cmd_dispatcher.c:1950:7
[ 4.440198] index 16 is out of range for type 'u8 [16]'
[ 4.440200] CPU: 5 PID: 906 Comm: disp_eng_share_ Tainted: G O 5.15.0-47-generic #51-Ubuntu
[ 4.440203] Hardware name: LENOVO 82UD/LNVNB161216, BIOS JECN11WW(V1.04) 03/14/2022
[ 4.440205] Call Trace:
[ 4.440207] <TASK>
[ 4.440210] show_stack+0x52/0x5c
[ 4.440217] dump_stack_lvl+0x4a/0x63
[ 4.440224] dump_stack+0x10/0x16
[ 4.440227] ubsan_epilogue+0x9/0x49
[ 4.440229] __ubsan_handle_out_of_bounds.cold+0x44/0x49
[ 4.440232] ? pq_search_node+0xdc/0x1b6 [8852be]
[ 4.440360] dispr_send_msg+0x156/0x34b [8852be]
[ 4.440489] ? pq_push+0xbf/0xce [8852be]
[ 4.440590] phl_disp_eng_send_msg+0x73/0x7a [8852be]
[ 4.440685] _phl_cmd_scan_req_acquired+0x13a/0x184 [8852be]
[ 4.440782] register_cur_cmd_req+0x40/0x6a [8852be]
[ 4.440872] dispr_process_token_req+0x5a/0xe1 [8852be]
[ 4.440959] _handle_token_op_info+0x82/0x16f [8852be]
[ 4.441046] token_op_hanler+0x33/0x93 [8852be]
[ 4.441131] dispr_thread_loop_hdl+0x3d/0x1a8 [8852be]
[ 4.441217] dispr_share_thread_loop_hdl+0xe/0x14 [8852be]
[ 4.441308] share_thread_hdl+0x6a/0xfe [8852be]
[ 4.441398] ? phl_ps_hal_pwr_req+0x8f/0x8f [8852be]
[ 4.441484] kthread+0x12a/0x150
[ 4.441490] ? set_kthread_struct+0x50/0x50
[ 4.441492] ret_from_fork+0x22/0x30
[ 4.441498] </TASK>
[ 4.441520] ================================================================================
[ 4.441523] ================================================================================
[ 4.441523] UBSAN: array-index-out-of-bounds in /var/lib/dkms/rtw8852be/1.0.0/build/phl/phl_cmd_dispatcher.c:563:5
[ 4.441525] index 16 is out of range for type 'u8 [16]'
[ 4.441527] CPU: 5 PID: 906 Comm: disp_eng_share_ Tainted: G O 5.15.0-47-generic #51-Ubuntu
[ 4.441530] Hardware name: LENOVO 82UD/LNVNB161216, BIOS JECN11WW(V1.04) 03/14/2022
[ 4.441531] Call Trace:
[ 4.441532] <TASK>
[ 4.441532] show_stack+0x52/0x5c
[ 4.441536] dump_stack_lvl+0x4a/0x63
[ 4.441540] dump_stack+0x10/0x16
[ 4.441543] ubsan_epilogue+0x9/0x49
[ 4.441545] __ubsan_handle_out_of_bounds.cold+0x44/0x49
[ 4.441548] set_msg_bitmap+0xb5/0xb7 [8852be]
[ 4.441636] dispr_send_msg+0x214/0x34b [8852be]
[ 4.441724] phl_disp_eng_send_msg+0x73/0x7a [8852be]
[ 4.441810] _phl_cmd_scan_req_acquired+0x13a/0x184 [8852be]
[ 4.442112] register_cur_cmd_req+0x40/0x6a [8852be]
[ 4.442201] dispr_process_token_req+0x5a/0xe1 [8852be]
[ 4.442288] _handle_token_op_info+0x82/0x16f [8852be]
[ 4.442374] token_op_hanler+0x33/0x93 [8852be]
[ 4.442460] dispr_thread_loop_hdl+0x3d/0x1a8 [8852be]
[ 4.442546] dispr_share_thread_loop_hdl+0xe/0x14 [8852be]
[ 4.442631] share_thread_hdl+0x6a/0xfe [8852be]
[ 4.442720] ? phl_ps_hal_pwr_req+0x8f/0x8f [8852be]
[ 4.442808] kthread+0x12a/0x150
[ 4.442812] ? set_kthread_struct+0x50/0x50
[ 4.442815] ret_from_fork+0x22/0x30
[ 4.442819] </TASK>
[ 4.442820] ================================================================================
[ 4.442852] ================================================================================
[ 4.442883] UBSAN: array-index-out-of-bounds in /var/lib/dkms/rtw8852be/1.0.0/build/phl/phl_cmd_dispatcher.c:586:5
[ 4.442921] index 16 is out of range for type 'u8 [16]'
[ 4.442941] CPU: 5 PID: 906 Comm: disp_eng_share_ Tainted: G O 5.15.0-47-generic #51-Ubuntu
[ 4.442944] Hardware name: LENOVO 82UD/LNVNB161216, BIOS JECN11WW(V1.04) 03/14/2022
[ 4.442945] Call Trace:
[ 4.442945] <TASK>
[ 4.442946] show_stack+0x52/0x5c
[ 4.442950] dump_stack_lvl+0x4a/0x63
[ 4.442954] dump_stack+0x10/0x16
[ 4.442956] ubsan_epilogue+0x9/0x49
[ 4.442959] __ubsan_handle_out_of_bounds.cold+0x44/0x49
[ 4.442961] ? atkbd_interrupt+0x471/0x840
[ 4.442965] set_msg_custom_bitmap+0x1ad/0x1ce [8852be]
[ 4.443053] ? set_msg_bitmap+0xb5/0xb7 [8852be]
[ 4.443140] dispr_send_msg+0x236/0x34b [8852be]
[ 4.443228] phl_disp_eng_send_msg+0x73/0x7a [8852be]
[ 4.443315] _phl_cmd_scan_req_acquired+0x13a/0x184 [8852be]
[ 4.443408] register_cur_cmd_req+0x40/0x6a [8852be]
[ 4.443496] dispr_process_token_req+0x5a/0xe1 [8852be]
[ 4.443583] _handle_token_op_info+0x82/0x16f [8852be]
[ 4.443668] token_op_hanler+0x33/0x93 [8852be]
[ 4.443754] dispr_thread_loop_hdl+0x3d/0x1a8 [8852be]
[ 4.443839] dispr_share_thread_loop_hdl+0xe/0x14 [8852be]
[ 4.443924] share_thread_hdl+0x6a/0xfe [8852be]
[ 4.444013] ? phl_ps_hal_pwr_req+0x8f/0x8f [8852be]
[ 4.444100] kthread+0x12a/0x150
[ 4.444103] ? set_kthread_struct+0x50/0x50
[ 4.444106] ret_from_fork+0x22/0x30
[ 4.444111] </TASK>
[ 4.444111] ================================================================================
[ 4.444143] ================================================================================
[ 4.444173] UBSAN: array-index-out-of-bounds in /var/lib/dkms/rtw8852be/1.0.0/build/phl/phl_cmd_dispatcher.c:1312:7
[ 4.444211] index 16 is out of range for type 'u8 [16]'
[ 4.444231] CPU: 5 PID: 906 Comm: disp_eng_share_ Tainted: G O 5.15.0-47-generic #51-Ubuntu
[ 4.444233] Hardware name: LENOVO 82UD/LNVNB161216, BIOS JECN11WW(V1.04) 03/14/2022
[ 4.444234] Call Trace:
[ 4.444235] <TASK>
[ 4.444236] show_stack+0x52/0x5c
[ 4.444239] dump_stack_lvl+0x4a/0x63
[ 4.444242] dump_stack+0x10/0x16
[ 4.444245] ubsan_epilogue+0x9/0x49
[ 4.444247] __ubsan_handle_out_of_bounds.cold+0x44/0x49
[ 4.444249] ? atkbd_interrupt+0x471/0x840
[ 4.444252] ? atkbd_interrupt+0x471/0x840
[ 4.444254] get_module_by_id+0x12c/0x160 [8852be]
[ 4.444343] dispr_send_msg+0x28a/0x34b [8852be]
[ 4.444430] phl_disp_eng_send_msg+0x73/0x7a [8852be]
[ 4.444517] _phl_cmd_scan_req_acquired+0x13a/0x184 [8852be]
[ 4.444609] register_cur_cmd_req+0x40/0x6a [8852be]
[ 4.444697] dispr_process_token_req+0x5a/0xe1 [8852be]
[ 4.444783] _handle_token_op_info+0x82/0x16f [8852be]
[ 4.444869] token_op_hanler+0x33/0x93 [8852be]
[ 4.444954] dispr_thread_loop_hdl+0x3d/0x1a8 [8852be]
[ 4.445039] dispr_share_thread_loop_hdl+0xe/0x14 [8852be]
[ 4.445124] share_thread_hdl+0x6a/0xfe [8852be]
[ 4.445213] ? phl_ps_hal_pwr_req+0x8f/0x8f [8852be]
[ 4.445307] kthread+0x12a/0x150
[ 4.445309] ? set_kthread_struct+0x50/0x50
[ 4.445316] ret_from_fork+0x22/0x30
[ 4.445316] </TASK>
[ 4.445338] ================================================================================
Apologies if this is just known, benign issues.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.