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
14 Replies
TinKit
TinKitOP•4w 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•4w 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•4w 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•4w 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•4w 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•4w 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•4w 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•4w 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•4w 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•4w 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•4w ago
That's what I was figuring. Just checking if that was the way forward.
HikariKnight
HikariKnight•4w 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•4w 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•4w 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
Want results from more Discord servers?
Add your server