Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #86471 > unrolled thread
| Started by | FugueSoft <ageless.revision430@anonaddy.me> |
|---|---|
| First post | 2025-03-17 04:40 +0100 |
| Last post | 2025-03-23 17:50 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Bug#1025476: firmware-mediatek: Mediatek Card mt7921e Missing Driver FugueSoft <ageless.revision430@anonaddy.me> - 2025-03-17 04:40 +0100
Bug#1025476: firmware-mediatek: Mediatek Card mt7921e Missing Driver Ben Hutchings <ben@decadent.org.uk> - 2025-03-23 17:50 +0100
| From | FugueSoft <ageless.revision430@anonaddy.me> |
|---|---|
| Date | 2025-03-17 04:40 +0100 |
| Subject | Bug#1025476: firmware-mediatek: Mediatek Card mt7921e Missing Driver |
| Message-ID | <Kr9ux-6Dmf-1@gated-at.bofh.it> |
Package: firmware-mediatek Followup-For: Bug #1025476 X-Debbugs-Cc: ageless.revision430@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
[toc] | [next] | [standalone]
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Date | 2025-03-23 17:50 +0100 |
| Message-ID | <KtwGl-89ZY-1@gated-at.bofh.it> |
| In reply to | #86471 |
[Multipart message — attachments visible in raw view] — view raw
Hi,
This is not at all the same issue originally reported as bug #1025476.
In future, please do not follow up to a bug report that is vaguely
similar, but open a new one.
On Sun, 16 Mar 2025 22:32:45 -0500 FugueSoft
<ageless.revision430@anonaddy.me> wrote:
[...]
> 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.
[...]
These files were last updated upstream in versions 20241110 and
20241210.
I have now updated the version of firmware-nonfree in bookworm-backports
to version 20241210-1~bpo12+1, so if you run:
apt install -t bookworm-backports firmware-mediatek
that should install the same versions you currently have and will ensure
you get any later updates.
Ben.
--
Ben Hutchings
Larkinson's Law: All laws are basically false.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web