WIFI works in Install Media but not New Install [mt76 kernel module]

System Info in Screenshot Bug: MT7612U chipset module not loaded(?) Desc: In the installation media created for bazzite:stable (Fedora 40) my USB wireless adapter (Panda PAU0D) is detected just fine and when I entered the terminal interface I was able to identify the likely necessary kernel modules
mt76x2u, mt76x2_common, mt76x02_usb, mt76_usb, mt76x02_lib, mt76
mt76x2u, mt76x2_common, mt76x02_usb, mt76_usb, mt76x02_lib, mt76
were loaded. Using
dracut --list-modules
dracut --list-modules
and lsmod I don't see these modules loaded or even present on the system fresh after install. How would I go about loading these in-kernel modules for a wireless adapter from this 3rd party compatibility list https://github.com/morrownr/USB-WiFi/blob/f3001d8e5b897e5671302cb2faf18954dd34e3d7/home/USB_WiFi_Adapters_that_are_supported_with_Linux_in-kernel_drivers.md recommended at https://docs.bazzite.gg/Gaming/Hardware_compatibility_for_gaming/ ? So far I have attempted to locate an image more similar to installation media to rebase my install on, find similar posts through bazzite, fedora and UBlue discourse forums and have had no luck. Also, the usb device is detected but the driver is not present or loaded.
Bus 002 Device 002: ID 0e8d:7612 MediaTek Inc. MT7612U 802.11a/b/g/n/ac Wireless Adapter
Bus 002 Device 002: ID 0e8d:7612 MediaTek Inc. MT7612U 802.11a/b/g/n/ac Wireless Adapter
And the mt7xxx-firmware package is indeed installed.
No description
15 Replies
TinKit
TinKitOP•2mo ago
I am also unfamiliar with this style of system yet so I am trying to work it out and learn it before giving up and going back to another OS.
HikariKnight
HikariKnight•2mo ago
im about to head to bed, so this will just be my only message. but you can try sudo modprobe kernelmodulename and see if any of them work since the firmware is there, might be a missing module in the custom kernel since the kernel is different in the installer and the installed system
TinKit
TinKitOP•2mo ago
Thank you! I will try this. Needed a better idea on how to approach this as I was uncertain if typical methods would be applicable to this OS.
HikariKnight
HikariKnight•2mo ago
there shouldnt be any output from the command, and if it doesnt like it, it will complain. if the module just is not loaded for some reason i am sure we can make it load on startup with some checks.
TinKit
TinKitOP•2mo ago
UPDATE: Okay,
sudo modprobe mt76x2u
sudo modprobe mt76x2u
appears to load the appropriate module and dependencies and my adapter is working. This is so far a temporary fix as it doesn't appear to last across reboots. Think I'm gonna work on figuring out what I'm missing or not understanding next later. Thanks for the help. Further UPDATE: Upon trying to auto-load the module I found that it was failing and ran
sudo systemctl status systemd-modules-load.service
sudo systemctl status systemd-modules-load.service
which notes:
Module 'mt76x2u' is deny-listed (by kmod)
Module 'mt76x2u' is deny-listed (by kmod)
so looking for where it is blacklisted atm. Found it: module mt76x2u is blacklisted in xone.conf.
HikariKnight
HikariKnight•2mo ago
Hmm @Kyle Gospo you know why this adapter is blacklisted by the xone driver? @TinKit you might have issues with Bluetooth Xbox controllers as there might be a conflict with the Bluetooth Xbox driver and that wifi driver. Do keep us posted though
TinKit
TinKitOP•2mo ago
Good to know. Any simple suggestions on how to remove or modify the xone driver as its in the readonly section? I don't personally have any Xbox Controllers or know anyone who does so I'm not particularly concerned of interference.
HikariKnight
HikariKnight•2mo ago
/etc is writable so just comment out the blacklist in the xone.conf and then tell us if it causes any issues with xbox controllers
TinKit
TinKitOP•2mo ago
This particular conf is located in /lib/modprobe.d and flagged as readonly when opened up in
sudo vim xone.conf
sudo vim xone.conf
See pic for example
No description
HikariKnight
HikariKnight•2mo ago
yeah because thats not in /etc workaround then would be to make a systemd service to just modprobe the driver after boot 🤔 since modprobing worked and ignored the blacklist
TinKit
TinKitOP•2mo ago
That's what I was figuring. Just checking if that was the way forward.
HikariKnight
HikariKnight•2mo ago
oh i know why its blacklisted same module is used for wired support in xone so some 3rd party controllers will probably no longer work after you load the module essentially it conflicts with the xpad driver which a lot of 3rd party controllers use
TinKit
TinKitOP•2mo ago
Mkay, so for now I'll figure out what commands and changes needed to load after start and post the update here in a solution with the caveat, doing this can cause issues with 3rd party wireless xbox controllers, proceed with caution. Thanks again for your time and the help.
HikariKnight
HikariKnight•2mo ago
yw, because the same module is used in normal xone driver for wired support we have it disabled for that reason since it breaks so many controllers relying on xpad (which handles wired anyway) so we cant remove it from the blacklist
TinKit
TinKitOP•7d ago
I'm adding this here because I came across this discussion in web form when considering moving back to bazzite from Manjaro 6.11.10-2-Manjaro. No issue or solution was provided and understanding how to load the driver after boot was never guided therefore I previously moved back to a better distro with support for usb wireless drivers that met my use case while I was in need of a working system during the college semester. Any further comments here are from experimenting again with the bazzite system after a half year of stable device management under previously mentioned Manjaro, but other bugs have popped up with kde systems that I want to retry bazzite in between semesters. Every new log-in to my system required running special commands <to be added later> in order to use the new supposedly supported wifi adapter that here is clearly illustrated to be conflicting with xbox one drivers and I never figured out how to remove it from blacklist or load it with systemd to automate such work so I didn't have to do it every restart. Especially as I don't expect to ever use this system with xboxone controllers and don't care or need that capability in a basic desktop system with other controllers available that don't conflict with my system. EDIT: (there has been no clear explanation on how to load a kernel module after boot using systemd that I could find. Attempted searches include "systemd service to modprobe after boot"
Want results from more Discord servers?
Add your server