I have a lack of experience dealing with kernel modules, so I know there was a much easier way to build and test the module by itself, but I took the long route and it seems like a success.
Grabbed source for Ubuntu kernel package 5.0.0-25. Output mentioned patches to 5.0.0-25.26, if that means anything. Blacklisted r8822be, patched rtw88 with the requested patch, built everything, checked lsmod and see rtwpci/rtw88 instead of r8822be as intended, and wifi seems to be working! Only weird thing is when I built the kernel it started calling it version 5.0.18. I'm not really sure how kernel build versioning works, so let me know if I did something wrong. As a verification I ran update-initramfs against 5.0.0-25-generic (no rtw88 patch) to apply the blacklist r8822be rule, loaded it, checked that it's using rtwpci/rtw88, and I get no wifi as expected. Another validation would be great, but it looks promising to me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1838133 Title: realtek r8822be kernel module fails after update to linux kernel- headers 5.0.0-21 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1838133/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs