mirror of
				https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
				synced 2025-11-03 22:01:38 +00:00 
			
		
		
		
	Compare commits
	
		
			4 Commits
		
	
	
		
			4199f288d1
			...
			ccf9be32c0
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					ccf9be32c0 | ||
| fda90b7760 | |||
| 
						 | 
					a4bb5c8589 | ||
| 
						 | 
					890503ad08 | 
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
									
									
									
									
								
							@ -1,6 +1,6 @@
 | 
				
			|||||||
# REALTEK RTL88x2B USB Linux Driver
 | 
					# REALTEK RTL88x2B USB Linux Driver
 | 
				
			||||||
**Current Driver Version**: 5.13.1-30
 | 
					**Current Driver Version**: 5.13.1-30
 | 
				
			||||||
**Support Kernel**: 2.6.24 ~ 6.13 (with unofficial patches)
 | 
					**Support Kernel**: 2.6.24 ~ 6.14 (with unofficial patches)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Linux in-tree rtw8822bu driver is working in process, check [this](https://lore.kernel.org/lkml/20220518082318.3898514-1-s.hauer@pengutronix.de/) patchset.
 | 
					Linux in-tree rtw8822bu driver is working in process, check [this](https://lore.kernel.org/lkml/20220518082318.3898514-1-s.hauer@pengutronix.de/) patchset.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -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/
 | 
				
			||||||
 | 
				
			|||||||
@ -4658,6 +4658,9 @@ exit:
 | 
				
			|||||||
static int cfg80211_rtw_get_txpower(struct wiphy *wiphy,
 | 
					static int cfg80211_rtw_get_txpower(struct wiphy *wiphy,
 | 
				
			||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
 | 
					#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
 | 
				
			||||||
	struct wireless_dev *wdev,
 | 
						struct wireless_dev *wdev,
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0))
 | 
				
			||||||
 | 
						unsigned int link_id,
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
	int *dbm)
 | 
						int *dbm)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user