Closed Hikmat-E-Ustad closed 6 months ago
Hi @Hikmat-E-Ustad
Try this while in the driver directory:
$ git pull $ sudo sh install-driver.sh
I think the problem is that you are not keeping the driver up to date.
Also, you are aware that the in-kernel rtw88 supports this adapter chip in this day in time?
Greetings @morrownr
Thank you so much for your guidance. I followed your steps and my driver works again with the newer linux zen kernel 6.9.1.
I was not aware of the in-kernel support; nevertheless it does not work for me because when I removed the driver using
sudo sh remove-driver.sh
and then rebooted I did not have internet.
Then when I git pulled and installed the driver it worked fine again.
Highly appreciate your help.
Well my desktop arch installation has to be in trouble somehow because the in-kernel support does not work while it does on my laptop arch installation using the same adapter. ( Upgraded the linux zen kernel on the laptop; build failed, removed driver, rebooted and I have the adapter working fine)
Anyway I can investigate as to what may be the issue on my desktop arch linux installation?
Would you recommend installing your driver when the in-kernel support works based on performance?
Anyway I can investigate as to what may be the issue on my desktop arch linux installation?
I can help. It would be good to figure out why the in-kernel rtw88 is not working on the one machine. If we find the problem and it is a problem with Arch, you can report it.
The first thing to look at is whether the problem system has the firmware for the adapter installed. I have a guide for checking that on the Main Menu here:
https://github.com/morrownr/USB-WiFi
Look for menu item 7. This menu item gives help regarding firmware for wireless devices. The help for rtw88 is a one liner.
The first thing you can do is check your rtw88 firmware by posting the results of:
$ ls -l /lib/firmware/rtw88
It is the file rtw8822b_fw.bin
that you need to make sure it is there. Here is an example when I run the command on my main system:
$ ls -l /lib/firmware/rtw88 total 812 -rw-r--r-- 1 root root 59332 May 15 18:20 rtl8822cu_fw.bin -rw-r--r-- 1 root root 28884 May 15 18:20 rtw8723d_fw.bin -rw-r--r-- 1 root root 30880 May 5 20:54 rtw8811a_fw.bin -rw-r--r-- 1 root root 27030 May 15 18:20 rtw8812a_fw.bin -rw-r--r-- 1 root root 31898 May 15 18:20 rtw8821a_fw.bin -rw-r--r-- 1 root root 138984 May 15 18:20 rtw8821c_fw.bin -rw-r--r-- 1 root root 150984 May 15 18:20 rtw8822b_fw.bin -rw-r--r-- 1 root root 202552 May 15 18:20 rtw8822c_fw.bin -rw-r--r-- 1 root root 145224 May 15 18:20 rtw8822c_wow_fw.bin
I will show more files that you because I am helping to bring more drivers to rtw88.
If that is not the problem, we can continue looking.
Would you recommend installing your driver when the in-kernel support works based on performance?
Performance with rtw88 is pretty good. I can discuss this more if we get rtw88 going on both of your systems.
@morrownr
hikmateustad@hikmateustad-dell ~ % ls -l /lib/firmware/rtw88
total 336
-rw-r--r-- 1 root root 584 May 13 17:47 README.zst
-rw-r--r-- 1 root root 13117 May 13 17:47 rtw8703b_fw.bin.zst
-rw-r--r-- 1 root root 14647 May 13 17:47 rtw8703b_wow_fw.bin.zst
-rw-r--r-- 1 root root 17918 May 13 17:47 rtw8723d_fw.bin.zst
-rw-r--r-- 1 root root 53954 May 13 17:47 rtw8821c_fw.bin.zst
-rw-r--r-- 1 root root 77712 May 13 17:47 rtw8822b_fw.bin.zst
-rw-r--r-- 1 root root 85925 May 13 17:47 rtw8822c_fw.bin.zst
-rw-r--r-- 1 root root 64058 May 13 17:47 rtw8822c_wow_fw.bin.zst
hikmateustad@hikmateustad-dell ~ %
Well the file is available.
I installed the rtw88 driver on my laptop too. I feel comfy enabling USB 3 and led blinking which the in-kernel driver does not.
@Hikmat-E-Ustad
I installed the rtw88 driver on my laptop too.
Can I get you to explain that comment? Modern Linux kernels contain the rtw88 drivers and most modern distros should be installing needed firmware files. What exactly did you install?
@morrownr
What exactly did you install?
Well I installed the drivers from this github and in the post configuration steps turned on USB 3 since I have usb 3 ports on my laptop. Also the led on my Tp link keeps blinking the ferocity of which indicates data in out probably ;-)
On my Dell desktop I have USB 2 ports and anyways the in-kernel driver did not work whose ls -l /lib/firmware/rtw88 output I provided on my previous post
I have an 64 bit Arch Linux System running Linux Zen Kernel 6.8.9
I have been using Tp-Link Archer T3UPlus AC 1300 with your driver since more than a year perfectly with no downtime.
While upgrading to linux zen kernel 6.9.1 with dkms the rtl88x2bu driver exited with code 10 as you can see from the output below
This the output log file for your reference
/var/lib/dkms/rtl88x2bu/5.13.1/build/make.log
Output of the command
For now I will downgrade back to linux zen kernel 6.8.9 where this driver worked perfectly till we have a fix.
Thank you in advance for your time and hard work in providing this driver.