Yast cannot detect the onboard Wifi adapter of MSI Tomahawk X570

I am trying to install OpenSuse TumbleWeed. I am using a MSI Tomahawk
Mag X570 motherboard with the latest bios. The issue is that Yast cannot recognize the onboard wifi module. It recognizes the ethernet
(which is a realtek card - ironic!)

My Wi-Fi chip is Wi-Fi 6 Intel AX200 160 Mhz
This is supported in the kernel version I am running (5.14.0). The module is iwlwifi.

Here is my

>dmesg | grep 'iwlwifi'

   69.736422] iwlwifi 0000:28:00.0: enabling device (0000 -> 0002)
   69.737477] iwlwifi 0000:28:00.0: Direct firmware load for iwlwifi-cc-a0-64.ucode failed with error -2
   69.765970] iwlwifi 0000:28:00.0: api flags index 2 larger than supported by driver
   69.765982] iwlwifi 0000:28:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
   69.766150] iwlwifi 0000:28:00.0: loaded firmware version 63.c04f3485.0 cc-a0-63.ucode op_mode iwlmvm
   69.902804] iwlwifi 0000:28:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340

But, the system doesnt seem to recognise the network card.

sudo lshw -class network
  *-network
       description: Ethernet interface
       product: RTL8125 2.5GbE Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:26:00.0
       logical name: enp38s0
       version: 04
       serial: d8:bb:c1:1b:2c:e2
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.14.0-1-default duplex=full firmware=rtl8125b-2_0.0.2 07/13/20 ip=68.180.35.79 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:24 ioport:f000(size=256) memory:fc700000-fc70ffff memory:fc710000-fc713fff
  *-network
       description: Network controller
       product: Wi-Fi 6 AX200
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:28:00.0
       version: 1a
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list
       configuration: driver=iwlwifi latency=0
       resources: irq:39 memory:fc600000-fc603fff
shom@host-35-79:~> sudo lshw -class network -short
H/W path                  Device          Class          Description
====================================================================
/0/100/1.2/0/4/0          enp38s0         network        RTL8125 2.5GbE Controller
/0/100/1.2/0/6/0                          network        Wi-Fi 6 AX200

The device column for Wifi seems to be empty.
I couldn’t find a lot of discussion having this issue.
Wondering id this is due to the MSI card or if I am missing some driver that can be installed from the repos.
Will really like to resolve this issue.
Thanks a ton for your help!

Hi and welcome to the Forum :slight_smile:
Can you check it’s not softblocked, may need to install rfkill also the PCI ID’s;


rfkill list
/usr/sbin/lspci -nnk | egrep -A3 "Network"

Thank you for your suggestions.

Here you go.


>sudo rfkill list

0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no



and



> sudo /usr/sbin/lspci -nnk | egrep -A3 "Network"

8:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a)
    DeviceName: RTL8111EPV
    Subsystem: Intel Corporation Wi-Fi 6 AX200NGW [8086:0084]
    Kernel driver in use: iwlwifi

Interesting facts:
1- I tested the mobo on Kubuntu and wifi was recognized.
2- The bluetooth worked (I was using a logitech MX master mouse on bluetooth).

Thank you for your time.

Is it using the same firmware version?

Yes, same firmware

Can you capture/compare the dmesg output between the two distros?

dmesg|egrep -i "iwlwifi|firmware"

Kernel versions?

uname -r

Apologies for the delay. This took me some time.

In Kubuntu (where wifi works) I am getting the following.



>uname -r
5.11.0-27-generic


> dmesg|egrep -i "iwlwifi|firmware"


 Config Status: cfg=new, avail=yes, need=no, active=unknown
    0.389537] Spectre V2 : Enabling Restricted Speculation for firmware calls
    0.538747] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
    0.547630] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-7f] only partially covers this bridge
   33.626554] iwlwifi 0000:28:00.0: enabling device (0000 -> 0002)
   34.758169] Bluetooth: hci0: Firmware revision 0.0 build 121 week 36 2020
   35.007496] iwlwifi 0000:28:00.0: api flags index 2 larger than supported by driver
   35.007504] iwlwifi 0000:28:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.22
   35.007659] iwlwifi 0000:28:00.0: loaded firmware version 59.601f3a66.0 cc-a0-59.ucode op_mode iwlmvm
   35.826267] iwlwifi 0000:28:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340
   36.010861] iwlwifi 0000:28:00.0: base HW address: b4:0e:de:7b:5e:94
   36.207539] iwlwifi 0000:28:00.0 wlo1: renamed from wlan0
  172.503585] Modules linked in: ccm input_leds hid_apple apple_mfi_fastcharge rfcomm iwlmvm mac80211 cmac algif_hash algif_skcipher af_alg bnep libarc4 btusb btrtl btbcm btintel bluetooth iwlwifi ecdh_generic ecc cfg80211 intel_rapl_msr intel_rapl_common edac_mce_amd kvm_amd kvm snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence snd_hda_codec joydev snd_hda_core snd_hwdep soundwire_bus snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd soundcore ccp k10temp rapl efi_pstore wmi_bmof mac_hid sch_fq_codel msr parport_pc ppdev lp parport ip_tables x_tables autofs4 overlay nls_utf8 isofs dm_mirror dm_region_hash dm_log uas usb_storage hid_generic usbhid hid nouveau mxm_wmi i2c_algo_bit drm_ttm_helper ttm drm_kms_helper crct10dif_pclmul crc32_pclmul syscopyarea ghash_clmulni_intel
  200.503526] Modules linked in: ccm input_leds hid_apple apple_mfi_fastcharge rfcomm iwlmvm mac80211 cmac algif_hash algif_skcipher af_alg bnep libarc4 btusb btrtl btbcm btintel bluetooth iwlwifi ecdh_generic ecc cfg80211 intel_rapl_msr intel_rapl_common edac_mce_amd kvm_amd kvm snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence snd_hda_codec joydev snd_hda_core snd_hwdep soundwire_bus snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd soundcore ccp k10temp rapl efi_pstore wmi_bmof mac_hid sch_fq_codel msr parport_pc ppdev lp parport ip_tables x_tables autofs4 overlay nls_utf8 isofs dm_mirror dm_region_hash dm_log uas usb_storage hid_generic usbhid hid nouveau mxm_wmi i2c_algo_bit drm_ttm_helper ttm drm_kms_helper crct10dif_pclmul crc32_pclmul syscopyarea ghash_clmulni_intel


For reference (also mentioned in the first post)
**In SUSE Tumbleweed **I am using


>uname - r
5.14.0-1-default
> dmesg | egrep -i "iwlwifi|firmware"
    0.371554] Spectre V2 : Enabling Restricted Speculation for firmware calls
    0.606391] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
    0.614628] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-7f] only partially covers this bridge
   69.292806] iwlwifi 0000:28:00.0: enabling device (0000 -> 0002)
   69.301598] iwlwifi 0000:28:00.0: Direct firmware load for iwlwifi-cc-a0-64.ucode failed with error -2
   69.325321] iwlwifi 0000:28:00.0: api flags index 2 larger than supported by driver
   69.325331] iwlwifi 0000:28:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
   69.325453] iwlwifi 0000:28:00.0: loaded firmware version 63.c04f3485.0 cc-a0-63.ucode op_mode iwlmvm
   69.436203] iwlwifi 0000:28:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340
   72.231077] Bluetooth: hci0: Firmware revision 0.0 build 121 week 7 2021

Thank you for looking.

I note that Kubuntu is loading a an older firmware…

firmware version 59.601f3a66.0 cc-a0-59.ucode op_mode iwlmvm

…while Tumbleweed loads…

loaded firmware version 63.c04f3485.0 cc-a0-63.ucode op_mode iwlmvm

I wonder if forcing an older firmware version might help here?

For referfence, I’m using Leap 15.3 which offers the following…

~> ls -l /lib/firmware/iwlwifi-cc*
-rw-r--r-- 1 root root 384436 Mar  6  2021 /lib/firmware/iwlwifi-cc-a0-46.ucode.xz
-rw-r--r-- 1 root root 387508 Mar  6  2021 /lib/firmware/iwlwifi-cc-a0-48.ucode.xz
-rw-r--r-- 1 root root 392336 Mar  6  2021 /lib/firmware/iwlwifi-cc-a0-50.ucode.xz
-rw-r--r-- 1 root root 427712 Mar  6  2021 /lib/firmware/iwlwifi-cc-a0-53.ucode.xz
-rw-r--r-- 1 root root 428500 Mar  6  2021 /lib/firmware/iwlwifi-cc-a0-55.ucode.xz
-rw-r--r-- 1 root root 441976 Mar  6  2021 /lib/firmware/iwlwifi-cc-a0-59.ucode.xz

You could try moving or renaming the “iwlwifi-cc-a0-63.ucode.xz” firmware, reboot, and see whether that is helpful perhaps. There is also the chance that something changed in the more recent kernel module (but hopefully not the case).

Thank you!

I tried installing the latest version of leap and I couldn’t get the wifi to work.
I purchased a pcie wifi card and I will try to see if this works. Otherwise I will give your advise a try.