[Solved] MB MSI X870-P WIFI - problem with Wifi network adapter Qualcomm WCN785x Wi-Fi 7(802.11be) [FastConnect 7800] [1

Need help with peripherals or devices?
Post Reply
Message
Author
Enkillinux
Posts: 11
Joined: 2025-01-15 14:55
Has thanked: 4 times

[Solved] MB MSI X870-P WIFI - problem with Wifi network adapter Qualcomm WCN785x Wi-Fi 7(802.11be) [FastConnect 7800] [1

#1 Post by Enkillinux »

I'm facing a situation that I have no idea how to solve.
Got my new MB and until now i cant get it to work properly. Sadly I only checked about the rtl8126 after getting it. There is a lot of sites saying it isnt good. But that is the lan, wifi bluetooth on this mb.
At the moment i'm connected to internet using my smartphone tethered, it works but not optimal.

I went to MSI looking for drivers but they only offer for windows 10 & 11 https://www.msi.com/Motherboard/PRO-X87 ... ort#driver.
Then i looked the chipset and found out the name for at least the lan driver, my goal is to enable the wlan .. and I'm hoping this one solves everything tbh.
I've downloaded the driver from Realtek from here: https://www.realtek.com/Download/List?cate_id=584.
I've tryed both: after downloading I tryed to instal it, but the make command didnt work, sorry, i have not saved the message then, but had something with headers, i fixed it following this procedure https://www.tecmint.com/install-kernel- ... nd-debian/. In essence just one command was needed
sudo apt install linux-headers-$(uname -r)
Then now the make was supposed to run, but i got some new messages, and well I still cant install the damn driver. (changed my username because, well dont know)

Code: Select all

:~/Downloads/rtl8126$ sudo make

CC:  cc
CCVERSION:  12
KERNEL_GCC_VERSION: 
KVER:  6.1.0-30-amd64
KMAJ:  6
KMIN:  1
KREV:  0
BASEDIR:  /lib/modules/6.1.0-30-amd64
DRIVERDIR:  /lib/modules/6.1.0-30-amd64/kernel/drivers/net/ethernet/realtek
PWD:  /home/username/Downloads/rtl8126
RTKDIR:  kernel/drivers/net/ethernet/realtek

make -C /lib/modules/6.1.0-30-amd64/build M=/home/username/Downloads/rtl8126 clean
make[1]: Entering directory '/usr/src/linux-headers-6.1.0-30-amd64'
  CLEAN   /home/username/Downloads/rtl8126/Module.symvers
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-30-amd64'
make -C /lib/modules/6.1.0-30-amd64/build M=/home/username/Downloads/rtl8126 modules
make[1]: Entering directory '/usr/src/linux-headers-6.1.0-30-amd64'
  CC [M]  /home/username/Downloads/rtl8126/r8126_n.o
  CC [M]  /home/username/Downloads/rtl8126/rtl_eeprom.o
  CC [M]  /home/username/Downloads/rtl8126/rtltool.o
  LD [M]  /home/username/Downloads/rtl8126/r8126.o
  MODPOST /home/username/Downloads/rtl8126/Module.symvers
  CC [M]  /home/username/Downloads/rtl8126/r8126.mod.o
  LD [M]  /home/username/Downloads/rtl8126/r8126.ko
  BTF [M] /home/username/Downloads/rtl8126/r8126.ko
Skipping BTF generation for /home/username/Downloads/rtl8126/r8126.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-30-amd64'
make -C /lib/modules/6.1.0-30-amd64/build M=/home/username/Downloads/rtl8126 INSTALL_MOD_DIR=kernel/drivers/net/ethernet/realtek modules_install
make[1]: Entering directory '/usr/src/linux-headers-6.1.0-30-amd64'
  INSTALL /lib/modules/6.1.0-30-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko
  DEPMOD  /lib/modules/6.1.0-30-amd64
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-30-amd64'
I looked for some way to fix it, but couldn't find anything i could really understand, so if someone could give me some heads up I'll be very gratefull.
My skill level isn't very high, but i think i can run some commands.
Last edited by Enkillinux on 2025-01-17 17:56, edited 2 times in total.

User avatar
mcdaniels
Posts: 82
Joined: 2024-05-14 13:34
Has thanked: 16 times
Been thanked: 5 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#2 Post by mcdaniels »

Have you tried activating debian-bookworm-backports repository and then pulling in the latest available kernel, which should be 6.11.x at the moment?

Do sources.list (apt) update with Backports: https://backports.debian.org/Instructions/

Then try

Code: Select all

apt install -t bookworm-backports linux-image-6.11.10+bpo-amd64
Reboot into the new kernel.

Check nic.

Enkillinux
Posts: 11
Joined: 2025-01-15 14:55
Has thanked: 4 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#3 Post by Enkillinux »

Ty McDaniels.
I followed yours instructions, and they did something, but maybe not something strictly good.
At the moment i fell like i did a step back, because now i got the msg i had before :-) (the one i couldt remember or something very similar)

Code: Select all

~/Downloads/rtl8126$ sudo make
[sudo] password for marcelo: 

CC:  cc
CCVERSION:  12
KERNEL_GCC_VERSION: 
KVER:  6.11.10+bpo-amd64
KMAJ:  6
KMIN:  11
KREV:  10
BASEDIR:  /lib/modules/6.11.10+bpo-amd64
DRIVERDIR:  /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek
PWD:  /home/marcelo/Downloads/rtl8126
RTKDIR:  kernel/drivers/net/ethernet/realtek

make -C /lib/modules/6.11.10+bpo-amd64/build M=/home/marcelo/Downloads/rtl8126 clean
make[1]: *** /lib/modules/6.11.10+bpo-amd64/build: No such file or directory.  Stop.
make: *** [Makefile:201: clean] Error 2
Went back to the page listed by myself
Enkillinux wrote: 2025-01-15 21:49 after downloading I tryed to instal it, but the make command didnt work, sorry, i have not saved the message then, but had something with headers, i fixed it following this procedure https://www.tecmint.com/install-kernel- ... nd-debian/. In essence just one command was needed
sudo apt install linux-headers-$(uname -r)
And again, i'm at the same point, same error when running make command, 'System.map' not found and so on.

Code: Select all

~/Downloads/rtl8126$ sudo make

CC:  cc
CCVERSION:  12
KERNEL_GCC_VERSION: 
KVER:  6.11.10+bpo-amd64
KMAJ:  6
KMIN:  11
KREV:  10
BASEDIR:  /lib/modules/6.11.10+bpo-amd64
DRIVERDIR:  /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek
PWD:  /home/marcelo/Downloads/rtl8126
RTKDIR:  kernel/drivers/net/ethernet/realtek

make -C /lib/modules/6.11.10+bpo-amd64/build M=/home/marcelo/Downloads/rtl8126 clean
make[1]: Entering directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
  CLEAN   /home/marcelo/Downloads/rtl8126/Module.symvers
make[1]: Leaving directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
make -C /lib/modules/6.11.10+bpo-amd64/build M=/home/marcelo/Downloads/rtl8126 modules
make[1]: Entering directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
  CC [M]  /home/marcelo/Downloads/rtl8126/r8126_n.o
  CC [M]  /home/marcelo/Downloads/rtl8126/rtl_eeprom.o
  CC [M]  /home/marcelo/Downloads/rtl8126/rtltool.o
  LD [M]  /home/marcelo/Downloads/rtl8126/r8126.o
  MODPOST /home/marcelo/Downloads/rtl8126/Module.symvers
  CC [M]  /home/marcelo/Downloads/rtl8126/r8126.mod.o
  LD [M]  /home/marcelo/Downloads/rtl8126/r8126.ko
  BTF [M] /home/marcelo/Downloads/rtl8126/r8126.ko
Skipping BTF generation for /home/marcelo/Downloads/rtl8126/r8126.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
make -C /lib/modules/6.11.10+bpo-amd64/build M=/home/marcelo/Downloads/rtl8126 INSTALL_MOD_DIR=kernel/drivers/net/ethernet/realtek modules_install
make[1]: Entering directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
  INSTALL /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko
  SIGN    /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: /usr/src/linux-headers-6.11.10+bpo-common/certs/signing_key.pem
  XZ      /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko.xz
  DEPMOD  /lib/modules/6.11.10+bpo-amd64
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[1]: Leaving directory '/usr/src/linux-headers-6.11.10+bpo-amd64'

User avatar
mcdaniels
Posts: 82
Joined: 2024-05-14 13:34
Has thanked: 16 times
Been thanked: 5 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#4 Post by mcdaniels »

the idea behind it was, that the new kernel supports your nic out of the box...

I assume it is not recognizing it even with the new kernel? (without compiling anything)

You can boot back into the old kernel via GRUB-Bootmenu if you like.

Coming to the error above (when trying to compile with the new kernel):
Have you installed the linux-headers for your running kernel (in this case the new one)?

Code: Select all

sudo apt install -t bookworm-backports linux-headers-6.11.10+bpo-amd64

coming to the "old kernel" and your compilation
what happens if you try to boot into the old kernel (via Grub):

and then:

Code: Select all

sudo modprobe r8126

Code: Select all

sudo lsmod | grep r8126
Seems like the make did "something" and built your module (although there were some hickups).

arzgi
Posts: 1779
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 103 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#5 Post by arzgi »

Try in terminal

Code: Select all

lscpi
post the result.

Enkillinux
Posts: 11
Joined: 2025-01-15 14:55
Has thanked: 4 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#6 Post by Enkillinux »

McDeniels, i got lost there, but i'll answer all i can.
I ran the command you told me before
apt install -t bookworm-backports linux-headers-6.11.10+bpo-amd64
and went back to the initial problem but with (i do supose) a newer kernel.
Just to be sure, i did it again now with the following result:

Code: Select all

~/Downloads/rtl8126$ sudo apt install -t bookworm-backports linux-headers-6.11.10+bpo-amd64
[sudo] password for marcelo: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-headers-6.11.10+bpo-amd64 is already the newest version (6.11.10-1~bpo12+1).
The following package was automatically installed and is no longer required:
  linux-image-6.1.0-29-amd64
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
  linux-libc-dev
1 upgraded, 0 newly installed, 0 to remove and 155 not upgraded.
Need to get 2,461 kB of archives.
After this operation, 3,655 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm-backports/main amd64 linux-libc-dev all 6.11.10-1~bpo12+1 [2,461 kB]
Fetched 2,461 kB in 2s (1,220 kB/s)         
Reading changelogs... Done
(Reading database ... 237568 files and directories currently installed.)
Preparing to unpack .../linux-libc-dev_6.11.10-1~bpo12+1_all.deb ...
Unpacking linux-libc-dev (6.11.10-1~bpo12+1) over (6.1.124-1) ...
Setting up linux-libc-dev (6.11.10-1~bpo12+1) ...
Next, I'm not skilled enought at the moment to say i could revert to old kernel, not tryed but maybe after this reply i'll try. In the new kernel i got this msg on modprobe

Code: Select all

marcelo@deskcelo:~/Downloads/rtl8126$ sudo modprobe r8126
modprobe: FATAL: Module r8126 not found in directory /lib/modules/6.11.10+bpo-amd64
marcelo@deskcelo:~/Downloads/rtl8126$ sudo modprobe rtl8126
modprobe: FATAL: Module rtl8126 not found in directory /lib/modules/6.11.10+bpo-amd64
I added the second line because i wanst sure if was just r or rtl, so here we have both.
the lsmod gave me this:

Code: Select all

marcelo@deskcelo:~/Downloads/rtl8126$ sudo lsmod | grep r8126
marcelo@deskcelo:~/Downloads/rtl8126$ sudo lsmod | grep rtl8126
And yes, the make do some stuff, it 'unpack/create' (dunno) bunch of files as it is supposed to do, but well it in the end doesnt do it right, i think.

Code: Select all

marcelo@deskcelo:~/Downloads/rtl8126$ ls -1v
Makefile
r8126.h
r8126_dash.h
r8126_firmware.c
r8126_firmware.h
r8126_n.c
r8126_ptp.c
r8126_ptp.h
r8126_realwow.h
r8126_rss.c
r8126_rss.h
rtltool.c
rtltool.h
rtl_eeprom.c
rtl_eeprom.h
marcelo@deskcelo:~/Downloads/rtl8126$ sudo make

CC:  cc
CCVERSION:  12
KERNEL_GCC_VERSION: 
KVER:  6.11.10+bpo-amd64
KMAJ:  6
KMIN:  11
KREV:  10
BASEDIR:  /lib/modules/6.11.10+bpo-amd64
DRIVERDIR:  /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek
PWD:  /home/marcelo/Downloads/rtl8126
RTKDIR:  kernel/drivers/net/ethernet/realtek

make -C /lib/modules/6.11.10+bpo-amd64/build M=/home/marcelo/Downloads/rtl8126 clean
make[1]: Entering directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
make[1]: Leaving directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
make -C /lib/modules/6.11.10+bpo-amd64/build M=/home/marcelo/Downloads/rtl8126 modules
make[1]: Entering directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
  CC [M]  /home/marcelo/Downloads/rtl8126/r8126_n.o
  CC [M]  /home/marcelo/Downloads/rtl8126/rtl_eeprom.o
  CC [M]  /home/marcelo/Downloads/rtl8126/rtltool.o
  LD [M]  /home/marcelo/Downloads/rtl8126/r8126.o
  MODPOST /home/marcelo/Downloads/rtl8126/Module.symvers
  CC [M]  /home/marcelo/Downloads/rtl8126/r8126.mod.o
  LD [M]  /home/marcelo/Downloads/rtl8126/r8126.ko
  BTF [M] /home/marcelo/Downloads/rtl8126/r8126.ko
Skipping BTF generation for /home/marcelo/Downloads/rtl8126/r8126.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
make -C /lib/modules/6.11.10+bpo-amd64/build M=/home/marcelo/Downloads/rtl8126 INSTALL_MOD_DIR=kernel/drivers/net/ethernet/realtek modules_install
make[1]: Entering directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
  INSTALL /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko
  SIGN    /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: /usr/src/linux-headers-6.11.10+bpo-common/certs/signing_key.pem
  XZ      /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko.xz
  DEPMOD  /lib/modules/6.11.10+bpo-amd64
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[1]: Leaving directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
marcelo@deskcelo:~/Downloads/rtl8126$ sudo make install
make -C /lib/modules/6.11.10+bpo-amd64/build M=/home/marcelo/Downloads/rtl8126 INSTALL_MOD_DIR=kernel/drivers/net/ethernet/realtek modules_install
make[1]: Entering directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
  INSTALL /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko
  SIGN    /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: /usr/src/linux-headers-6.11.10+bpo-common/certs/signing_key.pem
  XZ      /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko.xz
  DEPMOD  /lib/modules/6.11.10+bpo-amd64
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[1]: Leaving directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
marcelo@deskcelo:~/Downloads/rtl8126$ ls -1v
Makefile
Module.symvers
modules.order
r8126.h
r8126.ko
r8126.mod
r8126.mod.c
r8126.mod.o
r8126.o
r8126_dash.h
r8126_firmware.c
r8126_firmware.h
r8126_n.c
r8126_n.o
r8126_ptp.c
r8126_ptp.h
r8126_realwow.h
r8126_rss.c
r8126_rss.h
rtltool.c
rtltool.h
rtltool.o
rtl_eeprom.c
rtl_eeprom.h
rtl_eeprom.o
marcelo@deskcelo:~/Downloads/rtl8126$ 
Ty for trying to figure it out with me!

Argzi, damn, dont do it with me >.< i remmember this command, i saw it working, but now on this computer ... it is blank.

Code: Select all

marcelo@deskcelo:~/Downloads/rtl8126$ lscpi
bash: lscpi: command not found
marcelo@deskcelo:~/Downloads/rtl8126$ lscpi
bash: lscpi: command not found
What the hell is going on?! o.O

arzgi
Posts: 1779
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 103 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#7 Post by arzgi »

Sorry me bad :oops:

Should have

Code: Select all

arto@dell:~$ lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-LM (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 2 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
02:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
arto@dell:~$ 


Enkillinux
Posts: 11
Joined: 2025-01-15 14:55
Has thanked: 4 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#8 Post by Enkillinux »

Probably something with path... dunno.
Went to the folder /bin and here we have it.
How do i fix this issue? it should work from anywhere..

Code: Select all

marcelo@deskcelo:/bin$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A]
00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A]
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 7
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Upstream Port (rev 01)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
02:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
02:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
02:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
02:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
02:0c.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
02:0d.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
04:00.0 PCI bridge: ASMedia Technology Inc. ASM2806 4-Port PCIe x2 Gen3 Packet Switch (rev 01)
05:00.0 PCI bridge: ASMedia Technology Inc. ASM2806 4-Port PCIe x2 Gen3 Packet Switch (rev 01)
05:06.0 PCI bridge: ASMedia Technology Inc. ASM2806 4-Port PCIe x2 Gen3 Packet Switch (rev 01)
05:0e.0 PCI bridge: ASMedia Technology Inc. ASM2806 4-Port PCIe x2 Gen3 Packet Switch (rev 01)
06:00.0 Network controller: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] (rev 01)
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 8126 (rev 01)
0a:00.0 SATA controller: ASMedia Technology Inc. ASM1064 Serial ATA Controller (rev 02)
0c:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43fc (rev 01)
0d:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset SATA Controller (rev 01)
0e:00.0 PCI bridge: ASMedia Technology Inc. Device 2421 (rev 01)
0f:00.0 PCI bridge: ASMedia Technology Inc. Device 2423 (rev 01)
0f:01.0 PCI bridge: ASMedia Technology Inc. Device 2423 (rev 01)
0f:02.0 PCI bridge: ASMedia Technology Inc. Device 2423 (rev 01)
0f:03.0 PCI bridge: ASMedia Technology Inc. Device 2423 (rev 01)
70:00.0 USB controller: ASMedia Technology Inc. Device 2426 (rev 01)
71:00.0 USB controller: ASMedia Technology Inc. Device 2425 (rev 01)
72:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Granite Ridge [Radeon Graphics] (rev c6)
72:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
72:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] VanGogh PSP/CCP
72:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI
72:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI
72:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
73:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b8

arzgi
Posts: 1779
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 103 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#9 Post by arzgi »

https://iiaku.com/2024/12/17/how-to-ins ... -on-linux/ might have the solution, but you have to install git before,

Enkillinux
Posts: 11
Joined: 2025-01-15 14:55
Has thanked: 4 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#10 Post by Enkillinux »

Ty again Arzgi.
I dont remmember if that was the initial repo, but i did ran the git once again in a new folder (renamed the one before as .old and i swear it is brand new)
Afterwards to be sure, i did run apt-get install binutils to be sure it was the newer one:

Code: Select all

~/Downloads/rtl8126$ sudo apt-get install binutils
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
binutils is already the newest version (2.40-2).
binutils set to manually installed.
The following package was automatically installed and is no longer required:
  linux-image-6.1.0-29-amd64
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Also, I've decided to check again if the headers match the page's tutorial

Code: Select all

marcelo@deskcelo:~/Downloads/rtl8126$ sudo apt install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-headers-6.11.10+bpo-amd64 is already the newest version (6.11.10-1~bpo12+1).
The following package was automatically installed and is no longer required:
  linux-image-6.1.0-29-amd64
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
with everything in order I've tryed once again the make; make install; modprobe as following:

Code: Select all

marcelo@deskcelo:~/Downloads/rtl8126$ sudo make

CC:  cc
CCVERSION:  12
KERNEL_GCC_VERSION: 
KVER:  6.11.10+bpo-amd64
KMAJ:  6
KMIN:  11
KREV:  10
BASEDIR:  /lib/modules/6.11.10+bpo-amd64
DRIVERDIR:  /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek
PWD:  /home/marcelo/Downloads/rtl8126
RTKDIR:  kernel/drivers/net/ethernet/realtek

make -C /lib/modules/6.11.10+bpo-amd64/build M=/home/marcelo/Downloads/rtl8126 clean
make[1]: Entering directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
make[1]: Leaving directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
make -C /lib/modules/6.11.10+bpo-amd64/build M=/home/marcelo/Downloads/rtl8126 modules
make[1]: Entering directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
  CC [M]  /home/marcelo/Downloads/rtl8126/r8126_n.o
  CC [M]  /home/marcelo/Downloads/rtl8126/rtl_eeprom.o
  CC [M]  /home/marcelo/Downloads/rtl8126/rtltool.o
  LD [M]  /home/marcelo/Downloads/rtl8126/r8126.o
  MODPOST /home/marcelo/Downloads/rtl8126/Module.symvers
  CC [M]  /home/marcelo/Downloads/rtl8126/r8126.mod.o
  LD [M]  /home/marcelo/Downloads/rtl8126/r8126.ko
  BTF [M] /home/marcelo/Downloads/rtl8126/r8126.ko
Skipping BTF generation for /home/marcelo/Downloads/rtl8126/r8126.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
make -C /lib/modules/6.11.10+bpo-amd64/build M=/home/marcelo/Downloads/rtl8126 INSTALL_MOD_DIR=kernel/drivers/net/ethernet/realtek modules_install
make[1]: Entering directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
  INSTALL /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko
  SIGN    /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: /usr/src/linux-headers-6.11.10+bpo-common/certs/signing_key.pem
  XZ      /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko.xz
  DEPMOD  /lib/modules/6.11.10+bpo-amd64
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[1]: Leaving directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
marcelo@deskcelo:~/Downloads/rtl8126$ sudo make install
make -C /lib/modules/6.11.10+bpo-amd64/build M=/home/marcelo/Downloads/rtl8126 INSTALL_MOD_DIR=kernel/drivers/net/ethernet/realtek modules_install
make[1]: Entering directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
  INSTALL /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko
  SIGN    /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: /usr/src/linux-headers-6.11.10+bpo-common/certs/signing_key.pem
  XZ      /lib/modules/6.11.10+bpo-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko.xz
  DEPMOD  /lib/modules/6.11.10+bpo-amd64
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[1]: Leaving directory '/usr/src/linux-headers-6.11.10+bpo-amd64'
marcelo@deskcelo:~/Downloads/rtl8126$ sudo modprobe rtl8126
modprobe: FATAL: Module rtl8126 not found in directory /lib/modules/6.11.10+bpo-amd64
marcelo@deskcelo:~/Downloads/rtl8126$ ^C
So Yeah, ty for the shot, but wasnt this time =\

Aki
Global Moderator
Global Moderator
Posts: 4276
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 125 times
Been thanked: 576 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#11 Post by Aki »

Hello,

Which of these two network adapters are you interested in?

Code: Select all

06:00.0 Network controller: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] (rev 01)
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 8126 (rev 01)
What is the output of the following commands ?

Code: Select all

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

Enkillinux
Posts: 11
Joined: 2025-01-15 14:55
Has thanked: 4 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#12 Post by Enkillinux »

Hello Aki, ty for joining!
Both to be honest, but as I dont have a phisical connection i wish i could have the Wi-fi (Qualcomm) working, but as I readed somewhere i have no idea atm, with the rtl8126 driver both will work.

Code: Select all

marcelo@deskcelo:~/Downloads/rtl8126$ lspci -vnn -d ::0200
09:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. Device [10ec:8126] (rev 01)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7e47]
        Flags: fast devsel, IRQ 25, IOMMU group 14
        I/O ports at f000 [size=256]
        Memory at dd500000 (64-bit, non-prefetchable) [size=64K]
        Memory at dd510000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel modules: r8169

marcelo@deskcelo:~/Downloads/rtl8126$ lspci -vnn -d ::0280
06:00.0 Network controller [0280]: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
        Subsystem: Foxconn International, Inc. WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] (High Band Simultaneous Wireless Network Adapter) [105b:e0f7]
        Flags: fast devsel, IOMMU group 13
        Memory at dd000000 (64-bit, non-prefetchable) [size=2M]
        Capabilities: <access denied>
        Kernel modules: ath12k
Anyway, I'm convinced the problem isnt the driver itself, but something with my Linux Kernel or something else.
Btw, for some reason lspci is now working from everywhere.

Aki
Global Moderator
Global Moderator
Posts: 4276
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 125 times
Been thanked: 576 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#13 Post by Aki »

Hello,

This is your wireless (WiFi) network adapter:

Code: Select all

marcelo@deskcelo:~/Downloads/rtl8126$ lspci -vnn -d ::0280
06:00.0 Network controller [0280]: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
        Subsystem: Foxconn International, Inc. WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] (High Band Simultaneous Wireless Network Adapter) [105b:e0f7]
        Flags: fast devsel, IOMMU group 13
        Memory at dd000000 (64-bit, non-prefetchable) [size=2M]
        Capabilities: <access denied>
        Kernel modules: ath12k
Enkillinux wrote: 2025-01-16 18:14 [..] i wish i could have the Wi-fi (Qualcomm) working[..]
So, you don't have a wired connection (ethernet cable), do you ?
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Enkillinux
Posts: 11
Joined: 2025-01-15 14:55
Has thanked: 4 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#14 Post by Enkillinux »

Yes, both affirmations are right.

Aki
Global Moderator
Global Moderator
Posts: 4276
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 125 times
Been thanked: 576 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#15 Post by Aki »

Hello,

According to [1], the chipset of your wireless network adapter should be named WCN785x:

Code: Select all

Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
The kernel module that drives it is ath12k, according to the lspci output.:

Code: Select all

Kernel modules: ath12k
Searching the git repository of the Linux kernel, these are the commits that contain the string WCN785:

Code: Select all

$ REGEX="WCN785" git log --pretty=oneline -i --grep=$REGEX | awk '{system("git tag --contains " $1 " --sort=creatordate | head -1"); print "==> " $0 }' 
v6.11-rc2
==> 189d7aae8f5a100b0db8b302debbd445475d01e6 wifi: ath12k: fix reusing outside iterator in ath12k_wow_vif_set_wakeups()
v6.11-rc1
==> 51835949dda3783d4639cfa74ce13a3c9829de00 Merge tag 'net-next-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
v6.11-rc1
==> 584aeccc0b717f447505cc738d8c2f292d9d1a66 Merge tag 'regulator-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
v6.11-rc1
==> cd9b6f4795e7002fa2fb51e6d172294e28453df3 Merge tag 'for-net-next-2024-07-15' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next
v6.11-rc1
==> 921ad2879aa7733620585e4904ba673c6c916dab Bluetooth: hci_qca: use the power sequencer for wcn7850 and wcn6855
v6.11-rc1
==> bd3f305886adc07c27b8e998719c73688dad0991 dt-bindings: bluetooth: qualcomm: describe the inputs from PMU for wcn7850
v6.11-rc1
==> 80ab5445da623540ea6303740015dd0210a06dc8 Merge tag 'wireless-next-2024-07-11' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next
v6.11-rc1
==> c1cacb01f35589bd41360cdb7535afc792c08a7c Merge tag 'ath-next-20240702' of git://git.kernel.org/pub/scm/linux/kernel/git/ath/ath
v6.11-rc1
==> d0e2f8f62dff11ce399937fa51d09c24b46049be arm64: dts: qcom: Add device tree for ASUS Vivobook S 15
v6.11-rc1
==> 5344fc76f8944249026884157f846f88489edfc0 wifi: ath12k: Support TQM stats
v6.11-rc1
==> cf1187b3a683feb718a50ee19178dc6e90a73a64 wifi: ath12k: Support pdev error stats
v6.11-rc1
==> 4b6dfc758c2f6ce61336637b22bc0db57fa6d649 wifi: ath12k: Support Transmit Scheduler stats
v6.11-rc1
==> a9f2976f0e9ebc4a579cdd507b153a191692a72c wifi: ath12k: Dump additional Tx PDEV HTT stats
v6.11-rc1
==> adf6df963c0325c6f3848ade1b73d2afc4948351 wifi: ath12k: Add support to parse requested stats_type
v6.11-rc1
==> ad201b35d3ec48d81da6c873b9a50586afd8defa wifi: ath12k: Add htt_stats_dump file ops support
v6.11-rc1
==> 3f73c24f28b317f22df7870c25ff82f1d625c6c2 wifi: ath12k: Add support to enable debugfs_htt_stats
v6.11-rc1
==> 2c7857677d695166e913123b23ed7e55d80f72be wifi: ath12k: Fix pdev id sent to firmware for single phy devices
v6.11-rc1
==> 7af01e5695295444d47f4ead3e27e91d8c9e60f4 wifi: ath12k: handle keepalive during WoWLAN suspend and resume
v6.11-rc1
==> aab4ae566fa15c19efadad16a8b54306b9b37e10 wifi: ath12k: support GTK rekey offload
v6.11-rc1
==> 1666108c74c438180dd69973e57909420836fd49 wifi: ath12k: support ARP and NS offload
v6.11-rc1
==> 66a9448b1b897793a3237f832b5ce3bb255e28e7 wifi: ath12k: implement hardware data filter
v6.11-rc1
==> 16f474d6d49db5d93e79c2d4bdcc3a730cf1d1f1 wifi: ath12k: add WoW net-detect functionality
v6.11-rc1
==> 4a3c212eee0e36c1cd55bfbfb94041a0d3ad265b wifi: ath12k: add basic WoW functionalities
v6.11-rc1
==> 5931741709195da9abb0fb0b8c0fed5d0898b275 wifi: ath12k: implement WoW enable and wakeup commands
v6.11-rc1
==> 3216b7bcd7197ca5da204d3eea81d308cae2a849 wifi: ath12k: add ATH12K_DBG_WOW log level
v6.11-rc1
==> 4d76a2314810b78b0469c96bcb265af1af7e13a5 arm64: dts: qcom: sm8650-hdk: add the Wifi node
v6.11-rc1
==> a05737bf76316677ae1d7af93df6218dcf1ae494 arm64: dts: qcom: sm8650-qrd: add the Wifi node
v6.11-rc1
==> 4908128724491de1feadee87aba9955eccaf5269 arm64: dts: qcom: sm8550-qrd: add the Wifi node
v6.11-rc1
==> 670d4949bc8e7178420761130664f563453085bd wifi: ath12k: Fix WARN_ON during firmware crash in split-phy
v6.11-rc1
==> aa17d384971b62a8a7dc901c96f615efc7328a62 dt-bindings: net: wireless: describe the ath12k PCI module
v6.11-rc1
==> 6140d185a43daa298d43453929560388d6d49b6e PCI/pwrctl: Add a PCI power control driver for power sequenced devices
v6.11-rc1
==> 8b2a12749b08726f006303814ecc1c37024d3617 wifi: ath12k: fix ACPI warning when resume
v6.11-rc1
==> 4938ba733ee2147724c4b10025fe0d349d3b605f wifi: ath12k: modify remain on channel for single wiphy
v6.11-rc1
==> 168ed1e8d0893cc4ad5963d5920dcfd24e0d7591 regulator: dt-bindings: describe the PMU module of the WCN7850 package
v6.11-rc1
==> 809055628bce824b7fe18331abb65e44d02b0ecf wifi: ath12k: add panic handler
v6.11-rc1
==> 8233d2716570b66ab45b6d24e577ee6612002dc4 wifi: ath12k: do not process consecutive RDDM event
v6.11-rc1
==> 0a993772e0f0934d730c0d451622c80e03a40ab1 wifi: ath12k: fix race due to setting ATH12K_FLAG_EXT_IRQ_ENABLED too early
v6.11-rc1
==> 35864b62fa129196af4641b8bef50ac4226a22ed wifi: ath12k: improve the rx descriptor error information
v6.11-rc1
==> 4f82a8d5c27748a3b4318af99627f4df248133e8 wifi: ath12k: refactor rx descriptor CMEM configuration
v6.11-rc1
==> 33370412eced2dc7f81f4324e109d69319cafd82 wifi: ath12k: fix Smatch warnings on ath12k_core_suspend()
v6.11-rc1
==> 26dd8ccdba4d492d00e35c410bc4314e043bdf73 wifi: ath12k: dynamic VLAN support
v6.11-rc1
==> ed61863debb2df0856524b5c61d2a7f7731c2e83 wifi: ath12k: fix ack signal strength calculation
v6.11-rc1
==> 3a29442a17413e9e64f00db3b98dbf911324cb86 wifi: ath12k: remove redundant peer delete for WCN7850
v6.11-rc1
==> 0ce9ab2785e4e9ca0752390d8e5ab65bd08f0e78 wifi: ath12k: Fix tx completion ring (WBM2SW) setup failure
v6.11-rc1
==> 97b7cbb7a3cbeee87ed82af67bca881ec8881d83 wifi: ath12k: support SMPS configuration for 6 GHz
v6.11-rc1
==> f0e61dc7ecf9a709d22265a17d553fd314e3f986 wifi: ath12k: refactor SMPS configuration
v6.11-rc1
==> 112dbc6af807021ac65f46300d564163ec4710a9 wifi: ath12k: add 6 GHz params in peer assoc command
v6.11-rc1
==> 70e3be54bbddc39123b8785408fb9aeb8f822ab6 wifi: ath12k: fix survey dump collection in 6 GHz
v6.11-rc1
==> c3c84a74bd797f76d7da036c9fef947d674bbc18 wifi: ath12k: Correct 6 GHz frequency value in rx status
v6.11-rc1
==> 3745d7963cc34c08ee4dda4f3c81981e277f0d96 wifi: ath12k: add channel 2 into 6 GHz channel list
v6.10-rc1
==> e41137d8bd1a8e8bab8dcbfe3ec056418db3df18 Bluetooth: qca: Support downloading board id specific NVM for WCN7850
v6.11-rc1
==> 3b9344740843d965e9e37fba30620b3b1c0afa4f wifi: ath12k: initialize 'ret' in ath12k_dp_rxdma_ring_sel_config_wcn7850()
v6.11-rc1
==> ff5fa958d2fd45de7282a8bd3968426c947591d5 wifi: ath12k: fix misspelling of "dma" in num_rxmda_per_pdev
v6.11-rc1
==> efd920f48d1f9c41368579d1a278e88c082cc233 wifi: ath12k: remove invalid peer create logic
v6.11-rc1
==> f40aaca07bf7b52e82ca8e5ddb29190466b5dcbd wifi: ath12k: avoid duplicated vdev down
v6.11-rc1
==> 3b0989e925f38df733a03ff5a320d6841006b3f9 wifi: ath12k: avoid duplicated vdev stop
v6.11-rc1
==> 782615f280ce8ad4e3effb42d70304f4dd2d487f wifi: ath12k: remove unused variable monitor_flags
v6.10-rc1
==> bf76b144fe53c7f0de9e294947d903fc7724776f wifi: ath12k: fix the problem that down grade phy mode operation
v6.10-rc1
==> 24de1b7b231cf01d08d12db26e66b0c46253a7da wifi: ath12k: fix flush failure in recovery scenarios
v6.9-rc6
==> 32868e126c78876a8a5ddfcb6ac8cb2fffcf4d27 Bluetooth: qca: fix invalid device address check
v6.10-rc1
==> b0afabc4d7e0bb435f63990eff72dd9f2591bf5a wifi: ath12k: add support to handle beacon miss for WCN7850
v6.10-rc1
==> 7b5f3cbfb4680d5072fcb0c68ee141f8db491081 wifi: ath12k: ACPI band edge channel power support
v6.10-rc1
==> 12bccacbcd9e4f83bb26994634b4da388cebb476 wifi: ath12k: ACPI CCA threshold support
v6.10-rc1
==> 764883be7ed05fedc20cad59b6740764ee1bcaf0 wifi: ath12k: ACPI SAR support
v6.10-rc1
==> 576771c9fa21a38bcf390b5ecc610441574e5014 wifi: ath12k: ACPI TAS support
v6.10-rc1
==> 2b00284589962c8b94a8ee584651291e86847807 wifi: ath12k: change supports_suspend to true for WCN7850
v6.10-rc1
==> 8d5f4da8d70bc1dbeb04ae69ce36336f74e10568 wifi: ath12k: support suspend/resume
v6.10-rc1
==> 2652f6b472ffa175868dc98306d01c03f52da4c1 wifi: ath12k: avoid stopping mac80211 queues in ath12k_core_restart()
[..]
As you can see, commits from version 6.10 to 6.11 have been pushed upstream into the kernel.

So @mcdaniels's advice to use the 6.11 kernel from Debian backports should solve your problems with the ath12k kernel module. Is it currently loaded? You can check with the command:

Code: Select all

lsmod | grep ath12k
You will also need to install the Atheros (ath12k) firmware for the 6.11 kernel. You can do this with the following commands:

Code: Select all

wget http://ftp.us.debian.org/debian/pool/non-free-firmware/f/firmware-nonfree/firmware-atheros_20240709-2~bpo12+1_all.deb
su -l -c "dpkg -i $PWD/firmware-atheros_20240709-2~bpo12+1_all.deb"
Hope this helps.

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

Enkillinux
Posts: 11
Joined: 2025-01-15 14:55
Has thanked: 4 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#16 Post by Enkillinux »

Hi everyone @mcdaniels, @arzgi, @Aki.
Through the effort of you all we solved one problem, the Wi-fi is working fine! Thanks to all of your efforts, I finally have a stable wifi connection without the use of chinaningans.
Sadly that wans't my expectation. I thought wen i got that (rtl8126) driver working those missing peski communications drivers would work fine. Still the eth is missing (not that i really care.. just bother me the fact that it isn't working) and the Bluetooth.
Thank you guys again :]

edit:
Bluetooth was disabled in the bios.. maybe it worked the whole time and was just disabled... it is working.

Aki
Global Moderator
Global Moderator
Posts: 4276
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 125 times
Been thanked: 576 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#17 Post by Aki »

Hello,
Enkillinux wrote: 2025-01-16 20:30 Hi everyone @mcdaniels, @arzgi, @Aki.
Through the effort of you all we solved one problem, the Wi-fi is working fine! Thanks to all of your efforts, I finally have a stable wifi connection without the use of chinaningans. [..] edit: Bluetooth was disabled in the bios.. maybe it worked the whole time and was just disabled... it is working.
I'm glad you sorted it out. :D :D We (@mcdaniels,@arzgi and you) did a good job of teamwork.
Enkillinux wrote: 2025-01-16 20:30 [..] Still the eth is missing (not that i really care.. just bother me the fact that it isn't working)
You can open a new topic about this about ethernet configuration; probably a newer kernel version should support it.

Please, mark the discussion as "solved" manually adding the text tag "[Solved]" to the beginning of the subject of the first post, and adding information about the specific problem, i.e.:
[Solved] MB MSI X870-P WIFI - problem with Wifi network adapter Qualcomm WCN785x Wi-Fi 7(802.11be) [FastConnect 7800] [17cb:1107]
Thanks.

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

User avatar
mcdaniels
Posts: 82
Joined: 2024-05-14 13:34
Has thanked: 16 times
Been thanked: 5 times

Re: MB MSI X870-P WIFI - problem with rtl8126

#18 Post by mcdaniels »

Enkillinux wrote: 2025-01-16 20:30 Hi everyone @mcdaniels, @arzgi, @Aki.
Through the effort of you all we solved one problem, the Wi-fi is working fine! Thanks to all of your efforts, I finally have a stable wifi connection without the use of chinaningans.
Sadly that wans't my expectation. I thought wen i got that (rtl8126) driver working those missing peski communications drivers would work fine. Still the eth is missing (not that i really care.. just bother me the fact that it isn't working) and the Bluetooth.
Thank you guys again :]

edit:
Bluetooth was disabled in the bios.. maybe it worked the whole time and was just disabled... it is working.
Great to hear your Wifi works now :-)

Post Reply