Package: firmware-mediatek Followup-For: Bug #1025476 X-Debbugs-Cc: ageless.revision...@anonaddy.me
Dear Maintainer, I noticed my Ethernet would drop signal when connected for some time. However, when I unplugged my ethernet, my wifi behaved swimmingly. Then after a few hours, the wifi started behaving the same way until I plugged the ethernet back in and it took over. This cycle repeated itself until I used `sudo nmcli connection down <wifi-device>`, `sudo nmcli connection down <wifi-device>` and `sudo systemctl restart NetworkManager`to attempt restart my WiFi card Those commands proved ineffective and ended with my WiFi card being permanently disconnected. `ip a` would show it listed with an ip address but nmcli could not activate it as it was now an "unknown device" I saw nothing out of the ordinary in journalctl and I tried: ```sh sudo systemctl stop wpa_supplicant sudo systemctl restart NetworkManager ``` The issue persisted On #debian, I was suggested fwupdmgr get-updates but it that had no updates available. Then sney suggested I check this site for more recent firmware: https://web.git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git After searching dmesg per sney's suggestion, I found the wifi card driver to be the mt7921e. I was told I could find those drivers in /lib/firmware/mediatek/. I was instructed to run `/sbin/modinfo mt7921e` and that gave me a list of 6 binaries the driver would support. Only WIFI_MT7961_patch_mcu_1a_2_hdr.bin WIFI_RAM_CODE_MT7961_1a.bin were missing. I backed up the all the files listed form the modinfo output and replaced them with their counterparts from the aformentioned repo being sure to include the missing two files. After that I ran: ```sh sudo modprobe -r mt7921e sudo modprobe mt7921e ``` I did not reboot the device. As a result, my wifi card is now reconnected and it is listed when I run `nmcli con show`. I notice where the wifi device was named wlp1s0, it is now wlan1 instead and the p2p-dev-wlan1 is disconnected where I assume it was connected before. Please let me know if I can provide any more information. Thank you, fugue -- System Information: Debian Release: 12.10 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.12.12+bpo-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled firmware-mediatek depends on no packages. firmware-mediatek recommends no packages. Versions of packages firmware-mediatek suggests: ii initramfs-tools 0.142+deb12u1 -- no debconf information