minor updates
This commit is contained in:
parent
51a2fb9489
commit
85216d0a15
27
README.md
27
README.md
@ -100,11 +100,12 @@ be provided via PR or message in Issues.
|
|||||||
Note: Red Hat Enterprise Linux (RHEL) and distros based on RHEL are not
|
Note: Red Hat Enterprise Linux (RHEL) and distros based on RHEL are not
|
||||||
supported due to the way kernel patches are handled. I will support
|
supported due to the way kernel patches are handled. I will support
|
||||||
knowledgable RHEL developers if they want to merge the required
|
knowledgable RHEL developers if they want to merge the required
|
||||||
support and keep it current.
|
support and keep it current. I reserve the right to delete this support
|
||||||
|
if it causes any problems.
|
||||||
|
|
||||||
Note: Android is supported in the driver according to Realtek. I will support
|
Note: Android is supported in the driver according to Realtek. I will support
|
||||||
knowledgable Android developers if they want to merge and keep current the
|
knowledgable Android developers if they want to merge and keep current the
|
||||||
required support (most likely just instructions about how to compile and maybe
|
required support (most likely just instructions about how to compile and make
|
||||||
a modification or two to the Makefile).
|
a modification or two to the Makefile).
|
||||||
|
|
||||||
### Compatible Devices
|
### Compatible Devices
|
||||||
@ -145,22 +146,20 @@ driver on installation and reactivate the in-kernel driver on removal. No
|
|||||||
special action needs to be taken by users.
|
special action needs to be taken by users.
|
||||||
|
|
||||||
Warning: Installing multiple out-of-kernel drivers for the same hardware
|
Warning: Installing multiple out-of-kernel drivers for the same hardware
|
||||||
usually does not end well. If a previous attempt to install this driver failed
|
usually does not end well. The install-driver.sh script has the capability
|
||||||
or if you have previously installed another driver for chipsets supported by
|
to detect and remove many conflicting drivers but not all. If this driver
|
||||||
this driver, you MUST remove anything that the previous attempt
|
does not work well after installation and you have previously installed a
|
||||||
installed BEFORE attempting to install this driver. This driver can be
|
driver that you did not remove, it suggested that you run the following
|
||||||
removed with the script called `./remove-driver.sh`. Information is
|
command in an effort to determine if you need to take action to manually
|
||||||
available in the section called `Removal of the Driver`. You can get a
|
remove conflicting drivers:
|
||||||
good idea as to whether you need to remove a previously installed
|
|
||||||
driver by running the following command:
|
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo dkms status
|
sudo dkms status
|
||||||
```
|
```
|
||||||
|
|
||||||
Warning: If you decide to upgrade to a new version of kernel such as
|
Warning: If you decide to do a distro upgrade, which will likely install a
|
||||||
5.15 to 6.1, you need to upgrade the driver you have installed with
|
new version of kernel such as 5.15 to 6.1, you need to upgrade this driver
|
||||||
the newest available before installing the new kernel. Use the
|
with the newest available before performing the disto upgrade. Use the
|
||||||
following commands in the driver directory:
|
following commands in the driver directory:
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -255,7 +254,7 @@ sudo reboot
|
|||||||
|
|
||||||
Note: If your Linux distro does not fall into one of options listed
|
Note: If your Linux distro does not fall into one of options listed
|
||||||
below, you will need to research how to properly setup up the development
|
below, you will need to research how to properly setup up the development
|
||||||
environment for your system. General guidance is given the next paragraph.
|
environment for your system. General guidance follows.
|
||||||
|
|
||||||
Development Environment Requirements: (package names may vary by distro)
|
Development Environment Requirements: (package names may vary by distro)
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -28,7 +28,7 @@
|
|||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
SCRIPT_NAME="remove-driver.sh"
|
SCRIPT_NAME="remove-driver.sh"
|
||||||
SCRIPT_VERSION="20230126"
|
SCRIPT_VERSION="20230226"
|
||||||
MODULE_NAME="88x2bu"
|
MODULE_NAME="88x2bu"
|
||||||
DRV_VERSION="5.13.1"
|
DRV_VERSION="5.13.1"
|
||||||
|
|
||||||
@ -77,6 +77,7 @@ echo ": ${KARCH} (architecture)"
|
|||||||
echo ": ${KVER} (kernel version)"
|
echo ": ${KVER} (kernel version)"
|
||||||
|
|
||||||
echo ": ---------------------------"
|
echo ": ---------------------------"
|
||||||
|
echo
|
||||||
|
|
||||||
# check for and remove non-dkms installations
|
# check for and remove non-dkms installations
|
||||||
# standard naming
|
# standard naming
|
||||||
@ -133,12 +134,15 @@ rm -rf /usr/src/${DRV_NAME}-${DRV_VERSION}
|
|||||||
make clean >/dev/null 2>&1
|
make clean >/dev/null 2>&1
|
||||||
echo "The driver was removed successfully."
|
echo "The driver was removed successfully."
|
||||||
echo "You may now delete the driver directory if desired."
|
echo "You may now delete the driver directory if desired."
|
||||||
|
echo ": ---------------------------"
|
||||||
|
echo
|
||||||
|
|
||||||
# if NoPrompt is not used, ask user some questions
|
# if NoPrompt is not used, ask user some questions
|
||||||
if [ $NO_PROMPT -ne 1 ]; then
|
if [ $NO_PROMPT -ne 1 ]; then
|
||||||
printf "Do you want to reboot now? (recommended) [y/N] "
|
printf "Do you want to reboot now? (recommended) [Y/n] "
|
||||||
read -r REPLY
|
read -r yn
|
||||||
case "$REPLY" in
|
case "$yn" in
|
||||||
[yY]*) reboot ;;
|
[nN]) ;;
|
||||||
|
*) reboot ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user