Problem with the wifi connection of HP PAVILION board rtl8852be Kubuntu 24.0

tecin21

New Member
Joined
Dec 28, 2024
Messages
3
Reaction score
0
Credits
39
Wifi works spotty and doesn't work.
The
the wifi adapter works irregularly; Sometimes it connects, works for a while and then cuts out or crashes.
Most of the time it doesn't work directly from boot .
I tried to install the driver, but it gives me an error in make.
The drivers referenced by inxi -N
are
/usr/lib/modules/6.11.0-13-generic/kernel/drivers/net/wireless/realtek/rtw89/rtw89_8852be.ko.zst



any idea ..

Corri los siguientes comandos
"sudo dmidecode -t system"
"sudo nmcli device"
'sudo lshw -C network'
"sudo inxi -N"
"rfkill list all"
"sudo grep iwl /etc/modprobe.d/* "
"sudo dkms status"


---- ## 'sudo dmidecode -t system' ##----

Product Name: HP Pavilion Laptop 15-eh3xxx
Ryzen 7
Family: 103C_5335KV HP Pavilion

Status: No errors detected

_ _
_ _


CUANDO FUNCIONA
---- ## 'sudo nmcli device' ##----
DEVICE TYPE STATE CONNECTION
wlo1 wifi connected Casa2
lo loopback connected (externally) lo
p2p-dev-wlo1 wifi-p2p disconnected --
_ _
_ _
CUANDO NO FUNCIONA
---- ## 'sudo nmcli device' ##----
DEVICE TYPE STATE CONNECTION
lo loopback connected (externally) lo
wlo1 wifi disconnected --
p2p-dev-wlo1 wifi-p2p disconnected --
_ _
_ _


CUANDO FUNCIONA


---- ## 'sudo lshw -C network' ##----
*-network
description: Wireless interface
product: RTL8852BE PCIe 802.11ax Wireless Network Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: wlo1
version: 00
serial: 28:d0:43:8e:d2:d2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtw89_8852be driverversion=6.11.0-13-generic firmware=N/A ip=192.168.100.17 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:83 ioport:f000(size=256) memory:fcf00000-fcffffff
_ _
_ _
---- ## 'sudo inxi -N' ##----
Network:
Device-1: Realtek RTL8852BE PCIe 802.11ax Wireless Network
driver: rtw89_8852be
_ _
_ _
---- ## 'rfkill list all' ##----
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
_ _
_ _
---- ## 'sudo grep iwl /etc/modprobe.d/* ' ##----
/etc/modprobe.d/iwlwifi.conf:# /etc/modprobe.d/iwlwifi.conf
/etc/modprobe.d/iwlwifi.conf:# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
/etc/modprobe.d/iwlwifi.conf:# microcode file installed on the system. When removing iwlwifi, first
/etc/modprobe.d/iwlwifi.conf:# remove the iwl?vm module and then iwlwifi.
/etc/modprobe.d/iwlwifi.conf:remove iwlwifi \
/etc/modprobe.d/iwlwifi.conf:(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
_ _
_ _
---- ## 'sudo dkms status' ##----
_ _
_ _
---- ## sudo lspci -knn | grep Ethernet ##----
_ _
_ _

CUANDO NO FUNCIONA


---- ## 'sudo lshw -C network' ##----
*-generic
description: Wireless interface
product: RTL8852BE PCIe 802.11ax Wireless Network Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: wlo1
version: ff
serial: 28:d0:43:8e:d2:d2
width: 32 bits
clock: 66MHz
capabilities: bus_master vga_palette cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtw89_8852be driverversion=6.11.0-13-generic firmware=N/A latency=255 link=no maxlatency=255 mingnt=255 multicast=yes wireless=IEEE 802.11
resources: irq:83 ioport:f000(size=256) memory:fcf00000-fcffffff
_ _
_ _
---- ## 'sudo inxi -N' ##----
Network:
Device-1: Realtek RTL8852BE PCIe 802.11ax Wireless Network
driver: rtw89_8852be
_ _

git clone https://github.com/HRex39/rtl8852be.git
cd rtl8852be
make clean
sudo make install


#rm -f .symvers.8852be
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.11.0-13-generic/build M=/home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be modules
make[1]: Entering directory '/usr/src/linux-headers-6.11.0-13-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-14 (Ubuntu 14.2.0-4ubuntu2) 14.2.0
You are using: gcc-14 (Ubuntu 14.2.0-4ubuntu2) 14.2.0
CC [M] /home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/platform/platform_linux_pc_pci.o
CC [M] /home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/os_dep/osdep_service.o
CC [M] /home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/os_dep/osdep_service_linux.o
CC [M] /home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/os_dep/linux/rtw_cfg.o
CC [M] /home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/os_dep/linux/os_intfs.o
CC [M] /home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/os_dep/linux/ioctl_linux.o
CC [M] /home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/os_dep/linux/xmit_linux.o
CC [M] /home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/os_dep/linux/mlme_linux.o
/home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/os_dep/osdep_service.c:247:13: warning: conflicting types for ‘dbg_rtw_vmfree’ due to enum/integer mismatch; have ‘void(void *, u32, const enum mstat_f, const char *, const int)’ {aka ‘void(void *, unsigned int, const enum mstat_f, const char *, const int)’} [-Wenum-int-mismatch]

....
| ^~~~~~~~~~~~~~~~~
/home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/os_dep/linux/os_intfs.c:280:5: warning: no previous prototype for ‘rtw_ndev_init’ [-Wmissing-prototypes]
280 | int rtw_ndev_init(struct net_device *dev)
| ^~~~~~~~~~~~~
/home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/os_dep/linux/os_intfs.c: In function ‘rtw_ndev_init’:
/home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/os_dep/linux/os_intfs.c:294:9: error: too many arguments to function ‘netif_napi_add’
294 | netif_napi_add(dev, &adapter->napi, rtw_recv_napi_poll, RTL_NAPI_WEIGHT);
| ^~~~~~~~~~~~~~

/home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/os_dep/osdep_service_linux.c:850:16: error: implicit declaration of function ‘prandom_u32’; did you mean ‘get_random_u32’? [-Wimplicit-function-declaration]
850 | return prandom_u32();
| ^~~~~~~~~~~
| get_random_u32
/home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/os_dep/linux/ioctl_linux.c:6246:5: warning: no previous prototype for ‘rtw_phl_test_set’ [-Wmissing-prototypes]
6246 | int rtw_phl_test_set(struct net_device *dev,
| ^~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:244: /home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/os_dep/osdep_service_linux.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:244: /home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/os_dep/linux/os_intfs.o] Error 1
/home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/platform/platform_linux_pc_pci.c: In function ‘pci_cache_inv’:
/home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/platform/platform_linux_pc_pci.c:30:17: error: implicit declaration of function ‘pci_dma_sync_single_for_cpu’; did you mean ‘dma_sync_single_for_cpu’? [-Wimplicit-function-declaration]
30 | pci_dma_sync_single_for_cpu(hwdev, *bus_addr, size, direction);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| dma_sync_single_for_cpu
/home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/platform/platform_linux_pc_pci.c: In function ‘pci_get_bus_addr’:
/home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/platform/platform_linux_pc_pci.c:39:29: error: implicit declaration of function ‘pci_map_single’; did you mean ‘dma_map_single’? [-Wimplicit-function-declaration]
39 | *bus_addr = pci_map_single(hwdev, vir_addr, size, direction);
| ^~~~~~~~~~~~~~
| dma_map_single
/home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/platform/platform_linux_pc_pci.c: In function ‘pci_unmap_bus_addr’:
/home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/platform/platform_linux_pc_pci.c:50:17: error: implicit declaration of function ‘pci_unmap_single’; did you mean ‘dma_unmap_single’? [-Wimplicit-function-declaration]
50 | pci_unmap_single(hwdev, *bus_addr, size, direction);
| ^~~~~~~~~~~~~~~~
| dma_unmap_single
/home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/platform/platform_linux_pc_pci.c: In function ‘pci_free_noncache_mem’:
/home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/platform/platform_linux_pc_pci.c:97:17: error: implicit declaration of function ‘pci_free_consistent’ [-Wimplicit-function-declaration]
97 | pci_free_consistent(pdev, size, vir_addr, *bus_addr);
| ^~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:244: /home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be/platform/platform_linux_pc_pci.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.11.0-13-generic/Makefile:1931: /home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be] Error 2
make[1]: *** [Makefile:224: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.11.0-13-generic'
make: *** [Makefile:637: modules] Error 2
 


It looks like your Realtek device is using the driver that the kernel is supporting.

Code:
Device-1: Realtek RTL8852BE PCIe 802.11ax Wireless Network
driver: rtw89_8852be

The 8852b was removed and there may be issues with the compiler here:

Code:
#rm -f .symvers.8852be
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.11.0-13-generic/build M=/home/gustavo/DOCUMENTOS/PROGRAMAS_INSTALAR/PLACA_NETWORK/rtl8852be modules
make[1]: Entering directory '/usr/src/linux-headers-6.11.0-13-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-14 (Ubuntu 14.2.0-4ubuntu2) 14.2.0
You are using: gcc-14 (Ubuntu 14.2.0-4ubuntu2) 14.2.0

There are a lot of make errors and I'm not a expert on compiling.
Let's see what our member @CaffeineAddict has to say.
 
error: too many arguments to function ‘netif_napi_add
the github page you linked is archived.
Likely build will not work with your current kernel, e.g. regression, the code is out of date.

If you have no choices, on github click on "Insights -> forks" and maybe one of the updated forks addressed these issues:
But from what I see they don't.
 
Last edited:
Thank @CaffeineAddict and @Alexzee
I managed to compile it by downloading another version from GitHub.
But the problem persists not only with that device, but I insert two different USBs and it gives me a similar result.
Sometimes it recognizes it, it goes on for a while and it cuts itself off and it stops recognizing it.
Other times it does not directly recognize it from its origin.
Other times it recognizes it, but does not connect.
I hope it's not the mother's problem.

I even get the same problem with the Live version (with the same USB that I installed)
I will download Kubuntu again and install and see if the problem is installation. Unless there is a different suggestion. Thanks again.

SYSLOG
When Adapter of HP

2024-12-29T12:58:11.026264-03:00 notehp kernel: usb 3-2: r8712u: CustomerID = 0x0000
2024-12-29T12:58:11.026272-03:00 notehp kernel: usb 3-2: r8712u: MAC Address from efuse = 00:23:13:03:16:03
2024-12-29T12:58:11.026274-03:00 notehp kernel: usb 3-2: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
2024-12-29T12:57:31.947165-03:00 notehp wpa_supplicant[1010]: wlo1: CTRL-EVENT-SCAN-FAILED ret=-110
2024-12-29T12:58:11.029706-03:00 notehp mtp-probe: checking bus 3, device 4: "/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2"
2024-12-29T12:58:11.029947-03:00 notehp mtp-probe: bus: 3, device: 4 was not an MTP device
2024-12-29T12:58:11.037962-03:00 notehp mtp-probe: checking bus 3, device 4: "/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2"
2024-12-29T12:58:11.038124-03:00 notehp mtp-probe: bus: 3, device: 4 was not an MTP device
2024-12-29T12:58:11.042243-03:00 notehp kernel: r8712u 3-2:1.0 wlx002313031603: renamed from wlan0
2024-12-29T12:58:15.049011-03:00 notehp ModemManager[1068]: <msg> [base-manager] couldn't check support for device' '/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2': not supported by any plugin
2024-12-29T12:58:35.728286-03:00 notehp kernel: rtw89_8852be 0000:01:00.0: Update probe request failed
2024-12-29T12:58:35.832329-03:00 notehp kernel: rtw89_8852be 0000:01:00.0: rtw89_hw_scan_offload failed ret -110
2024-12-29T12:58:35.838277-03:00 notehp kernel: rtw89_8852be 0000:01:00.0: FW does not process h2c registers
2024-12-29T12:58:35.838285-03:00 notehp kernel: rtw89_8852be 0000:01:00.0: read rf busy swsi
2024-12-29T12:58:35.838287-03:00 notehp kernel: rtw89_8852be 0000:01:00.0: read rf busy swsi
2024-12-29T12:58:35.838290-03:00 notehp kernel: rtw89_8852be 0000:01:00.0: write rf busy swsi
2024-12-29T12:58:35.838293-03:00 notehp kernel: rtw89_8852be 0000:01:00.0: write rf busy swsi
2024-12-29T12:58:35.838294-03:00 notehp kernel: rtw89_8852be 0000:01:00.0: read rf busy swsi
2024-12-29T12:58:35.905239-03:00 notehp kernel: message repeated 1001 times: [ rtw89_8852be 0000:01:00.0: read rf busy swsi]
2024-12-29T12:58:35.905239-03:00 notehp kernel: rtw89_8852be 0000:01:00.0: write rf busy swsi
2024-12-29T12:58:35.905247-03:00 notehp kernel: message repeated 2 times: [ rtw89_8852be 0000:01:00.0: write rf busy swsi]
2024-12-29T12:58:35.905248-03:00 notehp kernel: rtw89_8852be 0000:01:00.0: read rf busy swsi
2024-12-29T12:58:35.905249-03:00 notehp kernel: rtw89_8852be 0000:01:00.0: read rf busy swsi
2024-12-29T12:58:35.905249-03:00 notehp kernel: rtw89_8852be 0000:01:00.0: write rf busy swsi
2024-12-29T12:58:35.905251-03:00 notehp kernel: message repeated 2 times: [ rtw89_8852be 0000:01:00.0: write rf busy swsi]


when other adapter usb wifi


2024-12-29T13:00:20.438253-03:00 notehp kernel: r8712u: register rtl8712_netdev_ops to netdev_ops
2024-12-29T13:00:20.438259-03:00 notehp kernel: usb 3-2: r8712u: USB_SPEED_HIGH with 4 endpoints
2024-12-29T13:00:20.439252-03:00 notehp kernel: usb 3-2: r8712u: Boot from EFUSE: Autoload OK
2024-12-29T13:00:21.480340-03:00 notehp kernel: usb 3-2: r8712u: CustomerID = 0x0000
2024-12-29T13:00:21.480359-03:00 notehp kernel: usb 3-2: r8712u: MAC Address from efuse = 00:23:13:03:16:03
2024-12-29T13:00:21.480362-03:00 notehp kernel: usb 3-2: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
2024-12-29T13:00:21.483864-03:00 notehp mtp-probe: checking bus 3, device 5: "/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2"
2024-12-29T13:00:21.483980-03:00 notehp mtp-probe: bus: 3, device: 5 was not an MTP device
2024-12-29T13:00:21.492070-03:00 notehp mtp-probe: checking bus 3, device 5: "/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2"
2024-12-29T13:00:21.492166-03:00 notehp mtp-probe: bus: 3, device: 5 was not an MTP device
2024-12-29T13:00:21.496248-03:00 notehp kernel: r8712u 3-2:1.0 wlx002313031603: renamed from wlan0
2024-12-29T13:00:25.503511-03:00 notehp ModemManager[1068]: <msg> [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2': not supported by any plugin
 
But the problem persists not only with that device, but I insert two different USBs and it gives me a similar result.
Sometimes it recognizes it, it goes on for a while and it cuts itself off and it stops recognizing it.
Sounds more like a power settings problem if you get it on USB as well, check the BIOS/UEFI power settings and also usb settings,

second thought if you re dual booting with windows check the windows power settings, i cant see it being a problem, but there have been a couple of reports advising it.
 
295/5.000

Sounds more like a power settings problem if you get it on USB as well, check the BIOS/UEFI power settings and also usb settings,​

second thought if you re dual booting with windows check the windows power settings, i cant see it being a problem, but there have been a couple of reports advising it.

Sounds more like a power settings problem if you get it on USB as well, check the BIOS/UEFI power settings and also usb settings,

second thought if you re dual booting with windows check the windows power settings, i cant see it being a problem, but there have been a couple of reports advising it.
Sorry for not explaining myself very well. Now I have tried with a third USB card and it works normally. But this time the chip is not Realteck.
So I deduce that the problem is with that chip. And it seems that the Kernel 6.11.0-13-generic has its problem and I can't find the correct source to compile it..
Install Linux and delete Windows. I didn't put it in dual boot to avoid problems. =)
Computer is
Product Name: HP Pavilion Laptop 15-eh3xxx
Ryzen 7
Family: 103C_5335KV HP Pavilion
Install Kubuntu 24.10


clear











295 / 5.000

Resultados de traducción​

Resultado de traducción​

Sorry I wasn't very clear. Now I tried with a third USB card and it works normally. But this time the chip is not Realteck.So I deduce that the problem is with that chip. And it seems that the Kernel 6.11.0-13-generic has its problem and I can't find the correct source to compile it.
Sounds more like a power settings problem if you get it on USB as well, check the BIOS/UEFI power settings and also usb settings,

second thought if you re dual booting with windows check the windows power settings, i cant see it being a problem, but there have been a couple of reports advising it.
 
Last edited:


Members online


Top