Go to file
Ole Petter Bang 28b72464e1 Merge pull request #46 from mindless2112/patch-1
Add USB ID for Buffalo WI-U2-433DM
2015-07-27 08:54:19 +02:00
core Add existing files. 2013-11-19 21:24:49 +01:00
hal Don't try to process rate section 0 in 5ghz bank. CCK is not used here, but by processing 0, baseIndex5G is left unset and can cause a kernel OOPS that looks like: 2015-05-31 23:18:47 +00:00
include Add existing files. 2013-11-19 21:24:49 +01:00
os_dep Add USB ID for Buffalo WI-U2-433DM 2015-06-07 21:23:41 -06:00
clean Add existing files. 2013-11-19 21:24:49 +01:00
ifcfg-wlan0 Add existing files. 2013-11-19 21:24:49 +01:00
install.sh Installation script 2015-02-04 12:38:26 +01:00
Kconfig Add existing files. 2013-11-19 21:24:49 +01:00
Makefile Update Makefile 2014-10-24 09:30:19 -07:00
README.md Add note about building for something other than a PC, e.g. a RasPi 2014-08-29 07:33:00 -07:00
runwpa Add existing files. 2013-11-19 21:24:49 +01:00
wlan0dhcp Add existing files. 2013-11-19 21:24:49 +01:00

Realtek 802.11ac (rtl8812au)

This is a fork of the Realtek 802.11ac (rtl8812au) v4.2.2 (7502.20130507) driver altered to build on Linux kernel version >= 3.10.

Purpose

My D-Link DWA-171 wireless dual-band USB adapter needs the Realtek 8812au driver to work under Linux.

The current rtl8812au version (per nov. 20th 2013) doesn't compile on Linux kernels >= 3.10 due to a change in the proc entry API, specifically the deprecation of the create_proc_entry() and create_proc_read_entry() functions in favor of the new proc_create() function.

Building

The Makefile is preconfigured to handle most x86/PC versions. If you are compiling for something other than an intel x86 architecture, you need to first select the platform, e.g. for the Raspberry Pi, you need to set the I386 to n and the ARM_RPI to y:

...
CONFIG_PLATFORM_I386_PC = n
...
CONFIG_PLATFORM_ARM_RPI = y

There are many other platforms supported and some other advanced options, e.g. PCI instead of USB, but most won't be needed.

The driver is built by running make, and can be tested by loading the built module using insmod:

$ make
$ sudo insmod 8812au.ko

After loading the module, a wireless network interface named Realtek 802.11n WLAN Adapter should be available.

Installing

Installing the driver is simply a matter of copying the built module into the correct location and updating module dependencies using depmod:

$ sudo cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
$ sudo depmod

The driver module should now be loaded automatically.

References