1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-12-22 06:15:50 +00:00

fix errors

This commit is contained in:
morrownr 2022-12-17 16:55:37 -06:00
parent 1769c60f93
commit b197dee08a
3 changed files with 15 additions and 6 deletions

View File

@ -88,7 +88,7 @@ knowledgable RHEL developers if they want to merge the required
support and keep it current. support and keep it current.
Note: Android is not supported but I will support Android developers if they Note: Android is not supported but I will support Android developers if they
want to merge and keep current the required support (most like just want to merge and keep current the required support (most likely just
instructions about how to compile and maybe a modification or two to Makefile). instructions about how to compile and maybe a modification or two to Makefile).
@ -328,13 +328,13 @@ sudo xbps-install linux-headers dkms git make
If using pacman If using pacman
``` ```
sudo pacman -S --noconfirm linux-headers dkms git bc sudo pacman -S --noconfirm linux-headers dkms git
``` ```
Note: The following is needed if using Manjaro for RasPi4B. Note: The following is needed if using Manjaro for RasPi4B.
``` ```
sudo pacman -S --noconfirm linux-rpi4-headers dkms git bc sudo pacman -S --noconfirm linux-rpi4-headers dkms git
``` ```
Note: If you are asked to choose a provider, make sure to choose the one Note: If you are asked to choose a provider, make sure to choose the one

View File

@ -24,8 +24,8 @@
/* kills AP mode /* kills AP mode
* #define CONFIG_REGD_SRC_FROM_OS * #define CONFIG_REGD_SRC_FROM_OS
^/ */
*
/* Set CONFIG_RTL8821C from Makefile */ /* Set CONFIG_RTL8821C from Makefile */
#ifndef CONFIG_RTL8821C #ifndef CONFIG_RTL8821C
#define CONFIG_RTL8821C #define CONFIG_RTL8821C

View File

@ -16,7 +16,7 @@
# GNU General Public License for more details. # GNU General Public License for more details.
SCRIPT_NAME="install-driver.sh" SCRIPT_NAME="install-driver.sh"
SCRIPT_VERSION="20221208" SCRIPT_VERSION="20221217"
MODULE_NAME="8821cu" MODULE_NAME="8821cu"
DRV_VERSION="5.12.0.4" DRV_VERSION="5.12.0.4"
@ -125,6 +125,15 @@ then
/sbin/depmod -a ${KVER} /sbin/depmod -a ${KVER}
fi fi
# check for installed dkms installations (work in progress)
if command -v dkms >/dev/null 2>&1
then
if dkms status | grep -qw ${DRV_NAME}; then
echo "opps..."
exit 1
fi
fi
# information that helps with bug reports # information that helps with bug reports
# display kernel version # display kernel version