Wifi not detected after trying to update firmware

My T16 AMD laptop has troublesome wifi firmware that required these files on my debian setup, which worked immediately after replacing the files. However, doing the same steps on fedora (/lib/firmware/ath11k/WCN6855/hw2.0) made my laptop unable to detect any wifi. Doing the instructions on the README also did nothing.

I need to update the firmware files manually using this repository, thank you

Can you post the output of the sudo dmesg | grep -i ucode command? Also, do you have atheros-firmware package installed?

1 Like

If you currently have the files there, try :

sudo dracut -f && sudo reboot

You can check the logs after booting up the computer again for more info:

dmesg | grep ath11k

[    3.979467] amdgpu 0000:04:00.0: amdgpu: RAS: optional ras ta ucode is not available
[    3.991914] amdgpu 0000:04:00.0: amdgpu: RAP: optional rap ta ucode is not available
[    3.991918] amdgpu 0000:04:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available

I don’t know, how do i check?

Just do sudo dnf install atheros-firmware and it will be installed if it is not already installed.

yes it is installed

Last metadata expiration check: 2:53:09 ago on Wed 26 Jun 2024 07:20:21 PM.
Package atheros-firmware-20240610-1.fc40.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!

i got these

[   22.719441] ath11k_pci 0000:02:00.0: BAR 0 [mem 0x80000000-0x801fffff 64bit]: assigned
[   22.719475] ath11k_pci 0000:02:00.0: enabling device (0000 -> 0002)
[   22.720272] ath11k_pci 0000:02:00.0: MSI vectors: 32
[   22.720280] ath11k_pci 0000:02:00.0: wcn6855 hw2.1
[   22.892568] mhi mhi0: Direct firmware load for ath11k/WCN6855/hw2.1/amss.bin failed with error -2
[   22.892649] ath11k_pci 0000:02:00.0: failed to power up mhi: -110
[   22.892656] ath11k_pci 0000:02:00.0: failed to start mhi: -110
[   22.892660] ath11k_pci 0000:02:00.0: failed to power up :-110
[   22.905514] ath11k_pci 0000:02:00.0: failed to create soc core: -110
[   22.905519] ath11k_pci 0000:02:00.0: failed to init core: -110
[   23.055833] ath11k_pci 0000:02:00.0: probe with driver ath11k_pci failed with error -110

Did you do the dracut part and the reboot?

yes, before doing the second part. i will do it again

Also note :

That’s a different directory it’s looking for. You’re placing it in hw2.0 it’s looking for hw2.1

You should include details like Fedora version, and whether the system is fully updated. journalctl --no-hostname -b -g wifi |cat (the |cat will ensure that very long lines are wrapped) may have helpful. Note that you will benefit when other users with similar issues can find this topic with web searches.

Fedora had a recent firmware update:

% dnf info linux-firmware.noarch
Last metadata expiration check: 0:55:21 ago on Wed 26 Jun 2024 10:15:13 AM.
Installed Packages
Name         : linux-firmware
Version      : 20240610
Release      : 1.fc40
Architecture : noarch
Size         : 35 M
Source       : linux-firmware-20240610-1.fc40.src.rpm
Repository   : @System
From repo    : updates
Summary      : Firmware files used by the Linux kernel
URL          : http://www.kernel.org/
License      : GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
Description  : This package includes firmware files required for some devices to
             : operate.

Here:

% ls -lZ /lib/firmware/ath11k/WCN6855/hw2.0
total 1792
-rw-r--r--. 1 root root system_u:object_r:lib_t:s0 1669864 Jun 10 21:00 amss.bin.xz
-rw-r--r--. 1 root root system_u:object_r:lib_t:s0   38968 Jun 10 21:00 board-2.bin.xz
-rw-r--r--. 1 root root system_u:object_r:lib_t:s0  105872 Jun 10 21:00 m3.bin.xz
-rw-r--r--. 1 root root system_u:object_r:lib_t:s0   12000 Jun 10 21:00 Notice.txt.xz
-rw-r--r--. 1 root root system_u:object_r:lib_t:s0    2132 Jun 10 21:00 regdb.bin.xz

I have sometimes need to manually install or rename firmware blobs while waiting for the update package. You may need to touch up selinux context when install packages manually, but journalctl should have details if that is the issue. Also note that some device firmware updates are tied to vendor system firmware updates.

Installed today, so it is Fedora 40, and have fully updated it

Jun 26 22:19:57 NetworkManager[1636]: <info>  [1719411597.1153] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 20-connectivity-fedora.conf, 22-wifi-mac-addr.conf)
Jun 26 22:19:57 NetworkManager[1636]: <info>  [1719411597.2472] Loaded device plugin: NMWifiFactory (/usr/lib64/NetworkManager/1.46.0-2.fc40/libnm-device-plugin-wifi.so)

/hw2.1

it points back to my hw2.0 folder. The repository also shows to put in the hw2.0 folder, so should i just move my bin.xz files from the hw2.0 folder to the hw2.1 folder?

Put it in the 2.1 folder to test, then do the dracut instructions from previous comment. It may be that it can’t read the symbolic link.

IT WORKEDDDD THANKS DUDE

i also had to compress the files from the repository using xz -C crc32 firmware.bin

Thanks so much you 3

1 Like

:exploding_head:

It’s not like I haven’t had my battles with ath11k-xX [OpenWRT] and others in the past. . .

this QCNFA765 wifi driver is not friendly to beginners like me for sure…thanks again and goodbye!

1 Like

Summary :

1 Like

To confirm that linux-firmware-20240610-1.fc40.noarch has different (outdated?) files:

  • Fedora package version:
% xz -dc  /lib/firmware/ath11k/WCN6855/hw2.0/amss.bin.xz > libseccomp-2.5.5-1.fc40_amss.bin
% md5sum libseccomp-2.5.5-1.fc40_amss.bin                                       
106b7fed33c6088065946c41a9c97acd  libseccomp-2.5.5-1.fc40_amss.bin
  • https://git.codelinaro.org/clo/ath-firmware/ath11k-firmware/ version:
$ md5sum amss.bin
9f8dd9ecbc75e5041570dacf48f98874  amss.bin