Tp-Link TL-WN822N V5 [6/19] Compile the driver

Tp-Link TL-WN722N V3 [6/19] Compile the driver
According to the command “cat /proc/version”, you could see your Mint system is
compiled by gcc5.4.0, so we should use gcc5.4.0 to compile the driver.
Generally, compatible kernel headers are already built in Mint, so you don’t need to
separately download and compile the kernel sources. However, if no related kernel
headers are integrated in your system, please install the kernel sources first.
2.2. Compile the Driver
Use Terminal to go to the driver directory and run the following commands to compile the
driver.
$ make clean
$ make
After compiling, you can see a name of the chip.ko file is stored in the directory of the
driver.
3. Load the Driver
Here we show the 88x2bu.ko wireless driver loading process as an example. Run the
following command to load the driver.
$ sudo cp 88x2bu.ko /lib/modules/[kernel version]/kernel/drivers/net/wireless/
$ sudo depmod -a
$ sudo modprobe 88x2bu
Or directly use insmod to load the driver.
$ sudo insmod 88x2bu.ko
After loading the driver, run the following command to check if the driver is successfully
loaded.
$ lsmod
Raspberry Pi3
1. Development Environment
The development environment in Raspberry Pi 3 is required as follows
Development Environment
OS 6.3.0-18-rpi-deb9u1
Kernel version 4.9.80-v7
Hardware version of
development board
Raspberry Pi 3 Model B
5

Похожие устройства

Скачать