morrownr / 88x2bu-20210702

Linux Driver for USB WiFi Adapters that are based on the RTL8812BU and RTL8822BU Chipsets - v5.13.1
Other
976 stars 176 forks source link

Driver build error for Tp-Link Archer T3UPlus AC 1300 on Arch Linux Zen Kernel 6.9.1 (build log included) #219

Closed Hikmat-E-Ustad closed 6 months ago

Hikmat-E-Ustad commented 6 months ago

I have an 64 bit Arch Linux System running Linux Zen Kernel 6.8.9

hikmateustad@hikmateustad-dell ~ % archey
                                 User: hikmateustad
               +                 Hostname: hikmateustad-dell
               #                 
              ###                Distro: Arch Linux x86_64
             #####               Kernel: Linux 6.8.9-zen1-2-zen
             ######              Uptime: 21 minutes
            ; #####;             Load Average: 1.54 2.51 2.05
           +##.#####             Processes: 205
          +##########            Window Manager: KWin (X11)
         #############;          Desktop Environment: KDE
        ###############+         Shell: /bin/zsh
       #######   #######         Terminal: Konsole ██ ██ ██ ██ ██ ██ ██
     .######;     ;###;`".       Packages: 2183
    .#######;     ;#####.        Temperature: 55.8 C (Max. 57.0 C)
    #########.   .########`      
   ######'           '######     
  ;####                 ####;    
  ##'                     '##    
 #'                         `#   

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

hikmateustad@hikmateustad-dell ~ % sudo pacman -Syu --noconfirm && yay -Syu --noconfirm            
:: Synchronizing package databases...
 core                                          121.3 KiB   105 KiB/s 00:01 [------------------------------------------] 100%
 extra                                           7.8 MiB  2.39 MiB/s 00:03 [------------------------------------------] 100%
 community is up to date
 multilib is up to date
 chaotic-aur                                   774.2 KiB   656 KiB/s 00:01 [------------------------------------------] 100%
:: Starting full system upgrade...
warning: grub: ignoring package upgrade (2:2.06.r591.g6425c12cd-1 => 2:2.12-2)
resolving dependencies...
looking for conflicting packages...

Packages (4) libdatachannel-0.21.1-1  libjuice-1.4.2-1  linux-zen-6.9.1.zen1-1  linux-zen-headers-6.9.1.zen1-1

Total Download Size:   166.60 MiB
Total Installed Size:  274.80 MiB
Net Upgrade Size:        3.45 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 libjuice-1.4.2-1-x86_64                        71.6 KiB  31.2 KiB/s 00:02 [------------------------------------------] 100%
 libdatachannel-0.21.1-1-x86_64                804.5 KiB  94.1 KiB/s 00:09 [------------------------------------------] 100%
 linux-zen-headers-6.9.1.zen1-1-x86_64          26.6 MiB   909 KiB/s 00:30 [------------------------------------------] 100%
 linux-zen-6.9.1.zen1-1-x86_64                 139.2 MiB  2.38 MiB/s 00:59 [------------------------------------------] 100%
 Total (4/4)                                   166.6 MiB  2.84 MiB/s 00:59 [------------------------------------------] 100%
(4/4) checking keys in keyring                                             [------------------------------------------] 100%
(4/4) checking package integrity                                           [------------------------------------------] 100%
(4/4) loading package files                                                [------------------------------------------] 100%
(4/4) checking for file conflicts                                          [------------------------------------------] 100%
:: Running pre-transaction hooks...
(1/2) Removing linux initcpios...
(2/2) Remove DKMS modules
==> dkms remove --no-depmod acpi_call/1.2.2 -k 6.8.9-zen1-2-zen
==> dkms remove --no-depmod nvidia/390.157 -k 6.8.9-zen1-2-zen
==> dkms remove --no-depmod rtl88x2bu/5.13.1 -k 6.8.9-zen1-2-zen
==> dkms remove --no-depmod v4l2loopback/0.13.1 -k 6.8.9-zen1-2-zen
==> depmod 6.8.9-zen1-2-zen
:: Processing package changes...
(1/4) upgrading libjuice                                                   [------------------------------------------] 100%
(2/4) upgrading libdatachannel                                             [------------------------------------------] 100%
(3/4) upgrading linux-zen                                                  [------------------------------------------] 100%
(4/4) upgrading linux-zen-headers                                          [------------------------------------------] 100%
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating module dependencies...
(3/5) Install DKMS modules
==> dkms install --no-depmod rtl88x2bu/5.13.1 -k 6.9.1-zen1-1-zen
Error! Bad return status for module build on kernel: 6.9.1-zen1-1-zen (x86_64)
Consult /var/lib/dkms/rtl88x2bu/5.13.1/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl88x2bu/5.13.1 -k 6.9.1-zen1-1-zen' exited 10
==> dkms install --no-depmod v4l2loopback/0.13.1 -k 6.9.1-zen1-1-zen
==> dkms install --no-depmod acpi_call/1.2.2 -k 6.9.1-zen1-1-zen
==> dkms install --no-depmod nvidia/390.157 -k 6.9.1-zen1-1-zen
==> depmod 6.9.1-zen1-1-zen
(4/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
==> Starting build: '6.9.1-zen1-1-zen'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-zen.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect
==> Starting build: '6.9.1-zen1-1-zen'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-zen-fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
(5/5) Refreshing PackageKit...
[sudo] password for hikmateustad: 

This the output log file for your reference

/var/lib/dkms/rtl88x2bu/5.13.1/build/make.log

DKMS make.log for rtl88x2bu-5.13.1 for kernel 6.9.1-zen1-1-zen (x86_64)
Sat May 18 11:26:16 AM IST 2024
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.9.1-zen1-1-zen/build M=/var/lib/dkms/rtl88x2bu/5.13.1/build  modules
make[1]: Entering directory '/usr/lib/modules/6.9.1-zen1-1-zen/build'
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_cmd.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_io.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_ioctl_query.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_ioctl_set.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_ieee80211.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_mlme.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_mlme_ext.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_mi.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_wlan_util.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_vht.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_pwrctrl.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rf.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_chplan.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/monitor/rtw_radiotap.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_recv.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_sta_mgt.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_ap.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/wds/rtw_wds.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/mesh/rtw_mesh.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/mesh/rtw_mesh_pathtbl.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/mesh/rtw_mesh_hwmp.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_xmit.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_p2p.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rson.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_tdls.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_br_ext.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_iol.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_sreset.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_btcoex_wifionly.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_btcoex.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_beamforming.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_odm.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rm.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rm_fsm.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_ft.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_wnm.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_mbo.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rm_util.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/efuse/rtw_efuse.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_roch.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/aes-internal.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/aes-internal-enc.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/aes-gcm.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/aes-ccm.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/aes-omac1.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/ccmp.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/gcmp.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/aes-siv.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/aes-ctr.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/sha256-internal.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/sha256.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/sha256-prf.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/rtw_crypto_wrap.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_swcrypto.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/osdep_service.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/os_intfs.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/usb_intf.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/usb_ops_linux.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/ioctl_linux.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/xmit_linux.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/mlme_linux.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/recv_linux.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/ioctl_cfg80211.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/rtw_cfgvendor.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/wifi_regd.o
/var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’:
/var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/ioctl_cfg80211.c:469:17: error: too many arguments to function ‘cfg80211_ch_switch_started_notify’
  469 |                 cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false, 0);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/rtl88x2bu/5.13.1/build/include/osdep_service_linux.h:98,
                 from /var/lib/dkms/rtl88x2bu/5.13.1/build/include/osdep_service.h:54,
                 from /var/lib/dkms/rtl88x2bu/5.13.1/build/include/drv_types.h:27,
                 from /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:8811:6: note: declared here
 8811 | void cfg80211_ch_switch_started_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/ioctl_cfg80211.c:488:9: error: too many arguments to function ‘cfg80211_ch_switch_notify’
  488 |         cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
./include/net/cfg80211.h:8795:6: note: declared here
 8795 | void cfg80211_ch_switch_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:244: /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/ioctl_cfg80211.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/lib/modules/6.9.1-zen1-1-zen/build/Makefile:1917: /var/lib/dkms/rtl88x2bu/5.13.1/build] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.9.1-zen1-1-zen/build'
make: *** [Makefile:2524: modules] Error 2

Output of the command

hikmateustad@hikmateustad-dell ~ % sudo lsusb; rfkill list all; dkms status; iw dev; iw reg get
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 0408:3008 Quanta Computer, Inc. Optical Touch Screen
Bus 001 Device 004: ID 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reader Controller
Bus 001 Device 005: ID 8086:0189 Intel Corp. Centrino Advanced-N 6230 Bluetooth adapter
Bus 001 Device 006: ID 04f2:b2a8 Chicony Electronics Co., Ltd Laptop_Integrated_Webcam_HD
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 2357:0138 TP-Link 802.11ac NIC
Bus 002 Device 004: ID 1a2c:2124 China Resource Semico Co., Ltd Keyboard
Bus 002 Device 005: ID 0000:3825   USB OPTICAL MOUSE
Bus 002 Device 006: ID 2357:0604 TP-Link TP-Link UB500 Adapter
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: hci0: Bluetooth
        Soft blocked: yes
        Hard blocked: no
2: hci1: Bluetooth
        Soft blocked: yes
        Hard blocked: no
3: phy1: Wireless LAN
        Soft blocked: no
        Hard blocked: no
acpi_call/1.2.2, 6.9.1-zen1-1-zen, x86_64: installed
nvidia/390.157, 6.9.1-zen1-1-zen, x86_64: installed
rtl88x2bu/5.13.1: added
v4l2loopback/0.13.1, 6.9.1-zen1-1-zen, x86_64: installed
phy#1
        Interface wlp0s29u1u3
                ifindex 4
                wdev 0x100000001
                addr 9c:a2:f4:99:f0:69
                ssid Freedom
                type managed
                channel 6 (2437 MHz), width: 40 MHz, center1: 2427 MHz
                txpower 16.00 dBm
phy#0
        Interface wlp3s0
                ifindex 3
                wdev 0x1
                addr 06:f5:f2:1c:27:47
                type managed
                txpower 0.00 dBm
                multicast TXQ:
                        qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytes        tx-packets
                        0       0       0       0       0       0       0       0               0
global
country 00: DFS-UNSET
        (2402 - 2472 @ 40), (6, 20), (N/A)
        (2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
        (5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
        (5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
        (5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
        (57240 - 63720 @ 2160), (N/A, 0), (N/A)

hikmateustad@hikmateustad-dell ~ % 

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.

morrownr commented 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?

Hikmat-E-Ustad commented 6 months ago

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.

Hikmat-E-Ustad commented 6 months ago

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?

morrownr commented 6 months ago

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.

Hikmat-E-Ustad commented 6 months ago

@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.

morrownr commented 6 months ago

@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?

Hikmat-E-Ustad commented 6 months ago

@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