mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-12-25 01:21:34 +00:00
Provide instructions for updating from git and rebuilding for DKMS (#238)
Close #206
This commit is contained in:
parent
bf52727c41
commit
d4425c0b8f
14
README.md
14
README.md
@ -140,13 +140,25 @@ sudo make install
|
|||||||
sudo make uninstall
|
sudo make uninstall
|
||||||
```
|
```
|
||||||
|
|
||||||
## Manual DKMS installation
|
## Using DKMS (Dynamic Kernel Module Support)
|
||||||
|
|
||||||
|
Allows smooth integration with kernel updates
|
||||||
|
|
||||||
|
### Initial DKMS installation
|
||||||
```
|
```
|
||||||
git clone "https://github.com/RinCat/RTL88x2BU-Linux-Driver.git" /usr/src/rtl88x2bu-git
|
git clone "https://github.com/RinCat/RTL88x2BU-Linux-Driver.git" /usr/src/rtl88x2bu-git
|
||||||
sed -i 's/PACKAGE_VERSION="@PKGVER@"/PACKAGE_VERSION="git"/g' /usr/src/rtl88x2bu-git/dkms.conf
|
sed -i 's/PACKAGE_VERSION="@PKGVER@"/PACKAGE_VERSION="git"/g' /usr/src/rtl88x2bu-git/dkms.conf
|
||||||
dkms add -m rtl88x2bu -v git
|
dkms add -m rtl88x2bu -v git
|
||||||
dkms autoinstall
|
dkms autoinstall
|
||||||
```
|
```
|
||||||
|
### Upgrading the driver, when already under DKMS
|
||||||
|
```
|
||||||
|
cd /usr/src/rtl88x2bu-git
|
||||||
|
git fetch
|
||||||
|
git rebase origin/master --autostash
|
||||||
|
dkms build rtl88x2bu/git --force
|
||||||
|
dkms install rtl88x2bu/git --force
|
||||||
|
```
|
||||||
|
|
||||||
# USB 3.0 Support
|
# USB 3.0 Support
|
||||||
You can try use `modprobe 88x2bu rtw_switch_usb_mode=1` to force the adapter run under USB 3.0. But if your adapter/port/motherboard not support it, the driver will be in restart loop. Remove the parameter and reload the driver to restore. Alternatively, `modprobe 88x2bu rtw_switch_usb_mode=2` let\'s it run as USB 2 device.
|
You can try use `modprobe 88x2bu rtw_switch_usb_mode=1` to force the adapter run under USB 3.0. But if your adapter/port/motherboard not support it, the driver will be in restart loop. Remove the parameter and reload the driver to restore. Alternatively, `modprobe 88x2bu rtw_switch_usb_mode=2` let\'s it run as USB 2 device.
|
||||||
|
Loading…
Reference in New Issue
Block a user