No Network at all after switching driver from rtw8852BE to rtw89

Hey Folks,

got in trouble again with my attempt to fix wifi and network connection.
I noticed rtw8852be recommends to use rtw89.

So I tried to switch but without success. Now I have no internet-connection with this device. I am writing this from a second device, and copy stuff from there via usb-sticks.

So i have a rough idea from this issue how to fix it:
, also from this comment on AUR

Roughly I would like to

git clone https://aur.archlinux.org/rtw89-dkms-git.git
cd rtw89-dkms-git

then do the changes mentioned here (AUR rtw89-dkms-git comment)

unclesam commented on 2022-12-15 11:11 (UTC)
For those who need rtw_8852be: You need to modify dkms.conf and PKGBUILD as follows.
dkms.conf: change module names 2 and 3 to rtw_8852b and rtw_8852be (or add them as index 4 and 5). mportant: put the make command in single quotes, i.e. change make to ‘make’ Delete version specifier
PKGBUILD: change sha256sum for dkms.conf to ‘SKIP’ or insert the correct value.
Afterwards you can build and install the package. It worked (at least) for me (for kernel 5.15, 6.0 and 6.1)
You can find the code here:
dkms: dkms.conf for rtw89-dkms-git in AUR (9eg7zs71) - PasteCode.io pkgbuild: PKGBUILD for rtw89-dkms-git (1supvft9) - PasteCode.io
Hopefully, this helps with 8852be…

and then do

makepkg -sri

But, how can I manage this when being offline? Not sure about the dependencies either.
I tried going back to 8852be but currently also without success.

The second Device is running KDE Neon. Could I build there?

inxi -Nazy
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: N/A modules: r8169, r8168 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  Device-2: Realtek vendor: Lenovo driver: N/A modules: 8852be, rtw_8852be
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 03:00.0
    chip-ID: 10ec:b852 class-ID: 0280
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
    bus-ID: 2-1.3:4 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
sudo modprobe -v 8852be          #This loads the module
insmod /lib/modules/5.18.19-3-MANJARO/kernel/drivers/net/wireless/8852be.ko
modprobe: ERROR: could not insert '8852be': Invalid argument
b@thinkpad ~ [1]> sudo modprobe -v rtw_8852be          #This loads the module
insmod /lib/modules/5.18.19-3-MANJARO/kernel/drivers/net/wireless/realtek/rtw89/rtw89core.ko.xz
modprobe: ERROR: could not insert 'rtw_8852be': Invalid argument
inxi --admin --verbosity=7 --filter --width
System:
  Kernel: 5.18.19-3-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.18-x86_64
    root=UUID=86fb53be-c8f5-4e7e-9dcd-1d24c1ea8dc5 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.4 tk: Qt v: 5.15.7 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 21EES00100 v: ThinkPad E15 Gen 4
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 21EES00100 v: ThinkPad serial: <superuser required>
    UEFI: LENOVO v: R20ET26W (1.06 ) date: 02/18/2022
Battery:
  ID-1: BAT0 charge: 53.7 Wh (99.6%) condition: 53.9/57.0 Wh (94.5%)
    volts: 12.8 min: 11.5 model: SMP LNV-5B11C73244 type: Li-poly
    serial: <filter> status: not charging cycles: 33
Memory:
  RAM: total: 14.47 GiB used: 2.14 GiB (14.8%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 5825U with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000C
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 1395 high: 1397 min/max: 1600/4547 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1393 2: 1396
    3: 1395 4: 1396 5: 1397 6: 1396 7: 1395 8: 1396 9: 1397 10: 1395 11: 1396
    12: 1396 13: 1395 14: 1395 15: 1397 16: 1396 bogomips: 63916
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic
    extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
    hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
    misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
    nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt
    pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
    skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
    svm svm_lock syscall tce topoext tsc tsc_scale umip v_spec_ctrl
    v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
    xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Barcelo vendor: Lenovo driver: amdgpu v: kernel arch: RDNA-2
    code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
    active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 04:00.0 chip-ID: 1002:15e7
    class-ID: 0300 temp: 36.0 C
  Device-2: Sunplus Innovation FHD Camera Microphone type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-1.4:5 chip-ID: 1bcf:28c4
    class-ID: 0102 serial: <filter>
  Device-3: Acer Integrated RGB Camera type: USB driver: uvcvideo
    bus-ID: 1-3:3 chip-ID: 5986:2146 class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.4 compositor: kwin_x11 driver: X:
    loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 mapped: eDP model: ChiMei InnoLux 0x151e built: 2019
    res: 1920x1080 hz: 60 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6")
    diag: 394mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6 Mesa 22.2.4 renderer: AMD Radeon Graphics (renoir LLVM
    14.0.6 DRM 3.46 5.18.19-3-MANJARO) direct render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel bus-ID: 1-1.4:5 chip-ID: 1bcf:28c4 pcie:
    class-ID: 0102 gen: 3 speed: 8 GT/s serial: <filter> lanes: 16 link-max:
    gen: 4 speed: 16 GT/s bus-ID: 04:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
    snd_acp_pci, snd_sof_amd_renoir pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.5 chip-ID: 1022:15e2
    class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-4: Sunplus Innovation FHD Camera Microphone type: USB
    driver: snd-usb-audio,uvcvideo
  Sound API: ALSA v: k5.18.19-3-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.61 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: N/A modules: r8169, r8168 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  Device-2: Realtek vendor: Lenovo driver: N/A modules: 8852be, rtw_8852be
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 03:00.0
    chip-ID: 10ec:b852 class-ID: 0280
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
    bus-ID: 2-1.3:4 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
  IF: enp4s0f3u1u3 state: down mac: <filter>
  WAN IP: No WAN IP found. Connected to web? SSL issues? Try enabling dig
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 3-4:3 chip-ID: 0bda:4853 class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 484.19 GiB used: 323.76 GiB (66.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Lenovo
    model: UMIS RPJTJ512MGE1QDQ size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 1.3Q0630 temp: 19.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 type: USB vendor: Sony model: Storage Media
    size: 7.25 GiB block-size: physical: 512 B logical: 512 B type: N/A
    serial: <filter> rev: PMAP scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 476.64 GiB size: 468.09 GiB (98.21%)
    used: 323.76 GiB (69.2%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: 86fb53be-c8f5-4e7e-9dcd-1d24c1ea8dc5
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: NO_LABEL uuid: BF4B-0245
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 7.25 GiB fs: vfat label: N/A
    uuid: 7C6A-B021
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-1:2 info: VIA Labs USB2.0 Hub ports: 5 rev: 2.1 speed: 480 Mb/s
    chip-ID: 2109:2817 class-ID: 0900
  Hub-3: 1-1.2:4 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 1a40:0101 class-ID: 0900
  Device-1: 1-1.2.2:6 info: Genesys Logic microSD Card Reader
    type: Mass Storage driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s
    power: 98mA chip-ID: 05e3:0751 class-ID: 0806
  Device-2: 1-1.2.3:8 info: Genesys Logic microSD Card Reader
    type: Mass Storage driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s
    power: 98mA chip-ID: 05e3:0751 class-ID: 0806
  Device-3: 1-1.4:5 info: Sunplus Innovation FHD Camera Microphone
    type: Video,Audio driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0
    speed: 480 Mb/s power: 500mA chip-ID: 1bcf:28c4 class-ID: 0102
    serial: <filter>
  Device-4: 1-1.5:7 info: VIA Labs USB Billboard Device type: Billboard
    driver: N/A interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 100mA
    chip-ID: 2109:8888 class-ID: 1100 serial: <filter>
  Device-5: 1-3:3 info: Acer Integrated RGB Camera type: Video
    driver: uvcvideo interfaces: 5 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 5986:2146 class-ID: fe01 serial: <filter>
  Hub-4: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-5: 2-1:2 info: VIA Labs USB3.0 Hub ports: 4 rev: 3.1 speed: 5 Gb/s
    chip-ID: 2109:0817 class-ID: 0900
  Device-1: 2-1.3:4 info: Realtek RTL8153 Gigabit Ethernet Adapter
    type: Network driver: r8152 interfaces: 1 rev: 3.0 speed: 5 Gb/s power: 288mA
    chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
  Device-2: 2-2:3 info: Sony Storage Media type: Mass Storage
    driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s power: 504mA
    chip-ID: 054c:09c2 class-ID: 0806 serial: <filter>
  Hub-6: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-3:2 info: FPC Sensor Controller L:0001 FW:16.26.23.14
    type: <vendor specific> driver: N/A interfaces: 1 rev: 1.1 speed: 480 Mb/s
    power: 100mA chip-ID: 10a5:9800 class-ID: 0000
  Device-2: 3-4:3 info: Realtek Bluetooth Radio type: Bluetooth driver: btusb
    interfaces: 2 rev: 1.0 speed: 12 Mb/s power: 500mA chip-ID: 0bda:4853
    class-ID: e001 serial: <filter>
  Hub-7: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A gpu: amdgpu temp: 36.0 C
  Fan Speeds (RPM): fan-1: 0 fan-2: 0
Info:
  Processes: 296 Uptime: 29m wakeups: 1 Init: systemd v: 251 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: 2119
  pm: pacman pkgs: 2115 libs: 422 tools: pamac pm: flatpak pkgs: 0 pm: snap
  pkgs: 4 Shell: fish v: 3.5.1 running-in: konsole inxi: 3.3.24

Any help is appreciated. Just need a working connection, no matter if only wifi or only LAN. Can then wait for Kernel 6.2 for integration of the module (was mentioned in above linked github issue)
thanks.

have you tried USB tethering from your smartphone?

just now, that works. nice, thank you!

I was also able to get a network connection by downgrading the kernel and rebuilding rtw8852be.
so since I got some work to do, i’ll keep it like this and switch when kernel 6.2 is out.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.