drwilco / rtl8822bu Goto Github PK
View Code? Open in Web Editor NEWMy own copy of RTL8822BU drivers
My own copy of RTL8822BU drivers
I am getting the following output on Linux master 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux
root@master:/tmp/rtl8822bu# cat /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/make.log
DKMS make.log for RTL8822BU-5.1.7_19806.20161025_BTCOEX20161024-3333-0.1 for kernel 4.14.30-v7+ (armv7l)
Tue 3 Apr 05:37:50 UTC 2018
make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.14.30-v7+/build M=/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build modules
make[1]: Entering directory '/home/pi/linux-81dda1af754c3af667944af7156bf1c5cdf9beee'
CC [M] /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_security.o
CC [M] /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_debug.o
CC [M] /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_io.o
In file included from /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/drv_types.h:32:0,
from /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_security.c:22:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h: In function ‘thread_enter’:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:374:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h: In function ‘flush_signals_thread’:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:384:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
if (signal_pending(current))
^~~~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:385:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
flush_signals(current);
^~~~~~~~~~~~~
In file included from /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/drv_types.h:32:0,
from /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_io.c:52:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h: In function ‘thread_enter’:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:374:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h: In function ‘flush_signals_thread’:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:384:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
if (signal_pending(current))
^~~~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:385:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
flush_signals(current);
^~~~~~~~~~~~~
In file included from /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/drv_types.h:32:0,
from /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_cmd.c:22:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h: In function ‘thread_enter’:
In file included from /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/drv_types.h:32:0,
from /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_debug.c:22:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h: In function ‘thread_enter’:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:374:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:374:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h: In function ‘flush_signals_thread’:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h: In function ‘flush_signals_thread’:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:384:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
if (signal_pending(current))
^~~~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:384:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
if (signal_pending(current))
^~~~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:385:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
flush_signals(current);
^~~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:385:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
flush_signals(current);
^~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:328: recipe for target '/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_io.o' failed
make[2]: *** [/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_io.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: some warnings being treated as errors
scripts/Makefile.build:328: recipe for target '/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_security.o' failed
make[2]: *** [/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_security.o] Error 1
cc1: some warnings being treated as errors
scripts/Makefile.build:328: recipe for target '/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_cmd.o' failed
make[2]: *** [/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_cmd.o] Error 1
cc1: some warnings being treated as errors
scripts/Makefile.build:328: recipe for target '/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_debug.o' failed
make[2]: *** [/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_debug.o] Error 1
Makefile:1519: recipe for target '_module_/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build' failed
make[1]: *** [_module_/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build] Error 2
make[1]: Leaving directory '/home/pi/linux-81dda1af754c3af667944af7156bf1c5cdf9beee'
Makefile:1891: recipe for target 'modules' failed
make: *** [modules] Error 2
root@master:/tmp/rtl8822bu# uname -a
Linux master 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux
I have removed my built-in wifi card(mini-PCIe) to add an external eGPU and while I could get the rtl8822 driver running with 17.10, my main OS is still 16.04 and kernel 4.4.x so your fixes saved me. Thank you.
The AC1200 also seems rather fast so I might end up getting one for a couple of the rPi 2's I have around and now I know what driver source to use!
I cross compiled the driver on ubuntu for ARM (QNAP NAS with marvell kirkwood SoC, Kernel 3.4.6 with the correct toolchain). The driver compiles with a bunch of warnings, but the process runs through. I then load the driver modul with insmod. When the WLAN adapter is already plugged in I get a segmentation fault. If I first unplug the WLAN adapter then the driver is loading without error, but the device is not detected when I plug in.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.