Hi, I would like your advice. Recently I purchased a laptop (Asus Vivobook S15 M5506NA-MA056W). I installed fedora 41 alongside Windows 11. First I disabled "fast boot" and "secure boot". Fedora installed fine, but there is no wifi connection, probably because of the Wireless Network Adapter not working.
peter@fedora:~$ nmcli radio WIFI-HW WIFI WWAN-HW WWAN missing enabled missing disabled
peter@fedora:~$ lspci -n -n -k ... 01:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616] Subsystem: Foxconn International, Inc. Device [105b:e0de] Kernel modules: mt7921e ... peter@fedora:~$ sudo dmesg | grep mt7921e [ 7.042421] mt7921e 0000:01:00.0: enabling device (0000 -> 0002) [ 8.096638] mt7921e 0000:01:00.0: firmware own failed [ 8.096733] mt7921e 0000:01:00.0: probe with driver mt7921e failed with error -5
So the kernel module mt7921e is diabled. I tried modprobe, I did a reinstall, to no avail. There is no ethernet connection with this laptop. Of course I can open the laptop and replace the wifi/bluetooth card, but perhaps there are more options. Does anyone have a clue how to resolve this problem? Thanks, Peter
On 5 Nov 2024, at 13:40, Peter Lesterhuis peterlesterhuis@telfort.nl wrote:
So the kernel module mt7921e is diabled.
Is this module documented to support the MT7922? From the kernel messages it appears not to have that support.
Barry
On 11/5/24 5:40 AM, Peter Lesterhuis wrote:
Hi, I would like your advice. Recently I purchased a laptop (Asus Vivobook S15 M5506NA-MA056W). I installed fedora 41 alongside Windows 11. First I disabled "fast boot" and "secure boot". Fedora installed fine, but there is no wifi connection, probably because of the Wireless Network Adapter not working. peter@fedora:~$ nmcli radio WIFI-HW WIFI WWAN-HW WWAN missing enabled missing disabled peter@fedora:~$ lspci -n -n -k ... 01:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616] Subsystem: Foxconn International, Inc. Device [105b:e0de] Kernel modules: mt7921e ... peter@fedora:~$ sudo dmesg | grep mt7921e [ 7.042421] mt7921e 0000:01:00.0: enabling device (0000 -> 0002) [ 8.096638] mt7921e 0000:01:00.0: firmware own failed [ 8.096733] mt7921e 0000:01:00.0: probe with driver mt7921e failed with error -5
The driver says it supports that device, but the firmware loading failed. Make sure you have the firmware. Try installing "mt7xxx-firmware".
On Tue, 5 Nov 2024 at 13:40, Peter Lesterhuis peterlesterhuis@telfort.nl wrote:
Hi, Recently I purchased a laptop (Asus Vivobook S15 M5506NA-MA056W). I installed fedora 41 alongside Windows 11.
peter@fedora:~$ nmcli radio WIFI-HW WIFI WWAN-HW WWAN missing enabled missing disabled
What does "nmcli device" show?
peter@fedora:~$ lspci -n -n -k ... 01:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616] Subsystem: Foxconn International, Inc. Device [105b:e0de] Kernel modules: mt7921e ... peter@fedora:~$ sudo dmesg | grep mt7921e [ 7.042421] mt7921e 0000:01:00.0: enabling device (0000 -> 0002) [ 8.096638] mt7921e 0000:01:00.0: firmware own failed [ 8.096733] mt7921e 0000:01:00.0: probe with driver mt7921e failed with error -5
This looks like an almost identical failure state to https://bugzilla.kernel.org/show_bug.cgi?id=216589 which was resolved by:
"Changing APM options to enable S4/S5 ErP seems to have fixed this. Even though it was brought back to disabled."
(Not sure what toggles this, I'm guessing it'll be boot-time kernel parameters or something.)
So the kernel module mt7921e is diabled. I tried modprobe, I did a reinstall, to no avail.
What does lsmod show, is the module loaded but the device still fails to function?
There's a few more things to investigate listed in this thread too: https://github.com/openwrt/mt76/issues/548#issuecomment-1596163969
On 6/11/24 00:40, Peter Lesterhuis wrote:
Hi, I would like your advice. Recently I purchased a laptop (Asus Vivobook S15 M5506NA-MA056W). I installed fedora 41 alongside Windows 11. First I disabled "fast boot" and "secure boot". Fedora installed fine, but there is no wifi connection, probably because of the Wireless Network Adapter not working. peter@fedora:~$ nmcli radio WIFI-HW WIFI WWAN-HW WWAN missing enabled missing disabled peter@fedora:~$ lspci -n -n -k ... 01:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616] Subsystem: Foxconn International, Inc. Device [105b:e0de] Kernel modules: mt7921e ... peter@fedora:~$ sudo dmesg | grep mt7921e [ 7.042421] mt7921e 0000:01:00.0: enabling device (0000 -> 0002) [ 8.096638] mt7921e 0000:01:00.0: firmware own failed [ 8.096733] mt7921e 0000:01:00.0: probe with driver mt7921e failed with error -5 So the kernel module mt7921e is diabled. I tried modprobe, I did a reinstall, to no avail. There is no ethernet connection with this laptop. Of course I can open the laptop and replace the wifi/bluetooth card, but perhaps there are more options. Does anyone have a clue how to resolve this problem?
You have said you have windows installed alongside Fedora, does the wifi not work in windows as well or is it just Fedora where it doesn't work? Also have you disabled fastboot in windows as opposed to the Bios? I've had issues in the past where with fastboot active in windows a device was not accessible by Fedora until I disabled windows fastboot.
regards, Steve
Thanks, Peter