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


196 posts   Page 2 of 8   1, 2, 3, 4, 5 ... 8
by bark100 » Mon Nov 24, 2014 11:59 pm
image.jpg
image.jpg (41.85 KiB) Viewed 8728 times

See attached image
Posts: 6
Joined: Mon Nov 24, 2014 8:35 pm
by DougieLawson » Tue Nov 25, 2014 12:20 am
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3

Please post ALL technical questions on the forum. Do not send private messages.
User avatar
Posts: 28429
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
by diederik » Tue Nov 25, 2014 6:06 am
bark100 wrote:can someone please summarize the necessary steps to compile \ install a driver for this adapter (ASUS USB-AC56) on raspbian? (3.12.22+ #691)

viewtopic.php?p=570255#p570255
Posts: 389
Joined: Wed Mar 26, 2014 11:17 pm
by HansSanitizer » Sat Jan 24, 2015 10:01 am
diederik wrote:
bark100 wrote:can someone please summarize the necessary steps to compile \ install a driver for this adapter (ASUS USB-AC56) on raspbian? (3.12.22+ #691)

viewtopic.php?p=570255#p570255


I think people are asking how to compile the driver not how to install a module.

Seeing as I don't know where the linux headers are located for the pi (if someone could inform me that would be great). You would need the headers and then something like this command might work:

make ARCH=arm CROSS_COMPILE= KSRC=/path/to/your/linux-3.14.x-headers/ -j8

-j8 isn't necessary it just let's you use more threads.
Posts: 3
Joined: Wed Jul 23, 2014 8:40 pm
by Cephlin » Tue Mar 17, 2015 2:22 pm
Has anyone got this working with the Raspberry Pi 2? Kernel 3.18.9...
Posts: 4
Joined: Tue Mar 17, 2015 2:20 pm
by MrEngman » Tue Mar 17, 2015 11:47 pm
Cephlin wrote:Has anyone got this working with the Raspberry Pi 2? Kernel 3.18.9...

Yes, currently running with a Linksys WUSB6300.

I have compiled drivers for 8812au for all versions of 3.18.x+ (Pi 1) and 3.18.x-v7+ (Pi 2). Drivers are available on Dropbox.
The dropbox link is https://dl.dropboxusercontent.com/u/80256631/8812au-kernel_version-build.tar.gz. Subtitute kernel_version and build in the download link with the values shown in the uname -vr command for your kernel.

As an example for my Pi 2 uname -vr shows
3.18.9-v7+ #768 SMP PREEMPT Sun Mar 15 19:41:56 GMT 2015
where kernel_version is 3.18.9-v7 and build is 768 and so the download link for my Pi 2 would be https://dl.dropboxusercontent.com/u/80256631/8812au-3.18.9-v7-768.tar.gz

For my Pi B+ command uname -vr shows
3.18.5+ #746 PREEMPT Mon Feb 2 13:57:16 GMT 2015
so the download link for my Pi B+ would be https://dl.dropboxusercontent.com/u/80256631/8812au-3.18.5-746.tar.gz


Using the example for my Pi 2 to download and install the driver run the commands
Code: Select all
wget https://dl.dropboxusercontent.com/u/80256631/8812au-3.18.9-v7-768.tar.gz
tar xzf 8812au-3.18.9-v7-768.tar.gz
./install.sh
The ./install.sh command installs the driver, after which you should reboot to bring up the wifi if you have already configured your wifi to connect to your wireless network.

Using my example again, as an alternative to rebooting you could bring up the wifi using the commands
Code: Select all
sudo insmod /lib/modules/3.18.9-v7+/kernel/drivers/net/wireless/8812au.ko
sudo ifup --force wlan0
.


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: 3496
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by staticn0de » Wed Mar 18, 2015 11:52 pm
Hi there,

Thanks for uploading your module.

The module can be loaded fine, but as soon as I plug in my adapter the pi locks up after spitting out the kernel debug messages.

I'll post them shortly if I can't sort it out, but could it be because the adapter is plug directly into the Pi and not a powered USB hub?
Posts: 3
Joined: Wed Mar 18, 2015 11:48 pm
by MrEngman » Thu Mar 19, 2015 9:57 am
staticn0de wrote:Hi there,

Thanks for uploading your module.

The module can be loaded fine, but as soon as I plug in my adapter the pi locks up after spitting out the kernel debug messages.

I'll post them shortly if I can't sort it out, but could it be because the adapter is plug directly into the Pi and not a powered USB hub?

Ideally you should halt the Pi and turn off the power before connecting your wifi adaptor.

Depending on the type of Pi you have plugging in the wifi adaptor while the Pi is powered on will cause it to crash. This is most likely to happen with the Pi Mk1's. Pi B+ and Pi B 2 should be OK but could also be due to a power issue even if you use one of those as some wifi adaptor are quite power hungry. I run all my Pi's with the wifi adaptor connected directly to the Pi but my power supplies are 5v 2.1A.

I don't appear to have any problems with the driver on my Pi B 2 and the Linksys WUSB6300 wifi adaptor.


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: 3496
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by rob_wainwright » Thu Mar 19, 2015 10:18 am
I suspect he is using the Edimax EW-7811UTC, if so it has been well documented by several people (myself being one of them) that it does indeed crash the RPI2. Mr.Engman's compiled drivers work perfectly in all other flavors of the RPi using the Edimax EW-7811UTC but it just seems to be a problem with the RPi 2. I have compiled my own drivers as well and they all work perfectly on the PRI B and RPi B+ but I have never been able to get the 7811UTC to work on the RPi 2. Would love to know why but haven't been able to figure it out yet.
Posts: 8
Joined: Wed Mar 04, 2015 6:14 pm
by MrEngman » Fri Mar 20, 2015 2:48 pm
rob_wainwright wrote:I suspect he is using the Edimax EW-7811UTC, if so it has been well documented by several people (myself being one of them) that it does indeed crash the RPI2. Mr.Engman's compiled drivers work perfectly in all other flavors of the RPi using the Edimax EW-7811UTC but it just seems to be a problem with the RPi 2. I have compiled my own drivers as well and they all work perfectly on the PRI B and RPi B+ but I have never been able to get the 7811UTC to work on the RPi 2. Would love to know why but haven't been able to figure it out yet.

Just got an Edimax EW-7811UTC to check this out and I have to agree with you. Seems to be OK on my Pi-B+ but the Pi B 2 crashes .

One odd thing is how the LED behaves on the EW-7811UTC. Continues flashing at quite a high rate. Downloaded the driver from TP-Link and it contains a file rtl8812AU_8821AU_linux_v4.2.2_7502.20130517_fix_led.tar.gz but it fails to compile. Going to try and get that working and see if that makes any difference.


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: 3496
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by diederik » Fri Mar 20, 2015 3:03 pm
MrEngman wrote:Downloaded the driver from TP-Link and it contains a file rtl8812AU_8821AU_linux_v4.2.2_7502.20130517_fix_led.tar.gz but it fails to compile.

I found a more recent driver 'somewhere' (4.3.8, dated 2014-09-02) and put it in a GitHub repo: https://github.com/diederikdehaas/rtl8812AU
I haven't done much with it, but maybe it helps.
Posts: 389
Joined: Wed Mar 26, 2014 11:17 pm
by AndyPi » Fri Mar 20, 2015 5:00 pm
I have 7811UTC and I had a lot of trouble with drivers and experimented with 2.4G and 5G bands. I finally got one direct from edimax support called which they called there latest
rtl8811AU_linux_v4.3.7_11618.20141029

They are clear that they dont officially support it but with some minor patches it seems to work well enough.
Posts: 82
Joined: Wed Feb 22, 2012 10:24 pm
Location: Gloucestershire,UK
by staticn0de » Sat Mar 21, 2015 2:28 am
Hey guys,

the 4.3.8 driver was the only one I could get my ASUS USB-AC56 working on.

It needs the 8812au driver.

You can download the module I made here

https://www.dropbox.com/s/mkl4gm065ma9p ... au.ko?dl=0

The kernel I compiled it against is

3.18.9-v7+ #768 SMP PREEMPT Sun Mar 15 19:41:56 GMT 2015 (Pi 2)

I made a few changes to the make file. Mainly, I added support to compile for the raspberry pi before I compiled it.
Posts: 3
Joined: Wed Mar 18, 2015 11:48 pm
by MrEngman » Sun Mar 22, 2015 3:13 am
diederik wrote:
MrEngman wrote:Downloaded the driver from TP-Link and it contains a file rtl8812AU_8821AU_linux_v4.2.2_7502.20130517_fix_led.tar.gz but it fails to compile.

I found a more recent driver 'somewhere' (4.3.8, dated 2014-09-02) and put it in a GitHub repo: https://github.com/diederikdehaas/rtl8812AU
I haven't done much with it, but maybe it helps.

Thanks for the pointer to your code. Unfortunately it doesn't include the code to support the rtl8821au which my wifi, Edimax EW-8711UTC, that I'm currently trying to get working on the Pi B 2 uses. However, it works fine with my 8812au wifi module Linksys WUSB6300.

FYI to get your code to compile on the Pi B 2 I had to disable cfg80211 otherwise the compile fails with many warnings and errors. Commit 07bf5ef compiles OK without any warnings. If you're interested I can post an issue on your github repo to show the problems compiling with cfg80211 enabled.

I compile my wifi modules on my Pi B2 using gcc (Raspbian 4.8.3-13) 4.8.3.


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: 3496
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by MrEngman » Sun Mar 22, 2015 3:19 am
AndyPi wrote:I have 7811UTC and I had a lot of trouble with drivers and experimented with 2.4G and 5G bands. I finally got one direct from edimax support called which they called there latest
rtl8811AU_linux_v4.3.7_11618.20141029

They are clear that they dont officially support it but with some minor patches it seems to work well enough.

Trying to get the 7811UTC to work on the Pi B 2 has proved impossible so far for me. Any chance you could post it somewhere so I could download and take a look at it and see if it works.


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: 3496
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by diederik » Sun Mar 22, 2015 3:25 am
MrEngman wrote:If you're interested I can post an issue on your github repo to show the problems compiling with cfg80211 enabled.

I'd appreciate that :)
Posts: 389
Joined: Wed Mar 26, 2014 11:17 pm
by MrEngman » Sun Mar 22, 2015 4:14 am
diederik wrote:
MrEngman wrote:If you're interested I can post an issue on your github repo to show the problems compiling with cfg80211 enabled.

I'd appreciate that :)

OK, will do that.


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: 3496
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by ecvej » Mon Mar 23, 2015 11:15 pm
MrEngman wrote:
Cephlin wrote:Has anyone got this working with the Raspberry Pi 2? Kernel 3.18.9...

Yes, currently running with a Linksys WUSB6300.

I have compiled drivers for 8812au for all versions of 3.18.x+ (Pi 1) and 3.18.x-v7+ (Pi 2). Drivers are available on Dropbox.
The dropbox link is https://dl.dropboxusercontent.com/u/80256631/8812au-kernel_version-build.tar.gz. Subtitute kernel_version and build in the download link with the values shown in the uname -vr command for your kernel.

As an example for my Pi 2 uname -vr shows
3.18.9-v7+ #768 SMP PREEMPT Sun Mar 15 19:41:56 GMT 2015
where kernel_version is 3.18.9-v7 and build is 768 and so the download link for my Pi 2 would be https://dl.dropboxusercontent.com/u/80256631/8812au-3.18.9-v7-768.tar.gz

For my Pi B+ command uname -vr shows
3.18.5+ #746 PREEMPT Mon Feb 2 13:57:16 GMT 2015
so the download link for my Pi B+ would be https://dl.dropboxusercontent.com/u/80256631/8812au-3.18.5-746.tar.gz


Using the example for my Pi 2 to download and install the driver run the commands
Code: Select all
wget https://dl.dropboxusercontent.com/u/80256631/8812au-3.18.9-v7-768.tar.gz
tar xzf 8812au-3.18.9-v7-768.tar.gz
./install.sh
The ./install.sh command installs the driver, after which you should reboot to bring up the wifi if you have already configured your wifi to connect to your wireless network.

Using my example again, as an alternative to rebooting you could bring up the wifi using the commands
Code: Select all
sudo insmod /lib/modules/3.18.9-v7+/kernel/drivers/net/wireless/8812au.ko
sudo ifup --force wlan0
.


MrEngman


Thanks this works for me on the rpi2 and Asus ac56.

I do get a lot of debug output every few seconds when logged in at the command line. Is there a way to disable this as it interferes with commands I'm typing
Posts: 6
Joined: Sun Mar 08, 2015 1:01 pm
by Cephlin » Thu Mar 26, 2015 1:16 pm
Thanks MrEngman, I have it working now. I'm still curious as to how to compile it all myself from scratch but that's for another day :lol:
Posts: 4
Joined: Tue Mar 17, 2015 2:20 pm
by DexterDouglas » Sat Apr 18, 2015 9:39 am
MrEngman wrote:
Cephlin wrote:Has anyone got this working with the Raspberry Pi 2? Kernel 3.18.9...

Yes, currently running with a Linksys WUSB6300.

I have compiled drivers for 8812au for all versions of 3.18.x+ (Pi 1) and 3.18.x-v7+ (Pi 2). Drivers are available on Dropbox.
The dropbox link is https://dl.dropboxusercontent.com/u/80256631/8812au-kernel_version-build.tar.gz. Subtitute kernel_version and build in the download link with the values shown in the uname -vr command for your kernel.

As an example for my Pi 2 uname -vr shows
3.18.9-v7+ #768 SMP PREEMPT Sun Mar 15 19:41:56 GMT 2015
where kernel_version is 3.18.9-v7 and build is 768 and so the download link for my Pi 2 would be https://dl.dropboxusercontent.com/u/80256631/8812au-3.18.9-v7-768.tar.gz

For my Pi B+ command uname -vr shows
3.18.5+ #746 PREEMPT Mon Feb 2 13:57:16 GMT 2015
so the download link for my Pi B+ would be https://dl.dropboxusercontent.com/u/80256631/8812au-3.18.5-746.tar.gz


Using the example for my Pi 2 to download and install the driver run the commands
Code: Select all
wget https://dl.dropboxusercontent.com/u/80256631/8812au-3.18.9-v7-768.tar.gz
tar xzf 8812au-3.18.9-v7-768.tar.gz
./install.sh
The ./install.sh command installs the driver, after which you should reboot to bring up the wifi if you have already configured your wifi to connect to your wireless network.

Using my example again, as an alternative to rebooting you could bring up the wifi using the commands
Code: Select all
sudo insmod /lib/modules/3.18.9-v7+/kernel/drivers/net/wireless/8812au.ko
sudo ifup --force wlan0
.


MrEngman



Unfortunately this does not work for me on my RPi 2 with Kernel 3.18.11-v7+ #777. Installation is fine, but everytime I plug in the USB-AC56 Wireless Adapter, or boot the Pi with the adapter plugged in, the Pi freezes and gives the following errors:
Code: Select all
Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3551.825063] Internal error: Oops: 5 [#1] PREEMPT SMP ARM

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3551.955295] Process ifplugd (pid: 2314, stack limit = 0xb91d4238)

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3551.964740] Stack: (0xb91d5c90 to 0xb91d6000)

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3551.972453] 5c80:                                     00000000 00000000 0000003f 0000000c

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3551.984042] 5ca0: 00000001 0000001c b830aa71 7f10f28c 7f10f220 b830aa72 b830aa72 b830aa72

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3551.995652] 5cc0: 00000000 bdaa4000 b830b650 b830aa72 7f10f2ac 00000000 00000000 00000000

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.007246] 5ce0: 00000000 00000000 00000000 00000000 b91d5d1c b8308000 bdaa4000 b830b650

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.018825] 5d00: b8308000 00000001 b8308000 00008914 b91d5d44 b91d5d20 7f0d78dc 7f0d6cbc

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.030427] 5d20: 00000001 bdaa4000 b8308000 b8308000 0004f60e 000004c7 b91d5d8c b91d5d48

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.042050] 5d40: 7f0e1004 7f0d76b8 804b74b4 b8067800 bdaa4000 00000001 b806782c 00000000

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.053696] 5d60: b9232a00 bdaa4000 bdaa4000 00000001 b806782c 00000000 b9232a00 00008914

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.065379] 5d80: b91d5da4 b91d5d90 7f0c7b08 7f0e0318 b8067800 bdaa4000 b91d5de4 b91d5da8

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.077081] 5da0: 7f0b4db0 7f0c7ae4 0000000d b8067800 00001002 00000000 b91d5ddc bdaa4000

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.088819] 5dc0: b8067800 00000001 b806782c 00000000 b9232a00 00008914 b91d5dfc b91d5de8

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.100592] 5de0: 7f0b5060 7f0b4d38 b8067800 7f101ecc b91d5e24 b91d5e00 8044f8a8 7f0b503c

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.112401] 5e00: b91d5e24 b8067800 b8067800 00001003 00000001 00001002 b91d5e4c b91d5e28

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.124239] 5e20: 8044fb90 8044f7ec 00008914 b8067800 00000130 00001002 00000001 00000000

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.136106] 5e40: b91d5e74 b91d5e50 8044fc88 8044fb04 00008914 00000000 b9232a0c 00000000

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.148001] 5e60: 00000001 00000000 b91d5ee4 b91d5e78 804b86a0 8044fc6c 00000020 00000000

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.159937] 5e80: 00008913 b8067800 b9232a0c b91d4038 00000014 7ec5f760 6e616c77 00000030

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.171876] 5ea0: 00000000 00000000 00001003 00000000 00000000 00000000 00001002 00008914

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.183819] 5ec0: b9bdd540 7ec5f760 80808200 b96b5c20 7ec5f760 00000000 b91d5ef4 b91d5ee8

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.195757] 5ee0: 804b9f68 804b8004 b91d5f14 b91d5ef8 80432348 804b9dd0 b9bdd540 b9bdd540

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.207694] 5f00: 00008914 7ec5f760 b91d5f7c b91d5f18 8014dfe0 8043217c 8013e910 8013e740

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.219626] 5f20: a0000013 807da5f0 b96b5c00 00000000 b91d5f74 80158ec4 b91d5f64 b91d5f48

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.231570] 5f40: 80158ec4 8052528c 00000000 00000008 00000000 b9bdd540 b9bdd540 00008914

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.243526] 5f60: 7ec5f760 00000008 b91d4000 00000000 b91d5fa4 b91d5f80 8014e1f0 8014dc0c

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.255496] 5f80: 00001003 00000008 00000000 00009624 00000036 8000ed68 00000000 b91d5fa8

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.267437] 5fa0: 8000eac0 8014e1b8 00000008 00000000 00000008 00008914 7ec5f760 00001003

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.279343] 5fc0: 00000008 00000000 00009624 00000036 00073008 00000011 00000008 00000000

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
kernel:[ 3552.291263] 5fe0: 00000000 7ec5f760 0000b29c 76eeedcc 60000010 00000008 e1a03823 e1c733b8

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
kernel:[ 3552.480380] Code: 051b1054 00863001 02833dbf 02833005 (05d33002)
Posts: 4
Joined: Sat Apr 18, 2015 9:29 am
by MrEngman » Sat Apr 18, 2015 2:05 pm
DexterDouglas wrote:Unfortunately this does not work for me on my RPi 2 with Kernel 3.18.11-v7+ #777. Installation is fine, but everytime I plug in the USB-AC56 Wireless Adapter, or boot the Pi with the adapter plugged in, the Pi freezes and gives the following errors:
Code: Select all
Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3551.825063] Internal error: Oops: 5 [#1] PREEMPT SMP ARM

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3551.955295] Process ifplugd (pid: 2314, stack limit = 0xb91d4238)

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3551.964740] Stack: (0xb91d5c90 to 0xb91d6000)

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3551.972453] 5c80:                                     00000000 00000000 0000003f 0000000c

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3551.984042] 5ca0: 00000001 0000001c b830aa71 7f10f28c 7f10f220 b830aa72 b830aa72 b830aa72

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3551.995652] 5cc0: 00000000 bdaa4000 b830b650 b830aa72 7f10f2ac 00000000 00000000 00000000

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.007246] 5ce0: 00000000 00000000 00000000 00000000 b91d5d1c b8308000 bdaa4000 b830b650

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.018825] 5d00: b8308000 00000001 b8308000 00008914 b91d5d44 b91d5d20 7f0d78dc 7f0d6cbc

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.030427] 5d20: 00000001 bdaa4000 b8308000 b8308000 0004f60e 000004c7 b91d5d8c b91d5d48

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.042050] 5d40: 7f0e1004 7f0d76b8 804b74b4 b8067800 bdaa4000 00000001 b806782c 00000000

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.053696] 5d60: b9232a00 bdaa4000 bdaa4000 00000001 b806782c 00000000 b9232a00 00008914

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.065379] 5d80: b91d5da4 b91d5d90 7f0c7b08 7f0e0318 b8067800 bdaa4000 b91d5de4 b91d5da8

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.077081] 5da0: 7f0b4db0 7f0c7ae4 0000000d b8067800 00001002 00000000 b91d5ddc bdaa4000

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.088819] 5dc0: b8067800 00000001 b806782c 00000000 b9232a00 00008914 b91d5dfc b91d5de8

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.100592] 5de0: 7f0b5060 7f0b4d38 b8067800 7f101ecc b91d5e24 b91d5e00 8044f8a8 7f0b503c

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.112401] 5e00: b91d5e24 b8067800 b8067800 00001003 00000001 00001002 b91d5e4c b91d5e28

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.124239] 5e20: 8044fb90 8044f7ec 00008914 b8067800 00000130 00001002 00000001 00000000

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.136106] 5e40: b91d5e74 b91d5e50 8044fc88 8044fb04 00008914 00000000 b9232a0c 00000000

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.148001] 5e60: 00000001 00000000 b91d5ee4 b91d5e78 804b86a0 8044fc6c 00000020 00000000

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.159937] 5e80: 00008913 b8067800 b9232a0c b91d4038 00000014 7ec5f760 6e616c77 00000030

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.171876] 5ea0: 00000000 00000000 00001003 00000000 00000000 00000000 00001002 00008914

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.183819] 5ec0: b9bdd540 7ec5f760 80808200 b96b5c20 7ec5f760 00000000 b91d5ef4 b91d5ee8

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.195757] 5ee0: 804b9f68 804b8004 b91d5f14 b91d5ef8 80432348 804b9dd0 b9bdd540 b9bdd540

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.207694] 5f00: 00008914 7ec5f760 b91d5f7c b91d5f18 8014dfe0 8043217c 8013e910 8013e740

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.219626] 5f20: a0000013 807da5f0 b96b5c00 00000000 b91d5f74 80158ec4 b91d5f64 b91d5f48

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.231570] 5f40: 80158ec4 8052528c 00000000 00000008 00000000 b9bdd540 b9bdd540 00008914

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.243526] 5f60: 7ec5f760 00000008 b91d4000 00000000 b91d5fa4 b91d5f80 8014e1f0 8014dc0c

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.255496] 5f80: 00001003 00000008 00000000 00009624 00000036 8000ed68 00000000 b91d5fa8

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.267437] 5fa0: 8000eac0 8014e1b8 00000008 00000000 00000008 00008914 7ec5f760 00001003

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
 kernel:[ 3552.279343] 5fc0: 00000008 00000000 00009624 00000036 00073008 00000011 00000008 00000000

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
kernel:[ 3552.291263] 5fe0: 00000000 7ec5f760 0000b29c 76eeedcc 60000010 00000008 e1a03823 e1c733b8

Message from syslogd@raspberrypi at Apr 18 11:34:36 ...
kernel:[ 3552.480380] Code: 051b1054 00863001 02833dbf 02833005 (05d33002)

Yes, I've seen this as well depending on the wifi module I use.

I've seen a resent post where the module has been cross-compiled rather than compiled on the Pi and it appears to work. I'm trying to figure out why, but I'm not getting very far.

You could take a look here https://www.raspberrypi.org/forums/viewtopic.php?p=740954#p740954. I tried the driver and it is working for me, where as the one I've compile for the Pi 2B causes the same issue you are seeing with a EW-7811UTC module. However, I do have it working with a different adapter, Linksys WUSB6300. And the same module compiled for the Pi 1 seems to work fine with all the adapters I've tried, including the EW-7811UTC. Very strange, but that's linux I suppose.


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: 3496
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by DexterDouglas » Sat Apr 18, 2015 4:00 pm
MrEngman wrote:You could take a look here https://www.raspberrypi.org/forums/viewtopic.php?p=740954#p740954. I tried the driver and it is working for me, where as the one I've compile for the Pi 2B causes the same issue you are seeing with a EW-7811UTC module. However, I do have it working with a different adapter, Linksys WUSB6300. And the same module compiled for the Pi 1 seems to work fine with all the adapters I've tried, including the EW-7811UTC. Very strange, but that's linux I suppose.


MrEngman

But the mentioned driver in your link is compiled for build #776 how can I install kernel 3.18.11-v7+ #776? I reinstalled raspbian and am back to 3.18.7-v7+ #755, with rpi-update I will get 3.18.11-v7+ #777.
Posts: 4
Joined: Sat Apr 18, 2015 9:29 am
by MrEngman » Sat Apr 18, 2015 6:15 pm
DexterDouglas wrote:
MrEngman wrote:You could take a look here https://www.raspberrypi.org/forums/viewtopic.php?p=740954#p740954. I tried the driver and it is working for me, where as the one I've compile for the Pi 2B causes the same issue you are seeing with a EW-7811UTC module. However, I do have it working with a different adapter, Linksys WUSB6300. And the same module compiled for the Pi 1 seems to work fine with all the adapters I've tried, including the EW-7811UTC. Very strange, but that's linux I suppose.


MrEngman

But the mentioned driver in your link is compiled for build #776 how can I install kernel 3.18.11-v7+ #776? I reinstalled raspbian and am back to 3.18.7-v7+ #755, with rpi-update I will get 3.18.11-v7+ #777.

The same driver also works with 3.18.11-v7+ #777.

I am running the same driver on my Pi 2B with the EW-7811UTC wifi adapter. uname -a shows
Code: Select all
Linux Pi-B-2 3.18.11-v7+ #777 SMP PREEMPT Sat Apr 11 17:30:37 BST 2015 armv7l GNU/Linux



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: 3496
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by DexterDouglas » Sat Apr 18, 2015 6:44 pm
DexterDouglas wrote:
MrEngman wrote:You could take a look here https://www.raspberrypi.org/forums/viewtopic.php?p=740954#p740954. I tried the driver and it is working for me, where as the one I've compile for the Pi 2B causes the same issue you are seeing with a EW-7811UTC module. However, I do have it working with a different adapter, Linksys WUSB6300. And the same module compiled for the Pi 1 seems to work fine with all the adapters I've tried, including the EW-7811UTC. Very strange, but that's linux I suppose.


MrEngman

But the mentioned driver in your link is compiled for build #776 how can I install kernel 3.18.11-v7+ #776? I reinstalled raspbian and am back to 3.18.7-v7+ #755, with rpi-update I will get 3.18.11-v7+ #777.


I used
Code: Select all
sudo rpi-update 4e2845e0cbe7e701f0431e66a26f730de264e7a6
to update to build #776 and the above 8812au.ko linked by Mr Engman worked for me now. Thank you very much.
Posts: 4
Joined: Sat Apr 18, 2015 9:29 am
by DexterDouglas » Sat Apr 18, 2015 6:47 pm
MrEngman wrote:The same driver also works with 3.18.11-v7+ #777.

I am running the same driver on my Pi 2B with the EW-7811UTC wifi adapter. uname -a shows
Code: Select all
Linux Pi-B-2 3.18.11-v7+ #777 SMP PREEMPT Sat Apr 11 17:30:37 BST 2015 armv7l GNU/Linux



MrEngman


I saw your post just now as I have #776 installed and working I might upgrade once more, thanks again.
Posts: 4
Joined: Sat Apr 18, 2015 9:29 am