You are not logged in.

#1 2021-07-01 15:53:23

cadmiumky
Member
Registered: 2021-05-31
Posts: 14

[SOLVED] RTL8822BE driver installation

Hello,

I would like to be able to connect wirelessly to the internet using my integrated Network Board. The only problem is, the driver I need (so the network board would work) is RTL8822BE, and I can't find it anywhere (e.g the AUR has taken it out of date lately, so I can't install it from there), so I ask for your help in helping me find any alternative (or the driver itself).

Thanks a lot in advance,
Mihai

Last edited by cadmiumky (2021-07-02 10:46:56)

Offline

#3 2021-07-01 16:10:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,713

Re: [SOLVED] RTL8822BE driver installation

It should be part of the rtw88 set of modules which should already be part of the current kernel. see e.g.

modinfo rtw88_8822be

If you have problems with the current in kernel implementation another option would be larrys git branch which can be found here: https://aur.archlinux.org/packages/rtw88-dkms-git/

Online

#4 2021-07-01 16:34:31

cadmiumky
Member
Registered: 2021-05-31
Posts: 14

Re: [SOLVED] RTL8822BE driver installation

Sorry -- I thought that might be the problem I was having. I had the same difficulty on the exact same machine before (but then I reinstalled the system because it started to glitch a lot), and one day the network board just started working (after I installed the correct drivers). Now I encounter the same problem, so I would apreciate it if you could still help me.

I hope these outputs could explain my situation better

Output of nmcli:

wlo1: unavailable
        "Realtek RTL8822BE 802.11a/b/g/n/ac"
        wifi (rtw_8822be), FE:33:19:8D:91:4D, hw, mtu 1500

Output of nmcli device show:

GENERAL.DEVICE:                         wlo1
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         FE:33:19:8D:91:4D
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --

Output of ip link show:

2: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether fe:33:19:8d:91:4d brd ff:ff:ff:ff:ff:ff permaddr dc:f5:05:37:5a:59
    altname wlp2s0f0

I also tried brute-force setting wlo to UP (via ip link set wlo1 up), but it responded with

 RTNETLINK answers: Operation already in progress 

Sorry for the bother,
Mihai

Last edited by cadmiumky (2021-07-01 16:42:14)

Offline

#5 2021-07-01 17:00:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,713

Re: [SOLVED] RTL8822BE driver installation

Realtek wifi drivers have a reputation for being quite broken so it's very much possible you are actually running into issues. Do you see anything in dmesg with regards to that module? Is it potentially blocked in/with rfkill? Otherwise try the driver suggested by seth.

Online

#6 2021-07-01 17:26:46

cadmiumky
Member
Registered: 2021-05-31
Posts: 14

Re: [SOLVED] RTL8822BE driver installation

Yup. The logs indicate this:

[   65.010583] rtw_8822be 0000:02:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   65.010589] rtw_8822be 0000:02:00.0: mac power on failed
[   65.010590] rtw_8822be 0000:02:00.0: failed to power on mac
[   67.010772] rtw_8822be 0000:02:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   67.010777] rtw_8822be 0000:02:00.0: mac power on failed
[   67.010778] rtw_8822be 0000:02:00.0: failed to power on mac
[   79.016051] rtw_8822be 0000:02:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   79.016058] rtw_8822be 0000:02:00.0: mac power on failed
[   79.016059] rtw_8822be 0000:02:00.0: failed to power on mac
[   81.016247] rtw_8822be 0000:02:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   81.016252] rtw_8822be 0000:02:00.0: mac power on failed
[   81.016253] rtw_8822be 0000:02:00.0: failed to power on mac

Offline

#7 2021-07-01 19:10:58

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: [SOLVED] RTL8822BE driver installation

https://bbs.archlinux.org/viewtopic.php?id=260589
Also try "rtw88_pci.disable_aspm=1"

Offline

#8 2021-07-02 09:18:34

cadmiumky
Member
Registered: 2021-05-31
Posts: 14

Re: [SOLVED] RTL8822BE driver installation

Thanks a million. I set the aspm policy to powersave, and now it works. Your setting, however, basically disabled wlo1 completely (just so you know)

Last edited by cadmiumky (2021-07-02 10:47:06)

Offline

#9 2021-07-02 13:22:34

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: [SOLVED] RTL8822BE driver installation

disabled wlo1 completely

Hummwhat?
Do you mean that it shows up under a different device name?
If it's "basically disabled", how do you use it (it's the realtek chip)?

Offline

#10 2021-07-02 16:00:44

cadmiumky
Member
Registered: 2021-05-31
Posts: 14

Re: [SOLVED] RTL8822BE driver installation

I meant that while booting with that setting the system no longer recognized wlo1 as an "option" (i.e for the 40 minutes I kept the laptop up with that setting nmcli nor ip link show outputted anything about wlo1 or any similar alias, printing only the wired connection and the loopback). When I booted with

 apsm_pcie.policy=powersave 

the system started recognizing wlo1 again and it started working (as it does right now)

Last edited by cadmiumky (2021-07-02 16:56:11)

Offline

#11 2021-07-02 17:55:51

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: [SOLVED] RTL8822BE driver installation

Ah, so " apsm_pcie.policy=powersave" works and "rtw88_pci.disable_aspm=1" doesn't.
Do you have the journal from that boot ("sudo journalctl -b -1" for the previous boot)?

Offline

#12 2021-07-02 18:56:28

cadmiumky
Member
Registered: 2021-05-31
Posts: 14

Re: [SOLVED] RTL8822BE driver installation

sudo journalctl -b -2 | grep rtw (because I restarted my laptop)  outputted this:

 Jul 02 12:14:54 cadmium kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=4624c382-393d-4985-b661-f61b86e220d1 rw quiet splash rtw88_pci.disable_aspm=1
Jul 02 12:14:54 cadmium kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=4624c382-393d-4985-b661-f61b86e220d1 rw quiet splash rtw88_pci.disable_aspm=1
Jul 02 12:14:55 cadmium kernel: rtw_core: loading out-of-tree module taints kernel.
Jul 02 12:14:55 cadmium kernel: rtw_core: module verification failed: signature and/or required key missing - tainting kernel
Jul 02 12:14:55 cadmium kernel: rtw_8822be 0000:02:00.0: can't change power state from D3hot to D0 (config space inaccessible)
Jul 02 12:14:55 cadmium kernel: rtw_8822be 0000:02:00.0: Firmware version 27.2.0, H2C version 13
Jul 02 12:14:55 cadmium kernel: rtw_8822be 0000:02:00.0: mac power on failed
Jul 02 12:14:55 cadmium kernel: rtw_8822be 0000:02:00.0: failed to power on mac
Jul 02 12:14:55 cadmium kernel: rtw_8822be 0000:02:00.0: failed to setup chip efuse info
Jul 02 12:14:55 cadmium kernel: rtw_8822be 0000:02:00.0: failed to setup chip information
Jul 02 12:14:55 cadmium kernel: rtw_8822be: probe of 0000:02:00.0 failed with error -114
Jul 02 12:14:55 cadmium kernel: Error: Driver 'rtw_8822be' is already registered, aborting...

Offline

#13 2021-07-02 19:02:27

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: [SOLVED] RTL8822BE driver installation

can't change power state from D3hot to D0

Do you have a parallel windows installation?

Offline

#14 2021-07-02 19:15:55

cadmiumky
Member
Registered: 2021-05-31
Posts: 14

Re: [SOLVED] RTL8822BE driver installation

Nope. At least, I've reinstalled the system about 4 times already and everytime I deleted all the partions available on the laptop using fdisk --> d (1/2/3/..)

Offline

Board footer

Powered by FluxBB