You are not logged in.

#26 2023-03-26 12:36:51

seth
Member
Registered: 2012-09-03
Posts: 50,933

Re: My wifi adapter doesn't work [SOLVED]

The modules name is "rtw88_8821cu" and it is loaded.
Post the output of

lspci -k; lsusb

Offline

#27 2023-03-26 14:41:45

StarcClans
Member
Registered: 2023-02-22
Posts: 31

Re: My wifi adapter doesn't work [SOLVED]

[luc@StarcClans ~]$ lspci -k; lsusb
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
        Subsystem: ASUSTeK Computer Inc. Device 8809
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
        Subsystem: ASUSTeK Computer Inc. Device 8809
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Device 8809
        Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
        DeviceName:  Onboard IGD
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Device 8809
        Kernel driver in use: pcieport
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Device 8809
        Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
        Subsystem: ASUSTeK Computer Inc. Device 8809
        Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
        Subsystem: ASUSTeK Computer Inc. Device 87e1
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
        Subsystem: ASUSTeK Computer Inc. Device 87e1
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
        Kernel driver in use: k10temp
        Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c1)
        Kernel driver in use: pcieport
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
        Kernel driver in use: pcieport
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] (rev c1)
        Subsystem: Gigabyte Technology Co., Ltd Device 2337
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
04:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43ec
        Subsystem: ASMedia Technology Inc. Device 1142
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
04:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset SATA Controller
        Subsystem: ASMedia Technology Inc. ASM1062 Serial ATA Controller
        Kernel driver in use: ahci
04:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset Switch Upstream Port
        Subsystem: ASMedia Technology Inc. Device 0201
        Kernel driver in use: pcieport
05:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea
        Subsystem: ASMedia Technology Inc. Device 3308
        Kernel driver in use: pcieport
05:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea
        Subsystem: ASMedia Technology Inc. Device 3308
        Kernel driver in use: pcieport
05:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea
        Subsystem: ASMedia Technology Inc. Device 3308
        Kernel driver in use: pcieport
05:03.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea
        Subsystem: ASMedia Technology Inc. Device 3308
        Kernel driver in use: pcieport
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: ASUSTeK Computer Inc. PRIME B450M-A Motherboard
        Kernel driver in use: r8169
        Kernel modules: r8169
0a:00.0 Non-Volatile memory controller: Transcend Information, Inc. Device 2263 (rev 03)
        Subsystem: Transcend Information, Inc. Device 2263
        Kernel driver in use: nvme
        Kernel modules: nvme
0b:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function (rev c9)
        Subsystem: ASUSTeK Computer Inc. Device 8809
0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
        Subsystem: ASUSTeK Computer Inc. Device 8809
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
0b:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
        Subsystem: ASUSTeK Computer Inc. Device 8809
        Kernel driver in use: ccp
        Kernel modules: ccp
0b:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
        Subsystem: ASUSTeK Computer Inc. Device 87e1
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
0b:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
        Subsystem: ASUSTeK Computer Inc. Device 87e1
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
0b:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
        Subsystem: ASUSTeK Computer Inc. Device 87fb
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 0bda:c811 Realtek Semiconductor Corp. 802.11ac NIC
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 1a2c:2124 China Resource Semico Co., Ltd Keyboard
Bus 001 Device 003: ID 30fa:0400  USB OPTICAL MOUSE 
Bus 001 Device 002: ID 0b05:19af ASUSTek Computer, Inc. AURA LED Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Last edited by StarcClans (2023-03-26 14:42:10)

Offline

#28 2023-03-26 15:09:45

seth
Member
Registered: 2012-09-03
Posts: 50,933

Offline

#29 2023-03-26 15:16:47

StarcClans
Member
Registered: 2023-02-22
Posts: 31

Re: My wifi adapter doesn't work [SOLVED]

[luc@StarcClans ~]$ dkms status
uname -a
pacman -Qs linux
rtl8821CU/5.2.5.3: added
rtl8821cu/5.12.0.4.145.80781de, 6.2.8-arch1-1, x86_64: installed
rtl88x2bu/5.8.7.1, 6.2.8-arch1-1, x86_64: installed
Linux StarcClans 6.2.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 22 Mar 2023 22:52:35 +0000 x86_64 GNU/Linux
local/alsa-lib 1.2.8-1
    An alternative implementation of Linux sound support
local/alsa-utils 1.2.8-1
    Advanced Linux Sound Architecture - Utilities
local/archlinux-appstream-data 20230220-1
    Arch Linux application database for AppStream-based software centers
local/archlinux-keyring 20230320-1
    Arch Linux PGP keyring
local/avahi 0.8+22+gfd482a7-3
    Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour
local/base 3-1
    Minimal package set to define a basic Arch Linux installation
local/base-devel 1-1
    Basic tools to build Arch Linux packages
local/bridge-utils 1.7.1-1
    Utilities for configuring the Linux ethernet bridge
local/brltty 6.5-3
    Braille display driver for Linux/Unix
local/ell 0.56-1
    Embedded Linux library
local/exfatprogs 1.2.0-1
    exFAT filesystem userspace utilities for the Linux Kernel exfat driver
local/filesystem 2023.01.31-1
    Base Arch Linux files
local/flatpak 1:1.15.4-1
    Linux application sandboxing and distribution framework (formerly xdg-app)
local/fuse3 3.14.0-1
    Interface for userspace programs to export a filesystem to the Linux kernel
local/ibus 1.5.28-1
    Next Generation Input Bus for Linux
local/iptables-nft 1:1.8.9-1
    Linux kernel packet control tool (using nft interface)
local/kdenlive 22.12.3-1 (kde-applications kde-multimedia)
    A non-linear video editor for Linux using the MLT video framework
local/keyutils 1.6.3-1
    Linux Key Management Utilities
local/kmod 30-3
    Linux kernel module management tools and library
local/lib32-keyutils 1.6.3-1
    Linux Key Management Utilities (32-bit)
local/lib32-libxshmfence 1.3.2-1
    a library that exposes a event API on top of Linux futexes (32-bit)
local/lib32-util-linux 2.38.1-1
    Miscellaneous system utilities for Linux (32-bit)
local/libaio 0.3.113-1
    The Linux-native asynchronous I/O facility (aio) library
local/libcamera 0.0.4-3
    A complex camera support library for Linux, Android, and ChromeOS
local/libcamera-ipa 0.0.4-3
    A complex camera support library for Linux, Android, and ChromeOS - signed IPA
local/libcap-ng 0.8.3-1
    A library for Linux that makes using posix capabilities easy
local/libiec61883 1.2.0-7
    A higher level API for streaming DV, MPEG-2 and audio over Linux IEEE 1394
local/libimobiledevice 1.3.0-6
    Library that talks the protocols to support iPhone and iPod Touch devices on Linux
local/libraw1394 2.1.2-3
    Provides an API to the Linux IEEE1394 (FireWire) driver
local/libtraceevent 1:1.7.1-1
    Linux kernel trace event library
local/libtracefs 1.6.4-2
    Linux kernel trace file system library
local/liburing 2.3-1
    Linux-native io_uring I/O access library
local/libva 2.17.0-1
    Video Acceleration (VA) API for Linux
local/libxshmfence 1.3.2-1
    a library that exposes a event API on top of Linux futexes
local/linux 6.2.8.arch1-1
    The Linux kernel and modules
local/linux-api-headers 6.1.9-1
    Kernel headers sanitized for use in userspace
local/linux-firmware 20230210.bf4115c-1
    Firmware files for Linux
local/linux-firmware-whence 20230210.bf4115c-1
    Firmware files for Linux - contains the WHENCE license file which documents the vendor license details
local/linux-headers 6.2.8.arch1-1
    Headers and scripts for building modules for the Linux kernel
local/mdadm 4.2-2
    A tool for managing/monitoring Linux md device arrays, also known as Software RAID
local/multipath-tools 0.9.4-1
    Multipath tools for Linux (including kpartx)
local/ndctl 76-1
    Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel
local/pacman-mirrorlist 20230226-1
    Arch Linux mirror list for use by pacman
local/python-distro 1.8.0-2
    Linux OS platform information API
local/python-evdev 1.6.1-1
    Python bindings for the Linux input subsystem
local/squashfs-tools 4.6.1-1
    Tools for squashfs, a highly compressed read-only filesystem for Linux
local/syslinux 6.04.pre2.r11.gbf6db5b4-3
    Collection of boot loaders that boot from FAT, ext2/3/4 and btrfs filesystems, from CDs and via PXE
local/util-linux 2.38.1-3
    Miscellaneous system utilities for Linux
local/util-linux-libs 2.38.1-3
    util-linux runtime libraries
local/v4l-utils 1.24.1-1
    Userspace tools and conversion library for Video 4 Linux
local/virt-install 4.1.0-1
    Command line tool for creating new KVM , Xen, or Linux container guests using the libvirt hypervisor

Offline

#30 2023-03-26 15:19:52

seth
Member
Registered: 2012-09-03
Posts: 50,933

Re: My wifi adapter doesn't work [SOLVED]

rtl8821cu/5.12.0.4.145.80781de, 6.2.8-arch1-1, x86_64: installed
Linux StarcClans 6.2.8-arch1-1

Edit:

ls /usr/lib/modules/6.2.8-arch1-1/kernel/drivers/net/wireless/*8821*
modinfo 8821cu

Last edited by seth (2023-03-26 15:22:32)

Offline

#31 2023-03-26 15:36:10

StarcClans
Member
Registered: 2023-02-22
Posts: 31

Re: My wifi adapter doesn't work [SOLVED]

How can I download the driver for rtl8821cu/5.12.0.4.145.80781de ?

Offline

#32 2023-03-26 15:49:36

seth
Member
Registered: 2012-09-03
Posts: 50,933

Re: My wifi adapter doesn't work [SOLVED]

The driver is installed, psot the output for the commands in #30

Offline

#33 2023-03-26 15:55:39

StarcClans
Member
Registered: 2023-02-22
Posts: 31

Re: My wifi adapter doesn't work [SOLVED]

I deleted it on behalf of a discord arch member who said to do it, sorry...

Offline

#34 2023-03-26 16:04:26

StarcClans
Member
Registered: 2023-02-22
Posts: 31

Re: My wifi adapter doesn't work [SOLVED]

[luc@StarcClans ~]$ rtl8821cu/5.12.0.4.145.80781de, 6.2.8-arch1-1, x86_64: installed
Linux StarcClans 6.2.8-arch1-1
bash: rtl8821cu/5.12.0.4.145.80781de,: No such file or directory
bash: Linux: command not found
[luc@StarcClans ~]$ ls /usr/lib/modules/6.2.8-arch1-1/kernel/drivers/net/wireless/*8821*
ls: cannot access '/usr/lib/modules/6.2.8-arch1-1/kernel/drivers/net/wireless/*8821*': No such file or directory
[luc@StarcClans ~]$ modinfo 8821cu
filename:       /lib/modules/6.2.8-arch1-1/updates/dkms/8821cu.ko.zst
version:        v5.12.0.4-1-g9241a6516.20210916_COEX20200730-5151
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     1E9FAB38051325764D7B4EB
alias:          usb:v2001p331Dd*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v7392pD811d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v7392pC811d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC80Cd*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDAp8731d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDAp2006d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDAp8811d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC811d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC82Cd*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC82Bd*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC82Ad*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC820d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC821d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApB820d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApB82Bd*dc*dsc*dp*icFFiscFFipFFin*
depends:        cfg80211
retpoline:      Y
name:           8821cu
vermagic:       6.2.8-arch1-1 SMP preempt mod_unload 
sig_id:         PKCS#7
signer:         DKMS module signing key
sig_key:        34:FD:43:2D:29:38:1D:45:5C:D4:3C:30:AA:D6:5D:9E:C9:3F:32:D8
sig_hashalgo:   sha512
signature:      5D:4D:D3:9D:55:CE:1E:41:E6:6B:7A:5D:D7:96:08:B5:85:0F:44:DD:
                04:70:35:61:13:88:E2:33:64:39:EB:DB:37:3F:3E:22:C5:00:DD:EF:
                ED:E7:50:C4:EB:7A:45:4C:0F:98:5F:DC:78:86:D3:4F:AD:33:4B:CE:
                FD:20:D1:6B:F1:77:7A:53:19:E1:80:FA:3D:F0:B7:57:E5:19:62:BA:
                B0:85:14:E8:60:57:9C:D5:2A:87:C2:10:CD:7B:4C:0A:3E:73:33:BF:
                6C:84:93:F3:83:17:B7:A7:C9:E5:8B:C4:E0:32:BD:08:47:06:19:E0:
                38:98:EC:55:C0:39:19:E7:86:83:51:90:0B:0E:4E:BB:1D:8F:02:C6:
                FC:05:12:B0:AC:19:70:15:C3:0F:2A:54:97:83:31:C3:4C:4C:9C:13:
                36:CA:FB:10:29:12:D7:2F:0C:85:C6:6E:6D:07:6C:08:07:A3:DE:97:
                07:0F:CB:CD:C5:53:99:86:11:94:51:5E:06:9D:BE:49:3A:FA:BE:16:
                0B:7C:CF:25:5B:7A:DA:B4:62:21:A8:5E:9D:30:52:15:4B:81:D6:B7:
                07:F7:EE:B5:AC:9A:37:9C:46:A0:22:46:3B:3A:E2:CD:6A:7B:DE:CD:
                CA:69:B1:9E:A1:70:44:3B:CB:76:78:F7:51:8F:22:81
parm:           rtw_wireless_mode:int
parm:           rtw_ips_mode:The default IPS mode (int)
parm:           rtw_lps_level:The default LPS level (int)
parm:           rtw_lps_chk_by_tp:int
parm:           rtw_max_bss_cnt:int
parm:           rtw_usb_rxagg_mode:int
parm:           rtw_dynamic_agg_enable:int
parm:           rtw_drv_log_level:set log level when insert driver module, default log level is _DRV_INFO_ = 4 (uint)
parm:           rtw_tx_aclt_flags:device TX AC queue packet lifetime control flags (uint)
parm:           rtw_tx_aclt_conf_default:device TX AC queue lifetime config for default status (array of uint)
parm:           rtw_tx_aclt_conf_ap_m2u:device TX AC queue lifetime config for AP mode M2U status (array of uint)
parm:           rtw_tx_bw_mode:The max tx bw for 2.4G and 5G. format is the same as rtw_bw_mode (uint)
parm:           rtw_rx_ampdu_sz_limit_1ss:RX AMPDU size limit for 1SS link of each BW, 0xFF: no limitation (array of uint)
parm:           rtw_rx_ampdu_sz_limit_2ss:RX AMPDU size limit for 2SS link of each BW, 0xFF: no limitation (array of uint)
parm:           rtw_rx_ampdu_sz_limit_3ss:RX AMPDU size limit for 3SS link of each BW, 0xFF: no limitation (array of uint)
parm:           rtw_rx_ampdu_sz_limit_4ss:RX AMPDU size limit for 4SS link of each BW, 0xFF: no limitation (array of uint)
parm:           rtw_stbc_cap:int
parm:           rtw_vht_enable:int
parm:           rtw_vht_24g_enable:int
parm:           rtw_vht_rx_mcs_map:VHT RX MCS map (uint)
parm:           rtw_trx_path_bmp:int
parm:           rtw_tx_path_lmt:int
parm:           rtw_rx_path_lmt:int
parm:           rtw_tx_nss:int
parm:           rtw_rx_nss:int
parm:           rtw_country_code:The default country code (in alpha2) (charp)
parm:           rtw_channel_plan:The default chplan ID when rtw_alpha2 is not specified or valid (int)
parm:           rtw_excl_chs:exclusive channel array (array of uint)
parm:           rtw_btcoex_enable:BT co-existence on/off, 0:off, 1:on, 2:by efuse (int)
parm:           rtw_ant_num:Antenna number setting, 0:by efuse (int)
parm:           rtw_pci_dynamic_aspm_linkctrl:int
parm:           rtw_qos_opt_enable:int
parm:           rtw_acs_auto_scan:int
parm:           rtw_acs:int
parm:           ifname:The default name to allocate for first interface (charp)
parm:           if2name:The default name to allocate for second interface (charp)
parm:           rtw_ap_src_b2u_flags:int
parm:           rtw_ap_fwd_b2u_flags:int
parm:           rtw_wowlan_sta_mix_mode:int
parm:           rtw_pwrtrim_enable:int
parm:           rtw_initmac:charp
parm:           rtw_chip_version:int
parm:           rtw_rfintfs:int
parm:           rtw_lbkmode:int
parm:           rtw_network_mode:int
parm:           rtw_channel:int
parm:           rtw_mp_mode:int
parm:           rtw_wmm_enable:int
parm:           rtw_uapsd_max_sp:int
parm:           rtw_uapsd_ac_enable:int
parm:           rtw_wmm_smart_ps:int
parm:           rtw_vrtl_carrier_sense:int
parm:           rtw_vcs_type:int
parm:           rtw_busy_thresh:int
parm:           rtw_ht_enable:int
parm:           rtw_bw_mode:int
parm:           rtw_ampdu_enable:int
parm:           rtw_rx_stbc:int
parm:           rtw_rx_ampdu_amsdu:int
parm:           rtw_tx_ampdu_amsdu:int
parm:           rtw_quick_addba_req:int
parm:           rtw_beamform_cap:int
parm:           rtw_power_mgnt:int
parm:           rtw_smart_ps:int
parm:           rtw_low_power:int
parm:           rtw_wifi_spec:int
parm:           rtw_full_ch_in_p2p_handshake:int
parm:           rtw_antdiv_cfg:int
parm:           rtw_antdiv_type:int
parm:           rtw_drv_ant_band_switch:int
parm:           rtw_single_ant_path:int
parm:           rtw_switch_usb_mode:int
parm:           rtw_enusbss:int
parm:           rtw_hwpdn_mode:int
parm:           rtw_hwpwrp_detect:int
parm:           rtw_hw_wps_pbc:int
parm:           rtw_check_hw_status:int
parm:           rtw_led_ctrl:Led Control: 0=Always off, 1=Normal blink, 2=Always on (int)
parm:           rtw_max_roaming_times:The max roaming times to try (uint)
parm:           rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
parm:           rtw_hiq_filter:0:allow all, 1:allow special, 2:deny all (uint)
parm:           rtw_adaptivity_en:0:disable, 1:enable (uint)
parm:           rtw_adaptivity_mode:0:normal, 1:carrier sense (uint)
parm:           rtw_adaptivity_th_l2h_ini:th_l2h_ini for Adaptivity (int)
parm:           rtw_adaptivity_th_edcca_hl_diff:th_edcca_hl_diff for Adaptivity (int)
parm:           rtw_dfs_region_domain:0:NONE, 1:FCC, 2:MKK, 3:ETSI (uint)
parm:           rtw_amsdu_mode:0:non-spp, 1:spp, 2:all drop (uint)
parm:           rtw_amplifier_type_2g:BIT3:2G ext-PA, BIT4:2G ext-LNA (uint)
parm:           rtw_amplifier_type_5g:BIT6:5G ext-PA, BIT7:5G ext-LNA (uint)
parm:           rtw_RFE_type:default init value:64 (uint)
parm:           rtw_powertracking_type:default init value:64 (uint)
parm:           rtw_GLNA_type:default init value:0 (uint)
parm:           rtw_TxBBSwing_2G:default init value:0xFF (uint)
parm:           rtw_TxBBSwing_5G:default init value:0xFF (uint)
parm:           rtw_OffEfuseMask:default open Efuse Mask value:0 (uint)
parm:           rtw_FileMaskEfuse:default drv Mask Efuse value:0 (uint)
parm:           rtw_rxgain_offset_2g:default RF Gain 2G Offset value:0 (uint)
parm:           rtw_rxgain_offset_5gl:default RF Gain 5GL Offset value:0 (uint)
parm:           rtw_rxgain_offset_5gh:uint
parm:           rtw_rxgain_offset_5gm:default RF Gain 5GM Offset value:0 (uint)
parm:           rtw_pll_ref_clk_sel:force pll_ref_clk_sel, 0xF:use autoload value (uint)
parm:           rtw_tx_pwr_by_rate:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm:           rtw_tx_pwr_lmt_enable:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm:           rtw_target_tx_pwr_2g_a:2.4G target tx power (unit:dBm) of RF path A for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_2g_b:2.4G target tx power (unit:dBm) of RF path B for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_2g_c:2.4G target tx power (unit:dBm) of RF path C for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_2g_d:2.4G target tx power (unit:dBm) of RF path D for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_5g_a:5G target tx power (unit:dBm) of RF path A for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_5g_b:5G target tx power (unit:dBm) of RF path B for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_5g_c:5G target tx power (unit:dBm) of RF path C for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_5g_d:5G target tx power (unit:dBm) of RF path D for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_antenna_gain:Antenna gain in mBi. 0x7FFF: unspecifed (int)
parm:           rtw_tsf_update_pause_factor:num of bcn intervals to stay TSF update pause status (int)
parm:           rtw_tsf_update_restore_factor:num of bcn intervals to stay TSF update restore status (int)
parm:           rtw_phy_file_path:The path of phy parameter (charp)
parm:           rtw_load_phy_file:PHY File Bit Map (int)
parm:           rtw_decrypt_phy_file:Enable Decrypt PHY File (int)
parm:           rtw_recvbuf_nr:Preallocated number of struct recv_buf (int)
parm:           rtw_phydm_ability:uint
parm:           rtw_halrf_ability:uint
parm:           rtw_en_napi:int
parm:           rtw_en_gro:int
parm:           rtw_iqk_fw_offload:int
parm:           rtw_ch_switch_offload:int
parm:           rtw_en_tdls:int
parm:           rtw_en_dyn_rrsr:int
parm:           rtw_rrsr_value:int
parm:           rtw_scan_interval_thr:Threshold used to judge if scan request comes from scan UI, unit is ms. (uint)

Offline

#35 2023-03-26 19:23:55

seth
Member
Registered: 2012-09-03
Posts: 50,933

Re: My wifi adapter doesn't work [SOLVED]

[luc@StarcClans ~]$ rtl8821cu/5.12.0.4.145.80781de, 6.2.8-arch1-1, x86_64: installed

That's not a command… roll

Anyway

[luc@StarcClans ~]$ modinfo 8821cu
filename:       /lib/modules/6.2.8-arch1-1/updates/dkms/8821cu.ko.zst
version:        v5.12.0.4-1-g9241a6516.20210916_COEX20200730-5151
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver

So the driver is perfectly there, the results in https://bbs.archlinux.org/viewtopic.php … 9#p2091989 not valid/relevant.

What are the outputs of

ip a
lsmod | grep 8821
modprobe -rv rtw88_8821cu
modprobe -v 8821cu
lsmod | grep 8821
ip a

Offline

#36 2023-03-29 16:55:38

StarcClans
Member
Registered: 2023-02-22
Posts: 31

Re: My wifi adapter doesn't work [SOLVED]

it just connected after reinstalling it and leaving the computer for 3 days this is so weird I mean it started to work again.

also the code:

[luc@StarcClans ~]$ ip a
lsmod | grep 8821
modprobe -rv rtw88_8821cu
modprobe -v 8821cu
lsmod | grep 8821
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp9s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether fc:34:97:b5:f9:48 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.148/24 brd 192.168.1.255 scope global dynamic noprefixroute enp9s0
       valid_lft 43043sec preferred_lft 43043sec
    inet6 fe80::f21c:1f65:2cb6:f688/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 0c:cf:89:6d:c8:4d brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.144/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
       valid_lft 43097sec preferred_lft 43097sec
    inet6 fe80::bc0:25cb:6a67:ce03/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
8821cu               4022272  0
cfg80211             1277952  1 8821cu
8821cu               4022272  0
cfg80211             1277952  1 8821cu
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp9s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether fc:34:97:b5:f9:48 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.148/24 brd 192.168.1.255 scope global dynamic noprefixroute enp9s0
       valid_lft 43043sec preferred_lft 43043sec
    inet6 fe80::f21c:1f65:2cb6:f688/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 0c:cf:89:6d:c8:4d brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.144/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
       valid_lft 43097sec preferred_lft 43097sec
    inet6 fe80::bc0:25cb:6a67:ce03/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

Last edited by StarcClans (2023-03-29 16:56:50)

Offline

#37 2023-03-29 16:59:19

StarcClans
Member
Registered: 2023-02-22
Posts: 31

Re: My wifi adapter doesn't work [SOLVED]

note to self do not update wifi package but how do I do that?

sudo pacman -Syu

and what do I add to it that abstains from updating the drivers

Offline

#38 2023-03-29 19:50:02

seth
Member
Registered: 2012-09-03
Posts: 50,933

Re: My wifi adapter doesn't work [SOLVED]

There's no "wifi package", https://aur.archlinux.org/packages/rtl8 … r-dkms-git is an AUR package, so it won't update automatically.
It'll however rebuild the kernel module when you update the kernel and that's absolutely required.
#36 also shows its module being loaded and the wifi NIC available w/ carrier and lease.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB