Iām on 11th gen, but I swapped out the Intel AX210 for the Mediatek 7922. I am running Arch, but it looks like the firmware that shows in my dmesg output is newer than what your output shows.
You could try backing up/renaming the existing firmware files and moving the new ones where the old ones were, then running the update-initramfs command as Mario noted. I would expect that to cause the new firmware to be loaded. In the unlikely event that you canāt at least get to a shell, you could boot from a usb and move the files back.
Itās great to have confirmation that dmsg can distinguish firmware versions.
You could try backing up/renaming the existing firmware files and moving the new ones where the old ones were [ā¦]
Iāll try this as a last resort, but I really donāt want to touch the existing firmware if I can help it, since that gives me an even greater chance of breaking my system with a typo. Does anyone know a way for me to check my systemās firmware search path? I donāt know where to look for things that could modify the default search path. The file
Oh, it looks like the firmware search path was changed in Debian 8 (āJessieā). Is there some parameter I can set to get /lib/firmware/updates back on the search path?
As Mario has indicated, this is a known Ubuntu bug that is in process to be sorted out.
Itās also worth noting this does not affect all router connections, as it does not affect my own for example - this makes duplication very tricky. That said, it is a known bug and it is coming out as a fix in future updates.
If after following the suggestions provided by Mario, youāre still having issues, you may open a ticket where we can provide additional detailed steps to work through after reviewing your logs at length. When doing so, please link this thread into the ticket to provide additional context.
Linux will present bugs from time to time, so we work through them as we can as fast as we can.
Unofficially: Some folks who have found the MediaTek card isnāt something they wish to work through have opted for the Intel AX210 wifi card as a fallback while these issues are worked through.
If after following the suggestions provided by Mario, youāre still having issues [ā¦]
As weāve been discussing, Marioās proposed fix doesnāt work as written, possibly because of this change in Debianās firmware search path. Iād very much appreciate either a way to modify the search path or, as a last resort, someone at Framework testing lbkNhubertās riskier suggestion before I try it on the machine Iām currently using.
I opened a ticket on Monday. (I wasnāt given a ticket number, but the submission time was around 05:30 GMT.) The initial support request linked to both this community thread and the parallel one that I opened. So far, I havenāt seen any substantive support from anyone labeled as a Framework support team member, either on the community forum or by e-mail.
As Mario has indicated, this is a known Ubuntu bug that is in process to be sorted out.
Since this is a known bug, and the Laptop 13 (AMD Ryzen 7040 Series) ships with a MediaTek wireless card, Iām confused about why the compatibility guide says that wi-fi and bluetooth work out of the box under Ubuntu 22.04 on this machine.
After this issue is resolved, Iād appreciate a better understanding of the testing routine that Frameworkās compatibility guides are based on. This will help me calibrate my expectations for the guidesā accuracy.
Getting things setup on my end now for replication and eyes on it.
However, at the time of the guide, yes, it worked out of the box. This may shift if the patch is held up too long. But I just connected to my wifi router just now without any issue.
The issue affect some routers, not all (and not that I have access to). So right now, I am focused on path differences and getting the correct firmware sorted. I will then examine the state of the patch release, determine if we need to adjust the works out of the box state of wifi from there.
Works with workarounds generally means when I go to connect, it does not. This has not been the case. The issue is the dropping - which has not happened in our testing, and recently, has shown itself to the surface. So weāre going to laser focus on resolution for that.
Getting things setup on my end now for replication and eyes on it. [ā¦] The issue affect some routers, not all (and not that I have access to).
If thereās anything I can do to help you replicate, please let me know. Iām using networks on these two routers:
TP-Link Archer C4000 (both 2.4 GHz and 5 GHz networks)
Ubee UBC 1322 (router chooses between 2.4 GHz and 5 GHz for each connection)
I havenāt been able to maintain a stable connection on either of them.
The issue is the dropping - which has not happened in our testing
Most reports of this and similar issues describe drops happening āafter a few minutesā (this thread) or āabout every 20 minutes,ā which is consistent with my experience. The laptop has sometimes maintained a connection for as long as a few hours, but I donāt think itās ever gone more than eight hours without dropping.
Appreciate it. I am digging into Ubuntu 22.04.3 using the /lib/firmware/mediatek directory path found for this release. This is path for Ubuntu and we have another individual who has had success here. So working this out now.
You did indicate something about path as /lib/firmware/updates for Debian - I cannot speak to this as with our tiny team, we have not touched anything with that distro. If I followed this correctly, seems you indicated Debian in this instance?
In any case, I will have something for Ubuntu shortly to be crafted as a one an done, although it may be a temp stop gap until the Noble fix rolls into LTS.
Tested this manual approach, rebooted without any issues. I will need to aquire a 6E compatible router to make sure all remains well as my older config may be misleading.
Please wait for the beta of the one liner coming shortly, this is for detailed informational purposes only.
cd Downloads && sudo mv *bin /lib/firmware/mediatek
Reboot
Seems to be good. But I lack the 6E+ wifi. But on my wifi 6 router, smooth as butter.
Since I have static bin files I can pull down, Iām going to toss together something for folks to beta test for me until I get a newer router setup here. It will be a one liner script:
Once I get it tested here.
Copy, paste, run, reboot.
This will buy us time while we wait for the Ubuntu team.
You did indicate something about path as /lib/firmware/updates for Debian
Like Max_Power, Iām running Ubuntu 22.04. I wanted to understand why update-initramfs wasnāt loading the new firmware from /lib/firmware/updates, even though that directory is on the generic Linux kernel firmware search path. I suspect the answer is that Ubuntu, being a Debian-based distribution, uses the Debian firmware search path, which apparentlyāas of Debian 8āonly includes /lib/firmware.
Thanks for testing! For the benefit of any new users who might follow these instructions in the future, I want to quickly flag a problematic one:
# [don't do this] cd Downloads && sudo mv *bin /lib/firmware/mediatek
This can have unpredictable effects, which depend on the contents of the Downloads directory. Iād recommend editing your post to specify only the names of the binaries we want to move.
Can you confirm that just replacing the binaries in /lib/firmware/mediatek and rebootingāwithout calling update-initramfsāwas enough to get the new firmware running? I just did this, and Iām still seeing the same build times 20221227123243 (for āWM Firmwareā) and 20221227123154a (for āHW/SWā) in my dmesg output, suggesting that the new firmware still isnāt running. What does your dmesg output look like?
Checking now - Okay, I am seeing the same.
driver: mt7921e
version: 6.5.0-1014-oem
firmware-version: ____000000-20221227123243
expansion-rom-version:
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
I will have to circle back to this on Monday when I return to the office.
(Note: Iām on Noble (24.04) on this system for looking at other newer kernel bugs, so it came directly from the linux-firmware package for me)
Iām not sure why the /lib/firmware/updates search path isnāt working for others though. But at least when itās working you can reference the above versions.
Thanks for confirming the build times for the new firmware!
Iām not sure why the /lib/firmware/updates search path isnāt working for others though.
Iām pretty sure itās not working for anyone, because that directory hasnāt been on the Debian search path in over a decade. I canāt find any documentation about the Ubuntu firmware search path, so Iām guessing itās taken from Debian.
Iāve now tried replacing the binaries in /lib/firmware/mediatek, calling sudo update-initramfs -u, and then rebooting. I still see the old build times in my dmesg output, and Iām still having wi-fi symptoms consistent with what I saw when I first set up the laptop, so I donāt think the new firmware is runnning.