Fedora 32:
change to latest branch for working driver
first default which goes wrong:
make’ -j4 KVER=5.9.13-100.fc32.x86_64 KSRC=/lib/modules/5.9.13-100.fc32.x86_64/build…(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.9.13-100.fc32.x86_64 (x86_64)
Consult /var/lib/dkms/rtl8812au/5.3.4/build/make.log for more information.
Finished running dkms install steps.
[me@localhost rtl8812au]$ git branch -a
- v5.3.4
remotes/origin/HEAD → origin/v5.6.4.2
remotes/origin/v4.3.21
remotes/origin/v5.1.5
remotes/origin/v5.2.20
remotes/origin/v5.2.9
remotes/origin/v5.3.4
remotes/origin/v5.6.4
remotes/origin/v5.6.4.2
remotes/origin/v5.7.0
[me@localhost rtl8812au]$ git checkout v5.7.0
Branch ‘v5.7.0’ set up to track remote branch ‘v5.7.0’ from ‘origin’.
Switched to a new branch ‘v5.7.0’
[me@localhost rtl8812au]$ git branch -a
v5.3.4
- v5.7.0
remotes/origin/HEAD → origin/v5.6.4.2
remotes/origin/v4.3.21
remotes/origin/v5.1.5
remotes/origin/v5.2.20
remotes/origin/v5.2.9
remotes/origin/v5.3.4
remotes/origin/v5.6.4
remotes/origin/v5.6.4.2
remotes/origin/v5.7.0
[me@localhost rtl8812au]$ git pull
Already up to date.
[me@localhost rtl8812au]$ git clone -b v5.7.0 GitHub - aircrack-ng/rtl8812au: RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
latest version !
Cloning into ‘rtl8812au’…
remote: Enumerating objects: 16, done.
remote: Counting objects: 100% (16/16), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 10540 (delta 7), reused 3 (delta 0), pack-reused 10524
Receiving objects: 100% (10540/10540), 70.22 MiB | 16.39 MiB/s, done.
Resolving deltas: 100% (7335/7335), done.
[me@localhost rtl8812au]$ sudo ./dkms-install.sh
About to run dkms install steps…
Creating symlink /var/lib/dkms/rtl8812au/5.7.0/source →
/usr/src/rtl8812au-5.7.0
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping…
Building module:
cleaning build area…
‘make’ -j4 KVER=5.9.13-100.fc32.x86_64 KSRC=/lib/modules/5.9.13-100.fc32.x86_64/build…
cleaning build area…
DKMS: build completed.
88XXau.ko.xz:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.9.13-100.fc32.x86_64/extra/
Adding any weak-modules
depmod…
DKMS: install completed.
Finished running dkms install steps.