gnab / rtl8812au Goto Github PK
View Code? Open in Web Editor NEWRealtek 802.11n WLAN Adapter Linux driver
Realtek 802.11n WLAN Adapter Linux driver
I made an full upgrade of my system and now i am unable to re-compile the module for rtl8812a.
Here is the full output from the make:
[root@test rtl8812au]# make
make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.0.9-2-ARCH/build M=/opt/rtl8812au modules
make[1]: Entering directory '/usr/lib/modules/4.0.9-2-ARCH/build'
CC [M] /opt/rtl8812au/os_dep/linux/rtw_android.o
/opt/rtl8812au/os_dep/linux/rtw_android.c: In function 'rtw_android_cmdstr_to_num':
/opt/rtl8812au/os_dep/linux/rtw_android.c:227:11: error: implicit declaration of function 'strnicmp' [-Werror=implicit-function-declaration]
if(0 == strnicmp(cmdstr , android_wifi_cmd_str[cmd_num], strlen(android_wifi_cmd_str[cmd_num])) )
^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/opt/rtl8812au/os_dep/linux/rtw_android.o' failed
make[2]: *** [/opt/rtl8812au/os_dep/linux/rtw_android.o] Error 1
Makefile:1390: recipe for target '_module_/opt/rtl8812au' failed
make[1]: *** [_module_/opt/rtl8812au] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.0.9-2-ARCH/build'
Makefile:1051: recipe for target 'modules' failed
make: *** [modules] Error 2
I'm willing to help if I can get a bit of a start, but I'd like to run some of the monitor utilities (aircrack-ng, wash/reaver, etc.) on these, especially with 5GHz support. I'm not sure if the chipset has support.
Also, the "iw" program can - on supported cards - create multiple virtual interfaces per physical interface, and depending on hardware, one can be an AP, another monitor, another client.
http://wireless.kernel.org/en/users/Documentation/iw/vif/
This might let me use one device for both my AP and upstream connection, and/or two APs, one on each band, etc.
I tried to compile this driver for my Raspberry 2 but I run into the following error.
$ make ARCH=arm CROSS_COMPILE= -C /lib/modules/3.18.8-v7+/build M=/home/pi/Desktop/rtl8812au modules
make[1]: Entering directory '/lib/modules/3.18.8-v7+/build'
CC [M] /home/pi/Desktop/rtl8812au/core/rtw_cmd.o
./scripts/recordmcount: 1: ./scripts/recordmcount: Syntax error: word unexpected (expecting ")")
scripts/Makefile.build:257: recipe for target '/home/pi/Desktop/rtl8812au/core/rtw_cmd.o' failed
make[2]: *** [/home/pi/Desktop/rtl8812au/core/rtw_cmd.o] Error 2
Makefile:1381: recipe for target '_module_/home/pi/Desktop/rtl8812au' failed
make[1]: *** [_module_/home/pi/Desktop/rtl8812au] Error 2
make[1]: Leaving directory '/lib/modules/3.18.8-v7+/build'
Makefile:1051: recipe for target 'modules' failed
make: *** [modules] Error 2
/lib/modules/3.18.8-v7+build/scripts/Makefile.build
# Built-in and composite module parts
$(obj)/%.o: $(src)/%.c $(recordmcount_source) FORCE
$(call cmd,force_checksrc) #<--------------LINE 257
$(call if_changed_rule,cc_o_c)
The code for line 257 looks about right... anyone know what the problem might be?
My development platform is Debian x64 and I would like to build this x64.
I cannot connect to 5GHz. I'm on Ubuntu 15.04, kernel 3.19.0-15-generic. This is what happens when I try to connect:
>tail -f /var/log/kern.log
May 1 11:50:45 MinasTirith kernel: [ 2533.066569] RTL871X: ###=> usb_read_port_complete => urb status(-71)
May 1 11:50:45 MinasTirith kernel: [ 2533.066953] RTL871X: ###=> usb_read_port_complete => urb status(-71)
May 1 11:50:45 MinasTirith kernel: [ 2533.067331] RTL871X: ###=> usb_read_port_complete => urb status(-71)
May 1 11:50:45 MinasTirith kernel: [ 2533.068620] RTL871X: ###=> usb_read_port_complete => urb status(-71)
May 1 11:50:45 MinasTirith kernel: [ 2533.068963] RTL871X: ###=> usb_read_port_complete => urb status(-71)
May 1 11:50:45 MinasTirith kernel: [ 2533.068964] RTL871X: [dvobj:ffff8803c41e6400][ERROR] continual_urb_error:5 > 4
May 1 11:50:45 MinasTirith kernel: [ 2533.185869] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(0) OR bSurpriseRemoved(1) bReadPortCancel(0)
May 1 11:50:45 MinasTirith kernel: [ 2533.288378] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(0) OR bSurpriseRemoved(1) bReadPortCancel(0)
May 1 11:50:45 MinasTirith kernel: [ 2533.288464] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(0) OR bSurpriseRemoved(1) bReadPortCancel(0)
May 1 11:50:46 MinasTirith kernel: [ 2534.729260] RTL871X: rtw_cmd_thread: DriverStopped(0) SurpriseRemoved(1) break at line 446
The driver crashes and I have to unplug and replug the adapter, an Alfa Networks AWUS036AC.
I read there had been issues running rtl8812au on ARM devices. Maybe this is one of them
Using ODROID C1+ with kernel:
$ uname -a
Linux odroidc1p 3.10.80-135 #1 SMP PREEMPT Sat Nov 28 13:10:52 BRST 2015 armv7l armv7l armv7l GNU/Linux
Builds fine.
Access point is 5Ghz TP-Link N750 (aka TL-WDR4300) with latest DD-WRT onboard
When starting wpa_supplicant it forver tries to associate. There is this sequence in the syslog:
[ 2608.389953@3] RTL871X: set bssid:60:e3:27:b8:37:60
[ 2608.410132@3] RTL871X: start auth
[ 2608.412595@3] RTL871X: auth success, start assoc
[ 2608.415314@3] RTL871X: assoc success
[ 2608.415852@0] RTL871X: indicate disassoc
[ 2608.417028@0] RTL871X: set bssid:00:00:00:00:00:00
The same dongle and same code tree works fine on x86_64 machine with kernel 4.1.13
Please let me know what kind of debugging I may perform on my ARM device to contribute
Thanks
Hi,
Is it possible to disable 2.4 GHz and only keep 5 GHz?
Hi,
I am getting periodic network freezes with the original driver and also with your fork. This is mostly visible in networked real-time games where the action just freezes for a while, and then continues. It lasts 1-5 seconds. Have you noticed similar behavior? Any ideas on how to fix it?
Thanks for your great work making this possible on 3.11 👍
I tried just doing make on my Raspberry Pi and it failed because ARCH needed to be "arm", not "armv6l". I added a symlink, but it appears I just need to edit the Makefile and change the CONFIG_PLATFORM_ARM_RPI to y. The step for configuring should be added to the README somewhere.
To compile on Odroid C1 (ARM, Kernel 3.10, gcc 4.8.2, Ubuntu).
I had to change the Makefile:
-SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
+SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/ppc/powerpc/ | sed -e s/armv.l/arm/)
Then simply make and make install.
After download and installing drivers.
tapin13home@tapin13-X550LA ~ $ sudo airmon-ng start wlan3
[sudo] password for tapin13home:
Found 5 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to kill (some of) them!
PID Name
856 avahi-daemon
857 avahi-daemon
872 NetworkManager
910 wpa_supplicant
7110 dhclient
Process with PID 7110 (dhclient) is running on interface wlan3
Interface Chipset Driver
wlan3 Unknown rtl8812au (monitor mode enabled)
wlan0 Unknown rt2800pci - [phy0]
mon0 Unknown rt2800pci - [phy0]
tapin13home@tapin13-X550LA ~ $
Any ideas?
distribution: debian sid
device: dwa-171
works fine with kernel 4.2
Hi, apologies if this is not the right place to ask but is there a way to change the LED behavior?
I have compiled the driver to be used on a Raspberry Pi with an Edimax EW-7811UTC
AC600 Wireless Dual-Band Mini USB Adapter. It works fine, but the LED is constantly blinking, even when there is no network activity.
I don't know if this is the normal expected behavior but this is particularly annoying in a dark room (e.g. when sleeping at night).
Is there a way to change the source code to change the LED blinking behavior or eventually to turn it off?
I have had a look at the files in the repository (in particular the ones which seems related to the LED) but I lack programming skills and I could not figure out what eventually I should change.
Thank you.
When trying build for the pi, the build fails with this output:
make ARCH=arm CROSS_COMPILE= -C /lib/modules/3.13.0-24-generic/build M=/home
/path/to/rtl8812au modules
make[1]: Entering directory
/usr/src/linux-headers-3.13.0-24-generic'
CC [M] /path/to/rtl8812au/core/rtw_cmd.o
gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’
gcc: note: valid arguments to ‘-mabi=’ are: ms sysv
gcc: error: unrecognized command line option ‘-mlittle-endian’
gcc: error: unrecognized command line option ‘-mapcs’
gcc: error: unrecognized command line option ‘-mno-sched-prolog’
make[2]: *** [/path/to/rtl8812au/core/rtw_cmd.o] Error 1
make[1]: *** [_module_/path/to/rtl8812au] Error 2
make[1]: Leaving directory
/usr/src/linux-headers-3.13.0-24-generic'`
make: *** [modules] Error 2
Please add support for above USB Dualband WLAN Adapter!
Thanks!
regards, hitam44550
Hi,
I'm trying to use aircrack on ubuntu with this driver but i have an error so if anybody can help it would be great :)
Here's my error :
$sudo airodump-ng -t wep wlan0
ioctl(SIOCSIWMODE) failed: Invalid argument
ARP linktype is set to 1 (Ethernet) - expected ARPHRD_IEEE80211,
ARPHRD_IEEE80211_FULL or ARPHRD_IEEE80211_PRISM instead. Make
sure RFMON is enabled: run 'airmon-ng start wlan0 <#>'
Sysfs injection support was not found either.
Thanks
Hi, compiled module on pi as per your excellent instructions.
I have some issues around performance and while trying to dig about I noticed these messages.
WARNING: CPU: 0 PID: 137 at fs/proc/generic.c:451 proc_create_data+0x84/0xa4()
[ 13.006470] Modules linked in: cfg80211 snd_soc_pcm512x snd_soc_wm8804 snd_soc_tas5713 snd_soc_bcm2708_i2s regmap_mmio 8812au(O) leds_gpio led_class snd_soc_core spi_bcm2708 snd_compress snd_pcm_dmaengine i2c_bcm2708 regmap_spi regmap_i2c sch_fq_codel snd_bcm2835 snd_pcm snd_page_alloc snd_timer snd bcm2708_rng rng_core ipv6
[ 13.044507] CPU: 0 PID: 137 Comm: wpa_supplicant Tainted: G O 3.12.33-1-ARCH #1
[ 13.062738] from
[ 13.079787] from
[ 13.096987] from
[ 13.114772] from
[ 13.133053] from [](rtw_proc_init_one+0x8c/0xc70 [8812au])
[ 13.151888] [](rtw_proc_init_one+0x8c/0xc70 [8812au]) from [](_netdev_open+0xf8/0x370 [8812au])
[ 13.171078] [](_netdev_open+0xf8/0x370 [8812au]) from [](netdev_open+0x20/0x38 [8812au])
[ 13.190292] [](netdev_open+0x20/0x38 [8812au]) from
[ 13.209895] from
[ 13.229580] from
[ 13.249367] from
[ 13.269130] from
[ 13.289098] from
[ 13.308507] from
[ 13.328587] from
[ 13.348591] ---[ end trace 60c56e64ab6eaa9c ]---
[ 13.359836] RTL871X: ^A3Unable to create rtw_proc directory
[ 13.370946] RTL871X: -871x_drv - drv_open, bup=1
Is this normal ??
I am using arch on model B+
hope you can help
Andy
The installation was smooth and my adapter is working great, thank you very much. However, even though it sees my 5.0 band and connects to it, speedtest.net only shows up to 25mbit download speed whereas on windows the same adapter and connection goes over my maximum of 75mbits. Could you please look into this?
Hi, no idea where to start with this, so I'll describe my setup:
Everything is fine when connecting near the antennas, however when I'm further away say through a few walls the signal is still good but there is huge packet loss, to the point where google (for example) just won't load. The strange thing is I don't get this problem when I connect the adapter to my Windows Desktop and use the RealTek software
So I thought I would post an issue here and see if anyone had any solutions.
Thanks
Aaron
I'm using the RPI config to compile for a Marvell Kirkwood ARM processor on ArchLinux ARM with the command strnicmp replaced with strncasecmp mod in os_dep/linux/rtw_android.c
It builds, module loads, but plug in the dongle and I get what I think is a paging issue (see below). Is this caused by strncasecmp ???
[ 239.832704] Unable to handle kernel paging request at virtual address 9a90454f
[ 239.842918] pgd = dbc8c000
[ 239.845976] [9a90454f] *pgd=00000000
[ 239.850064] Internal error: Oops: 5 [#1] PREEMPT ARM
[ 239.855048] Modules linked in: 8812au(O) ctr ccm sha512_generic sha256_generic blowfish_generic blowfish_common ipt_REJECT nf_reject_ipv4 xt_comment nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack rt2800usb rt2x00usb rt2800lib rt2x00lib mac80211 cfg80211 pl2303 ip6table_filter rfkill ip6_tables ax88179_178a usbnet usbserial nf_conntrack_netbios_ns rtc_pcf8563 nf_conntrack_broadcast mv_cesa nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables cryptodev(O) ipv6
[ 239.909648] CPU: 0 PID: 309 Comm: systemd-network Tainted: G O 4.0.3-1-ARCH #1
[ 239.918032] Hardware name: ZyXEL NSA325 2-Bay Power Media Server
[ 239.924059] task: dee4f180 ti: dee84000 task.ti: dee84000
[ 239.929643] PC is at PHY_ConvertPowerLimitToPowerIndex+0x54c/0xec8 [8812au]
[ 239.936762] LR is at PHY_ConvertPowerLimitToPowerIndex+0x534/0xec8 [8812au]
[ 239.943751] pc : [<bf331cd4>] lr : [<bf331cbc>] psr: 60000013
sp : dee85b48 ip : 00000002 fp : db5ba872
[ 239.955276] r10: db5b8000 r9 : 00000000 r8 : db5bb000
[ 239.960517] r7 : 00000000 r6 : 00000000 r5 : 00000000 r4 : 0000003f
[ 239.967065] r3 : 9a904548 r2 : 00000000 r1 : 00000002 r0 : 0000001b
[ 239.973614] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 239.980773] Control: 0005397f Table: 1bc8c000 DAC: 00000015
[ 239.986537] Process systemd-network (pid: 309, stack limit = 0xdee84190)
[ 239.993260] Stack: (0xdee85b48 to 0xdee86000)
[ 239.997632] 5b40: 00000000 00000000 0000003f 0000000c 00000001 0000001c
[ 240.005847] 5b60: 00000000 00000000 00000000 00000000 00000000 db5ba872 e12e9000 bf349788
[ 240.014062] 5b80: 00000000 db5ba872 db5ba872 db5ba872 db5b8000 db5ba872 db5ba872 e12e6000
[ 240.022275] 5ba0: 00000450 e12e6000 db5bb450 db5b8000 00000001 db5b8000 00000450 00000510
[ 240.030489] 5bc0: 00000000 bf332830 db5b8000 db5b8000 ffffdcee e12e6000 000004c7 bf33bdc4
[ 240.038704] 5be0: 00001002 00000000 bf356340 db1bb410 00000000 c0053b30 e12e6000 e12e6000
[ 240.046918] 5c00: bf356340 00001002 00000000 bf356340 db1bb410 bf323338 e12ea000 dbc86000
[ 240.055133] 5c20: e12e6000 bf3116e4 00000000 dee85c6c 0000000d ffffffed e12e6000 dbc86000
[ 240.063347] 5c40: bf356340 00001002 00000000 bf356340 db1bb410 bf3119c0 bf3119a0 dbc86000
[ 240.071560] 5c60: 00000001 c04d0598 00000000 dbc86000 dbc86000 00000001 00001003 c04d0834
[ 240.079775] 5c80: dbc86000 dbc86140 00001002 00000000 00000000 c04d0908 dbc86000 dbc86000
[ 240.087989] 5ca0: dee85d18 00000000 defddd80 c04df278 bf03926c 00000000 dfd57c3c 00000000
[ 240.096203] 5cc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 dbc86000
[ 240.104417] 5ce0: db1bb400 defddd80 00000000 c07e5318 00000000 00000000 00000000 c04df7e4
[ 240.112632] 5d00: dee85d08 00000000 dec01400 00000001 dee85d98 c00d3808 00000000 00000000
[ 240.120846] 5d20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 240.129061] 5d40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 240.137275] 5d60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 240.145489] 5d80: db1bb420 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 240.153703] 5da0: 00000000 00000000 00000000 00000000 db1bb400 00000003 defddd80 c04de7ac
[ 240.161917] 5dc0: 00000000 da84da80 df4aba5c c030c91c df422000 00000000 c07e5318 db1bb400
[ 240.170132] 5de0: defddd80 c04de650 defddd80 00000000 00000000 c04f8fbc defddd80 dbd01400
[ 240.178346] 5e00: 00000030 c04de640 df4ab800 c04f8918 dee85ee8 00000000 dee85ee8 00000000
[ 240.186560] 5e20: 00000030 dbd01400 00000008 c04f8d94 c07b8acc 00020200 00000000 df41f000
[ 240.194775] 5e40: c07a2d1c defddd80 db1757c0 00000000 00000135 000000c1 000000c1 00000000
[ 240.202989] 5e60: 00080208 dac17580 00000030 dee85ee8 00000000 dac17580 dee84000 00000000
[ 240.211203] 5e80: bea9792c c04b4914 00000000 00000000 00000000 00000000 dee4f180 00000000
[ 240.219417] 5ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 240.227632] 5ec0: 00000000 00000030 b6f0b170 c04b6800 00000030 c00c4198 00000000 00000000
[ 240.235846] 5ee0: b6f0b170 00000030 dee85f10 00000010 00000001 00000000 00000000 dee85ee8
[ 240.244060] 5f00: 00000000 00000000 00000000 00000040 00000010 00000000 00000000 00000000
[ 240.252274] 5f20: da8ec240 c0103a58 c07f35b8 da8ec240 00000000 00000001 b6df1000 dbd73484
[ 240.260489] 5f40: aaa6f1fe ffffffff 1aab8087 031f27cf da8ec240 dee85f90 00000001 b6e07af0
[ 240.268702] 5f60: 00000107 c0009704 dee84000 00000001 b6e07af0 00000107 c0009704 bea97940
[ 240.276917] 5f80: 00000008 00000000 bea97940 c0067b5c bea9790c 00000010 b6e07af0 00000122
[ 240.285131] 5fa0: c0009704 c0009580 bea9790c 00000010 00000007 b6f0b170 00000030 00000000
[ 240.293345] 5fc0: bea9790c 00000010 b6e07af0 00000122 00000000 00000000 b6f01ca8 bea9792c
[ 240.301560] 5fe0: 00000000 bea978e8 b6d49ed0 b6d4addc 80000010 00000007 fadfe3fb 5c75b7ff
[ 240.310050] [<bf331cd4>] (PHY_ConvertPowerLimitToPowerIndex [8812au]) from [<bf332830>] (PHY_BBConfig8812+0x1e0/0x34c [8812au])
[ 240.321841] [<bf332830>] (PHY_BBConfig8812 [8812au]) from [<bf33bdc4>] (rtl8812au_hal_init+0xd2c/0x1094 [8812au])
[ 240.332404] [<bf33bdc4>] (rtl8812au_hal_init [8812au]) from [<bf323338>] (rtw_hal_init+0x1c/0x98 [8812au])
[ 240.342326] [<bf323338>] (rtw_hal_init [8812au]) from [<bf3116e4>] (_netdev_open+0x68/0x324 [8812au])
[ 240.351795] [<bf3116e4>] (_netdev_open [8812au]) from [<bf3119c0>] (netdev_open+0x20/0x38 [8812au])
[ 240.360993] [<bf3119c0>] (netdev_open [8812au]) from [<c04d0598>] (__dev_open+0xd4/0x150)
[ 240.369213] [<c04d0598>] (__dev_open) from [<c04d0834>] (__dev_change_flags+0x90/0x14c)
[ 240.377251] [<c04d0834>] (__dev_change_flags) from [<c04d0908>] (dev_change_flags+0x18/0x48)
[ 240.385728] [<c04d0908>] (dev_change_flags) from [<c04df278>] (do_setlink+0x2a4/0x748)
[ 240.393679] [<c04df278>] (do_setlink) from [<c04df7e4>] (rtnl_setlink+0xc8/0xfc)
[ 240.401108] [<c04df7e4>] (rtnl_setlink) from [<c04de7ac>] (rtnetlink_rcv_msg+0x15c/0x1f8)
[ 240.409326] [<c04de7ac>] (rtnetlink_rcv_msg) from [<c04f8fbc>] (netlink_rcv_skb+0xb4/0xd8)
[ 240.417624] [<c04f8fbc>] (netlink_rcv_skb) from [<c04de640>] (rtnetlink_rcv+0x1c/0x2c)
[ 240.425576] [<c04de640>] (rtnetlink_rcv) from [<c04f8918>] (netlink_unicast+0x150/0x204)
[ 240.433703] [<c04f8918>] (netlink_unicast) from [<c04f8d94>] (netlink_sendmsg+0x310/0x384)
[ 240.442008] [<c04f8d94>] (netlink_sendmsg) from [<c04b4914>] (do_sock_sendmsg+0xa4/0xc0)
[ 240.450134] [<c04b4914>] (do_sock_sendmsg) from [<c04b6800>] (SyS_sendto+0xe4/0x118)
[ 240.457911] [<c04b6800>] (SyS_sendto) from [<c0009580>] (ret_fast_syscall+0x0/0x30)
[ 240.465601] Code: 1a000004 e59d3034 e08a3003 e2833db7 (e5d32007)
[ 240.475639] ---[ end trace 520d3f262dc0de76 ]---
Thanks!
Any plans to make this module build using the standard linux command for building modules:
make -C linux-3.4rt M=$PWD ARCH=mips CROSS_COMPILE=mips-openwrt-linux- modules
Is this module available yet as part of mainline linux source tree somewhere?
Hi!
I'm going to make the Access Point by using the rtl8812au device driver on Ubuntu.
Is it possible to make the AP by using this device driver?
I did not find out this method.
If it is possible to make the AP by using rtl8812au, please notice to me.
Best regards,
Woojoong Kim.
Hi
I am trying to add your driver to a Raspberry Pi kernel at build time. I am doing this as follows:
I can see and select the module in make menuconfig. I have made the necessary changes to the Makefile to allow for Pi building.
When I build the kernel and run make modules, I do not get a rtl8812au.ko file but do not get any errors either.
My patch is here: https://raw.githubusercontent.com/samnazarko/osmc/master/package/kernel-osmc/patches/rbp-008-add-rtl8812au.patch and should apply against 3.18.5.
I think this is the latest version of 8812au driver.
I don't know if it has better performance than 4.2.2.
I downloaded driver about one month ago. After install and using wlan card as primary internet connection, my kernel crashed. LED on wlan card was off. It happened few times every few days (every 4-10 days).
I couldn't check it, because my server doesn't have monitor. After reset I checked in log files and all logs stopped the same time, so I think it was kernel panic.
I commented out all debug messages (based on issue "Suggest turning off the debugging log by default") and installed driver again. Since about 2 weeks, my server working without any problems.
Hi,
I'm using your driver with a small change to compile on kernel 4.x and I have trouble with rdesktop when using 5GHz (802.11ac). rdesktop is not connecting at all or if it's connecting it freezes most of the times
after login.
Any idea on how to fix it ?
thanks
Cant build on my i686 computer. I've tried make -i, I've had more text on my screen, but at the end, it fails
Any help is highly needed
root@raspberrypi:~/git/rtl8812au# make
make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.1.15-v7/build M=/root/git/rtl8812au modules
make[1]: Entering directory '/root/git/linux'
CC [M] /root/git/rtl8812au/core/rtw_cmd.o
./scripts/recordmcount: 1: ./scripts/recordmcount: Syntax error: end of file unexpected
scripts/Makefile.build:258: recipe for target '/root/git/rtl8812au/core/rtw_cmd.o' failed
make[2]: *** [/root/git/rtl8812au/core/rtw_cmd.o] Error 2
Makefile:1384: recipe for target 'module/root/git/rtl8812au' failed
make[1]: *** [module/root/git/rtl8812au] Error 2
make[1]: Leaving directory '/root/git/linux'
Makefile:1052: recipe for target 'modules' failed
make: *** [modules] Error 2
Using master branch I get a ton of RX dropped packets.
enp0s29u1u2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.30.140.83 netmask 255.255.0.0 broadcast 172.30.255.255
inet6 fe80::c66e:1fff:fe18:467b prefixlen 64 scopeid 0x20<link>
ether c4:6e:1f:18:46:7b txqueuelen 1000 (Ethernet)
RX packets 24662 bytes 32564935 (2.0 MiB)
RX errors 0 dropped 3310 overruns 0 frame 0
TX packets 11131 bytes 1101011 (1.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Linux: Linux HP-NONE 3.19.0-1-ARCH #1 SMP PREEMPT Mon Feb 9 07:08:20 CET 2015 x86_64 GNU/Linux
For adding my device I made the following patch:
diff -rupN rtl8812AU_short/os_dep/linux/usb_intf.c rtl8812AU_long/os_dep/linux/usb_intf.c
--- rtl8812AU_short/os_dep/linux/usb_intf.c 2013-05-17 05:33:38.000000000 +0200
+++ rtl8812AU_long/os_dep/linux/usb_intf.c 2013-07-27 10:38:04.000000000 +0200
@@ -256,7 +256,7 @@ static struct usb_device_id rtw_usb_id_t
{USB_DEVICE(USB_VENDER_ID_REALTEK, 0x881B),.driver_info = RTL8812},/* Default ID /
{USB_DEVICE(USB_VENDER_ID_REALTEK, 0x881C),.driver_info = RTL8812},/ Default ID /
/=== Customer ID ===*/
This patch is derived from http://wikidevi.com/files/Drivers/Realtek/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517_addl_IDs_added.tar.bz2
However, 5 GHz mode doesn't work for me. Any ideas?
I'm trying to compile this driver for Linux 3.12.26, and in the middle of running make
, everything goes fine until this error message pops up:
make[2]: *** No rule to make target `[directory]/hal/led/hal_usb_led.o', needed by `[directory]/8812au.o`. Stop.
What is this error?
Using the driver in this library together with the AWUS036AC containing the "Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter"(lsusb output) I could not get Ad-hoc working. I did not test any other functionality and I'm not well versed in C so I did not dig that hard through the source. However, by using the driver found on Alfa networks site: http://www.alfa.com.tw/download_show.php?combo_0=&combo_1=&combo_2=&keyword=awus036ac&verify=7rrkpx&x=0&y=0 (driver direct link: https://www.dropbox.com/s/6uruc5og6xw1877/rtl8812au_linux-master.tar.gz?dl=0) and adding the if statement about Raspberry Pi compilation from this project, I got the device running and Ad-hoc mode working. Just thought I would throw that out there in case there are any significant changes or additions in Alfa network's driver.
When I try to run the Makefile I am receiving this error:
*** No rule to make target 'modules'. Stop.
Makefile:1051: recipe for target 'modules' failed
make: *** [modules] Error 2
And line 1050 and 1051 read:
modules:
I am running Kali 2.0.1 on a Raspberry Pi 2. Anyone know why this might happen? And yes I did turn off I386 and on arm rpi. Thank you for your time and I hope to hear back from you shortly!!
could you please add a license to the code?
I am using an Asus USB-AC56 wireless adapter which also utilizes this driver.
It successfully built & loaded the code by gnab and the adapter successfully connected.
However I discovered that it has very limited range: if I am in direct line of sight of the router, it will work with high dowload rate - however if slightly removed, it goes down considerably.
i.e. with the device in the same physical location I can achieve ~ 45 Mbps (Internet Speed Test) in Windows vs 1-2 Mbps in Linux. But if I move to a closer proximity, the performance is comparable.
Similarly, with the notebook in the same physical location, I get high download rate with the internal adapter in Linux, vs limited with the USB-AC56
Now - I notice on the Asus web-site, they have newer driver rev 4.2.5 available here:
http://support.asus.com/Download.aspx?SLanguage=en&m=USB-AC56&p=11&s=1
In the application notes is says
"Update MAC/BB/RF parameters and mechanism to improve overall performance" so I am curious if this will address the range issue.
However the 4.2.5 will not load - the release says for Kernel support 2.6.18 ~ 3.10 - I am running 3.11.
Does this have the same issue that was outlined re the proc entry API?
I'd be keen to try 4..2.5 to see if that resolves the range issue.
Thank you for your development in this area - it is much appreciated!
Hello
I am trying to build driver for Bpi, but I can't. I tryed to build on laptop (core 2 duo) and on bpi, but I can't. I installed driver for i386 without any problems, but for arm, I can't. I changed only two lines.
CONFIG_PLATFORM_I386_PC = n -> from y to n
CONFIG_PLATFORM_ARM_SUNxI = y -> from n to y . I think, it's correct platform
pawel@bpi:/p/rtl8812au-master$ make
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- -C M=/p/rtl8812au-master modules
make[1]: *** M=/p/rtl8812au-master: Nie ma takiego pliku ani katalogu. Stop.
Makefile:1051: polecenia dla obiektu 'modules' nie powiodły się
Translation:
Nie ma takiego pliku ani katalogu -> no such file or directory
polecenia dla obiektu 'modules' nie powiodły się -> command for object 'modules' failed (I am not sure if corrected translated)
Błąd 2 -> error 2
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.2.0-4-amd64/build M=/root/rtl8821au modules
make[1]: Entering directory /usr/src/linux-headers-3.2.0-4-amd64' CC [M] /root/rtl8821au/os_dep/osdep_service.o In file included from /root/rtl8821au/wifi.h:5:0, from /root/rtl8821au/include/drv_types.h:34, from /root/rtl8821au/os_dep/osdep_service.c:24: /root/rtl8821au/usb.h:52:12: error: ‘NUM_STA’ undeclared here (not in a function) /root/rtl8821au/usb.h:68:21: error: ‘HW_QUEUE_ENTRY’ undeclared here (not in a function) /root/rtl8821au/usb.h:107:21: error: field ‘ledpriv’ has incomplete type /root/rtl8821au/usb.h:125:77: warning: ‘struct xmit_buf’ declared inside parameter list [enabled by default] /root/rtl8821au/usb.h:125:77: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] In file included from /root/rtl8821au/include/drv_types.h:34:0, from /root/rtl8821au/os_dep/osdep_service.c:24: /root/rtl8821au/wifi.h:777:10: error: ‘MAX_RF_PATH_NUM’ undeclared here (not in a function) /root/rtl8821au/wifi.h:1335:20: error: ‘P2P_MAX_NOA_NUM’ undeclared here (not in a function) /root/rtl8821au/wifi.h:1525:19: error: field ‘mlmepriv’ has incomplete type /root/rtl8821au/wifi.h:1526:23: error: field ‘mlmeextpriv’ has incomplete type /root/rtl8821au/wifi.h:1527:18: error: field ‘cmdpriv’ has incomplete type /root/rtl8821au/wifi.h:1528:18: error: field ‘evtpriv’ has incomplete type /root/rtl8821au/wifi.h:1530:19: error: field ‘xmitpriv’ has incomplete type /root/rtl8821au/wifi.h:1531:19: error: field ‘recvpriv’ has incomplete type /root/rtl8821au/wifi.h:1532:18: error: field ‘stapriv’ has incomplete type /root/rtl8821au/wifi.h:1533:23: error: field ‘securitypriv’ has incomplete type /root/rtl8821au/wifi.h:1534:23: error: field ‘registrypriv’ has incomplete type /root/rtl8821au/wifi.h:1535:22: error: field ‘pwrctrlpriv’ has incomplete type /root/rtl8821au/wifi.h:1536:22: error: field ‘eeprompriv’ has incomplete type /root/rtl8821au/wifi.h:1685:54: warning: ‘enum led_ctl_mode’ declared inside parameter list [enabled by default] /root/rtl8821au/wifi.h:1742:60: warning: ‘enum CHANNEL_WIDTH’ declared inside parameter list [enabled by default] /root/rtl8821au/wifi.h:1744:78: warning: ‘enum CHANNEL_WIDTH’ declared inside parameter list [enabled by default] In file included from /root/rtl8821au/include/drv_types.h:34:0, from /root/rtl8821au/os_dep/osdep_service.c:24: /root/rtl8821au/wifi.h:1751:56: error: unknown type name ‘HAL_INTF_PS_FUNC’ /root/rtl8821au/wifi.h:1753:55: warning: ‘struct xmit_frame’ declared inside parameter list [enabled by default] /root/rtl8821au/wifi.h:1754:56: warning: ‘struct xmit_frame’ declared inside parameter list [enabled by default] /root/rtl8821au/wifi.h:1755:68: warning: ‘struct xmit_frame’ declared inside parameter list [enabled by default] /root/rtl8821au/wifi.h:1757:58: warning: ‘struct c2h_evt_hdr’ declared inside parameter list [enabled by default] /root/rtl8821au/wifi.h:1758:2: error: unknown type name ‘c2h_id_filter’ In file included from /root/rtl8821au/include/drv_types.h:35:0, from /root/rtl8821au/os_dep/osdep_service.c:24: /root/rtl8821au/include/ieee80211.h:256:32: error: field ‘ht_cap’ has incomplete type /root/rtl8821au/include/ieee80211.h:281:30: error: field ‘ht_cap’ has incomplete type In file included from /root/rtl8821au/include/drv_types.h:41:0, from /root/rtl8821au/os_dep/osdep_service.c:24: /root/rtl8821au/include/rtw_ht.h:46:30: error: field ‘ht_cap’ has incomplete type In file included from /root/rtl8821au/include/drv_types.h:61:0, from /root/rtl8821au/os_dep/osdep_service.c:24: /root/rtl8821au/include/rtw_mlme.h:166:16: error: ‘WLAN_SSID_MAXLEN’ undeclared here (not in a function) In file included from /root/rtl8821au/include/drv_types.h:61:0, from /root/rtl8821au/os_dep/osdep_service.c:24: /root/rtl8821au/include/rtw_mlme.h:229:37: error: ‘P2P_MAX_PERSISTENT_GROUP_NUM’ undeclared here (not in a function) /root/rtl8821au/include/rtw_mlme.h:235:18: error: field ‘role’ has incomplete type /root/rtl8821au/include/rtw_mlme.h:236:19: error: field ‘pre_p2p_state’ has incomplete type /root/rtl8821au/include/rtw_mlme.h:237:19: error: field ‘p2p_state’ has incomplete type /root/rtl8821au/include/rtw_mlme.h:245:33: error: ‘P2P_WILDCARD_SSID_LEN’ undeclared here (not in a function) /root/rtl8821au/include/rtw_mlme.h:250:28: error: ‘WPS_MAX_DEVICE_NAME_LEN’ undeclared here (not in a function) /root/rtl8821au/include/rtw_mlme.h:280:20: error: field ‘ui_got_wps_info’ has incomplete type In file included from /root/rtl8821au/include/drv_types.h:69:0, from /root/rtl8821au/os_dep/osdep_service.c:24: /root/rtl8821au/include/rtw_mlme_ext.h:394:24: error: field ‘ADDBA_req’ has incomplete type /root/rtl8821au/include/rtw_mlme_ext.h:395:26: error: field ‘WMM_param’ has incomplete type /root/rtl8821au/include/rtw_mlme_ext.h:396:25: error: field ‘HT_caps’ has incomplete type /root/rtl8821au/include/rtw_mlme_ext.h:397:26: error: field ‘HT_info’ has incomplete type make[4]: *** [/root/rtl8821au/os_dep/osdep_service.o] Error 1 make[3]: *** [_module_/root/rtl8821au] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory
/usr/src/linux-headers-3.2.0-4-amd64'
make: *** [modules] Error 2
Under kernel 3.13.0-24 compilation of driver fails, reports asm/bitsperlong.h file is missing
derp, posted issue to wrong project page.
Otherwise there will be massive amount of logs of the driver put into dmesg, it impacts the performance quite a lot.
Here is the patch:
--- autoconf.h 2015-06-17 16:01:11.000000000 +0800
+++ autoconf.h.patched 2015-06-17 16:00:40.000000000 +0800
@@ -378,14 +378,14 @@
/*
* Debug Related Config
*/
-#define DBG 1
+#define DBG 0
-#define CONFIG_DEBUG /* DBG_871X, etc... */
+//#define CONFIG_DEBUG /* DBG_871X, etc... */
//#define CONFIG_DEBUG_RTL871X /* RT_TRACE, RT_PRINT_DATA, _func_enter_, _func_exit_ */
-#define CONFIG_PROC_DEBUG
+//#define CONFIG_PROC_DEBUG
-#define DBG_CONFIG_ERROR_DETECT
+//#define DBG_CONFIG_ERROR_DETECT
//#define DBG_CONFIG_ERROR_DETECT_INT
//#define DBG_CONFIG_ERROR_RESET
I changed the Makefile to the ARM_PI, however I get the following error when trying to execute make:
root@raspberrypi:/home/pi/wifidriver/rtl8812au# make
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -C /home/tm-pc-vm1x64/GitHub/linux M=/home/pi/wifidriver/rtl8812au modules
make[1]: Entering directory '/home/tm-pc-vm1x64/GitHub/linux'
make[1]: Nothing to be done for 'modules'.
make[1]: Leaving directory '/home/tm-pc-vm1x64/GitHub/linux'
I tried to set wifi mode to "Monitor", but it prompts "Invalid argument"; if I set mode to "Ad-Hoc", then it worked. I jus want to know the chipset rtl8812 isn't support this feature from hardware, or this driver isn't support it.
The following is error message.
[root@localhost Downloads]# iwconfig enp0s26u1u6 mode Monitor
Error for wireless request "Set Mode" (8B06) :
SET failed on device enp0s26u1u6 ; Invalid argument.
Hey @gnab! Nice of you to maintain this driver.
I followed the instructions and ran make on my station. I have the forementioned dongle in my PC. make ran wonderfully, insmod no problem but for some reason my Trendnet still doesn't want to play nice.
uname
Linux mystation 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:06:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
lsmod
Module Size Used by
8812au 1149281 0
snd_hda_codec_hdmi 47547 1
snd_hda_codec_realtek 76887 1
snd_hda_codec_generic 68914 1 snd_hda_codec_realtek
rfcomm 69509 0
bnep 19543 2
snd_hda_intel 30420 3
snd_hda_controller 35152 1 snd_hda_intel
bluetooth 446190 10 bnep,rfcomm
snd_hda_codec 139675 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep 17698 1 snd_hda_codec
snd_pcm 104102 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
i915 917658 3
snd_seq_midi 13564 0
snd_seq_midi_event 14899 1 snd_seq_midi
snd_rawmidi 30876 1 snd_seq_midi
6lowpan_iphc 18702 1 bluetooth
snd_seq 67224 2 snd_seq_midi_event,snd_seq_midi
hid_generic 12559 0
snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 29513 2 snd_pcm,snd_seq
intel_powerclamp 18786 0
gpio_ich 13579 0
snd 87611 17 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
coretemp 13441 0
parport_pc 32741 0
video 20128 1 i915
soundcore 15052 2 snd,snd_hda_codec
mac_hid 13227 0
kvm_intel 143592 0
ppdev 17671 0
usbhid 52566 0
kvm 459835 1 kvm_intel
drm_kms_helper 61627 1 i915
drm 310919 5 i915,drm_kms_helper
hid 110426 2 hid_generic,usbhid
mei_me 19742 0
lp 17759 0
serio_raw 13434 0
i2c_algo_bit 13406 1 i915
mei 87931 1 mei_me
parport 42299 3 lp,ppdev,parport_pc
wmi 19193 0
lpc_ich 21093 0
e1000e 230184 0
psmouse 106593 0
ahci 34062 2
ptp 19445 1 e1000e
libahci 32424 1 ahci
pps_core 19333 1 ptp
lsusb
Bus 002 Device 010: ID 20f4:804b TRENDnet
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x20f4 TRENDnet
idProduct 0x804b
bcdDevice 2.00
iManufacturer 1 Realtek
iProduct 2 802.11n WLAN Adapter
iSerial 3 00e04c000001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 60
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 6
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 802.11n WLAN Adapter
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x08 EP 8 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x09 EP 9 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 12
bNumDeviceCaps 1
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000002
Link Power Management (LPM) Supported
Device Status: 0x0001
Self Powered
syslog
Feb 8 21:41:59 lenovo-old-piper kernel: [ 1769.689311] usb 2-1.8: new high-speed USB device number 10 using ehci-pci
Feb 8 21:41:59 lenovo-old-piper kernel: [ 1769.782720] usb 2-1.8: New USB device found, idVendor=20f4, idProduct=804b
Feb 8 21:41:59 lenovo-old-piper kernel: [ 1769.782728] usb 2-1.8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb 8 21:41:59 lenovo-old-piper kernel: [ 1769.782733] usb 2-1.8: Product: 802.11n WLAN Adapter
Feb 8 21:41:59 lenovo-old-piper kernel: [ 1769.782736] usb 2-1.8: Manufacturer: Realtek
Feb 8 21:41:59 lenovo-old-piper kernel: [ 1769.782740] usb 2-1.8: SerialNumber: 00e04c000001
Feb 8 21:41:59 lenovo-old-piper mtp-probe: checking bus 2, device 10: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8"
Feb 8 21:41:59 lenovo-old-piper mtp-probe: bus: 2, device: 10 was not an MTP device
No occurence in iwconfig, ifconfig, network manager etc. I even installed it and rebooted to make sure but still nothing.
If you can shed some light on this I'd really appreciate it.
Cheers mate!
I am trying to cross-compile the Edimax EW7811UTC driver for Arch Linux-3.4.103 in Ubuntu. But I am always getting the following OUTPUT without any error and 8812au.ko file.
OUTPUT:
make: Entering directory /home/nagarjun/linux-sunxi/cubie/sunx7i_22'
LD /home/nagarjun/Desktop/EW7811UTC/built-in.o
Building modules, stage 2.
MODPOST 0 modules
make: Leaving directory/home/nagarjun/linux-sunxi/cubie/sunx7i_22'
COMMAND:
make ARCH=arm CROSS_COMPILE=${CC201310} -C /home/nagarjun/linux-sunxi/cubie/sunx7i_22/ M=$PWD
Where,
${CC201310} : is the cross compiler path, which was set properly
$PWD : is the driver directory
/home/nagarjun/linux-sunxi/cubie/sunx7i_22 : My Arch Linux Kernel Source
I tried the native Arch Linux compilation as well and the output is same as I mentioned above. Any help regarding the above is much appreciated.
I can make it work in AP mode in either 2.4GHz or 5GHz band. When compiled with CONFIG_CONCURRENT_MODE it creates two devices and I can run a hostapd on each of them
(one configured for 2.4GHz channel and one for a 5GHz channel).
However when the second hostapd starts it always sets both devices to the same channel.
Seems like "concurrent mode" only means you can have one AP and one STA in parallel.
Does RTL8812AU support simultaneous use of both bands in general?
As it is flagged as AC1200 both radios should be able to operate in parallel.
What's the difference between this repository and https://github.com/abperiasamy/rtl8812AU_8821AU_linux ?
Hey,
i'm getting a couple of errors when im trying to build the module.
Here's a log:
makelog.txt
When i plug in my wifi stick EW-7811UTC it is recognized, but i can't connect to any network.
Here is a log from the attempt to connect (dmesg | grep RTL871X):
connectlog.txt
I experience this bug on many new Kernels 4.2+.
Any idea how to fix this?
Hey I tried using the make install method but i get the followoing error:
root@kali:~/rtl8812au-master# make make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/3.18.9-v7/build M=/root/rtl8812au-master modules make: * /lib/modules/3.18.9-v7/build: No such file or directory. Stop. make: * [modules] Error 2
Please can you help me sort it out or point me in the right direction thanks.
Hi,
Perhaps it is necessary to add discovery of Edimax EW-7811UAC to 8812 and not 8821?
I have an Edimax EW-7811UAC, and I am typing this using this device as the wifi adapter, so - success! But, I needed to modify usb_intf.c.
Now, I'm not a developer - and hence haven't much clue what I'm doing, but - when I compiled the driver using the original usb_intf.c and installed the module and updated dependencies, no light flashed on the device and Mint 17 network management showed wireless with a cross. iwconfig showed everything off.
So, I added:
{USB_DEVICE(0x7392, 0xA813),.driver_info = RTL8812}, /* Edimax - EW-7811UAC */
to the #ifdef CONFIG_RTL8812A section, and - hey presto - it worked!
I did this because lsusb returns:
Bus 002 Device 011: ID 7392:a812 Edimax Technology Co., Ltd
Therefore, perhaps it is necessary to add discovery of this device to 8812 as well?
Sorry for any technical misunderstandings, J
I had to edit os_dep/linux/usb_intf.c and comment out line 1995 to compile with kernel 3.14.2. This is explained in patch codeworkx/rtl8812au_asus@a3ddf29 (which cannot be merged directly as this repository has a different file structure).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.