Compatibility Reports for RTL-8851be

Reported by Anonymous


Rating
Operating system
Fedora
Date

The default driver (and other ones that I have tried) work well, but the WiFi module has a problem with the sleep action and, on sleep, crashes and does not work after waking up. It starts to work again after restarting the computer. I've created a simple hotfix to unload the driver before going to sleep and load it back in after waking up (It works on different Fedoras, Ubuntu and Debian. The issue is available at https://github.com/morrownr/rtw89/issues/92

Instructions (extracted from the issue):

First, after reboot (wifi should work), run this to identify the module you're running: `sudo lshw -C network | grep -o 'driver=[^ ]*'` This will output something like `driver=rtw89_8851be_git`, then `rtw89_8851be_git` is the name of the module you're running.
Then, place this file at `/lib/systemd/system-sleep/wifi-sleep-fix.sh`, replace `your_module_name` by the name you got on the previous step:
```
#!/bin/sh
case "$1" in
pre)
modprobe -rv your_module_name
;;
post)
modprobe -v your_module_name
;;
esac
```
Then, make it executable with `sudo chmod +x /lib/systemd/system-sleep/wifi-sleep-fix.sh`