Open WallyZambotti opened 1 month ago
Hi @WallyZambotti
The in-kernel driver that you are using is called rtw88 rtw8822bu. It does not support USB3 yet but the patch is going in and we could use testing.
Let me redirect you to information on the repo where we are doing work to make this and other things happen:
https://github.com/morrownr/USB-WiFi/issues/472
The rtw downstream
driver will go into USB3 automatically but does support a parameter to hold the driver in USB2 if you want.
Also, while you are here, the Main Menu for this site is:
https://github.com/morrownr/USB-WiFi
Let me know if you have questions.
I have pulled the driver from https://github.com/lwfinger/rtw88 and built and installed it without any issue.
Platform Ubuntu 22.04.4 Kernel 6.5.0-44-generic, Intel/AMD I can also test on an ARCH64/ARM Odroid N2 (Armbian) if you like.
The card is now connecting as a USB3 :
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 10000M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=rtw_8822bu, 5000M
The bit rate is very low:
Mode:Managed Frequency:5.2 GHz Access Point: 74:83:C2:B5:56:CA
Bit Rate=135 Mb/s Tx-Power=23 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=58/70 Signal level=-52 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:20 Invalid misc:2332 Missed beacon:0
Should I continue this issue on this site or from https://github.com/morrownr/USB-WiFi?
Should I continue this issue on this site or from https://github.com/morrownr/USB-WiFi?
I recommend you use Issues at:
https://github.com/lwfinger/rtw88
Keep in mind that rtw88 downstream
has many drivers so you have to be specific when reporting a problem. The driver that you are using is rtw_8822bu
. The in-kernel name is rtw88_8822bu
.
You need to keep in mind that you probably need to update rtw88 downstream
often as patches are going in as often as daily:
$ git pull $ make $ sudo make install
Remember that the patches you are testing are planned to go upstream into the kernel so compiling will be a distant memory soon. Thanks for testing.
I am using Ubuntu 22.04.04 kernel 6.15.0-44. This kernel comes with a RTL88x2BU driver. I am uncertain Ubuntu driver is based off this GitHub project.
With the driver that ships in Ubuntu the Wifi adapter is recognized as a USB2 device and not a USB3 device.
I would like to utilize the 88x2b.conf to set rtw_switch_usb_mode to 1 to force USB3 mode but I'm unsure if the Ubuntu driver supports the conf file or that setting.
Any advice welcome.