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: 8
Joined: Fri Aug 02, 2019 12:58 am

rtl8812au and kernel 5.0

Post by mic_mint »

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: 11705
Joined: Fri Feb 21, 2014 8:17 am

Re: rtl8812au and kernel 5.0

Post by JeremyB »

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: 8
Joined: Fri Aug 02, 2019 12:58 am

Re: rtl8812au and kernel 5.0

Post by mic_mint »

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: 11705
Joined: Fri Feb 21, 2014 8:17 am

Re: rtl8812au and kernel 5.0

Post by JeremyB »

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: 8
Joined: Fri Aug 02, 2019 12:58 am

Re: rtl8812au and kernel 5.0

Post by mic_mint »

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: 11705
Joined: Fri Feb 21, 2014 8:17 am

Re: rtl8812au and kernel 5.0

Post by JeremyB »

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
mic_mint
Level 1
Level 1
Posts: 8
Joined: Fri Aug 02, 2019 12:58 am

Re: rtl8812au and kernel 5.0, 5.3

Post by mic_mint »

Hello,
After 5.0 kernels, it's the same behaviour with 5.3 kernels.
The available package 4.3.8.12175.20140902+dfsg-0ubuntu12~ubuntu18.04.1 doesn't support 5.3 kernels.

Do you have an idea when a new package will be available in the standard repositories with a functional package for all kernels proposed in standard in Linux Minth without necessary to manually update it?

Thanks in advance for your help.
User avatar
kelebek333
Level 4
Level 4
Posts: 270
Joined: Sat Jun 25, 2011 11:57 am
Location: Türkiye
Contact:

Re: rtl8812au and kernel 5.0

Post by kelebek333 »

If you wish you can install rtl8812au driver package from my PPA. There is three version of rtl8812au driver on PPA that based that github repository. https://github.com/aircrack-ng/rtl8812au.

You can add this PPA with following commands.

Code: Select all

sudo add-apt-repository ppa:kelebek333/kablosuz
sudo apt-get update 
You can install one of your preferred versions with the following commands.

sudo apt install rtl8812au-dkms 5.6.2 version - default branch

sudo apt install rtl8812au-old-dkms based 5.2.20 version/branch

sudo apt install rtl8812au-next-dkms based 5.7.0 version/branch

This packages also have modalieses support. So after adding the repository, it can be tried to install with the driver manager.

I am updating the drivers on PPA repository when there are significant changes on github source.
mic_mint
Level 1
Level 1
Posts: 8
Joined: Fri Aug 02, 2019 12:58 am

Re: rtl8812au and kernel 5.0

Post by mic_mint »

Thanks for this reply, but it would be better to have the correct drivers in the standard repositories without adding ppa, as it was done for the previous kernels. :wink:
mic_mint
Level 1
Level 1
Posts: 8
Joined: Fri Aug 02, 2019 12:58 am

Re: rtl8812au and kernel 5.0

Post by mic_mint »

When you have a quick look in the changelog of this package, you can find:
rtl8812au (4.3.8.12175.20140902+dfsg-0ubuntu11) eoan; urgency=medium

* Linux 5.2 compatibility.
- debian/patches/5.1-kernel-compatibility.patch
- debian/patches/5.2-kernel-compatibility.patch

-- Thadeu Lima de Souza Cascardo <cascardo@canonical.com> Tue, 04 Jun 2019 16:14:44 -0300

But nothing for the last Kernel provided in Linux Mint: 5.3.
User avatar
Kadaitcha Man
Level 9
Level 9
Posts: 2792
Joined: Mon Aug 27, 2012 10:17 pm

Re: rtl8812au and kernel 5.0

Post by Kadaitcha Man »

mic_mint wrote:
Tue Apr 14, 2020 1:23 pm
Thanks for this reply, but it would be better to have the correct drivers in the standard repositories without adding ppa, as it was done for the previous kernels. :wink:
Well then, your only other option is to wait.

You can't get better advice about the issue than you've already been given by JeremyB and kelebek333. It's very unhelpful to ask for assistance then insist on your own solution being implemented when it simply doesn't exist. A :wink: doesn't make it any more helpful.
It's pronounced kad-eye-cha, not kada-itcha.
mic_mint
Level 1
Level 1
Posts: 8
Joined: Fri Aug 02, 2019 12:58 am

Re: rtl8812au and kernel 5.0

Post by mic_mint »

Kadaitcha Man wrote:
Thu Apr 16, 2020 2:24 am
mic_mint wrote:
Tue Apr 14, 2020 1:23 pm
Thanks for this reply, but it would be better to have the correct drivers in the standard repositories without adding ppa, as it was done for the previous kernels. :wink:
Well then, your only other option is to wait.

You can't get better advice about the issue than you've already been given by JeremyB and kelebek333. It's very unhelpful to ask for assistance then insist on your own solution being implemented when it simply doesn't exist. A :wink: doesn't make it any more helpful.
Thanks for your complementary information, but, if I'm not wrong, the better way to get a package in Linux is to base on the default repositories validated by the team in charge of the distribution. If a package doesn't exist for the distribution, you may have to an alternative look, like a .deb, like a source code to compile,.... but it's not the better way. In this case, you have to manually update your package because it's not updated with the distribution, and point is that external package is not validated with all other packages in your distribution and may cause some issues.
I have reported the same problem when the rtl8812au-dkms (included in the standard repository) doesn't support 5.0 kernels... and after few months, this package has been updated to support 5.0 kernels. Now, I just ask the community in this forum in order to identify is someone can contact the maintainer of the package to update it in order to support 5.3 kernels. To resume, just to have the better package included in my favourite distribution. :D
User avatar
Kadaitcha Man
Level 9
Level 9
Posts: 2792
Joined: Mon Aug 27, 2012 10:17 pm

Re: rtl8812au and kernel 5.0

Post by Kadaitcha Man »

mic_mint wrote:
Thu Apr 16, 2020 4:33 am
... but, if I'm not wrong, the better way to get a package in Linux is to base on the default repositories validated by the team in charge of the distribution.
The repositories contain mostly old versions of software because the Ubuntu base for Linux Mint is LTS (long term support). LTS versions offer stability of the software base, where stability means not changing much, if at all. As for the "better way", that is entirely subjective. For some, the better way is containers, for others it's compiling from source. So, what is a "better way" to you, it's fair to say, is only the simplest way, and that's because "better" is your subjective assessment. Clearly, it isn't mine. And if you bothered to take actual note of what information you were given already, you would only need to add the repository and install the updated driver.
mic_mint wrote:Now, I just ask the community in this forum in order to identify is someone can contact the maintainer of the package to update it in order to support 5.3 kernels. To resume, just to have the better package included in my favourite distribution. :D
Well, that is the first time you've mentioned it. At no point in the previous posts did you give even a skerrick of that notion to anyone.

Apart from the fact that you're barking up the wrong tree in the wrong forest, the 4.3.8.12175.20140902+dfsg-0ubuntu8 package is easily found by a simple google search, and a read of the search results, ignoring entries for Ubuntu mirrors, will take you directly to the Ubuntu packages page for 4.3.8.12175.20140902+dfsg-0ubuntu8, and a read of the page will tell you exactly who the maintainer is, and their email address.

You're barking up the wrong tree in the wrong forest because the packages are maintained by Ubuntu, not Linux Mint. You might as well go and complain to the carpet manufacturer who made the carpet in your car and complain to them about the engine not starting; it's the same thing.
It's pronounced kad-eye-cha, not kada-itcha.
mic_mint
Level 1
Level 1
Posts: 8
Joined: Fri Aug 02, 2019 12:58 am

Re: rtl8812au and kernel 5.0

Post by mic_mint »

Kadaitcha Man wrote:
Thu Apr 16, 2020 5:04 am
mic_mint wrote:
Thu Apr 16, 2020 4:33 am
... but, if I'm not wrong, the better way to get a package in Linux is to base on the default repositories validated by the team in charge of the distribution.
The repositories contain mostly old versions of software because the Ubuntu base for Linux Mint is LTS (long term support). LTS versions offer stability of the software base, where stability means not changing much, if at all. As for the "better way", that is entirely subjective. For some, the better way is containers, for others it's compiling from source. So, what is a "better way" to you, it's fair to say, is only the simplest way, and that's because "better" is your subjective assessment. Clearly, it isn't mine. And if you bothered to take actual note of what information you were given already, you would only need to add the repository and install the updated driver.
mic_mint wrote:Now, I just ask the community in this forum in order to identify is someone can contact the maintainer of the package to update it in order to support 5.3 kernels. To resume, just to have the better package included in my favourite distribution. :D
Well, that is the first time you've mentioned it. At no point in the previous posts did you give even a skerrick of that notion to anyone.

Apart from the fact that you're barking up the wrong tree in the wrong forest, the 4.3.8.12175.20140902+dfsg-0ubuntu8 package is easily found by a simple google search, and a read of the search results, ignoring entries for Ubuntu mirrors, will take you directly to the Ubuntu packages page for 4.3.8.12175.20140902+dfsg-0ubuntu8, and a read of the page will tell you exactly who the maintainer is, and their email address.

You're barking up the wrong tree in the wrong forest because the packages are maintained by Ubuntu, not Linux Mint. You might as well go and complain to the carpet manufacturer who made the carpet in your car and complain to them about the engine not starting; it's the same thing.
Thanks for your reply even the tone employed is surprising. It was just some suggestion, nothing else.
I don't thing directly contacting the maintainer of the package is the best way, without informing Linux Mint community. Then, don't forget that Linux Mint is based on Ubuntu and Ubuntu on Debian. I think it's better to discuss in family, Mint's one, before asking another team and I also think it's better to have some advanced users of this community have the communication with Ubuntu and Debian contacts.
Have a good evening.
Sonito
Level 1
Level 1
Posts: 2
Joined: Tue Apr 21, 2020 8:44 pm

Re: rtl8812au and kernel 5.0

Post by Sonito »

Thanks!!! works fine!!!! Mint 19.3
Sonito
Level 1
Level 1
Posts: 2
Joined: Tue Apr 21, 2020 8:44 pm

Re: rtl8812au and kernel 5.0

Post by Sonito »

After the update this morning i lost WiFi and this help me.

mkdir -p ~/build
cd ~/build
git clone https://github.com/brektrou/rtl8821CU.git

cd ~/build/rtl8821CU
make
sudo make install

Reboot

Note:
When you enter cd ~/build/rtl8821CU and tells you already there just go to make and after that sudo make install , reboot. Hope this work for you!!!!
Post Reply

Return to “Wireless”