rtl8812au and kernel 5.0

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
mic_mint
Level 1
Level 1
Posts: 3
Joined: Fri Aug 02, 2019 12:58 am

rtl8812au and kernel 5.0

Post by mic_mint » Fri Aug 02, 2019 1:15 am

Hello,

I'm using rtl8812au (rtl8812au-dkms_4.3.8.12175.20140902+dfsg-0ubuntu8_all) to activate my wifi usb key and it's correctly working with all kernels 4.15 and 4.18. Now, the update manager provide the new kernel 5.0 and this driver is not supported by this kernel.

Dépaquetage de rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu8) sur (4.3.8.12175.20140902+dfsg-0ubuntu8) ...
Paramétrage de rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu8) ...
Loading new rtl8812au-4.3.8.12175.20140902+dfsg DKMS files...
Building for 5.0.0-23-generic
Building initial module for 5.0.0-23-generic
ERROR (dkms apport): kernel package linux-headers-5.0.0-23-generic is not supported
Error! Bad return status for module build on kernel: 5.0.0-23-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/make.log for more information.

Thanks in advance for your help.

JeremyB
Level 20
Level 20
Posts: 10890
Joined: Fri Feb 21, 2014 8:17 am

Re: rtl8812au and kernel 5.0

Post by JeremyB » Fri Aug 02, 2019 5:45 am

You are better off using source code from github as the rtl8812au-dkms package changelog shows no update to support the version 5 kernel yet

Code: Select all

sudo apt install git build-essential dkms
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
cd rtl8812AU_8821AU_linux
sudo make -f Makefile.dkms install
Reboot

mic_mint
Level 1
Level 1
Posts: 3
Joined: Fri Aug 02, 2019 12:58 am

Re: rtl8812au and kernel 5.0

Post by mic_mint » Fri Aug 02, 2019 2:23 pm

Hello,

Thanks for this reply, but as the package 4.3.8.12175.20140902+dfsg-0ubuntu8 is included in the official repository, I think it would be better to have the new version directly integrated in the repository. Don't you think?

JeremyB
Level 20
Level 20
Posts: 10890
Joined: Fri Feb 21, 2014 8:17 am

Re: rtl8812au and kernel 5.0

Post by JeremyB » Sun Aug 04, 2019 7:32 am

Not when the package hasn't been patched for use in the 5.0 kernels and the dkms was still broken the last time I checked

mic_mint
Level 1
Level 1
Posts: 3
Joined: Fri Aug 02, 2019 12:58 am

Re: rtl8812au and kernel 5.0

Post by mic_mint » Mon Aug 05, 2019 1:08 pm

Hello,

I have been heard! Checking my Mintupdate, I have been pleased to see a new version of rtl8812au (4.3.8.12175.20140902+dfsg-0ubuntu8.1) and this version compatible with kernel 5.0. :D

JeremyB
Level 20
Level 20
Posts: 10890
Joined: Fri Feb 21, 2014 8:17 am

Re: rtl8812au and kernel 5.0

Post by JeremyB » Mon Aug 05, 2019 5:28 pm

I just downloaded the source code, dkms is still broken so you will need to reinstall manually after kernel updates
To fix do

Code: Select all

xed admin:///usr/src/rtl8812au-4.3.8.12175.20140902+dfsg/dkms.conf
Change the line that begins with MAKE to

Code: Select all

MAKE="'make' all KVER=${kernelver}"
Save and close the text editor

Post Reply

Return to “Wireless”