mirror of
https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
synced 2025-08-16 08:34:15 +02:00
Update README.md
This commit is contained in:
parent
033e99ef09
commit
8248d95eae
92
README.md
92
README.md
@ -1,58 +1,66 @@
|
||||
rtl8812AU_8821AU_linux
|
||||
======================
|
||||
# rtl8812AU_8821AU_linux
|
||||
|
||||
rtl8812AU_8821AU linux kernel driver for AC1200 (801.11ac) Wireless Dual-Band USB Adapter
|
||||
|
||||
## Autocompiling with DKMS
|
||||
## Compiling with DKMS
|
||||
|
||||
```
|
||||
sudo cp -R . /usr/src/rtl8812AU_8821AU_linux-1.0
|
||||
sudo dkms add -m rtl8812AU_8821AU_linux -v 1.0
|
||||
sudo dkms build -m rtl8812AU_8821AU_linux -v 1.0
|
||||
sudo dkms install -m rtl8812AU_8821AU_linux -v 1.0
|
||||
```sh
|
||||
# sudo cp -R . /usr/src/rtl8812AU_8821AU_linux-1.0
|
||||
# sudo dkms add -m rtl8812AU_8821AU_linux -v 1.0
|
||||
# sudo dkms build -m rtl8812AU_8821AU_linux -v 1.0
|
||||
# sudo dkms install -m rtl8812AU_8821AU_linux -v 1.0
|
||||
```
|
||||
|
||||
## To compile on the raspberry pi using raspian
|
||||
#### You first need kernel headers (and the corresponding kernel binary) to build your module.
|
||||
```
|
||||
sudo apt-get install linux-image-rpi-rpfv linux-headers-rpi-rpfv dkms build-essential bc
|
||||
```
|
||||
#### Then, tell raspbian to boot your newly installed kernel. Append this at end of /boot/config.txt and reboot your Pi:
|
||||
### Compiling for Raspberry Pi
|
||||
|
||||
Install kernel headers and other dependencies.
|
||||
|
||||
```sh
|
||||
# sudo apt-get install linux-image-rpi-rpfv linux-headers-rpi-rpfv dkms build-essential bc
|
||||
```
|
||||
|
||||
Append following at the end of your ``/boot/config.txt``, reboot your Pi
|
||||
|
||||
```sh
|
||||
kernel=vmlinuz-3.10-3-rpi
|
||||
initramfs initrd.img-3.10-3-rpi followkernel
|
||||
```
|
||||
#### Edit Makefile and turn on pi and off x86
|
||||
##### Turn off CONFIG_PLATFORM_I386_PC = n
|
||||
##### Turn on CONFIG_PLATFORM_ARM_RPI = y
|
||||
#### Cd to the directory where your source is and compile
|
||||
|
||||
Edit Makefile and turn on ``CONFIG_PLATFORM_ARM_RPI``, turn off ``CONFIG_PLATFORM_I386_PC``
|
||||
|
||||
```sh
|
||||
CONFIG_PLATFORM_I386_PC = n
|
||||
CONFIG_PLATFORM_ARM_RPI = y
|
||||
```
|
||||
cd /usr/src/rtl8812AU_8821AU_linux
|
||||
sudo make clean
|
||||
sudo make
|
||||
sudo make install
|
||||
sudo modprobe -a 8812au
|
||||
|
||||
```sh
|
||||
# cd /usr/src/rtl8812AU_8821AU_linux
|
||||
# sudo make clean
|
||||
# sudo make
|
||||
# sudo make install
|
||||
# sudo modprobe -a 8812au
|
||||
```
|
||||
|
||||
## Contributors
|
||||
<!-- DO NOT EDIT - CONTRIBUTORS.md is autogenerated from git commit log by contributors.sh script. -->
|
||||
|
||||
- Anand Babu (AB) Periasamy
|
||||
- Andreas Hofmann
|
||||
- Andrew Mann
|
||||
- AndyPi
|
||||
- Anton
|
||||
- archshift
|
||||
- bits3rpent
|
||||
- Daiki Tamada
|
||||
- HackDefendr
|
||||
- Harshavardhana
|
||||
- Joe Acosta
|
||||
- John Lenz
|
||||
- Karl-Philipp Richter
|
||||
- Marco Milanesi
|
||||
- mpoly
|
||||
- pgroenbech
|
||||
- scrivy
|
||||
- Vicent Llongo
|
||||
- Victor Azizi
|
||||
- Anand Babu (AB) Periasamy
|
||||
- Andreas Hofmann
|
||||
- Andrew Mann
|
||||
- AndyPi
|
||||
- Anton
|
||||
- archshift
|
||||
- bits3rpent
|
||||
- Chen Minqiang
|
||||
- Daiki Tamada
|
||||
- HackDefendr
|
||||
- Harshavardhana
|
||||
- Joe Acosta
|
||||
- John Lenz
|
||||
- Karl-Philipp Richter
|
||||
- Marco Milanesi
|
||||
- mpoly
|
||||
- pgroenbech
|
||||
- scrivy
|
||||
- Vicent Llongo
|
||||
- Victor Azizi
|
||||
|
Loading…
x
Reference in New Issue
Block a user