Announcement

Collapse
No announcement yet.

Problem with the wifi connection of HP PAVILION board rtl8852be

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problem with the wifi connection of HP PAVILION board rtl8852be

    Wifi works irregularly or and does not work 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



    A..

    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"

    Code:
    ---- ## '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]

    | ^~~~~~~~~~~~~~~~~~~
    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

    #2
    https://github.com/HRex39/rtl8852be

    hasn't been updated in two years, and has been mothballed by its creator.

    probably this is better: https://github.com/lwfinger/rtw89

    Comment


      #3
      Originally posted by claydoh View Post
      https://github.com/HRex39/rtl8852be

      hasn't been updated in two years, and has been mothballed by its creator.

      probably this is better: https://github.com/lwfinger/rtw89
      Good call
      Larry is very experienced too
      If you still have issues PM him
      kubuntu 20.10

      Comment


        #4
        Thank @claydoh and @kernelbasher

        I'm going to try what you suggested​

        Comment

        Working...
        X