[Solved] Asus Vivobook X1704V: unable to use WiFi with Realtek Device 10ec:b851 (kernel module 8851be.ko)

- - ALL UNSTABLE / TESTING THREADS SHOULD BE POSTED HERE - -
This sub-forum is the dedicated area for the ongoing Unstable/Testing releases of Debian. Advanced, or Experienced User support only. Use the software, give, and take advice with caution.
Post Reply
Message
Author
Char Snipeur
Posts: 17
Joined: 2024-08-13 16:53
Been thanked: 1 time

[Solved] Asus Vivobook X1704V: unable to use WiFi with Realtek Device 10ec:b851 (kernel module 8851be.ko)

#1 Post by Char Snipeur »

Hi,
I have an Asus Vivobook X1704V, and Wifi don't work. I can see this is "normal" here https://linux-hardware.org/?probe=a08f766647.
But, it seems to have a drivers rtw89 https://github.com/lwfinger/rtw89/tree/ ... me-ov-file and I have

Code: Select all

# lspci -nnk | grep -iA3 net
0000:01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b851]
	Subsystem: Foxconn International, Inc. Device [105b:e100]
	Kernel modules: rtw_8851be
which suggest that rtw_8851be is the right driver provide by lwfinger.
Is it right ?

I try to install this driver, but always some errors...
Wifi don't work with Mageia9 or Debian Bookworm.

Thank for helping.
PS : I found this link https://lists.ubuntu.com/archives/kerne ... 41702.html that suggest stock firmware must work... But it doesn't.
Last edited by Char Snipeur on 2024-09-29 14:31, edited 2 times in total.

Aki
Global Moderator
Global Moderator
Posts: 3954
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 520 times

Re: unable to use Wifi

#2 Post by Aki »

Hello,
Char Snipeur wrote: 2024-08-18 13:42 Hi,
I have an Asus Vivobook X1704V, and Wifi don't work. I can see this is "normal" here https://linux-hardware.org/?probe=a08f766647 [..] I have

Code: Select all

# lspci -nnk | grep -iA3 net
0000:01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b851]
	Subsystem: Foxconn International, Inc. Device [105b:e100]
	Kernel modules: rtw_8851be
What version of kernel do you currently have installed? You can use the command:

Code: Select all

uname -a
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Char Snipeur
Posts: 17
Joined: 2024-08-13 16:53
Been thanked: 1 time

Re: unable to use Wifi

#3 Post by Char Snipeur »

Linux Monstre1 6.10.4-custom #7 SMP PREEMPT_DYNAMIC Tue Aug 13 19:53:52 CEST 2024 x86_64 GNU/Linux
But same problem with other kernels (mageia9: 6.4, Bookworm)
Myabe error origin is in this dmesg line :

Code: Select all

pci 0000:01:00.0: CLS mismatch (64 != 32), using 64 bytes

Aki
Global Moderator
Global Moderator
Posts: 3954
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 520 times

Re: unable to use Wifi

#4 Post by Aki »

Hello,
Char Snipeur wrote: 2024-08-18 18:24

Code: Select all

Linux Monstre1 6.10.4-custom #7 SMP PREEMPT_DYNAMIC Tue Aug 13 19:53:52 CEST 2024 x86_64 GNU/Linux
You are currently running a custom kernel: why ?

What about kernel from Debian repositories ?
Char Snipeur wrote: 2024-08-18 18:24 which suggest that rtw_8851be is the right driver provide by lwfinger.
Is it right ?
I don't know about the github repository lwfinger. Searching the git repositories I haven't found the rtw_8851be repository (you quoted above). Did you install a different kernel module ?

The vanilla version of Linux kernel has a kernel module for your wireless adapter (currently since version 6.5); it is the rtw8851be kernel module; this should be the first commit:

Code: Select all

$ git log --grep 10ec:b851
commit 99ff8da56322cda9eb9b37021e27b127c2d1cad8
Author: Ping-Ke Shih <pkshih@realtek.com>
Date:   Fri Apr 21 10:45:45 2023 +0800

    wifi: rtw89: 8851be: add 8851BE PCI entry and fill PCI capabilities
    
    Add PCI entry to 8851BE with its device ID 10ec:b851, also fill PCI info
    according to its capabilities.
    
    Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
    Signed-off-by: Kalle Valo <kvalo@kernel.org>
    Link: https://lore.kernel.org/r/20230421024551.29994-3-pkshih@realtek.com
but it is not active by default in the Debian version of Linux:

Code: Select all

$ grep -i rtw89_8851be boot/config-6.10.4-amd64 
# CONFIG_RTW89_8851BE is not set
You may try to enable it.

Can you send a complete journal output since boot ?

You can report logs in one of the following ways:
  • attaching the logs to a follow-up forum message as a compressed zip or gz file
  • paste logs into the body of a follow-up message between code tags (if they fit the size of a forum message)
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
stevepusser
Posts: 13027
Joined: 2009-10-06 05:53
Has thanked: 45 times
Been thanked: 92 times

Re: unable to use Wifi

#5 Post by stevepusser »

It's enabled in Liquorix kernels, if you want to give one of those a spin to see how stable that driver is.

Code: Select all

CONFIG_RTW89_8851BE=m
MX Linux packager and developer

Char Snipeur
Posts: 17
Joined: 2024-08-13 16:53
Been thanked: 1 time

Re: unable to use Wifi

#6 Post by Char Snipeur »

Hello.
Thank you very much for Answer.
I use a custom kernel, because is the only solution I found to use keyboard https://forums.debian.net/viewtopic.php?t=160154 (but if some one find a better solution, I'll happy).

Begin of the story : I buy a new laptop computer for my dauhgter and try to install Mageia9 (drakconfig is awesone for begginer). Wifi don't work. So I try Debian which I know better that Mageia. But always no Wifi :-(
Short: I test first a standard installation.
So I search on Internet some solutions. I found the driver rtw89 by lwfinger, and I try it : Download, modified code (not compatible with 6.10 kernel), compile, install.

You said that rtw89_8851be
it is not active by default in the Debian version of Linux
. It's an interresting way! Debian don't active this driver if it detect the associated card ?
I don't know how to roll back before lwfinger driver. Now if I "modprobe rtw89_8851be", I load lwfinger driver.

How to enable default drivers ?

I'll try your suggest, and if don't work, I'll post an entire log.

Aki
Global Moderator
Global Moderator
Posts: 3954
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 520 times

Re: unable to use Wifi

#7 Post by Aki »

Char Snipeur wrote: 2024-08-21 09:34 You said that rtw89_8851be
it is not active by default in the Debian version of Linux
It's an interresting way! Debian don't active this driver if it detect the associated card ?
It depends on the configuration of the Linux kernel; if the configuration parameter of the Linux kernel is not set at compile time for the specific "driver", the corresponding code will not be compiled and therefore cannot be used/executed by the kernel on behalf of the operating system.
Char Snipeur wrote: 2024-08-21 09:34 I don't know how to roll back before lwfinger driver. Now if I "modprobe rtw89_8851be", I load lwfinger driver.
The out-of-tree kernel module you compiled should have instructions on how to uninstall it.
Char Snipeur wrote: 2024-08-21 09:34 How to enable default drivers ?
Linux kernel modules compiled according to the default Debian configuration are automatically started when the Linux kernel recognises the device.

Kernel modules or kernel sources (or "drivers") that are disabled in the default Debian configuration must be enabled by modifying the kernel configuration and recompiling the kernel.
Char Snipeur wrote: 2024-08-21 09:34 I'll try your suggest, and if don't work, I'll post an entire log.
The advice from @stevepusser in the previous post may allow you to test the kernel module without uninstalling the currently installed module and the out-of-tree kernel module lwfinger that you have already installed.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
stevepusser
Posts: 13027
Joined: 2009-10-06 05:53
Has thanked: 45 times
Been thanked: 92 times

Re: unable to use Wifi

#8 Post by stevepusser »

You may also need to either install firmware-realtek or install missing firmware files manually if you go with the in-kernel module. The dkms drivers will have the firmware already.

It's probably this file: /usr/lib/firmware/rtw89/rtw8851b_fw.bin

Which is in testing's and Sid's firmware-realtek, but not Bookworm's. https://packages.debian.org/sid/firmware-realtek

In the past, it's been safe to download and install upstream firmware deb files on stable, unlike most upstream packages.
MX Linux packager and developer

User avatar
stevepusser
Posts: 13027
Joined: 2009-10-06 05:53
Has thanked: 45 times
Been thanked: 92 times

Re: unable to use Wifi

#9 Post by stevepusser »

Here's a weird one on Arch with the same chipset: https://bbs.archlinux.org/viewtopic.php?id=298678

I'm going to try and backport the 6.10.6 kernel from Sid with the same rtw89 configuration as the Liquorix kernels, hopefully not too much fire results:

Code: Select all

CONFIG_RTW89=m
CONFIG_RTW89_CORE=m
CONFIG_RTW89_PCI=m
CONFIG_RTW89_8851B=m
CONFIG_RTW89_8852A=m
CONFIG_RTW89_8852B=m
CONFIG_RTW89_8852C=m
CONFIG_RTW89_8922A=m
CONFIG_RTW89_8851BE=m
CONFIG_RTW89_8852AE=m
CONFIG_RTW89_8852BE=m
CONFIG_RTW89_8852CE=m
CONFIG_RTW89_8922AE=m
# CONFIG_RTW89_DEBUGMSG is not set
# CONFIG_RTW89_DEBUGFS is not set
MX Linux packager and developer

Char Snipeur
Posts: 17
Joined: 2024-08-13 16:53
Been thanked: 1 time

Re: unable to use Wifi

#10 Post by Char Snipeur »

Hello ,
Like suggest in Arch forum, I try to clear CMOS (restoring default config, I'm not sure that is exactly that the thing to do).
error message like "MAC has already powered on" disappear. Great
I do
/root/rtw89# make uninstall
I reinstall firmware-realtek ('L') with aptitude
Now I have a lot of new error (cf. DMSG.gz) like "rtw_8851b: Unknown symbol rtw89_mac_cfg_gnt (err -2)"

Code: Select all

/root/linux-6.10.4# grep RTW89 .config
CONFIG_RTW89=m
CONFIG_RTW89_CORE=m
CONFIG_RTW89_PCI=m
CONFIG_RTW89_8852A=m
CONFIG_RTW89_8852B=m
CONFIG_RTW89_8852C=m
# CONFIG_RTW89_8851BE is not set
CONFIG_RTW89_8852AE=m
CONFIG_RTW89_8852BE=m
CONFIG_RTW89_8852CE=m
# CONFIG_RTW89_8922AE is not set
# CONFIG_RTW89_DEBUGMSG is not set
# CONFIG_RTW89_DEBUGFS is not set
I think that kernel module is activate.
Attachments
DMESG.gz
(23.22 KiB) Downloaded 11 times

Char Snipeur
Posts: 17
Joined: 2024-08-13 16:53
Been thanked: 1 time

Re: unable to use Wifi

#11 Post by Char Snipeur »

I modify ".config" and add : "CONFIG_RTW89_8851BE=m", compile and install new kernel.
No more "Mac already ON" message, but back to new messages. I don't understand...

Sometimes "pci 0000:01:00.0: CLS mismatch (64 != 32), using 64 bytes" disappear, specially if I disable Wifi in BIOS.
Attachments
DMESG2.gz
(21.43 KiB) Downloaded 13 times

Aki
Global Moderator
Global Moderator
Posts: 3954
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 520 times

Re: unable to use Wifi

#12 Post by Aki »

Hello,

You are running the following Linux kernel version:

Code: Select all

[    0.000000] Linux version 6.10.4-custom (root@Monstre1) (gcc (Debian 14.2.0-2) 14.2.0, GNU ld (GNU Binutils for Debian) 2.43) #8 SMP PREEMPT_DYNAMIC Sat Aug 24 14:04:54 CEST 2024
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.10.4-custom root=UUID=76686455-84bb-49bb-a9d9-1f66591a04f5 ro quiet
This is the excerpt of your log referring to the wireless network adapter realtek 8851BE (kernel module rtw89_8851be):

Code: Select all

$ grep '0000:01:00.0' DMESG2 
[    0.253041] pci 0000:01:00.0: [10ec:b851] type 00 class 0x028000 PCIe Endpoint
[    0.253086] pci 0000:01:00.0: BAR 0 [io  0x3000-0x30ff]
[    0.253147] pci 0000:01:00.0: BAR 2 [mem 0x84000000-0x840fffff 64bit]
[    0.253416] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.589535] pci 0000:01:00.0: CLS mismatch (64 != 32), using 64 bytes
[    0.590023] pci 0000:01:00.0: Adding to iommu group 12
[    3.226114] rtw89_8851be 0000:01:00.0: loaded firmware rtw89/rtw8851b_fw.bin
[    3.227581] rtw89_8851be 0000:01:00.0: Firmware version 0.29.41.3 (65cefb31), cmd version 0, type 5
[    3.227585] rtw89_8851be 0000:01:00.0: Firmware version 0.29.41.3 (65cefb31), cmd version 0, type 3
[    4.848637] rtw89_8851be 0000:01:00.0: fw security fail
[    4.848643] rtw89_8851be 0000:01:00.0: download firmware fail
[    4.848648] rtw89_8851be 0000:01:00.0: [ERR]fwdl 0x1E0 = 0x62
[    4.848652] rtw89_8851be 0000:01:00.0: [ERR]fwdl 0x83F0 = 0x80093
[    4.848661] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[    4.848681] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[    4.848702] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520
[    4.848723] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[    4.848744] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[    4.848765] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520
[    4.848786] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[    4.848807] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f534
[    4.848826] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f534
[    4.848846] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f524
[    4.848867] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f524
[    4.848888] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f534
[    4.848909] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f53c
[    4.848930] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[    4.848950] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520
[    6.459775] rtw89_8851be 0000:01:00.0: fw security fail
[    6.459781] rtw89_8851be 0000:01:00.0: download firmware fail
[    6.459795] rtw89_8851be 0000:01:00.0: [ERR]fwdl 0x1E0 = 0x62
[    6.459798] rtw89_8851be 0000:01:00.0: [ERR]fwdl 0x83F0 = 0x80093
[    6.459807] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[    6.459828] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520
[    6.459842] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f524
[    6.459857] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[    6.459878] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f53c
[    6.459899] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[    6.459920] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520
[    6.459941] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f508
[    6.459962] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520
[    6.459983] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520/kernel m
[    6.460004] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[    6.460024] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f534
[    6.460039] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520
[    6.460061] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f518
[    6.460075] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[    8.069493] rtw89_8851be 0000:01:00.0: fw security fail
[    8.069512] rtw89_8851be 0000:01:00.0: download firmware fail
[    8.069519] rtw89_8851be 0000:01:00.0: [ERR]fwdl 0x1E0 = 0x62
[    8.069539] rtw89_8851be 0000:01:00.0: [ERR]fwdl 0x83F0 = 0x80093
[    8.069564] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[    8.069588] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[    8.069612] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f53c
[    8.069639] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f53c
[    8.069663] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520
[    8.069687] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f500
[    8.069712] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f518
[    8.069736] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f534
[    8.069760] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520
[    8.069784] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520
[    8.069808] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f524
[    8.069833] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f53c
[    8.069857] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f53c
[    8.069880] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520
[    8.069904] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[    9.678672] rtw89_8851be 0000:01:00.0: fw security fail
[    9.678688] rtw89_8851be 0000:01:00.0: download firmware fail
[    9.678695] rtw89_8851be 0000:01:00.0: [ERR]fwdl 0x1E0 = 0x62
[    9.678715] rtw89_8851be 0000:01:00.0: [ERR]fwdl 0x83F0 = 0x80093
[    9.678741] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f53c
[    9.678764] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f518
[    9.678788] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f508
[    9.678811] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520
[    9.678835] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520
[    9.678859] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f53c
[    9.678883] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f53c
[    9.678907] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f500
[    9.678932] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f524
[    9.678956] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[    9.678980] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f53c
[    9.679003] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[    9.679027] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f508
[    9.679051] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f53c
[    9.679074] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f53c
[   11.286986] rtw89_8851be 0000:01:00.0: fw security fail
[   11.286998] rtw89_8851be 0000:01:00.0: download firmware fail
[   11.287004] rtw89_8851be 0000:01:00.0: [ERR]fwdl 0x1E0 = 0x62
[   11.287016] rtw89_8851be 0000:01:00.0: [ERR]fwdl 0x83F0 = 0x80093
[   11.287034] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f53c
[   11.287058] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520
[   11.287082] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f524
[   11.287111] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[   11.287135] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[   11.287160] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f500
[   11.287184] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[   11.287208] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f53c
[   11.287231] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[   11.287255] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520
[   11.287279] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f520
[   11.287302] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f53c
[   11.287326] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f53c
[   11.287350] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[   11.287374] rtw89_8851be 0000:01:00.0: [ERR]fw PC = 0xb892f51c
[   11.287394] rtw89_8851be 0000:01:00.0: failed to setup chip information
[   11.288269] rtw89_8851be 0000:01:00.0: probe with driver rtw89_8851be failed with error -22
So it looks like there's something wrong with the firmware file, but the version of the firmware file you're using (0.29.41.3) is the latest available in the Linux git firmware repository:
  • index : kernel/git/firmware/linux-firmware.git

    Code: Select all

    path: root/rtw89/rtw8851b_fw.bin
    Age	Commit message (Expand)	Author	Files	Lines
    2023-10-31	rtw89: 8851b: update fw to v0.29.41.3	Chin-Yen Lee	1	-0/+0
    2023-08-25	rtw89: 8851b: update fw to v0.29.41.2	Chin-Yen Lee	1	-0/+0
    2023-08-02	rtw89: 8851b: update firmware to v0.29.41.1	Chin-Yen Lee	1	-0/+0
    2023-05-24	rtw89: 8851b: add firmware v0.29.41.0	Ping-Ke Shih	1	-0/+0
    
You might compute a hash of the firmware file to compare it with the hash calculated on the latest firmware available upstream.

The latest upstream hash is:

Code: Select all

$ wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtw89/rtw8851b_fw.bin
$ sha256sum rtw8851b_fw.bin 
f0980b436211f08682666777161db844f020c7c01f4d5864792f9ad8ee2ffd0a  rtw8851b_fw.bin
You may also try if the kernel module loads the previous versions v0.29.41.2, v0.29.41.1 or v0.29.41.0.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Char Snipeur
Posts: 17
Joined: 2024-08-13 16:53
Been thanked: 1 time

Re: unable to use Wifi

#13 Post by Char Snipeur »

Hello.

thank you for answer.
the sum is OK

Code: Select all

$ sha256sum $(find /usr -name rtw8851b_fw.bin)
f0980b436211f08682666777161db844f020c7c01f4d5864792f9ad8ee2ffd0a  /usr/lib/firmware/rtw89/rtw8851b_fw.bin
I don't find other versions of module.

If none of these older versions loads, what can I do ?

Aki
Global Moderator
Global Moderator
Posts: 3954
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 520 times

Re: unable to use Wifi

#14 Post by Aki »

Hello,
Char Snipeur wrote: 2024-08-25 08:19 If none of these older versions loads, what can I do ?
According to this post on another forum from a few days ago for the same wireless adapter (10ec:b851) and the same firmware error messages (the firmware version is not reported):
"Resetting the CMOS worked"
The post above was about a desktop computer, so resetting the CMOS could be done removing the CMOS battery.

In a laptop like yours, it is much more complicated and probably not recommended.

I don't know if resetting the BIOS to factory settings would help.

--
note: it could be helpful to modify the subject of the first post to add more information about the wireless device and the computer used; e.g.: Asus Vivobook X1704V: unable to use WiFi with Realtek Device 10ec:b851 (kernel module 8851be.ko)
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Char Snipeur
Posts: 17
Joined: 2024-08-13 16:53
Been thanked: 1 time

#15 Post by Char Snipeur »

This "Arch" post had already been shared. I tried reset Factory, and message about MAC now is not present. But it don't solve the problem.
Maybe a bug report to firmware mainteners ?

Aki
Global Moderator
Global Moderator
Posts: 3954
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 520 times

Re:

#16 Post by Aki »

Char Snipeur wrote: 2024-08-25 21:04 Maybe a bug report to firmware mainteners ?
You may try reporting about the "firmware-realtek" package (about specific firmware file) or about the kernel.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Char Snipeur
Posts: 17
Joined: 2024-08-13 16:53
Been thanked: 1 time

Re: Asus Vivobook X1704V: unable to use WiFi with Realtek Device 10ec:b851 (kernel module 8851be.ko)

#17 Post by Char Snipeur »

Hello.
One evening I come back from work and my Daughter use the laptop without Wifi-key.
The internal card works with her !! X-|
The only difference I see: she use the laptop on battery.
I think problem appear only if the laptop is on 240V and 100% of battery. Or maybe the problem completely disappear after reinstall driver? I don't know.

Post Reply