Open SolZer opened 6 years ago
Hi Solzer, did you recompile the driver? When kernel upgrades occur the driver modules are not copied over to the new kernel. Usually a make; sudo make install
(and then reboot or insmod
) should correct this. Just checking.
Kernel v4.19 will need a patch to her supported. Take a look in "gordboy" repo
Hi ekeyser, I know this thread is getting a little old but I had the same issue when Fedora upgraded to 4.19 kernel. My particular issue was a duplicate #define error in ./include/wifi.h: Line 980: #define IEEE80211_MAX_AMPDU_BUF 0x40 which was also defined elsewhere as #define IEEE80211_MAX_AMPDU_BUF 0x100. So I commented out this #define in wifi.h and let it compile: /#define IEEE80211_MAX_AMPDU_BUF 0x40/ This worked for me. Can't guarantee it'll work for everyone but it's something to try if nothing else works and it's easy. I know there's probably a reason to make this particular buffer smaller but it maxes out my internet speed and works after reboots so I don't care :-)
If only someone would upstream the patches from: https://github.com/gordboy/rtl8812au
I guess I have the same problem.
CC [M] /home/faraz/rtl8812au-master/os_dep/linux/os_intfs.o
/home/faraz/rtl8812au-master/os_dep/linux/os_intfs.c:1069:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.ndo_select_queue = rtw_select_queue,
^~~~~~~~~~~~~~~~
/home/faraz/rtl8812au-master/os_dep/linux/os_intfs.c:1069:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
cc1: some warnings being treated as errors
scripts/Makefile.build:303: recipe for target '/home/faraz/rtl8812au-master/os_dep/linux/os_intfs.o' failed
make[2]: *** [/home/faraz/rtl8812au-master/os_dep/linux/os_intfs.o] Error 1
Makefile:1517: recipe for target '_module_/home/faraz/rtl8812au-master' failed
make[1]: *** [_module_/home/faraz/rtl8812au-master] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.10-041910-generic'
Makefile:1064: recipe for target 'modules' failed
make: *** [modules] Error 2
gcc --version
gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
uname -r -v -m
4.19.10-041910-generic #201812170433 SMP Mon Dec 17 09:35:34 UTC 2018 x86_64
I'm having same problem with 4.20
$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.20.0-042000-generic/build M=/home/ettinger/tmp/rtl8812au modules
make[1]: Entering directory '/usr/src/linux-headers-4.20.0-042000-generic'
CC [M] /home/ettinger/tmp/rtl8812au/os_dep/linux/os_intfs.o
/home/ettinger/tmp/rtl8812au/os_dep/linux/os_intfs.c:1069:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.ndo_select_queue = rtw_select_queue,
^~~~~~~~~~~~~~~~
/home/ettinger/tmp/rtl8812au/os_dep/linux/os_intfs.c:1069:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
cc1: some warnings being treated as errors
scripts/Makefile.build:291: recipe for target '/home/ettinger/tmp/rtl8812au/os_dep/linux/os_intfs.o' failed
make[2]: *** [/home/ettinger/tmp/rtl8812au/os_dep/linux/os_intfs.o] Error 1
Makefile:1563: recipe for target '_module_/home/ettinger/tmp/rtl8812au' failed
make[1]: *** [_module_/home/ettinger/tmp/rtl8812au] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.20.0-042000-generic'
Makefile:1064: recipe for target 'modules' failed
make: *** [modules] Error 2
Compare Makefile and os_dep/linux/os_intfs.c between gnab and gordboy versions.
In the Makefile there are a few extra flags that differ. My guess is that this is irrelevant but I changed them anyway so that both files match.
In os_dep/linux/os_intfs.c search for rtw_select_queue. There are three occurrences. The last two are identical at the time of this writing. The first is within a series of if statements. The gordboy version has an extra one for kernel 4.19.
Replace the gnab chunk with the gordboy version and you are done: it compiles and works.
Tested with liquorix 4.19 on Bodhi 5 (Ubuntu 18.04).
Same problem now --
Kali Linux, uname -a -> Linux [redacted] 4.19.0-kali1-amd64 #1 SMP Debian 4.19.13-1kali1 (2019-01-03) x86_64 GNU/Linux
Exact same error as @chovy when trying to make
the driver. It may be worth noting that the guide I followed suggested an apt install linux-headers-generic
before even cloning this repo, and on Kali, I cannot find that package.
There’s an app called uuuk or something like that. It allows you to easily install newer kernels. That worked for me.
- Anthony
On Jan 23, 2019, at 7:54 PM, Misha Turnbull notifications@github.com wrote:
Same problem now --
Kali Linux, uname -a -> Linux [redacted] 4.19.0-kali1-amd64 #1 SMP Debian 4.19.13-1kali1 (2019-01-03) x86_64 GNU/Linux
Exact same error as @chovy when trying to make the driver. It may be worth noting that the guide I followed suggested an apt install linux-headers-generic before even cloning this repo, and on Kali, I cannot find that package.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Yesterday I did a system upgrade and Liquorix 4.20 was installed. The module was build automatically via DKMS. This means that the simple hack described above works for versions 4.19 and 4.20.
The fix went live in 4.19+ so you don't need to do any hacks.
On Thu, Jan 24, 2019 at 7:11 AM mirix notifications@github.com wrote:
Yesterday I did a system upgrade and Liquorix 4.20 was installed. The module was build automatically via DKMS. This means that the simple hack described above works for versions 4.19 and 4.20.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnab/rtl8812au/issues/154#issuecomment-457231518, or mute the thread https://github.com/notifications/unsubscribe-auth/AABq9TmASSTsByvIYxiRNg-7q2Z20TFlks5vGc0RgaJpZM4X8YUg .
-- Anthony Ettinger http://anthony.ettinger.name anthony@ettinger.name +1 (831) 406-1123
I've had no luck installing via DKMS or the gordboy repo, but what I was able to do was use the CD drive that came with the dongle to install the Bluetooth driver, and the WiFi driver via https://github.com/lwfinger/8723bu. If anyone's interested I can post the code from the CD drive.
I'm sorry I misled you. I thought this was about sound drivers for my laptop, not the wifi card. I don't know how to get it to work.
Misha, the gordboy code doesn't work for me either. What works is hacking a couple of files from this repo as explained above.
No need to touch the Makefile. Just replace os_dep/linux/os_intfs.c with the attached file (change extension from .txt to .c) and your are good to go.
Hi guys, the aircrack-ng/rtl8812au drivers work for me. I have tested driver v5.3.4 against kernel 4.19.19. It works out of the box (DKMS method), the repo seems to be actively maintained, it wraps all the commands in convenient install/uninstall scripts, it is supposed to work with kernels 4.20 and 5.0, and it contains more recent versions of the drivers (not the most recent, though).
@mirix where can i read more about this?
upgraded from 4.18 to 4.19, and wifi adapter is no longer recognized
I have made a fix so it works with 4.19. and also 5.0. here: https://github.com/AstroDrabb/rtl8812au
Can you give me foil proof instructions for installing the driver in Ubuntu?
- Anthony
On Mar 24, 2019, at 2:15 PM, Jim notifications@github.com wrote:
upgraded from 4.18 to 4.19, and wifi adapter is no longer recognized
I have made a fix so it works with 4.19. and also 5.0. here: https://github.com/AstroDrabb/rtl8812au
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
It has been a long time since I used Ubuntu, however the steps to try are:
git clone https://github.com/AstroDrabb/rtl8812au sudo mkdir -p /usr/src # might already exist sudo cp -r rtl8812au /usr/src
sudo dkms add -m rtl8812au -v 4.2.2 --all sudo dkms build -m rtl8812au -v 4.2.2 -k $(uname -r) sudo dkms install -m rtl8812au -v 4.2.2 -k $(uname -r)
the driver should now be installed. Network Manager should give you a notice. If not, reboot and go in to Network Manager and look for you USB adapter and configure it.
Let me know if you need any more help.
Jim
On Sun, Mar 24, 2019 at 7:33 PM Anthony Ettinger notifications@github.com wrote:
Can you give me foil proof instructions for installing the driver in Ubuntu?
- Anthony
On Mar 24, 2019, at 2:15 PM, Jim notifications@github.com wrote:
upgraded from 4.18 to 4.19, and wifi adapter is no longer recognized
I have made a fix so it works with 4.19. and also 5.0. here: https://github.com/AstroDrabb/rtl8812au
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gnab/rtl8812au/issues/154#issuecomment-476012940, or mute the thread https://github.com/notifications/unsubscribe-auth/AJQEHzkiAWHpGuyjhKEmzrgzxowiUQn4ks5vaAtBgaJpZM4X8YUg .
step by step instructions for manjaro is also very much appreciated.. I can't seem to make this work :(
It has been a long time since I used Ubuntu, however the steps to try are: git clone https://github.com/AstroDrabb/rtl8812au sudo mkdir -p /usr/src # might already exist sudo cp -r rtl8812au /usr/src sudo dkms add -m rtl8812au -v 4.2.2 --all sudo dkms build -m rtl8812au -v 4.2.2 -k $(uname -r) sudo dkms install -m rtl8812au -v 4.2.2 -k $(uname -r) the driver should now be installed. Network Manager should give you a notice. If not, reboot and go in to Network Manager and look for you USB adapter and configure it. Let me know if you need any more help. Jim On Sun, Mar 24, 2019 at 7:33 PM Anthony Ettinger notifications@github.com wrote: … Can you give me foil proof instructions for installing the driver in Ubuntu? - Anthony > On Mar 24, 2019, at 2:15 PM, Jim @.**> wrote: > > upgraded from 4.18 to 4.19, and wifi adapter is no longer recognized > > I have made a fix so it works with 4.19. and also 5.0.* here: > https://github.com/AstroDrabb/rtl8812au > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#154 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AJQEHzkiAWHpGuyjhKEmzrgzxowiUQn4ks5vaAtBgaJpZM4X8YUg . I am running on Kernel 5.0 and the install failed at the last step:
8812au: Running module version sanity check. /usr/sbin/dkms: line 784: find_module: command not found modinfo: ERROR: missing module or filename.
help me please i cant install realtek 8188
The Error
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-4.19.0-kali4-common/scripts/Makefile.build:309: /root/linux/RTL8188EUS_linux_v4.1.4_6773.20130222/driver/rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_cmd.o] Error 1
make[3]: *** [/usr/src/linux-headers-4.19.0-kali4-common/Makefile:1535: _module_/root/linux/RTL8188EUS_linux_v4.1.4_6773.20130222/driver/rtl8188EUS_linux_v4.1.4_6773.20130222] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-kali4-686-pae'
make: *** [Makefile:678: modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
My OS : Kali Linux 2019 (32)
RTL8188EUS is not in the 8812AU family. You need a driver made for your chipset. If you google for ' github RTL8188EUS ' you will bring up several repos for 8188EUS drivers.
upgraded from 4.18 to 4.19, and wifi adapter is no longer recognized