ASUS USB-AC56 (RTL8812AU/RTL8821AU) Driver compile fails


190 posts   Page 8 of 8   1 ... 4, 5, 6, 7, 8
by mexus » Mon Jun 12, 2017 10:59 am
MrEngman,
Can you please tell me which driver source are you using to compile your drivers?

Thanks
Posts: 1
Joined: Mon Jun 12, 2017 10:57 am
by MrEngman » Mon Jun 12, 2017 11:58 am
mexus wrote:MrEngman,
Can you please tell me which driver source are you using to compile your drivers?

Thanks

I was using this until recently. Now I'm using this



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.
Posts: 3474
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by propergol » Mon Jun 19, 2017 3:23 pm
I just try to compile the driver for kernel 4.11.6-v7+ and...failed :lol:

Do you have updated driver dear MrEngman :?:

PS : I use this kernel because an other dongle, em28xx-Hauppauge-DualHD TV tuner, need a kernel patch that works on this kernel version only (from what I understand)
Posts: 21
Joined: Mon Aug 15, 2016 1:39 pm
by MrEngman » Mon Jun 19, 2017 4:49 pm
propergol wrote:I just try to compile the driver for kernel 4.11.6-v7+ and...failed :lol:

Do you have updated driver dear MrEngman :?:

PS : I use this kernel because an other dongle, em28xx-Hauppauge-DualHD TV tuner, need a kernel patch that works on this kernel version only (from what I understand)

Sorry, but I only have drivers compiled for kernels 4.0, 4.1, 4.4 and 4.9.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.
Posts: 3474
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by propergol » Mon Jun 19, 2017 5:39 pm
MrEngman wrote:Sorry, but I only have drivers compiled for kernels 4.0, 4.1, 4.4 and 4.9.


MrEngman


my bad...it was too hot today here :P
the kernel I am applying the patch / compiling is 4.9 :roll: (the 4.11 was from a previous test)
Posts: 21
Joined: Mon Aug 15, 2016 1:39 pm
by MrEngman » Mon Jun 19, 2017 5:46 pm
propergol wrote:
MrEngman wrote:Sorry, but I only have drivers compiled for kernels 4.0, 4.1, 4.4 and 4.9.


MrEngman


my bad...it was too hot today here :P
the kernel I am applying the patch / compiling is 4.9 :roll: (the 4.11 was from a previous test)

I have a script that will automatically select the driver for the kernel version you are using and install it. Take a look here to see how to install it :- https://www.raspberrypi.org/forums/viewtopic.php?p=1133815#p1133815



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.
Posts: 3474
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by propergol » Mon Jun 19, 2017 5:59 pm
MrEngman wrote:
propergol wrote:
MrEngman wrote:Sorry, but I only have drivers compiled for kernels 4.0, 4.1, 4.4 and 4.9.


MrEngman


my bad...it was too hot today here :P
the kernel I am applying the patch / compiling is 4.9 :roll: (the 4.11 was from a previous test)

I have a script that will automatically select the driver for the kernel version you are using and install it. Take a look here to see how to install it :- https://www.raspberrypi.org/forums/viewtopic.php?p=1133815#p1133815



MrEngman


Yep, I know it thanks!

PS : I dont know if you remember, one or 2 weeks ago I told you that Libreelec WIFI drivers was more stable blabla...bulshit! : the culprit was one of my router the AC66U that is known to have 5ghz dropout :roll: using your driver on the AC68u 5Ghz is now perfect!
Posts: 21
Joined: Mon Aug 15, 2016 1:39 pm
by propergol » Mon Jun 19, 2017 6:44 pm
its me...again :mrgreen:

Code: Select all
 sudo install-wifi

 *** Raspberry Pi wifi driver installer by MrEngman.
 *** Performing self-update
 *** Relaunching after update

 *** Raspberry Pi wifi driver installer by MrEngman.

Your current kernel revision = 4.9.33-v7+
Your current kernel build    = #1

Checking for a wifi module to determine the driver to install.

Your wifi module is Bus 001 Device 004: ID 0846:9052 NetGear, Inc.

And it uses the 8812au driver.

Checking for a new 8812au wifi driver module for your current kernel.
A driver does not yet exist for this update.


So the missing driver as you can see is for kernel 4.9.33
Posts: 21
Joined: Mon Aug 15, 2016 1:39 pm
by MrEngman » Mon Jun 19, 2017 7:15 pm
propergol wrote:its me...again :mrgreen:

Code: Select all
 sudo install-wifi

 *** Raspberry Pi wifi driver installer by MrEngman.
 *** Performing self-update
 *** Relaunching after update

 *** Raspberry Pi wifi driver installer by MrEngman.

Your current kernel revision = 4.9.33-v7+
Your current kernel build    = #1

Checking for a wifi module to determine the driver to install.

Your wifi module is Bus 001 Device 004: ID 0846:9052 NetGear, Inc.

And it uses the 8812au driver.

Checking for a new 8812au wifi driver module for your current kernel.
A driver does not yet exist for this update.


So the missing driver as you can see is for kernel 4.9.33

Your current build does not agree with the build for the current Raspbian kernel which is 4.9.33-v7+ #1010. What OS/kernel are you using?

The current driver I have for Raspbian 4.9.33-v7+ is 8812au-4.9.33-v7-1010.tar.gz.

You could try
Code: Select all
wget http://fars-robotics.net/8812au-4.9.33-v7-1010.tar.gz
tar xzf 8812au-4.9.33-v7-1010.tar.gz
./install.sh
to install the driver I have but whether it will work with the kernel you are using I don't know.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.
Posts: 3474
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by propergol » Mon Jun 19, 2017 7:54 pm
well I am using Raspbian lite with kernel patched as per instuctions post #24 https://forum.libreelec.tv/thread/2867- ... /?pageNo=2

But I am just following a receip with knowing nearly nothing in Linux :oops:

Anyway I have installed using your instructions and it works.

I must confess than I am starting to get lost between kernel version, patch, firmware :mrgreen:
Posts: 21
Joined: Mon Aug 15, 2016 1:39 pm
by odemwingie » Wed Jun 21, 2017 11:45 am
Dear MrEngman,

Do you have the driver for Linux raspberrypi 4.9.26v7-aufs #1 SMP Tue May 9 20:14:03 CEST 2017 armv7l GNU/Linux ?
Posts: 1
Joined: Wed Jun 21, 2017 11:42 am
by MrEngman » Wed Jun 21, 2017 4:42 pm
odemwingie wrote:Dear MrEngman,

Do you have the driver for Linux raspberrypi 4.9.26v7-aufs #1 SMP Tue May 9 20:14:03 CEST 2017 armv7l GNU/Linux ?

Sorry, I don't.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.
Posts: 3474
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by dadak » Sun Jun 25, 2017 12:26 am
Dear MrEngman,

I ran your "install wifi" script on rpi 3 board running volumio kernal :

uname -a
Linux volumio 4.4.9-v7+ #884 SMP Fri May 6 17:28:59 BST 2016 armv7l GNU/Linux

getting the following :

volumio@volumio:~$./install-wifi.sh

Your current kernel revision = 4.4.9-v7+
Your current kernel build = #884

Checking for a wifi module to determine the driver to install.

Your wifi module is Bus 001 Device 005: ID 0bda:a811 Realtek Semiconductor Corp.

And it uses the 8812au driver.

Checking for a new 8812au wifi driver module for your current kernel.
A driver does not yet exist for this update.


Is their a driver that will work for this kernal? I also tried to compile rtl8812au source from git and
compiled fine, but when running "insmod 8812au.ko" get invalid format error.

Any help would be appreciated.
Thanks
dadak
Posts: 2
Joined: Sun Jun 25, 2017 12:10 am
by MrEngman » Sun Jun 25, 2017 9:15 am
dadak wrote:Dear MrEngman,

I ran your "install wifi" script on rpi 3 board running volumio kernal :

uname -a
Linux volumio 4.4.9-v7+ #884 SMP Fri May 6 17:28:59 BST 2016 armv7l GNU/Linux

getting the following :

volumio@volumio:~$./install-wifi.sh

Your current kernel revision = 4.4.9-v7+
Your current kernel build = #884

Checking for a wifi module to determine the driver to install.

Your wifi module is Bus 001 Device 005: ID 0bda:a811 Realtek Semiconductor Corp.

And it uses the 8812au driver.

Checking for a new 8812au wifi driver module for your current kernel.
A driver does not yet exist for this update.


Is their a driver that will work for this kernal? I also tried to compile rtl8812au source from git and
compiled fine, but when running "insmod 8812au.ko" get invalid format error.

Any help would be appreciated.
Thanks
dadak

The drivers were installed on Dropbox but they have made a major change to their web site and its really screwed things up. Really annoying to say the least so I have moved the drivers to a new site. You will need to download and install a new script to use the new site.

Download and install the new version of the script with commands
Code: Select all
sudo wget http://www.fars-robotics.net/install-wifi -O /usr/bin/install-wifi
sudo chmod +x /usr/bin/install-wifi
The command
Code: Select all
sudo install-wifi -h
will show details on using it.

To install the driver on your current kernel you should just need to run command
Code: Select all
sudo install-wifi
This will select the driver you need and automatically download and install it.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.
Posts: 3474
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by dadak » Sun Jun 25, 2017 6:54 pm
Mr. Engman,

Thank you. Your help was appreciated. The script at the new location you provided fixed my issues and got my
rtl8812au chipset adpater working on my raspberry pi 3.
Posts: 2
Joined: Sun Jun 25, 2017 12:10 am