Rtl8812au: v5.3.4 build not working on Ubuntu 18.04 kernel 4.15.0-36

Created on 7 Oct 2018  Â·  8Comments  Â·  Source: aircrack-ng/rtl8812au

When built with both RTL8812A=y, RTL8821A=y and RTL8814A=y options the driver is loaded but I can't see any networks. Restarting Network manager makes no difference:
with 8814-1

Without the RTL8814A switch I'm getting this warning message on compilation:

WARNING: "mpt_ProSetPMacTx" [/var/lib/dkms/rtl8812au/5.3.4/build/8812au.ko] undefined!
make.log

Dmesg errors after loading the module(compiled with RTL8814A=n):
manual installation

I'm using a Comfast CF-915AC adapter with RTL8811AU chipset.

Most helpful comment

ok, got it working by removing 8814 and 8812 support. (in fact it the 8812 that interfere with the 8821 code)
Most likely a conflicting flag somewhere. This may take time to find the exact flag, but hopefully not hard to fix

All 8 comments

The error should now be fixed. Try again

I will try the 8811 as soon as I have some free time, I thin I have the chipset at hand

ok, got it working by removing 8814 and 8812 support. (in fact it the 8812 that interfere with the 8821 code)
Most likely a conflicting flag somewhere. This may take time to find the exact flag, but hopefully not hard to fix

found it, again, a bug in the original realtek driver code.
It is a easy fix. (wrong firmware loaded - lol -)
I will cleanup tomorrow and push the fix

@fariouche what would be the correct way for compiling the driver for the 8811 chip? Should I only turn on the CONFIG_RTL8821A = y switch in the Makefile?

it should now work out of the box. It is fixed and pushed a few minutes ago in branch 5.3.4

This issue has been resolved.

Use "git pull" to update, compile and build again (make && make install)
Then reload it with "modprobe -r 88Xxau" and "modprobe 88XXau" or simpelt by rebooting.

Closing

I will have the chance to test this after a week. Thank you very much!

Was this page helpful?
0 / 5 - 0 ratings