Compare commits

...

4 Commits

Author SHA1 Message Date
Slavic Dragovtev
9cf1b3541d
Merge a4bb5c85899a78f81214a9c3a51fa73b395aaaaa into 9624bd8943dc9998fc09355ea725ef7d59f80cb2 2025-05-08 22:35:15 -04:00
9624bd8943
chore: remove deprecated DKMS CLEAN
Signed-off-by: Rin Cat (鈴猫) <rincat@rincat.dev>
2025-05-08 22:33:55 -04:00
Slavic Dragovtev
a4bb5c8589
Merge pull request #1 from slavicd/slavicd-patch-1
Update README.md
2024-12-10 15:21:01 +02:00
Slavic Dragovtev
890503ad08
Update README.md
Fixes grammar.
2024-12-10 15:20:05 +02:00
2 changed files with 5 additions and 6 deletions

View File

@ -115,7 +115,7 @@ And more.
## Manual installation ## Manual installation
### Clean ### Clean
* Make sure you cleaned old build files before builds new one * Make sure you clean old build files before building new ones
``` ```
make clean make clean
``` ```
@ -142,7 +142,7 @@ sudo make uninstall
## Using DKMS (Dynamic Kernel Module Support) ## Using DKMS (Dynamic Kernel Module Support)
Allows smooth integration with kernel updates Allows smooth integration with kernel updates.
### Initial DKMS installation ### Initial DKMS installation
``` ```
@ -161,16 +161,16 @@ 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 using `modprobe 88x2bu rtw_switch_usb_mode=1` to force the adapter to run under USB 3.0. But if your adapter/port/motherboard does not support it, the driver will be stuck in a restart loop. Remove the parameter and reload the driver to restore. Alternatively, `modprobe 88x2bu rtw_switch_usb_mode=2` runs it as a USB 2 device.
Notice: If you had already loaded the moduel, use `modprobe -r 88x2bu` to unload it first. Notice: If you had already loaded the module, use `modprobe -r 88x2bu` to unload it first.
If you want to force a given mode permanently (even when switching the adapter across devices), create the file `/etc/modprobe.d/99-RTL88x2BU.conf` with the following content: If you want to force a given mode permanently (even when switching the adapter across devices), create the file `/etc/modprobe.d/99-RTL88x2BU.conf` with the following content:
`options 88x2bu rtw_switch_usb_mode=1` `options 88x2bu rtw_switch_usb_mode=1`
# Debug # Debug
Set debug log use `echo 5 > /proc/net/rtl88x2bu/log_level` or `modprobe 88x2bu rtw_drv_log_level=5` To set debug log use `echo 5 > /proc/net/rtl88x2bu/log_level` or `modprobe 88x2bu rtw_drv_log_level=5`
# Distribution # Distribution
* Archlinux AUR https://aur.archlinux.org/packages/rtl88x2bu-dkms-git/ * Archlinux AUR https://aur.archlinux.org/packages/rtl88x2bu-dkms-git/

View File

@ -1,7 +1,6 @@
PACKAGE_NAME="rtl88x2bu" PACKAGE_NAME="rtl88x2bu"
PACKAGE_VERSION="@PKGVER@" PACKAGE_VERSION="@PKGVER@"
MAKE="'make' -j$(nproc) KVER=${kernelver} KSRC=/lib/modules/${kernelver}/build" MAKE="'make' -j$(nproc) KVER=${kernelver} KSRC=/lib/modules/${kernelver}/build"
CLEAN="make clean"
BUILT_MODULE_NAME[0]="88x2bu" BUILT_MODULE_NAME[0]="88x2bu"
DEST_MODULE_LOCATION[0]="/kernel/drivers/net/wireless" DEST_MODULE_LOCATION[0]="/kernel/drivers/net/wireless"
AUTOINSTALL="yes" AUTOINSTALL="yes"