No wifi adapter found on HP Pavilion 15-ec2xxx

I have tried the following but no success. [Link was not allowed to be included]
`https: // forum. manjaro. org/t/cant-install-wifi-driver-for-lenovo-thinkbook-15-iml/23512’

My output for $ mhwd -lh -d --pci

06: PCI 300.0: 0280 Network controller
  SysFS ID: /devices/pci0000:00/0000:00:02.1/0000:03:00.0
  SysFS BusID: 0000:03:00.0
  Hardware Class: network
  Device Name: "Realtek Wireless LAN + BT"
  Model: "Realtek Network controller"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8852 
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x88e1 
  I/O Ports: 0xd000-0xd0ff (rw,disabled)
  Memory Range: 0xfc800000-0xfc8fffff (rw,non-prefetchable,disabled)
  IRQ: 255 (no events)
  Module Alias: "pci:v000010ECd00008852sv0000103Csd000088E1bc02sc80i00"
  Attached to: #16 (PCI bridge)

...

12: PCI 200.0: 0200 Ethernet controller
  SysFS ID: /devices/pci0000:00/0000:00:01.2/0000:02:00.0
  SysFS BusID: 0000:02:00.0
  Hardware Class: network
  Device Name: "OnBoard Enthernets"
  Model: "Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8168 "RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x88de 
  Revision: 0x16
  Driver: "r8169"
  Driver Modules: "r8169"
  Device File: eno1
  I/O Ports: 0xe000-0xe0ff (rw)
  Memory Range: 0xfc904000-0xfc904fff (rw,non-prefetchable)
  Memory Range: 0xfc900000-0xfc903fff (rw,non-prefetchable)
  IRQ: 76 (no events)
  HW Address: 5c:60:ba:73:06:cb
  Permanent HW Address: 5c:60:ba:73:06:cb
  Link detected: no
  Module Alias: "pci:v000010ECd00008168sv0000103Csd000088DEbc02sc00i00"
  Driver Info #0:
    Driver Status: r8169 is active
    Driver Activation Cmd: "modprobe r8169"
  Attached to: #10 (PCI bridge)

My output for $ inxi --full --verbosity=7 --filter --no-host

System:
  Kernel: 5.15.65-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    Desktop: GNOME v: 42.4 tk: GTK v: 3.24.34 wm: gnome-shell dm: GDM v: 42.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-ec2xxx v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 88DE v: 96.33 serial: <superuser required> UEFI: AMI
    v: F.21 date: 03/16/2022
Battery:
  ID-1: BAT0 charge: 34.4 Wh (65.3%) condition: 52.7/52.7 Wh (100.0%)
    volts: 11.5 min: 11.6 model: HP Primary type: Li-ion serial: <filter>
    status: discharging
Memory:
  RAM: total: 7.11 GiB used: 2.59 GiB (36.5%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  Info: 6-core model: AMD Ryzen 5 5600H with Radeon Graphics bits: 64
    type: MT MCP smt: enabled arch: Zen 3 level: v3 rev: 0 cache: L1: 384 KiB
    L2: 3 MiB L3: 16 MiB
  Speed (MHz): avg: 1263 high: 1397 min/max: 1200/4280 boost: enabled
    cores: 1: 1396 2: 1397 3: 1397 4: 1397 5: 1198 6: 1198 7: 1197 8: 1197
    9: 1197 10: 1197 11: 1197 12: 1197 bogomips: 79082
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic
    extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
    hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
    misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
    nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni
    popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep
    sha_ni skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3
    stibp succor svm svm_lock syscall tce topoext tsc tsc_scale umip
    v_spec_ctrl v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq
    wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
Graphics:
  Device-1: NVIDIA GA107M [GeForce RTX 3050 Mobile] vendor: Hewlett-Packard
    driver: nvidia v: 515.65.01 arch: Ampere pcie: speed: 8 GT/s lanes: 8
    bus-ID: 01:00.0 chip-ID: 10de:25a2 class-ID: 0300
  Device-2: AMD Cezanne vendor: Hewlett-Packard driver: amdgpu v: kernel
    arch: GCN-5.1 pcie: speed: 8 GT/s lanes: 16 ports: active: eDP-1
    empty: none bus-ID: 05:00.0 chip-ID: 1002:1638 class-ID: 0300
  Device-3: Quanta HP TrueVision HD Camera type: USB driver: uvcvideo
    bus-ID: 3-3:3 chip-ID: 0408:5365 class-ID: 0e02
  Display: x11 server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3
    compositor: gnome-shell driver: X: loaded: amdgpu,nvidia
    unloaded: modesetting,nouveau,radeon alternate: fbdev,nv,vesa gpu: amdgpu
    display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
  Monitor-1: eDP-1 mapped: eDP model-id: TMX 0x1560 res: 1920x1080 hz: 144
    dpi: 142 size: 344x194mm (13.54x7.64") diag: 395mm (15.5") modes:
    max: 1920x1080 min: 640x480
  OpenGL: renderer: AMD RENOIR (LLVM 14.0.6 DRM 3.42 5.15.65-1-MANJARO)
    v: 4.6 Mesa 22.1.7 direct render: Yes
Audio:
  Device-1: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:2291
    class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard
    driver: N/A pcie: speed: 8 GT/s lanes: 16 bus-ID: 05:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.65-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.1 running: yes
  Sound Server-4: PipeWire v: 0.3.57 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: N/A pcie: speed: 2.5 GT/s lanes: 1
    port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8852 class-ID: 0280
  IF-ID-1: enp5s0f4u1 state: unknown speed: -1 duplex: half mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-4:2 chip-ID: 0bda:2852 class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
  Device-2: OPPO SDM712-MTP _SN:940323EC type: USB driver: rndis_host
    v: kernel bus-ID: 3-1:2 chip-ID: 22d9:276a class-ID: 0a00 serial: <filter>
  Report: This feature requires one of these tools: hciconfig/bt-adapter
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 16.32 GiB (3.4%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVL2512HCJQ-00BH1
    size: 476.94 GiB speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: HPS3NGXH temp: 42.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / size: 175.07 GiB used: 16.24 GiB (9.3%) fs: btrfs
    dev: /dev/nvme0n1p6 label: N/A uuid: 08da98b9-77c1-4f09-a230-9c223214aa3b
  ID-2: /boot/efi size: 256 MiB used: 80 MiB (31.3%) fs: vfat
    dev: /dev/nvme0n1p1 label: SYSTEM uuid: A8D8-AF2F
  ID-3: /home size: 175.07 GiB used: 16.24 GiB (9.3%) fs: btrfs
    dev: /dev/nvme0n1p6 label: N/A uuid: 08da98b9-77c1-4f09-a230-9c223214aa3b
  ID-4: /var/cache size: 175.07 GiB used: 16.24 GiB (9.3%) fs: btrfs
    dev: /dev/nvme0n1p6 label: N/A uuid: 08da98b9-77c1-4f09-a230-9c223214aa3b
  ID-5: /var/log size: 175.07 GiB used: 16.24 GiB (9.3%) fs: btrfs
    dev: /dev/nvme0n1p6 label: N/A uuid: 08da98b9-77c1-4f09-a230-9c223214aa3b
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 size: 16 MiB fs: <superuser required> label: N/A
    uuid: N/A
  ID-2: /dev/nvme0n1p3 size: 300 GiB fs: ntfs label: Windows
    uuid: E868B79E68B769C8
  ID-3: /dev/nvme0n1p4 size: 598 MiB fs: ntfs label: Windows RE tools
    uuid: 7CCED37FCED32FDE
  ID-4: /dev/nvme0n1p5 size: 1024 MiB fs: ext4 label: N/A
    uuid: 926c36c4-21c3-4743-8cc3-1d3ae8f89edb
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-4:2 info: Realtek Bluetooth Radio type: Bluetooth
    driver: btusb interfaces: 2 rev: 1.0 speed: 12 Mb/s power: 500mA
    chip-ID: 0bda:2852 class-ID: e001 serial: <filter>
  Hub-2: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-1:2 info: OPPO SDM712-MTP _SN:940323EC
    type: Bluetooth,CDC-Data driver: rndis_host interfaces: 2 rev: 2.1
    speed: 480 Mb/s power: 500mA chip-ID: 22d9:276a class-ID: 0a00
    serial: <filter>
  Device-2: 3-3:3 info: Quanta HP TrueVision HD Camera type: Video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 0408:5365 class-ID: 0e02
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 50.4 C mobo: N/A gpu: amdgpu temp: 43.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 332 Uptime: 37m wakeups: 1 Init: systemd v: 251
  default: graphical Compilers: gcc: 12.2.0 clang: 14.0.6 Packages:
  pm: pacman pkgs: 1248 Shell: Zsh v: 5.9 running-in: gnome-terminal
  inxi: 3.3.21

Please help in installing the wifi driver.

Does the LAN adapter work ?
Can you install the latest kernel (5.19.xx) ?

Hi @aqdasak, and welcome!

From the accepted answer on this page it would seem you need the rtw89 drivers. And lucky for you they seem to be in the AUR:

$ pamac search rtw89
[...]
rtw89-dkms-git                                                                                                                                                                                                            1:r148.4dc5371-3              AUR
Driver for Realtek 8852AE, an 802.11ax device

But for dkms driver packages, you need the kernel headers. So run the following in the terminal:

pamac install $(pamac list --installed --quiet | grep "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-headers"}' ORS=' ')

This will install all headers for the currently installed kernels.

Next, install the drivers mentioned above:

pamac build rtw89-dkms-git

Cross your heart, say a little prayer, hold your thumb, and reboot.

pamac build rtw89-dkms-git run successfully but didn’t work.
askubuntu answer worked successfully. Thanks a lot.

Did you install the headers first, as per my answer?

I’m glad it worked though.

Yes I had installed the headers.
It is my first day using manjaro and I thought I had to give up using manjaro. I didn’t expected such a quick reply. You people are awesome. Thank you all

Yes LAN adapter was working.
I didn’t tried the latest kernel, I am on 5.15.

Just take note of this then:

When Update Manager offers and installs a later kernel version, also known as linux-image, after the requested reboot, you must rebuild the driver:

cd rtw89
make clean
git pull
make
sudo make install
sudo modprobe rtw89pci

Please retain the rtw89pci directory and these instructions for that time.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.