Open Roman- opened 3 years ago
Following this suggestion, I powered off the laptop (instead of rebooting it) and unplugged the power cable for a few minutes. Then the Wi-Fi adapter magically appeared. If this is a hardware issue that can't be solved with the drivers, please close my issue.
Hello Roman,
I am fairly new to Ubuntu and Linux in general. I have the same problem on an ASUS TUF F15 and I took the same steps as you have by updating the kernel. For me, sometimes the Wi-Fi works, other times it does not. Apparently, as I found here there are no drivers yet available for our Wi-Fi adapter. I have disabled secure boot and fast boot as said there. Hopefully there will be a driver release soon. As I understand, sometimes if you turn off your laptop and then turn it back on without having a the charger plugged in, the adapter may work. You may also find useful information here. I hope this helps you. If you find better solutions, please contact me and let me know as I am in the same position.
Best wishes, Teodor-Avram
BTW, is your trackpad working?
@Ciochirca My trackpad stops working from time to time...
@shizonic have you tried the instructions here? My issue is that apparently there is a bug in the Linux kernel, but for some reason, I can not report the problem. When I enter the command ubuntu-bug linux
I get a pop up with the title "Problem in linux-image-5.12.10-051210-generic" containing the description "The problem can not be reported: This report is about a package that is not installed.". I have read on a couple of forums that it might be an xor problem, but I can not say for sure. I hope you will resolve your problem from the instructions provided by their team.
Solved by powering off the laptop (instead of rebooting it)
Following this suggestion, I powered off the laptop (instead of rebooting it) and unplugged the power cable for a few minutes. Then the Wi-Fi adapter magically appeared. If this is a hardware issue that can't be solved with the drivers, please close my issue.
HI Roman,
Could you help cherry-pick the patch "mt76: mt7921: reset wfsys during hw probe" [1] onto your testing kernel source, recompile the module and retry again ?
Hello I also experience the same problem with the same mt7921 on asus tuf f15. Everytime I reboot the wifi firmware fails to build and load and the wifi icon is missing from the top right corner. It works fine after a shutdown and then boot.
I tried blacklisting the mt7921 modules from modprobe on boot and run the modprobe command manually after boot. I get no errors on command line but again the module seems to initialize normally after a shutdown and does not work after a reboot (failed with error -5 on dmesg).
I will try to build the module using the patch mentioned by objelf and report back (probably tomorrow)
# modinfo mt7921e
filename: /lib/modules/5.12.13-300.fc34.x86_64/kernel/drivers/net/wireless/mediatek/mt76/mt7921/mt7921e.ko.xz
license: Dual BSD/GPL
author: Lorenzo Bianconi <lorenzo@kernel.org>
author: Sean Wang <sean.wang@mediatek.com>
firmware: mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
firmware: mediatek/WIFI_RAM_CODE_MT7961_1.bin
alias: pci:v000014C3d00007961sv*sd*bc*sc*i*
depends: mt76,mt76-connac-lib,mac80211,cfg80211
retpoline: Y
intree: Y
name: mt7921e
vermagic: 5.12.13-300.fc34.x86_64 SMP mod_unload
On my setup I have windows 10 dual boot on a separate EFI partition with fast boot disabled and secure boot disabled.
Hello, I am experiencing the same issue here with the mt7921e on a ROG G15 GA503QS, and I am on Fedora 34 with the custom kernel from asus-ctl (https://asus-linux.org). Setup with a dual boot with Windows 10.
Also, I never got the Bluetooth to work properly; does it work for any of you?
Let me know if I can do anything to help fix this issue, or if you find a solution!
modinfo mt7921e
filename: /lib/modules/5.12.15-300.rog.fc34.x86_64/kernel/drivers/net/wireless/mediatek/mt76/mt7921/mt7921e.ko.xz
license: Dual BSD/GPL
author: Lorenzo Bianconi <lorenzo@kernel.org>
author: Sean Wang <sean.wang@mediatek.com>
firmware: mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
firmware: mediatek/WIFI_RAM_CODE_MT7961_1.bin
alias: pci:v000014C3d00007961sv*sd*bc*sc*i*
depends: mt76,mt76-connac-lib,mac80211,cfg80211
retpoline: Y
intree: Y
name: mt7921e
vermagic: 5.12.15-300.rog.fc34.x86_64 SMP mod_unload
sig_id: PKCS#7
signer: Fedora kernel signing key
I have ASUS ROG Zephyrus G15, tried fedora 34 with dual boot with kernels 5.11 and 5.12, the same issue for both.(@Ciochirca touchpad didnt work for 5.11 for me, after update it was ok)
Moved to ubuntu 21, updated kernel to 5.13.2. Without power cable wifi works, if I connect a cable and reboot it doesnt. Bluetooth doesnt work at all for all kernels, distributions, etc
Hello Roman,
I am fairly new to Ubuntu and Linux in general. I have the same problem on an ASUS TUF F15 and I took the same steps as you have by updating the kernel. For me, sometimes the Wi-Fi works, other times it does not. Apparently, as I found here there are no drivers yet available for our Wi-Fi adapter. I have disabled secure boot and fast boot as said there. Hopefully there will be a driver release soon. As I understand, sometimes if you turn off your laptop and then turn it back on without having a the charger plugged in, the adapter may work. You may also find useful information here. I hope this helps you. If you find better solutions, please contact me and let me know as I am in the same position.
Best wishes, Teodor-Avram
@Ciochirca @shizonic I have TUF F15 and cant get touchpad working. How did you guys resolve this?
I had got same issue on my Asus F15 as you, Roman, so powering off helped (Ubuntu 20.04 kernel 5.12.5). But mainly I have issue with Bluetooth adapter, it doesn't work.. (tested also with kernel 5.13.0)
hciconfig hci0 hci0: Type: Primary Bus: USB BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0 DOWN RX bytes:0 acl:0 sco:0 events:0 errors:0 TX bytes:3 acl:0 sco:0 commands:1 errors:0
I have the same issue on my ASUS A15
$ inxi -nz
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169
IF: enp2s0 state: down mac: <filter>
Device-2: MEDIATEK driver: N/A
IF-ID-1: usb0 state: unknown speed: -1 duplex: half mac: <filter>
lspci -v
03:00.0 Network controller: MEDIATEK Corp. Device 7961
Subsystem: AzureWave Device 4680
Flags: fast devsel, IRQ 91, IOMMU group 12
Memory at fe20300000 (64-bit, prefetchable) [size=1M]
Memory at fe20400000 (64-bit, prefetchable) [size=16K]
Memory at fe20404000 (64-bit, prefetchable) [size=4K]
Capabilities: <access denied>
Kernel modules: mt7921e
The Wifi showed up on install of 21.04, I rebooted my computer and now no wi-fi
I have the same issue on ASUS ROG Zephyrus M16. Changing my wifi adapter from MT7921 to AX200 doesn't help.
Power cable plugged. Boot Windows10 -> Shutdown Windows10 -> Boot Arch Linux -> No WiFi adapter
Power cable unplugged. Boot Windows10 -> Shutdown Windows10 -> Boot Arch Linux -> The WiFi adapter works well -> Plug the cable, reboot Arch Linux -> The WiFi adapter works well
Logs when No WiFi adapter. Line 1121
zephyrus kernel: Intel(R) Wireless WiFi driver for Linux
zephyrus kernel: iwlwifi 0000:30:00.0: enabling device (0000 -> 0002)
zephyrus kernel: i915 0000:00:02.0: [drm] VT-d active for gfx access
zephyrus kernel: checking generic (4000000000 fa0000) vs hw (622c000000 1000000)
zephyrus kernel: checking generic (4000000000 fa0000) vs hw (4000000000 10000000)
zephyrus kernel: fb0: switching to inteldrmfb from EFI VGA
zephyrus kernel: i915 0000:00:02.0: vgaarb: deactivate vga console
zephyrus kernel: AVX2 version of gcm_enc/dec engaged.
zephyrus kernel: AES CTR mode by8 optimization enabled
zephyrus systemd[1]: Finished Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
zephyrus audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lvm2-monitor comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
zephyrus systemd[1]: Reached target Preparation for Local File Systems.
zephyrus kernel: ACPI: battery: new extension: ASUS Battery Extension
zephyrus kernel: iwlwifi 0000:30:00.0: api flags index 2 larger than supported by driver
zephyrus kernel: iwlwifi 0000:30:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
zephyrus kernel: iwlwifi 0000:30:00.0: loaded firmware version 63.c04f3485.0 cc-a0-63.ucode op_mode iwlmvm
Logs when the WiFi adapter works. Line 1111
zephyrus kernel: Intel(R) Wireless WiFi driver for Linux
zephyrus kernel: iwlwifi 0000:30:00.0: enabling device (0000 -> 0002)
zephyrus kernel: Creating 1 MTD partitions on "0000:00:1f.5":
zephyrus kernel: 0x000000000000-0x000001000000 : "BIOS"
zephyrus kernel: i915 0000:00:02.0: [drm] VT-d active for gfx access
zephyrus kernel: checking generic (4000000000 fa0000) vs hw (622c000000 1000000)
zephyrus kernel: checking generic (4000000000 fa0000) vs hw (4000000000 10000000)
zephyrus kernel: fb0: switching to inteldrmfb from EFI VGA
zephyrus kernel: i915 0000:00:02.0: vgaarb: deactivate vga console
zephyrus kernel: input: Asus WMI hotkeys as /devices/platform/asus-nb-wmi/input/input11
zephyrus kernel: usb 3-4: new low-speed USB device number 3 using xhci_hcd
zephyrus systemd[1]: Finished Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
zephyrus audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lvm2-monitor comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
zephyrus systemd[1]: Reached target Preparation for Local File Systems.
zephyrus kernel: iwlwifi 0000:30:00.0: api flags index 2 larger than supported by driver
zephyrus kernel: iwlwifi 0000:30:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
zephyrus kernel: iwlwifi 0000:30:00.0: loaded firmware version 63.c04f3485.0 cc-a0-63.ucode op_mode iwlmvm
zephyrus kernel: i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
zephyrus kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/tgl_dmc_ver2_08.bin (v2.8)
Experience very similar problem with arch on kernel 5.14.5. The kernel panics on reboots and when poweron. A solution that seems to be working is a hard shutdown and then boot.
Couldn't dump the panic logs in a text file. The logs in the image are fairly readable
Looks like there is a seemingly unrecoverable, driver crash on suspend / resume under arch (5.14)
I had TUF A17 mt7961 with a similar issue. Neither wifi nor Bluetooth was working on ubuntu 20.04. Updating to 21.10 fixes the wifi issue. Installing the latest kernel rc release fixed the bluetooth issue as well ( sudo bluetoothctl list
output was "No default controller available"):
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15-rc6/amd64/linux-headers-5.15.0-051500rc6-generic_5.15.0-051500rc6.202110180730_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15-rc6/amd64/linux-headers-5.15.0-051500rc6_5.15.0-051500rc6.202110180730_all.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15-rc6/amd64/linux-image-unsigned-5.15.0-051500rc6-generic_5.15.0-051500rc6.202110180730_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15-rc6/amd64/linux-modules-5.15.0-051500rc6-generic_5.15.0-051500rc6.202110180730_amd64.deb
sudo dpkg -i *.deb
sudo reboot now
I am not sure but I think this commit has the fix.
@sonalkr132
interesting finds, I also fixed the wifi by upgrading to ubuntu 21.04, solved many model issues as well by upgrading to kernel ^14.5.0
I wonder if there are anyways to resolve the bluetooth not working without using an unstable kernel release
I am currently facing identical issue with Wifi adapter on ASUS ROG G15: reboot fails to bring up wifi adapter on Arch Linux(kernel version 5.14). @divine-comedian I see you have G15, have you faced any ethernet related issues ? or Anyone with latest G15 models who has ethernet port, have you faced ethernet issues ?
Thank you
I am currently facing identical issue with Wifi adapter on ASUS ROG G15: reboot fails to bring up wifi adapter on Arch Linux(kernel version 5.14). @divine-comedian I see you have G15, have you faced any ethernet related issues ? or Anyone with latest G15 models who has ethernet port, have you faced ethernet issues ?
Thank you
I have actually a TUF506QM but my issues are with wi-fi, bluetooth and powering back from sleep/hibernate. wired connections have been my only saviour often.
I am currently facing identical issue with Wifi adapter on ASUS ROG G15: reboot fails to bring up wifi adapter on Arch Linux(kernel version 5.14). @divine-comedian I see you have G15, have you faced any ethernet related issues ? or Anyone with latest G15 models who has ethernet port, have you faced ethernet issues ? Thank you
I have actually a TUF506QM but my issues are with wi-fi, bluetooth and powering back from sleep/hibernate. wired connections have been my only saviour often.
Thanks for the prompt reply. Shutdown-start trick works for my wifi. I haven't had any luck with bluetooth though. ~My mouse pad's right click doesn't work.~ (seems default mouse pad setting is multiple finger) Those are my issues as far as I know at the moment. I believe my ethernet issue should be resolved once this commit is released in stable kernel - already tagged to 5.15.
So sorry, I didn't find the time to test and I installed windows on it. Now I installed ubuntu 21.10 on dual boot with UEFI and wifi works as intended. My kernel version is the following:
5.13.0-21-generic```
Bluetooth still doesn't work.
@9prady9 I have also ASUS ROG G15 and yes I also have the issues with ethernet and wifi during arch(5.14.15-arch1-1) installation. Btw trick with power off and not have plugged in power cable works
@9prady9 I have also ASUS ROG G15 and yes I also have the issues with ethernet and wifi during arch(5.14.15-arch1-1) installation. Btw trick with power off and not have plugged in power cable works
Glad to know that wifi trick works for you as well. Ethernet one should go away with 5.15 kernel as that added the newer card that is present in G15 to r8169 module https://github.com/torvalds/linux/commit/72f898ca0ab85fde6facf78b14d9f67a4a7b32d1#diff-9d61beebd4949ecbf8877624e7f25547715934c98cf968bed6e3a6d47d797a7f there is new fix to the same module in 5.16 soon to be released
The issues with suspend and resume have been fixed in 5.16-rc1+ on, there's also a small patch that solves them on older kernels too
I raised a bug about the coldboot wifi issue in the kernel bugzilla but there hasn't been much interaction with it
The issues with suspend and resume have been fixed in 5.16-rc1+ on, there's also a small patch that solves them on older kernels too
I raised a bug about the coldboot wifi issue in the kernel bugzilla but there hasn't been much interaction with it
HUGE that's awesome
I understand this isn't explicitly related to the topic but since we're discussing ASUS ubuntu issues - I updated to ubuntu 21.10 and the only working kernel I can seem to use is 5.12.16 - kernel 5.13 (default for Ub 21.10) leads to a blank/frozen terminal screen on load. kernel 5.15+ blank terminal screen as well. smells like a graphics driver issue, not sure if anyone has found the magic kernel past 5.12.16 to get this bad boy to load.
The issues with suspend and resume have been fixed in 5.16-rc1+ on, there's also a small patch that solves them on older kernels too I raised a bug about the coldboot wifi issue in the kernel bugzilla but there hasn't been much interaction with it https://bugzilla.kernel.org/show_bug.cgi?id=214557
HUGE that's awesome
I understand this isn't explicitly related to the topic but since we're discussing ASUS ubuntu issues - I updated to ubuntu 21.10 and the only working kernel I can seem to use is 5.12.16 - kernel 5.13 (default for Ub 21.10) leads to a blank/frozen terminal screen on load. kernel 5.15+ blank terminal screen as well. smells like a graphics driver issue, not sure if anyone has found the magic kernel past 5.12.16 to get this bad boy to load.
That's very weird, is that the AMD+AMD system or AMD+NVIDIA? If it's the former try and capture the dmesg and you can report the bug at https://gitlab.freedesktop.org/drm/amd/-/issues, if it's nVidia have you made sure you've got a matching nvidia module for that kernel?
@FireBurn
Using the ubuntu drivers tool I updated the proprietary nvidia drivers from 470 -> 495 and now it works on the default kernel for impish indri (5.13) but no further - (5.15+ still breaks).
Probably best to raise a bug on the ubuntu bug tracker, give them your dmesg too, and just check that the kernel you've installed has a matching nvidia entry in /lib/modules/{kernel version}, at a guess I'd think that the nvidia proprietary module hasn't been generated for the matching version
I face the same issue on artix-linux. It doesn't seem to be distro-specific since ubuntu was mentioned in this discussion
Same issue on Arch Linux, with my Thinkbook 14 G3 ACL. (also has mt7921e)
The Wifi adapter can not function after reboot, but when I put the laptop to sleep and reopen it, it works! A shutdown and then boot also work.
The mt7921e is still not working for me on Pop!_OS 20.10 (kernel 5.15) on the ASUS M16.
I face the same issue on fedora 35(kernal 5.15) on the asus tuf f15 laptop
Can we know if this is a kernel issue, driver issue, combo? The reason I ask is to know whether we should continue reporting here or move the discussion elsewhere?
Had the same issue on a Thinkpad L14 with Arch and linux-lts 5.10.90-1
. Installed linux 5.15.13
and now it works.
I have an Asus Vivobook pro 15, with mediatek WiFi ( mt7921e driver). With kernel 5.15.13, WiFi and Bluetooth work perfect but after suspend WiFi not working. Bluetooth continue to work as expected after suspend. Also if I try to shutdown, not work and I need to press power button for few seconds to force shutdown. I tried to install version 5.16 but failed to start with it. I have dual boot with win10, I try it with fast boot disabled and enabled, no difference. Only solution for moment is to disable suspend and hibernate.
Same issue on Arch Linux, with my Thinkbook 14 G3 ACL. (also has mt7921e)
The Wifi adapter can not function after reboot, but when I put the laptop to sleep and reopen it, it works! A shutdown and then boot also work.
Now with kernel 5.16.1-zen1-1-zen, a sleep would lead to a crash, and modprobe -r mt7921e
would not work.
Jan 18 09:36:42 JKLiTB sddm[483]: Loading theme configuration from "/usr/share/sddm/themes/breeze>
Jan 18 09:36:42 JKLiTB sddm[483]: Greeter starting...
Jan 18 09:36:42 JKLiTB sddm[483]: Signal received: SIGTERM
Jan 18 09:36:42 JKLiTB sddm[483]: Socket server stopping...
Jan 18 09:36:42 JKLiTB sddm[483]: Socket server stopped.
Jan 18 09:36:42 JKLiTB sddm[483]: Display server stopping...
Jan 18 09:36:42 JKLiTB sddm-helper[4106]: [PAM] Starting...
Jan 18 09:36:42 JKLiTB audit[4106]: USER_AUTH pid=4106 uid=0 auid=4294967295 ses=4294967295 msg='>
Jan 18 09:36:42 JKLiTB audit[4106]: USER_ACCT pid=4106 uid=0 auid=4294967295 ses=4294967295 msg='>
Jan 18 09:36:42 JKLiTB sddm-helper[4106]: [PAM] Authenticating...
Jan 18 09:36:42 JKLiTB sddm-helper[4106]: [PAM] returning.
Jan 18 09:36:43 JKLiTB sddm[483]: Display server stopped.
Jan 18 09:36:43 JKLiTB sddm[483]: Running display stop script "/usr/share/sddm/scripts/Xstop"
Jan 18 09:36:43 JKLiTB sddm[483]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper")>
Jan 18 09:36:43 JKLiTB systemd[1]: sddm.service: Deactivated successfully.
Jan 18 09:36:43 JKLiTB systemd[1]: Stopped Simple Desktop Display Manager.
Jan 18 09:36:43 JKLiTB audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='uni>
Jan 18 09:36:42 JKLiTB sddm[483]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
Jan 18 09:36:42 JKLiTB sddm[483]: Greeter starting...
Jan 18 09:36:42 JKLiTB sddm[483]: Signal received: SIGTERM
Jan 18 09:36:42 JKLiTB sddm[483]: Socket server stopping...
Jan 18 09:36:42 JKLiTB sddm[483]: Socket server stopped.
Jan 18 09:36:42 JKLiTB sddm[483]: Display server stopping...
Jan 18 09:36:42 JKLiTB sddm-helper[4106]: [PAM] Starting...
Jan 18 09:36:42 JKLiTB audit[4106]: USER_AUTH pid=4106 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? add>
Jan 18 09:36:42 JKLiTB audit[4106]: USER_ACCT pid=4106 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? >
Jan 18 09:36:42 JKLiTB sddm-helper[4106]: [PAM] Authenticating...
Jan 18 09:36:42 JKLiTB sddm-helper[4106]: [PAM] returning.
Jan 18 09:36:43 JKLiTB sddm[483]: Display server stopped.
Jan 18 09:36:43 JKLiTB sddm[483]: Running display stop script "/usr/share/sddm/scripts/Xstop"
Jan 18 09:36:43 JKLiTB sddm[483]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
Jan 18 09:36:43 JKLiTB systemd[1]: sddm.service: Deactivated successfully.
Jan 18 09:36:43 JKLiTB systemd[1]: Stopped Simple Desktop Display Manager.
Jan 18 09:36:43 JKLiTB audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 18 09:36:43 JKLiTB systemd[1]: sddm.service: Consumed 23.655s CPU time.
Jan 18 09:36:43 JKLiTB kernel: mt7921e 0000:05:00.0: Message 80000010 (seq 4) timeout
Jan 18 09:36:43 JKLiTB kernel: mt7921e 0000:05:00.0: Failed to get patch semaphore
Jan 18 09:36:43 JKLiTB kernel: mt7921e 0000:05:00.0: chip reset failed
Jan 18 09:36:46 JKLiTB wpa_supplicant[934]: Could not set interface wlan0 flags (UP): Connection timed out
Jan 18 09:36:46 JKLiTB kernel: mt7921e 0000:05:00.0: Message 00000046 (seq 5) timeout
Jan 18 09:36:46 JKLiTB kernel: mt7921e 0000:05:00.0: chip reset
Jan 18 09:36:46 JKLiTB wpa_supplicant[934]: WEXT: Could not set interface 'wlan0' UP
Jan 18 09:36:46 JKLiTB wpa_supplicant[934]: wlan0: Failed to initialize driver interface
Jan 18 09:36:46 JKLiTB wpa_supplicant[934]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Jan 18 09:36:52 JKLiTB wpa_supplicant[934]: Could not set interface wlan0 flags (UP): Connection timed out
Jan 18 09:36:52 JKLiTB kernel: mt7921e 0000:05:00.0: Message 00000046 (seq 6) timeout
Jan 18 09:36:55 JKLiTB kernel: mt7921e 0000:05:00.0: Message 80000010 (seq 7) timeout
Jan 18 09:36:55 JKLiTB kernel: mt7921e 0000:05:00.0: Failed to get patch semaphore
A simple but dirty way to fix: put this file in /usr/lib/systemd/system-sleep/
, name it as mt7921e_fix
or whatever.
#!/bin/sh
# manually unload and load mt7921e to avoid problem after sleep
case $1 in
pre) modprobe -r mt7921e ;;
post) modprobe mt7921e ;;
esac
This file automatically unload the mt7961e before sleep and load it back after waking up.
Tested with 5.16.1 and still not work wifi after suspend.
A simple but dirty way to fix: put this file in /usr/lib/systemd/system-sleep/, name it as mt7921e_fix or whatever.
I know about this solution but in my case not work (kernel 5.15.13 or 14 I don't remember exactly).
What version of the kernel works best for you with the above solution?
Tested with 5.16.1 and still not work wifi after suspend.
A simple but dirty way to fix: put this file in /usr/lib/systemd/system-sleep/, name it as mt7921e_fix or whatever.
I know about this solution but in my case not work (kernel 5.15.13 or 14 I don't remember exactly). What version of the kernel works best for you with the above solution?
I mainly use linux-zen 5.16.1.zen1-1, and I did a test with linux 5.16.1.arch1-1, both works.
By the way, I am using Arch Linux and only sleep works. I have fatal problem with hibernate, not sure why because I seldom use hibernate.
The file may need 755 permission. Maybe you can manually test it by run sudo modprobe -r mt7921e
and then sleep, and then wake up the computer and run sudo modprobe mt7921e
I have a MSI Modern 14 B5m laptop and running a dual boot (Windows and Arch). I managed to make my Wi-Fi worked by following this answer before.
But recently after I updated my kernel to 5.16.arch1-1
, it keeps making the kernel to panic (my journalctl -b -1
logged mt7921e 0000:01:00.0: Timeout for driver own
). I'm currently running the linux-lts kernel version 5.15.15-1
, although sometimes, it randomly stopped working. But I could fix it by updating my laptop firmware on Windows.
Edit: Link to my hw-probe
I use Ubuntu 20.04, and for me, removing kernel module not work. I test first before any suspend (fresh start). Remove kernel module, then load again, everything work perfect. Then I remove kernel, go to suspend and back, But when i try to load kernel module nothing happens.
WARNING: this patch could be buggy, recommended to only build mt76 as a module; see the mailing list
The kernel refuses to boot with this applied
@FireBurn I added a warning
It seems like things are finally moving quite a bit for the mediatek driver: https://patchwork.kernel.org/project/linux-mediatek/list/?submitter=169671. It should be fixed in the next release cycle.
For ubuntu folks, the fix is included in the staging firmware https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1958286
How to test this firmware or when will be available for non geeks? I test until now kernels from here: https://kernel.ubuntu.com/~kernel-ppa/mainline/ but it's a bit to much to download source code, apply patch, compile, ......
Some users (myself included) are seeing their system stability fall apart with the latest kernel 5.16.3 update on arch https://bbs.archlinux.org/viewtopic.php?pid=2019011
For me (Ubuntu 20.04) the latest kernel versions don't even boot (5.16.3, 5.16.4, 5.15.16-18). I even updated from 20.04 to 21.10, but without success (with wifi).
Edit later: After new tests, it seems that boot with 5.16.3 / 4 and 5.15.18 but wifi does not work. Boot time takes longer than normal. For me, the latest version where wifi works properly, except suspend is version 5.15.14
I have 5.16.3-arch1-1
now on Arch Linux with that update what used to work stopped working completely now
On Arch too with an Asus TUF506LH, 5.16.3 is totally broken for me (it panics 50% of the time on boot due to the mt7921e driver and the other 50% it boots but the network stack seems to be completely broken), I tried the lts kernel (5.15.17) and it is also not working (now it boots almost every time but mt7921e is still broken)!
I burned a new live disc yesterday and when booting from there I could connect to wifi using iwd; rebooting back into my permanent install then messes up the wlan chip state, and if I boot back into the live disc iwd no longer works. To get it to work again I have to reset the firmware (unplug adapter & hold power button for 60sec, as in https://forums.linuxmint.com/viewtopic.php?t=349575).
In any case here is another relevant bug report not linked above. https://lore.kernel.org/all/YfY+C9hiX2V7LnT6@kroah.com/t/
On Arch too with an Asus TUF506LH, 5.16.3 is totally broken for me (it panics 50% of the time on boot due to the mt7921e driver and the other 50% it boots but the network stack seems to be completely broken),
@aelzenaar I'm on arch as well and 5.16.3
and 5.16.4
were completely broken for me on the a Lenovo P14s. The mt7921e WiFi didn't work and the amdgpu caused issues as well, including troubles entering standby.
I tried the lts kernel (5.15.17) and it is also not working (now it boots almost every time but mt7921e is still broken)!
5.15.18-1-lts
works for me, it boots without problems and wifi and amdgpu seem to work without problems so far.
Running Ubuntu 21.04 on my ASUS ROG Zephyrus G14. Kernel version: 5.12.10. In the network settings, it says No Wi-Fi Adapter Found.
rfkill list all
lshw -C network
/var/log/syslog
I have Windows 10 insalled on this PC as well, and Wi-Fi works fine there. Fast boot is disabled. Secure boot disabled.
Any suggestions?