MrEngman
Posts: 3844
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Sat Apr 18, 2015 6:49 pm

DexterDouglas wrote:
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.
No problem, glad to help.

If you update, though, you will need to reinstall the driver as rpi-update now deletes out of tree modules.


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

Please post ALL technical questions on the forum. Please Do Not send private messages.

komrad
Posts: 5
Joined: Sat Apr 18, 2015 10:34 pm

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

Sat Apr 18, 2015 10:42 pm

Hi i stumbled apon this thread, looking to make my asus 56u usb stick working.

im super new to linux so bear with me :)
i have kali disto setup on my rpi 2
Linux kali 3.18.9-v7

i keep getting the same errors when i run the install.sh

[email protected]:~# tar xzf 8812au-3.18.9-v7-768.tar.gz
[email protected]:~# ./install.sh
sudo cp 8812au.conf /etc/modprobe.d/.
sudo install -p -m 644 8812au.ko /lib/modules/3.18.9-v7+/kernel/drivers/net/wire less
install: cannot create regular file `/lib/modules/3.18.9-v7+/kernel/drivers/net/ wireless': No such file or directory
sudo depmod 3.18.9-v7+
ERROR: could not open directory /lib/modules/3.18.9-v7+: No such file or directory
FATAL: could not search modules: No such file or directory

ive tryed both the asus official drivers. not realy sure what im doing wrong

MrEngman
Posts: 3844
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Sun Apr 19, 2015 12:12 am

komrad wrote:Hi i stumbled apon this thread, looking to make my asus 56u usb stick working.

im super new to linux so bear with me :)
i have kali disto setup on my rpi 2
Linux kali 3.18.9-v7

i keep getting the same errors when i run the install.sh

[email protected]:~# tar xzf 8812au-3.18.9-v7-768.tar.gz
[email protected]:~# ./install.sh
sudo cp 8812au.conf /etc/modprobe.d/.
sudo install -p -m 644 8812au.ko /lib/modules/3.18.9-v7+/kernel/drivers/net/wireless
install: cannot create regular file `/lib/modules/3.18.9-v7+/kernel/drivers/net/wireless': No such file or directory
sudo depmod 3.18.9-v7+
ERROR: could not open directory /lib/modules/3.18.9-v7+: No such file or directory
FATAL: could not search modules: No such file or directory

ive tryed both the asus official drivers. not realy sure what im doing wrong
The drivers I compile are for raspbian and so will not work with kali.

However, the problems you are seeing, "no such file or directory", are not directly connected to the driver file but the kali kernel revision. You say your OS is "Linux kali 3.18.9-v7" with no "+" sign, so I expect your module directory is /lib/modules/3.19.9-v7/kernel/....etc. without the "+". The kernel the drivers are compiled for, raspbian, uses a kernel version with the "+" sign on the end and this is what the driver install script expects when trying to install the driver as you see in the commands above. However, even if you change the install the driver will almost certainly not work.

Sorry I can't provide a driver for kali but I hope the explanation for the errors you see may be helpful. Perhaps you might find some help on the kali forums.


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

Please post ALL technical questions on the forum. Please Do Not send private messages.

komrad
Posts: 5
Joined: Sat Apr 18, 2015 10:34 pm

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

Sun Apr 19, 2015 12:31 am

thanks for a quick reply,

when i try to get the ac56 card to work with my rasp os. i get the same faults.

[email protected]:/lib/modules/3.18.7-v7+# uname -a
Linux Box 3.18.7-v7+ #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015 armv7l GNU/Linux

and when i run the commands

[email protected]:/lib/modules/3.18.7-v7+# wget https://dl.dropboxusercontent.com/u/802 ... 768.tar.gz
--2015-04-19 00:30:03-- https://dl.dropboxusercontent.com/u/802 ... 768.tar.gz
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 184.72.235.103, 23.21.91.132, 23.23.187.57, ...
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|184.72.235.103|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 499251 (488K) [application/octet-stream]
Saving to: `8812au-3.18.9-v7-768.tar.gz'

100%[===================================================>] 499,251 761K/s in 0.6s

2015-04-19 00:30:08 (761 KB/s) - `8812au-3.18.9-v7-768.tar.gz' saved [499251/499251]

[email protected]:/lib/modules/3.18.7-v7+# tar xzf 8812au-3.18.9-v7-768.tar.gz
[email protected]:/lib/modules/3.18.7-v7+# ./install.sh
sudo cp 8812au.conf /etc/modprobe.d/.
sudo install -p -m 644 8812au.ko /lib/modules/3.18.9-v7+/kernel/drivers/net/wireless
install: cannot create regular file `/lib/modules/3.18.9-v7+/kernel/drivers/net/wireless': No such file or directory
sudo depmod 3.18.9-v7+
ERROR: could not open directory /lib/modules/3.18.9-v7+: No such file or directory
FATAL: could not search modules: No such file or directory

am i doing something wrong here. ?

MrEngman
Posts: 3844
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Sun Apr 19, 2015 1:05 am

komrad wrote:thanks for a quick reply,

when i try to get the ac56 card to work with my rasp os. i get the same faults.

[email protected]:/lib/modules/3.18.7-v7+# uname -a
Linux Box 3.18.7-v7+ #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015 armv7l GNU/Linux

and when i run the commands

[email protected]:/lib/modules/3.18.7-v7+# wget https://dl.dropboxusercontent.com/u/802 ... 768.tar.gz
--2015-04-19 00:30:03-- https://dl.dropboxusercontent.com/u/802 ... 768.tar.gz
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 184.72.235.103, 23.21.91.132, 23.23.187.57, ...
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|184.72.235.103|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 499251 (488K) [application/octet-stream]
Saving to: `8812au-3.18.9-v7-768.tar.gz'

100%[===================================================>] 499,251 761K/s in 0.6s

2015-04-19 00:30:08 (761 KB/s) - `8812au-3.18.9-v7-768.tar.gz' saved [499251/499251]

[email protected]:/lib/modules/3.18.7-v7+# tar xzf 8812au-3.18.9-v7-768.tar.gz
[email protected]:/lib/modules/3.18.7-v7+# ./install.sh
sudo cp 8812au.conf /etc/modprobe.d/.
sudo install -p -m 644 8812au.ko /lib/modules/3.18.9-v7+/kernel/drivers/net/wireless
install: cannot create regular file `/lib/modules/3.18.9-v7+/kernel/drivers/net/wireless': No such file or directory
sudo depmod 3.18.9-v7+
ERROR: could not open directory /lib/modules/3.18.9-v7+: No such file or directory
FATAL: could not search modules: No such file or directory

am i doing something wrong here. ?
I'm afraid you are.

Your uname -a shows "3.18.7-v7+ #755" but you are downloading "8812au-3.18.9-v7-768.tar.gz". Notice anything different?

You might get better results if you try the same commands but using the filename 8812au-3.18.7-v7-755.tar.gz :D :D


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

Please post ALL technical questions on the forum. Please Do Not send private messages.

komrad
Posts: 5
Joined: Sat Apr 18, 2015 10:34 pm

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

Sun Apr 19, 2015 2:28 pm

hehe. thanks for noticeing that.

i installed the propper drivers. 755 now

i ran the install.sh now with out erros but i get this now

[ 83.864887] 8812au: disagrees about version of symbol module_layout

3.684120] usb 1-1.3: Product: 802.11n NIC
-bash: dmesg[ 3.684120]: command not found
[email protected] ~ $ [ 3.693929] usb 1-1.3: Manufacturer: Realtek
-bash: [: missing `]'
[email protected] ~ $ [ 3.703083] usb 1-1.3: SerialNumber: 123456
-bash: [: missing `]'
[email protected] ~ $ [ 3.808040] usb 1-1.4: new full-speed USB device number 5 using dwc_otg
-bash: [: missing `]'
[email protected] ~ $ [ 3.928516] usb 1-1.4: New USB device found, idVendor=046d, idProduct=c52b
-bash: [: missing `]'
[email protected] ~ $ [ 3.941755] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber
-bash: [: missing `]'
[email protected] ~ $ uname -a
Linux Box 3.18.11-v7+ #777 SMP PREEMPT Sat Apr 11 17:30:37 BST 2015 armv7l GNU/Linux
[email protected] ~ $ [ 83.864887] 8812au: disagrees about version of symbol module_layout

and now i have the 777 version. not sure how it upgraded

MrEngman
Posts: 3844
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Sun Apr 19, 2015 2:44 pm

komrad wrote:hehe. thanks for noticeing that.

i installed the propper drivers. 755 now

i ran the install.sh now with out erros but i get this now

[ 83.864887] 8812au: disagrees about version of symbol module_layout

3.684120] usb 1-1.3: Product: 802.11n NIC
-bash: dmesg[ 3.684120]: command not found
[email protected] ~ $ [ 3.693929] usb 1-1.3: Manufacturer: Realtek
-bash: [: missing `]'
[email protected] ~ $ [ 3.703083] usb 1-1.3: SerialNumber: 123456
-bash: [: missing `]'
[email protected] ~ $ [ 3.808040] usb 1-1.4: new full-speed USB device number 5 using dwc_otg
-bash: [: missing `]'
[email protected] ~ $ [ 3.928516] usb 1-1.4: New USB device found, idVendor=046d, idProduct=c52b
-bash: [: missing `]'
[email protected] ~ $ [ 3.941755] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber
-bash: [: missing `]'
[email protected] ~ $ uname -a
Linux Box 3.18.11-v7+ #777 SMP PREEMPT Sat Apr 11 17:30:37 BST 2015 armv7l GNU/Linux
[email protected] ~ $ [ 83.864887] 8812au: disagrees about version of symbol module_layout

and now i have the 777 version. not sure how it upgraded
Did you run rpi-update? That will update your kernel to 3.18.11-v7+ #777.

You need to download a newer version of the driver. Change the filename in the commands to download and install the driver to 8812au-3.18.11-v7-777.tar.gz.


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

Please post ALL technical questions on the forum. Please Do Not send private messages.

komrad
Posts: 5
Joined: Sat Apr 18, 2015 10:34 pm

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

Sun Apr 19, 2015 4:16 pm

thanks for a prompt responce.

now i have input theses commands .
wget https://dl.dropboxusercontent.com/u/80256631/8812au-3.18.11-v7-777.tar.gz
tar xzf 8812au-3.18.11-v7-777.tar.gz
./install.sh

got no errors
but after i plug in the ac56 usb stick. the system gives me a log list of rubble, and semi crashed. when i try ifconfig the system crashes,

when i connectd the usb wifi stick i get alot of faults

Message from [email protected] at Apr 19 16:11:49 ...
kernel:[ 165.669559] Internal error: Oops: 5 [#1] PREEMPT SMP ARM

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 165.815885] Process ifplugd (pid: 2164, stack limit = 0xb68f6238)

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 165.826725] Stack: (0xb68f7c90 to 0xb68f8000)

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 165.835771] 7c80: 00000000 00000000 0000003f 0000000c

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 165.848737] 7ca0: 00000001 0000001c b8692a71 7f10928c 7f109220 b8692a72 b8692a72 b8692a72

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 165.861739] 7cc0: 00000000 bda5b000 b8693650 b8692a72 7f1092ac 00000000 00000000 00000000

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 165.874748] 7ce0: 00000000 00000000 00000000 00000000 b68f7d1c b8690000 bda5b000 b8693650

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 165.887784] 7d00: b8690000 00000001 b8690000 00008914 b68f7d44 b68f7d20 7f0d18dc 7f0d0cbc

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 165.900876] 7d20: 00000001 bda5b000 b8690000 b8690000 ffffcb56 000004c7 b68f7d8c b68f7d48

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 165.914023] 7d40: 7f0db004 7f0d16b8 804b74b4 b9072800 bda5b000 00000001 b907282c 00000000

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 165.927204] 7d60: b91d8e00 bda5b000 bda5b000 00000001 b907282c 00000000 b91d8e00 00008914

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 165.940475] 7d80: b68f7da4 b68f7d90 7f0c1b08 7f0da318 b9072800 bda5b000 b68f7de4 b68f7da8

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 165.953785] 7da0: 7f0aedb0 7f0c1ae4 0000000d b9072800 00001002 00000000 b68f7ddc bda5b000

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 165.967123] 7dc0: b9072800 00000001 b907282c 00000000 b91d8e00 00008914 b68f7dfc b68f7de8

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 165.980476] 7de0: 7f0af060 7f0aed38 b9072800 7f0fbecc b68f7e24 b68f7e00 8044f8a8 7f0af03c

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 165.993882] 7e00: b68f7e24 b9072800 b9072800 00001003 00000001 00001002 b68f7e4c b68f7e28

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 166.007341] 7e20: 8044fb90 8044f7ec 00008914 b9072800 00000130 00001002 00000001 00000000

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 166.020856] 7e40: b68f7e74 b68f7e50 8044fc88 8044fb04 00008914 00000000 b91d8e0c 00000000

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 166.034383] 7e60: 00000001 00000000 b68f7ee4 b68f7e78 804b86a0 8044fc6c 00000020 00000000

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 166.047917] 7e80: 00008913 b9072800 b91d8e0c b68f6038 00000014 7e9a3770 6e616c77 00000030

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 166.061441] 7ea0: 00000000 00000000 00001003 00000000 00000000 00000000 00001002 00008914

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 166.074944] 7ec0: b90e60c0 7e9a3770 80808200 b9733de0 7e9a3770 00000000 b68f7ef4 b68f7ee8

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 166.088448] 7ee0: 804b9f68 804b8004 b68f7f14 b68f7ef8 80432348 804b9dd0 b90e60c0 b90e60c0

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 166.101976] 7f00: 00008914 7e9a3770 b68f7f7c b68f7f18 8014dfe0 8043217c 8013e910 8013e740

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 166.115510] 7f20: a0000013 807da5f0 b9733dc0 00000000 b68f7f74 80158ec4 b68f7f64 b68f7f48

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 166.129079] 7f40: 80158ec4 8052528c 00000000 00000008 00000000 b90e60c0 b90e60c0 00008914

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 166.142610] 7f60: 7e9a3770 00000008 b68f6000 00000000 b68f7fa4 b68f7f80 8014e1f0 8014dc0c

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 166.156102] 7f80: 00001003 00000008 00000000 00009624 00000036 8000ed68 00000000 b68f7fa8

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 166.169624] 7fa0: 8000eac0 8014e1b8 00000008 00000000 00000008 00008914 7e9a3770 00001003

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 166.183165] 7fc0: 00000008 00000000 00009624 00000036 01910008 00000011 00000008 00000000

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 166.196694] 7fe0: 00000000 7e9a3770 0000b29c 76f41dcc 60000010 00000008 aaaaaaaa aaaaaaaa

Message from [email protected] at Apr 19 16:11:50 ...
kernel:[ 166.412494] Code: 051b1054 00863001 02833dbf 02833005 (05d33002)

with the usb wifi unconnected

dmesg | grep usb
[ 1.279739] usbcore: registered new interface driver usbfs
[ 1.285418] usbcore: registered new interface driver hub
[ 1.290891] usbcore: registered new device driver usb
[ 1.675496] usbcore: registered new interface driver smsc95xx
[ 2.193273] dwc_otg bcm2708_usb: DWC OTG Controller
[ 2.202792] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 2.214702] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 2.241276] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.252622] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber= 1
[ 2.264364] usb usb1: Product: DWC OTG Controller
[ 2.273526] usb usb1: Manufacturer: Linux 3.18.11-v7+ dwc_otg_hcd
[ 2.284084] usb usb1: SerialNumber: bcm2708_usb
[ 2.311537] usbcore: registered new interface driver usb-storage
[ 2.443044] usbcore: registered new interface driver usbhid
[ 2.457196] usbhid: USB HID core driver
[ 2.717913] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.938211] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 2.949559] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.288010] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.398235] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.409912] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber =0
[ 3.492033] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1 .1, smsc95xx USB 2.0 Ethernet, b8:27:eb:b9:cb:f4
[ 3.588069] usb 1-1.4: new full-speed USB device number 4 using dwc_otg
[ 3.710615] usb 1-1.4: New USB device found, idVendor=046d, idProduct=c52b
[ 3.710628] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber =0
[ 3.710638] usb 1-1.4: Product: USB Receiver
[ 3.710646] usb 1-1.4: Manufacturer: Logitech
[ 3.761487] input: Logitech USB Receiver as /devices/platform/bcm2708_usb/us 1/1-1/1-1.4/1-1.4:1.0/0003:046D:C52B.0001/input/input0
[ 3.779008] hid-generic 0003:046D:C52B.0001: input,hidraw0: USB HID v1.11 Key board [Logitech USB Receiver] on usb-bcm2708_usb-1.4/input0
[ 3.805604] input: Logitech USB Receiver as /devices/platform/bcm2708_usb/us 1/1-1/1-1.4/1-1.4:1.1/0003:046D:C52B.0002/input/input1
[ 3.824132] hid-generic 0003:046D:C52B.0002: input,hiddev0,hidraw1: USB HID v 1.11 Mouse [Logitech USB Receiver] on usb-bcm2708_usb-1.4/input1
[ 3.853743] hid-generic 0003:046D:C52B.0003: hiddev0,hidraw2: USB HID v1.11 D evice [Logitech USB Receiver] on usb-bcm2708_usb-1.4/input2

with it connected


[ 165.592178] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 2][chnl 2][val 63]
[ 165.592193] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 1T][chnl 03][val 32]
[ 165.592209] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 2][chnl 3][val 32]
[ 165.592225] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 1T][chnl 03][val 32]
[ 165.592241] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 2][chnl 3][val 32]
[ 165.592256] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 1T][chnl 03][val 32]
[ 165.592273] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 2][chnl 3][val 32]
[ 165.592288] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 1T][chnl 04][val 36]
[ 165.592304] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 2][chnl 4][val 36]
[ 165.592319] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 1T][chnl 04][val 32]
[ 165.592335] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 2][chnl 4][val 32]
[ 165.592351] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 1T][chnl 04][val 32]
[ 165.592367] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 2][chnl 4][val 32]
[ 165.592382] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 1T][chnl 05][val 36]
[ 165.592398] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 2][chnl 5][val 36]
[ 165.592413] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 1T][chnl 05][val 32]
[ 165.592429] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 2][chnl 5][val 32]
[ 165.592445] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 1T][chnl 05][val 32]
[ 165.592461] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 2][chnl 5][val 32]
[ 165.592476] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 1T][chnl 06][val 36]
[ 165.592492] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 2][chnl 6][val 36]
[ 165.592508] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 1T][chnl 06][val 32]
[ 165.592524] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 2][chnl 6][val 32]
[ 165.592540] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 1T][chnl 06][val 32]
[ 165.592556] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 2][chnl 6][val 32]
[ 165.592571] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 1T][chnl 07][val 36]
[ 165.592587] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 2][chnl 7][val 36]
[ 165.592603] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 1T][chnl 07][val 32]
[ 165.592619] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 2][chnl 7][val 32]
[ 165.592634] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 1T][chnl 07][val 32]
[ 165.592650] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 2][chnl 7][val 32]
[ 165.592666] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 1T][chnl 08][val 36]
[ 165.592682] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 2][chnl 8][val 36]
[ 165.592697] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 1T][chnl 08][val 32]
[ 165.592713] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 2][chnl 8][val 32]
[ 165.592729] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 1T][chnl 08][val 32]
[ 165.592745] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 2][chnl 8][val 32]
[ 165.592784] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 1T][chnl 09][val 36]
[ 165.592801] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 2][chnl 9][val 36]
[ 165.592837] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 1T][chnl 09][val 32]
[ 165.592869] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 2][chnl 9][val 32]
[ 165.592917] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 1T][chnl 09][val 32]
[ 165.592949] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 2][chnl 9][val 32]
[ 165.592982] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 1T][chnl 10][val 36]
[ 165.593013] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 2][chnl 10][val 36]
[ 165.593045] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 1T][chnl 10][val 32]
[ 165.593077] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 2][chnl 10][val 32]
[ 165.593103] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 1T][chnl 10][val 32]
[ 165.593135] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 2][chnl 10][val 32]
[ 165.593167] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 1T][chnl 11][val 32]
[ 165.593188] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 2][chnl 11][val 32]
[ 165.593203] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 1T][chnl 11][val 32]
[ 165.593220] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 2][chnl 11][val 32]
[ 165.593236] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 1T][chnl 11][val 32]
[ 165.593252] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 2][chnl 11][val 32]
[ 165.593268] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 1T][chnl 12][val 63]
[ 165.593284] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 2][chnl 12][val 63]
[ 165.593299] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 1T][chnl 12][val 32]
[ 165.593316] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 2][chnl 12][val 32]
[ 165.593332] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 1T][chnl 12][val 32]
[ 165.593348] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 2][chnl 12][val 32]
[ 165.593363] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 1T][chnl 13][val 63]
[ 165.593380] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 2][chnl 13][val 63]
[ 165.593395] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 1T][chnl 13][val 32]
[ 165.593412] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 2][chnl 13][val 32]
[ 165.593428] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 1T][chnl 13][val 32]
[ 165.593444] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 2][chnl 13][val 32]
[ 165.593459] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 1T][chnl 14][val 63]
[ 165.593476] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 2][chnl 14][val 63]
[ 165.593491] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 1T][chnl 14][val 63]
[ 165.593508] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 2][chnl 14][val 63]
[ 165.593523] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 1T][chnl 14][val 63]
[ 165.593540] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 2][chnl 14][val 63]
[ 165.593555] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 2T][chnl 01][val 63]
[ 165.593571] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 3][chnl 1][val 63]
[ 165.593587] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 2T][chnl 01][val 63]
[ 165.593603] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 3][chnl 1][val 63]
[ 165.593618] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 2T][chnl 01][val 63]
[ 165.593635] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 3][chnl 1][val 63]
[ 165.593650] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 2T][chnl 02][val 63]
[ 165.593666] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 3][chnl 2][val 63]
[ 165.593682] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 2T][chnl 02][val 63]
[ 165.593698] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 3][chnl 2][val 63]
[ 165.593713] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 2T][chnl 02][val 63]
[ 165.593730] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 3][chnl 2][val 63]
[ 165.593745] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 2T][chnl 03][val 30]
[ 165.593761] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 3][chnl 3][val 30]
[ 165.593777] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 2T][chnl 03][val 30]
[ 165.593793] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 3][chnl 3][val 30]
[ 165.593808] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 2T][chnl 03][val 30]
[ 165.593824] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 3][chnl 3][val 30]
[ 165.593840] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 2T][chnl 04][val 34]
[ 165.593856] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 3][chnl 4][val 34]
[ 165.593871] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 2T][chnl 04][val 30]
[ 165.593887] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 3][chnl 4][val 30]
[ 165.593903] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 2T][chnl 04][val 30]
[ 165.593919] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 3][chnl 4][val 30]
[ 165.593934] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 2T][chnl 05][val 34]
[ 165.593950] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 3][chnl 5][val 34]
[ 165.593986] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 2T][chnl 05][val 30]
[ 165.594018] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 3][chnl 5][val 30]
[ 165.594049] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 2T][chnl 05][val 30]
[ 165.594081] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 3][chnl 5][val 30]
[ 165.594112] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 2T][chnl 06][val 34]
[ 165.594144] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 3][chnl 6][val 34]
[ 165.594176] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 2T][chnl 06][val 30]
[ 165.594207] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 3][chnl 6][val 30]
[ 165.594239] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 2T][chnl 06][val 30]
[ 165.594271] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 3][chnl 6][val 30]
[ 165.594303] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 2T][chnl 07][val 34]
[ 165.594332] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 3][chnl 7][val 34]
[ 165.594347] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 2T][chnl 07][val 30]
[ 165.594364] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 3][chnl 7][val 30]
[ 165.594379] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 2T][chnl 07][val 30]
[ 165.594395] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 3][chnl 7][val 30]
[ 165.594411] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 2T][chnl 08][val 34]
[ 165.594427] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 3][chnl 8][val 34]
[ 165.594443] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 2T][chnl 08][val 30]
[ 165.594459] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 3][chnl 8][val 30]
[ 165.594474] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 2T][chnl 08][val 30]
[ 165.594491] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 3][chnl 8][val 30]
[ 165.594506] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 2T][chnl 09][val 34]
[ 165.594522] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 3][chnl 9][val 34]
[ 165.594538] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 2T][chnl 09][val 30]
[ 165.594554] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 3][chnl 9][val 30]
[ 165.594569] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 2T][chnl 09][val 30]
[ 165.594586] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 3][chnl 9][val 30]
[ 165.594601] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 2T][chnl 10][val 34]
[ 165.594618] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 3][chnl 10][val 34]
[ 165.594633] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 2T][chnl 10][val 30]
[ 165.594650] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 3][chnl 10][val 30]
[ 165.594666] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 2T][chnl 10][val 30]
[ 165.594682] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 3][chnl 10][val 30]
[ 165.594698] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 2T][chnl 11][val 30]
[ 165.594714] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 3][chnl 11][val 30]
[ 165.594729] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 2T][chnl 11][val 30]
[ 165.594747] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 3][chnl 11][val 30]
[ 165.594762] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 2T][chnl 11][val 30]
[ 165.594779] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 3][chnl 11][val 30]
[ 165.594794] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 2T][chnl 12][val 63]
[ 165.594811] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 3][chnl 12][val 63]
[ 165.594826] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 2T][chnl 12][val 32]
[ 165.594843] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 3][chnl 12][val 32]
[ 165.594858] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 2T][chnl 12][val 32]
[ 165.594875] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 3][chnl 12][val 32]
[ 165.594890] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 2T][chnl 13][val 63]
[ 165.594907] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 3][chnl 13][val 63]
[ 165.594922] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 2T][chnl 13][val 32]
[ 165.594939] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 3][chnl 13][val 32]
[ 165.594955] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 2T][chnl 13][val 32]
[ 165.594971] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 3][chnl 13][val 32]
[ 165.594987] RTL871X: Index of power limit table [band 2.4G][regulation FCC][bw 40M][rate section HT][rf path 2T][chnl 14][val 63]
[ 165.595003] RTL871X: 2.4G Band value : [regulation 0][bw 1][rate_section 3][chnl 14][val 63]
[ 165.595018] RTL871X: Index of power limit table [band 2.4G][regulation ETSI][bw 40M][rate section HT][rf path 2T][chnl 14][val 63]
[ 165.595035] RTL871X: 2.4G Band value : [regulation 2][bw 1][rate_section 3][chnl 14][val 63]
[ 165.595051] RTL871X: Index of power limit table [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 2T][chnl 14][val 63]
[ 165.595067] RTL871X: 2.4G Band value : [regulation 1][bw 1][rate_section 3][chnl 14][val 63]
[ 165.595082] RTL871X: Index of power limit table [band 5G][regulation FCC][bw 20M][rate section OFDM][rf path 1T][chnl 36][val 30]
[ 165.595099] RTL871X: 5G Band value : [regulation 0][bw 0][rate_section 1][chnl 36][val 30]
[ 165.595130] RTL871X: Index of power limit table [band 5G][regulation ETSI][bw 20M][rate section OFDM][rf path 1T][chnl 36][val 32]

[ 165.638039] RTL871X: =====> PHY_ConvertPowerLimitToPowerIndex()
[ 165.638075] RTL871X: TxPwrLimit_2_4G[regulation 0][bw 0][rateSection 0][group 0] 2=

[ 165.642073] (TxPwrLimit in dBm 63 - BW40PwrLmt2_4G[channel 12][rfPath 0] 34)
[ 165.642095] RTL871X: TxPwrLimit_2_4G[regulation 2][bw 1][rateSection 0][group 4] 63=
[ 165.642095] (TxPwrLimit in dBm 63 - BW40PwrLmt2_4G[channel 12][rfPath 1] 34)
[ 165.642118] RTL871X: TxPwrLimit_2_4G[regulation 2][bw 1][rateSection 1][group 4] 63=
[ 165.642118] (TxPwrLimit in dBm 63 - BW40PwrLmt2_4G[channel 12][rfPath 0] 30)
[ 165.642140] RTL871X: TxPwrLimit_2_4G[regulation 2][bw 1][rateSection 1][group 4] 63=
[ 165.642140] (TxPwrLimit in dBm 63 - BW40PwrLmt2_4G[channel 12][rfPath 1] 30)
[ 165.642162] RTL871X: TxPwrLimit_2_4G[regulation 2][bw 1][rateSection 2][group 4] 63=
[ 165.642162] (TxPwrLimit in dBm 63 - BW40PwrLmt2_4G[channel 12][rfPath 0] 28)
[ 165.642184] RTL871X: TxPwrLimit_2_4G[regulation 2][bw 1][rateSection 2][group 4] 63=
[ 165.642184] (TxPwrLimit in dBm 63 - BW40PwrLmt2_4G[channel 12][rfPath 1] 28)
[ 165.642207] RTL871X: No power limit table of the specified band 1, bandwidth 0, ratesection 0, group 0, rf path 0
[ 165.642219] RTL871X: use other value A 63
[ 165.642255] Unable to handle kernel paging request at virtual address 70d26617
[ 165.654126] pgd = b93f0000
[ 165.661381] [70d26617] *pgd=00000000
[ 165.669559] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[ 165.679354] Modules linked in: 8812au(O) snd_bcm2835 snd_pcm snd_seq snd_seq_device snd_timer snd joydev evdev uio_pdrv_genirq uio
[ 165.696048] CPU: 0 PID: 2164 Comm: ifplugd Tainted: G O 3.18.11-v7+ #777
[ 165.708486] task: b909a280 ti: b68f6000 task.ti: b68f6000
[ 165.718725] PC is at PHY_ConvertPowerLimitToPowerIndex+0x554/0x9fc [8812au]
[ 165.730329] LR is at _raw_spin_unlock_irqrestore+0x88/0xa0
[ 165.740446] pc : [<7f0d1204>] lr : [<80525874>] psr: 60000013
[ 165.740446] sp : b68f7c90 ip : b68f7b90 fp : b68f7d1c
[ 165.761201] r10: 00000000 r9 : 0000365c r8 : b8692a72
[ 165.771084] r7 : 00000000 r6 : b8690000 r5 : b8692a72 r4 : 0000003f
[ 165.782283] r3 : 70d26615 r2 : 00000001 r1 : b8693650 r0 : 0000001d
[ 165.793492] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 165.805369] Control: 10c5387d Table: 393f006a DAC: 00000015
[ 165.815885] Process ifplugd (pid: 2164, stack limit = 0xb68f6238)
[ 165.826725] Stack: (0xb68f7c90 to 0xb68f8000)
[ 165.835771] 7c80: 00000000 00000000 0000003f 0000000c
[ 165.848737] 7ca0: 00000001 0000001c b8692a71 7f10928c 7f109220 b8692a72 b8692a72 b8692a72
[ 165.861739] 7cc0: 00000000 bda5b000 b8693650 b8692a72 7f1092ac 00000000 00000000 00000000
[ 165.874748] 7ce0: 00000000 00000000 00000000 00000000 b68f7d1c b8690000 bda5b000 b8693650
[ 165.887784] 7d00: b8690000 00000001 b8690000 00008914 b68f7d44 b68f7d20 7f0d18dc 7f0d0cbc
[ 165.900876] 7d20: 00000001 bda5b000 b8690000 b8690000 ffffcb56 000004c7 b68f7d8c b68f7d48
[ 165.914023] 7d40: 7f0db004 7f0d16b8 804b74b4 b9072800 bda5b000 00000001 b907282c 00000000
[ 165.927204] 7d60: b91d8e00 bda5b000 bda5b000 00000001 b907282c 00000000 b91d8e00 00008914
[ 165.940475] 7d80: b68f7da4 b68f7d90 7f0c1b08 7f0da318 b9072800 bda5b000 b68f7de4 b68f7da8
[ 165.953785] 7da0: 7f0aedb0 7f0c1ae4 0000000d b9072800 00001002 00000000 b68f7ddc bda5b000
[ 165.967123] 7dc0: b9072800 00000001 b907282c 00000000 b91d8e00 00008914 b68f7dfc b68f7de8
[ 165.980476] 7de0: 7f0af060 7f0aed38 b9072800 7f0fbecc b68f7e24 b68f7e00 8044f8a8 7f0af03c
[ 165.993882] 7e00: b68f7e24 b9072800 b9072800 00001003 00000001 00001002 b68f7e4c b68f7e28
[ 166.007341] 7e20: 8044fb90 8044f7ec 00008914 b9072800 00000130 00001002 00000001 00000000
[ 166.020856] 7e40: b68f7e74 b68f7e50 8044fc88 8044fb04 00008914 00000000 b91d8e0c 00000000
[ 166.034383] 7e60: 00000001 00000000 b68f7ee4 b68f7e78 804b86a0 8044fc6c 00000020 00000000
[ 166.047917] 7e80: 00008913 b9072800 b91d8e0c b68f6038 00000014 7e9a3770 6e616c77 00000030
[ 166.061441] 7ea0: 00000000 00000000 00001003 00000000 00000000 00000000 00001002 00008914
[ 166.074944] 7ec0: b90e60c0 7e9a3770 80808200 b9733de0 7e9a3770 00000000 b68f7ef4 b68f7ee8
[ 166.088448] 7ee0: 804b9f68 804b8004 b68f7f14 b68f7ef8 80432348 804b9dd0 b90e60c0 b90e60c0
[ 166.101976] 7f00: 00008914 7e9a3770 b68f7f7c b68f7f18 8014dfe0 8043217c 8013e910 8013e740
[ 166.115510] 7f20: a0000013 807da5f0 b9733dc0 00000000 b68f7f74 80158ec4 b68f7f64 b68f7f48
[ 166.129079] 7f40: 80158ec4 8052528c 00000000 00000008 00000000 b90e60c0 b90e60c0 00008914
[ 166.142610] 7f60: 7e9a3770 00000008 b68f6000 00000000 b68f7fa4 b68f7f80 8014e1f0 8014dc0c
[ 166.156102] 7f80: 00001003 00000008 00000000 00009624 00000036 8000ed68 00000000 b68f7fa8
[ 166.169624] 7fa0: 8000eac0 8014e1b8 00000008 00000000 00000008 00008914 7e9a3770 00001003
[ 166.183165] 7fc0: 00000008 00000000 00009624 00000036 01910008 00000011 00000008 00000000
[ 166.196694] 7fe0: 00000000 7e9a3770 0000b29c 76f41dcc 60000010 00000008 aaaaaaaa aaaaaaaa
[ 166.210541] [<7f0d1204>] (PHY_ConvertPowerLimitToPowerIndex [8812au]) from [<7f0d18dc>] (PHY_BBConfig8812+0x230/0x388 [8812au])
[ 166.227826] [<7f0d18dc>] (PHY_BBConfig8812 [8812au]) from [<7f0db004>] (rtl8812au_hal_init+0xcf8/0x1000 [8812au])
[ 166.243965] [<7f0db004>] (rtl8812au_hal_init [8812au]) from [<7f0c1b08>] (rtw_hal_init+0x30/0xac [8812au])
[ 166.259548] [<7f0c1b08>] (rtw_hal_init [8812au]) from [<7f0aedb0>] (_netdev_open+0x84/0x304 [8812au])
[ 166.274720] [<7f0aedb0>] (_netdev_open [8812au]) from [<7f0af060>] (netdev_open+0x30/0x48 [8812au])
[ 166.289656] [<7f0af060>] (netdev_open [8812au]) from [<8044f8a8>] (__dev_open+0xc8/0x140)
[ 166.303674] [<8044f8a8>] (__dev_open) from [<8044fb90>] (__dev_change_flags+0x98/0x168)
[ 166.317576] [<8044fb90>] (__dev_change_flags) from [<8044fc88>] (dev_change_flags+0x28/0x58)
[ 166.331883] [<8044fc88>] (dev_change_flags) from [<804b86a0>] (devinet_ioctl+0x6a8/0x778)
[ 166.345908] [<804b86a0>] (devinet_ioctl) from [<804b9f68>] (inet_ioctl+0x1a4/0x1d0)
[ 166.359456] [<804b9f68>] (inet_ioctl) from [<80432348>] (sock_ioctl+0x1d8/0x2a4)
[ 166.372762] [<80432348>] (sock_ioctl) from [<8014dfe0>] (do_vfs_ioctl+0x3e0/0x5ac)
[ 166.386144] [<8014dfe0>] (do_vfs_ioctl) from [<8014e1f0>] (SyS_ioctl+0x44/0x6c)
[ 166.399191] [<8014e1f0>] (SyS_ioctl) from [<8000eac0>] (ret_fast_syscall+0x0/0x48)
[ 166.412494] Code: 051b1054 00863001 02833dbf 02833005 (05d33002)
[ 166.425037] ---[ end trace af8a641c91bd1ddc ]--

MrEngman
Posts: 3844
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Tue Apr 21, 2015 3:22 am

Hi Komrad,

Sorry for the problem with that driver. I have now fixed the problem with a new driver so if you run the commands again

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/8812au-3.18.11-v7-777.tar.gz
tar xzf 8812au-3.18.11-v7-777.tar.gz
./install.sh
the driver should now be OK. I hope.


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

Please post ALL technical questions on the forum. Please Do Not send private messages.

komrad
Posts: 5
Joined: Sat Apr 18, 2015 10:34 pm

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

Tue Apr 21, 2015 4:00 pm

yhea i thought that was alittle strange.

finaly got the wlan up.
and no strange stuff
super thanks man.

User avatar
daryltucker
Posts: 1
Joined: Thu May 14, 2015 6:40 pm

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

Thu May 14, 2015 6:45 pm

Is it possible for these patches to be added to https://github.com/gnab/rtl8812au?

MrEngman
Posts: 3844
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Thu May 14, 2015 7:55 pm

daryltucker wrote:Is it possible for these patches to be added to https://github.com/gnab/rtl8812au?
What patches?


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

Please post ALL technical questions on the forum. Please Do Not send private messages.

diederik
Posts: 391
Joined: Wed Mar 26, 2014 11:17 pm

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

Thu May 14, 2015 11:27 pm

MrEngman wrote:
daryltucker wrote:Is it possible for these patches to be added to https://github.com/gnab/rtl8812au?
What patches?
Are you using that repo (source) to compile the driver you've been providing or in other words: does that repo support the 8821AU devices?

maihoaomv
Posts: 32
Joined: Wed Oct 08, 2014 5:16 pm

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

Mon Jun 22, 2015 4:53 pm

If I could I would like to direct this post directly to MrEngman.

I'm having difficulty building the rtl8812au module on the RPI for an Edimax EV-7811AUC. The mfg’s linux code is obsolete (dongle works fine on windows 7) and support suggested I use the open source Linux version instead. I was able to build the module on my Linux Mint 64bit laptop and it works but I’m having problems with the RPI. I setup MrEngman's method on the RPI. I ran into a problem with commit-id for kernel 3.18.14+; I couldn’t get the git checkout to work with the id I finally decided was the one I should use. So I rpi-update to 4.0.5, the latest and greatest kernel. I was able to get it to accept the commit-id for the linux dir but not for the firmware, and as far as I can tell the firmware dir is the same as the one where I found the commit-id (must have done something wrong). Anyway with 4.0.5 the Module.symvers built without errors. When I built the gnab rtl7812au module I got a bunch of warnings but no errors. When I tried to install it sudo insmod 7812au.so the RPI hang and become unresponsive (had to kill the power to restart it). I tried the building the diederikdehaas rtl8812AU module I found on github and it compiled without warnings or errors. When I tried to load it I got this error:
Error: could not insert module 8812au.ko: Unknown symbol in module
At least it didn’t hang the RPI. I changed the PLATFORM from PC to RPI in the Makefile on both modules.

Could I get some help with this?

I also have another question. In the tutorial in the git checkout steps examples why are the 2 commit-id’s different? I couldn’t figure that one out. I could only find 1 commit-id for 4.0.5.

This is written in kind-of in a hurry (the wife gets higher priority) and I didn’t have time to edit it for errors.

diederik
Posts: 391
Joined: Wed Mar 26, 2014 11:17 pm

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

Mon Jun 22, 2015 5:02 pm

maihoaomv wrote:I tried the building the diederikdehaas rtl8812AU module I found on github and it compiled without warnings or errors. When I tried to load it I got this error:
Error: could not insert module 8812au.ko: Unknown symbol in module
At least it didn’t hang the RPI. I changed the PLATFORM from PC to RPI in the Makefile on both modules.
Do you have a more specific error message? How did you try to load it?
All the details can help to solve the issue.

MrEngman
Posts: 3844
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Mon Jun 22, 2015 5:59 pm

maihoaomv wrote:If I could I would like to direct this post directly to MrEngman.

I'm having difficulty building the rtl8812au module on the RPI for an Edimax EV-7811AUC. The mfg’s linux code is obsolete (dongle works fine on windows 7) and support suggested I use the open source Linux version instead. I was able to build the module on my Linux Mint 64bit laptop and it works but I’m having problems with the RPI. I setup MrEngman's method on the RPI. I ran into a problem with commit-id for kernel 3.18.14+; I couldn’t get the git checkout to work with the id I finally decided was the one I should use. So I rpi-update to 4.0.5, the latest and greatest kernel. I was able to get it to accept the commit-id for the linux dir but not for the firmware, and as far as I can tell the firmware dir is the same as the one where I found the commit-id (must have done something wrong). Anyway with 4.0.5 the Module.symvers built without errors. When I built the gnab rtl7812au module I got a bunch of warnings but no errors. When I tried to install it sudo insmod 7812au.so the RPI hang and become unresponsive (had to kill the power to restart it). I tried the building the diederikdehaas rtl8812AU module I found on github and it compiled without warnings or errors. When I tried to load it I got this error:
Error: could not insert module 8812au.ko: Unknown symbol in module
At least it didn’t hang the RPI. I changed the PLATFORM from PC to RPI in the Makefile on both modules.

Could I get some help with this?

I also have another question. In the tutorial in the git checkout steps examples why are the 2 commit-id’s different? I couldn’t figure that one out. I could only find 1 commit-id for 4.0.5.

This is written in kind-of in a hurry (the wife gets higher priority) and I didn’t have time to edit it for errors.
I'm a little confused. Can you point me to the info you are using to compile the driver?

If it's using 2 commit-id's I expect one will be the raspberrypi linux source commit id and the other the raspberrypi firmware commit id.

To save you time you can download and install the drivers using

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/8812au-4.0.5-797.tar.gz
tar xzf 8812au-4.0.5-797.tar.gz
./install.sh
for Pi A, A+, B and B+.

Or

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/8812au-4.0.5-v7-797.tar.gz
tar xzf 8812au-4.0.5-v7-797.tar.gz
./install.sh
for the Pi 2B


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

Please post ALL technical questions on the forum. Please Do Not send private messages.

maihoaomv
Posts: 32
Joined: Wed Oct 08, 2014 5:16 pm

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

Tue Jun 23, 2015 5:53 pm

Thank you very much for getting back to me so fast and pointing me to the 4.0.5 driver you built. It installs and works without crashing the rpi.

I followed your tutorial without problem except for the second git checkout. I didn't understand how to get the second commit-id. And it wouldn’t accept the same commit-id I used for the first git checkout. That is where I think I went wrong. I was able to build the kernel stuff without errors/warnings by not inputting the second commit-id but the modules when I built them wouldn’t work.

Code: Select all

git clone --depth 15 https://github.com/raspberrypi/firmware.git
# set up some symbolic links needed by compile
sudo ln -s /home/pi/src/linux /lib/modules/$(uname -r)/build
sudo ln -s /home/pi/src/linux/arch/arm /home/pi/src/linux/arch/armv6l
# enter linux directory
cd linux
# set up linux source to 3.12.22+ #690 (git checkout commit-id)
# for a different version change the commit-id
# for 3.12.22+ #691 use commit-id 1981ddebd4
git checkout 99df631ec3
# enter firmware directory and set for 3.12.22+ #690 (git checkout commit-id)
# for 3.12.22+ #691 use commit-id 462f3e3f47
cd ../firmware

---->>>  git checkout 5bb0317210  <<<--- here is where I think I went wrong???

# go back to linux source directory
cd ../linux
# set up linux to compile your module - make mrproper: init sourc
# - make  bcmrpi_defconfig: set up .config file
# - make modules_prepare: compile to set up for module
# - cp ../firmware/extra/Module.symvers . - copy file Module.symvers from firmware to linux directory
# - NOTE: period (full stop) after Module.symvers
make mrproper && make bcmrpi_defconfig && make modules_prepare && cp ../firmware/extra/Module.symvers .
# now go to your rtl8717L source directory wherever it is
cd ../rtl8717L
# init module source and compile it
make clean && make
# and hopefully it will compile without errors. 
According to the note form your tutorial I should find the commit-id in firmware/extra/git_hash and I did but I don’t understand where the second one comes from.
For other versions of linux to find the necessary commit-id's go to https://github.com/raspberrypi/firmware/commits/master and look though the list of firmware commits for one close to your version. Then select browse code (<>) and look at firmware/extra/uname-string to check linux version, 3.12.xx+, and build number, #123. When you find the right version and build look at firmware/extra/git_hash for the linux source commit-id. The full commit-id is a 40 character value but you should only need to use the first 7-10 character to set the right source version.
With all the ongoing kernel updates I want to understand what it is I’m doing wrong so I can learn to correctly compile the module the next time I update the kernel.

Thanks

MrEngman
Posts: 3844
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Tue Jun 23, 2015 7:16 pm

maihoaomv wrote:Thank you very much for getting back to me so fast and pointing me to the 4.0.5 driver you built. It installs and works without crashing the rpi.

I followed your tutorial without problem except for the second git checkout. I didn't understand how to get the second commit-id. And it wouldn’t accept the same commit-id I used for the first git checkout. That is where I think I went wrong. I was able to build the kernel stuff without errors/warnings by not inputting the second commit-id but the modules when I built them wouldn’t work.

Code: Select all

git clone --depth 15 https://github.com/raspberrypi/firmware.git
# set up some symbolic links needed by compile
sudo ln -s /home/pi/src/linux /lib/modules/$(uname -r)/build
sudo ln -s /home/pi/src/linux/arch/arm /home/pi/src/linux/arch/armv6l
# enter linux directory
cd linux
# set up linux source to 3.12.22+ #690 (git checkout commit-id)
# for a different version change the commit-id
# for 3.12.22+ #691 use commit-id 1981ddebd4
git checkout 99df631ec3
# enter firmware directory and set for 3.12.22+ #690 (git checkout commit-id)
# for 3.12.22+ #691 use commit-id 462f3e3f47
cd ../firmware

---->>>  git checkout 5bb0317210  <<<--- here is where I think I went wrong???

# go back to linux source directory
cd ../linux
# set up linux to compile your module - make mrproper: init sourc
# - make  bcmrpi_defconfig: set up .config file
# - make modules_prepare: compile to set up for module
# - cp ../firmware/extra/Module.symvers . - copy file Module.symvers from firmware to linux directory
# - NOTE: period (full stop) after Module.symvers
make mrproper && make bcmrpi_defconfig && make modules_prepare && cp ../firmware/extra/Module.symvers .
# now go to your rtl8717L source directory wherever it is
cd ../rtl8717L
# init module source and compile it
make clean && make
# and hopefully it will compile without errors. 
According to the note form your tutorial I should find the commit-id in firmware/extra/git_hash and I did but I don’t understand where the second one comes from.
For other versions of linux to find the necessary commit-id's go to https://github.com/raspberrypi/firmware/commits/master and look though the list of firmware commits for one close to your version. Then select browse code (<>) and look at firmware/extra/uname-string to check linux version, 3.12.xx+, and build number, #123. When you find the right version and build look at firmware/extra/git_hash for the linux source commit-id. The full commit-id is a 40 character value but you should only need to use the first 7-10 character to set the right source version.
With all the ongoing kernel updates I want to understand what it is I’m doing wrong so I can learn to correctly compile the module the next time I update the kernel.

Thanks
OK, the way I compile modules is I clone the raspberrypi linux source git and the raspberrypi firmware git. For a particular version you select the right firmware commit and look at firmware/extra/git_hash to get the linux source commit-id. So the first commit-id is for the firmware commit-id and the second (firmware/extra/git_hash) is the linux source commit-id.

The firmware commit-id is used to select the right firmware so you get the right version of Module.symvers for the linux version you want to compile modules for.


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

Please post ALL technical questions on the forum. Please Do Not send private messages.

diederik
Posts: 391
Joined: Wed Mar 26, 2014 11:17 pm

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

Wed Jul 01, 2015 1:46 am

maihoaomv wrote:I followed your (=MrEngman) tutorial
Can someone help me find that tutorial?
I've now been searching for hours and still can't find it :oops:

I want to know how to (properly) get the raspberrypi.org kernel source and configure that so that I can compile kernel modules myself (with my own code).

I think I have (more or less) done the right thing just now as I've just compiled the 8812au kernel module for the 4.0.7-v7+ #801 kernel with my own source code and it essentially compiled clean, apart from this message:

Code: Select all

WARNING: Symbol version dump ./Module.symvers
           is missing; modules will have no dependencies and modversions.
But as it has been such a trial and error exercise, that I probably won't be able to repeat it.

And I fairly competent that MrEngman's tutorial will give me the proper instructions :)

MrEngman
Posts: 3844
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Wed Jul 01, 2015 2:47 am

diederik wrote:
maihoaomv wrote:I followed your (=MrEngman) tutorial
Can someone help me find that tutorial?
I've now been searching for hours and still can't find it :oops:

I want to know how to (properly) get the raspberrypi.org kernel source and configure that so that I can compile kernel modules myself (with my own code).

I think I have (more or less) done the right thing just now as I've just compiled the 8812au kernel module for the 4.0.7-v7+ #801 kernel with my own source code and it essentially compiled clean, apart from this message:

Code: Select all

WARNING: Symbol version dump ./Module.symvers
           is missing; modules will have no dependencies and modversions.
But as it has been such a trial and error exercise, that I probably won't be able to repeat it.

And I fairly competent that MrEngman's tutorial will give me the proper instructions :)
Hi Diederik,

I think maihoaomv is referring to the code he shows in this post viewtopic.php?p=779003#p779003. However, it is pretty old and does not take account of the newer Pi 2B. A while back the disk I kept all the info like that on died so I am unsure of the link to the compile instructions but I would not call it a tutorial as such.

After cloning the linux source and firmware repositories and selecting the right kernel and firmware versions, to prepare the kernel for compiling the wifi module I do :-

In the linux directory to prepare the kernel for compiling the driver for the Pi A, A+, B, B+ run commands

Code: Select all

make mrproper && make bcmrpi_defconfig && make modules_prepare && cp ../firmware/extra/Module.symvers .
and if the driver is to be used with the Pi 2B use commands

Code: Select all

make mrproper && make bcm2709_defconfig && make modules_prepare && cp ../firmware/extra/Module7.symvers Module.symvers
and then go to the driver source directory and compile the driver using

Code: Select all

make clean && make
The error you are seeing I think is because you've not copied Module(7).symvers from the firmware directory to the linux source directory before compiling the driver.

Sorry this is a bit brief but hopefully it will point you in the right direction. Really must generate a real tutorial some day although there is a lot of stuff in the forum about compiling drivers.


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

Please post ALL technical questions on the forum. Please Do Not send private messages.

diederik
Posts: 391
Joined: Wed Mar 26, 2014 11:17 pm

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

Wed Jul 01, 2015 3:13 am

MrEngman wrote: Hi Diederik,

I think maihoaomv is referring to the code he shows in this post viewtopic.php?p=779003#p779003. However, it is pretty old and does not take account of the newer Pi 2B. A while back the disk I kept all the info like that on died so I am unsure of the link to the compile instructions but I would not call it a tutorial as such.

After cloning the linux source and firmware repositories and selecting the right kernel and firmware versions, to prepare the kernel for compiling the wifi module I do :-

In the linux directory to prepare the kernel for compiling the driver for the Pi A, A+, B, B+ run commands

Code: Select all

make mrproper && make bcmrpi_defconfig && make modules_prepare && cp ../firmware/extra/Module.symvers .
and if the driver is to be used with the Pi 2B use commands

Code: Select all

make mrproper && make bcm2709_defconfig && make modules_prepare && cp ../firmware/extra/Module7.symvers Module.symvers
and then go to the driver source directory and compile the driver using

Code: Select all

make clean && make
The error you are seeing I think is because you've not copied Module(7).symvers from the firmware directory to the linux source directory before compiling the driver.

Sorry this is a bit brief but hopefully it will point you in the right direction. Really must generate a real tutorial some day although there is a lot of stuff in the forum about compiling drivers.
This is very likely the info I do need, thanks 8-) .
maihoaomv's notes did (also) help, but I though it was his own 'summary' of your tutorial.

I found the "make proper" and friends from the issue you created on my repo and that indeed helped a lot.
'Somewhere' I did find that I needed to get the Module.symver and that did make that error go away.
I did get some issues at the end of the compile and modprobe failed, but that's very likely because I copied the wrong one (Module.symver on a Pi2). I'll likely try to fix that tomorrow.

It would really be awesome if you could indeed make a real tutorial with all the steps involved (and mods should stickify that).

There is indeed a lot of info in the forums, but one really needs to figure out which bits and pieces one needs to take from the various posts and hope that you then got the right and complete info.
I think I have some reasonable technical skills and proper search skills, but this was truely an exercise in frustration.

This has strengthened my appreciation of debian/raspbian style packages of the kernel and kernel-headers ... it is such a breeze to compile your own kernel modules with that.

diederik
Posts: 391
Joined: Wed Mar 26, 2014 11:17 pm

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

Wed Jul 01, 2015 1:06 pm

diederik wrote:'Somewhere' I did find that I needed to get the Module.symver and that did make that error go away.
I did get some issues at the end of the compile and modprobe failed, but that's very likely because I copied the wrong one (Module.symver on a Pi2). I'll likely try to fix that tomorrow.
And that was indeed the issue. Copied the correct symver file and re-compiled without any issues/warnings/etc.
After 'make install' (as root), I plugged in my Edimax EW-7822UAC and got the blue lights and a Bit Rate of 867 Mb/s \o/

Thanks for your assistance MrEngman :)

freaked
Posts: 5
Joined: Mon Jul 23, 2012 1:10 pm

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

Wed Jul 01, 2015 9:20 pm

sigh...i wish there was a newbie tutorial for this

but at least there's hope to get my edimax working on my rpi2.

thank-you!

MrEngman
Posts: 3844
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Wed Jul 01, 2015 10:19 pm

freaked wrote:sigh...i wish there was a newbie tutorial for this

but at least there's hope to get my edimax working on my rpi2.

thank-you!
Post the output of commands

Code: Select all

uname -a
lsusb
and I will then be able to point you to a driver you can download and install.


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

Please post ALL technical questions on the forum. Please Do Not send private messages.

freaked
Posts: 5
Joined: Mon Jul 23, 2012 1:10 pm

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

Thu Jul 02, 2015 4:53 pm

MrEngman wrote:
freaked wrote:sigh...i wish there was a newbie tutorial for this

but at least there's hope to get my edimax working on my rpi2.

thank-you!
Post the output of commands

Code: Select all

uname -a
lsusb
and I will then be able to point you to a driver you can download and install.


MrEngman
here's the info.

[email protected] ~ $ uname -a
Linux raspberrypi 4.0.7-v7+ #801 SMP PREEMPT Tue Jun 30 18:38:23 BST 2015 armv7l

GNU/Linux
[email protected] ~ $ lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 005: ID 04e8:342e Samsung Electronics Co., Ltd
Bus 001 Device 006: ID 7392:a822 Edimax Technology Co., Ltd
[email protected] ~ $

thanks for the help
freaked

Return to “Raspbian”