Closed yakman2020 closed 1 year ago
@yakman2020 same here, kernel 5.12.9-1, Manjaro. lots and lots of errors of this kind. Have you figured out the right changes?
New branches have been made for later kernels, for kernels >= 5.11, use the 5.8.7 branch.
https://github.com/fastoe/RTL8812BU#for-kernel-511-or-later-please-clone-the-v587-branch
try that and see if it helps.
I'm getting several issues here. The most obvious is
/usr/src/rtl88x2bu-5.6.1/os_dep/osdep_service.c:2247:32: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’? 2247 | set_fs(KERNEL_DS); | ^
~~~~ | KERNFS_NS /usr/src/rtl88x2bu-5.6.1/os_dep/osdep_service.c: In function ‘storeToFile’: /usr/src/rtl88x2bu-5.6.1/os_dep/osdep_service.c:2284:33: error: incompatible types when assigning to type ‘mm_segment_t’ from type ‘int’ 2284 | oldfs = get_fs(); | ^~/usr/src/rtl88x2bu-5.6.1/core/efuse/rtw_efuse.c: In function ‘rtw_efuse_analyze’:I,m happy to mod the code if I know what you want here. Clearly the kernel interface has chaned.