Merge pull request #63 from stesind/master

Added DKMS support
This commit is contained in:
Ole Petter Bang 2015-09-23 14:17:56 +02:00
commit 2a9bbb7cb2
2 changed files with 36 additions and 0 deletions

View File

@ -47,6 +47,33 @@ $ sudo depmod
The driver module should now be loaded automatically.
### DKMS
Automatically rebuilds and installs on kernel updates. DKMS is in official sources of Ubuntu, for installation do:
```sh
$ sudo apt-get install build-essential dkms
```
The driver source mus be copied to /usr/src/8812au-4.2.2
Then add it to DKMS:
```sh
$ sudo dkms add -m 8812au -v 4.2.2
$ sudo dkms build -m 8812au -v 4.2.2
$ sudo dkms install -m 8812au -v 4.2.2
```
Check with:
```sh
$ sudo dkms status
```
Eventually remove from DKMS with:
```sh
$ sudo dkms remove -m 8812au -v 4.2.2 --all
```
### References
- D-Link DWA-171

9
dkms.conf Normal file
View File

@ -0,0 +1,9 @@
PACKAGE_NAME=8812au
PACKAGE_VERSION=4.2.2
DEST_MODULE_LOCATION=/kernel/drivers/net/wireless
BUILT_MODULE_NAME=8812au
MAKE="'make' all"
CLEAN="'make' clean"
AUTOINSTALL="yes"