You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use branch ubuntu-18.04,
there are no errors reported at install stage, but when test new module, it appears:
[] Not running the new rtlwifi (running stock driver)
[] Not running the new rtl8192c_common (running stock driver)
[*] Not running the new rtl8192ce (running stock driver)
after dig into the source code, bug fixed with the following change:
diff --git a/Makefile b/Makefile
index 54ae3a9..4b909c2 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
CC = gcc
KVER := $(shell uname -r)
KSRC := /lib/modules/$(KVER)/build
-MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/rtlwifi
+MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/realtek/rtlwifi
FIRMWAREDIR := /lib/firmware/
PWD := $(shell pwd)
CLR_MODULE_FILES := *.mod.c *.mod *.o .*.cmd *.ko *~ .tmp_versions* modules.order Module.symvers
diff --git a/functions.sh b/functions.sh
index 718fe9e..88f260b 100644
--- a/functions.sh
+++ b/functions.sh
@@ -352,7 +352,7 @@ runningStockRtl8821ae ()
runningAnyRtl8821ae && ! runningOurRtl8821ae
}
-readonly rtlwifi_orig="/lib/modules/$(uname -r)/kernel/drivers/net/wireless/rtlwifi"
+readonly rtlwifi_orig="/lib/modules/$(uname -r)/kernel/drivers/net/wireless/realtek/rtlwifi"
readonly rtlwifi_backup_dir="$HOME/.rtlwifi-backup"
readonly rtlwifi_backup_outfile="$rtlwifi_backup_dir/$(uname -r).tar.gz"
@@ -387,7 +387,7 @@ backupCurrent ()
mkdir -p "$rtlwifi_backup_dir"
tar -czf "$rtlwifi_backup_outfile" -C "$rtlwifi_orig" . > /dev/null 2>&1
else
- echo "Could not backup rtlwifi because it could not be found! Expected at $rtlwifi_orig" >&2
+ echo "Could not backup rtlwifi because it could not be found! Expected at $rtlwifi_orig"
fi
fi
}
The text was updated successfully, but these errors were encountered:
use branch
ubuntu-18.04
,there are no errors reported at install stage, but when test new module, it appears:
after dig into the source code, bug fixed with the following change:
The text was updated successfully, but these errors were encountered: