rtlwifi-next
rtlwifi-next copied to clipboard
How to provide feed back on rtl8822be driver
I have built and installed the rtl8822be driver for my new laptop (Lenovo S5 type 20JA)
I would like to provide any feedback possible to help in bringing this driver to proper working state. How and where should I do this if possible.
@shartrec I am having trouble with the installation of the particular driver. Could you elaborate on how you installed it?
There is a compile error on my lap(Lenovo S5,Centos 7,kernel 4.16.7):
[rochover@localhost rtlwifi-next-master]$ make
make -C /lib/modules/4.16.7/build M=/home/rochover/Downloads/rtlwifi-next-master modules
make[1]: Entering directory /usr/src/kernels/4.16.7-1.el7.elrepo.x86_64' CC [M] /home/rochover/Downloads/rtlwifi-next-master/base.o /home/rochover/Downloads/rtlwifi-next-master/base.c: In function ‘_rtl_init_deferred_work’: /home/rochover/Downloads/rtlwifi-next-master/base.c:460:2: error: implicit declaration of function ‘setup_timer’ [-Werror=implicit-function-declaration] setup_timer(&rtlpriv->works.watchdog_timer, ^ cc1: some warnings being treated as errors make[2]: *** [/home/rochover/Downloads/rtlwifi-next-master/base.o] Error 1 make[1]: *** [_module_/home/rochover/Downloads/rtlwifi-next-master] Error 2 make[1]: Leaving directory
/usr/src/kernels/4.16.7-1.el7.elrepo.x86_64'
make: *** [all] Error 2
I have the same issue on my Debian 4.16.12-1 (2018-05-27)
Same here.
The underlying reason is that setup_timer() macro has been removed circa kernel 4.15 and replaced with timer_setup(). For details, look at this article. https://lwn.net/Articles/735887/
So this repository needs to be patched similar to this https://patchwork.kernel.org/patch/10010231/
I just found this repository which is already patched: https://github.com/lwfinger/rtlwifi_new For my RTL8828BE, I just cloned extended branch, and followed steps in the README, excluding optional steps.
Same here, and that version seems to run fine for me.
For anyone else who is having trouble with the rtl8822be driver on this repo, the kernel has a staging driver for it - depending on your distro, you might need to recompile the kernel or just enable the module. At least for my computer (HP Stream), it was worth the trouble of recompiling. With this driver it wouldn't reconnect after sleeping and after it works perfectly