Mediatek MT76x2u: wrong firmware binary name causes firmware load fail

kimocoder <[email protected]>
Newsgroups org.kernel.lore.linux-firmware
Message-ID <d55vbTtrjUFEkfd3a9A5HdKePOMOIZfHLak7MPDleV3Bf9vW3-H9y39C_ypJQ5qY48dpNtdhGEsnL9WGFAF4Jc-k4VCjjavtPCcFj5jVHmg=@aircrack-ng.org>
Hi there!

I noticed lately that MT76x2u chipset's firmware changed from
"mt7662.bin" -> "mt7662u.bin" and
"mt7662_rom_patch.bin" -> "mt7662u_rom_patch.bin"

This is wrong. the kernel module asks for "mt7662.bin" and "mt7662_rom_patch.bin";

└─# modinfo mt76x2u
name: mt76x2u
filename: (builtin)
license: Dual BSD/GPL
file: drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u
description: MediaTek MT76x2U (USB) wireless driver
author: Lorenzo Bianconi <[email protected]>
firmware: mt7662_rom_patch.binfirmware: mt7662.bin

└─# dmesg | grep mt76x2
[ 2.226157] usbcore: registered new interface driver mt76x2u
[ 88.275548] mt76x2u 2-1:1.0: ASIC revision: 76120044
[ 88.509078] mt76x2u 2-1:1.0: ROM patch build: 20140408060640a
[ 88.726559] mt76x2u 2-1:1.0: Firmware Version: 0.0.00
[ 88.726862] mt76x2u 2-1:1.0: Build: 1
[ 88.726990] mt76x2u 2-1:1.0: Build Time: 201406241830____
[ 509.490251] mt76x2u 2-4:1.0: ASIC revision: 76120044
[ 510.140394] mt76x2u 2-4:1.0: ROM patch build: 20140408060640a
[ 510.426527] mt76x2u 2-4:1.0: Firmware Version: 0.0.00
[ 510.429952] mt76x2u 2-4:1.0: Build: 1[ 510.431398] mt76x2u 2-4:1.0: Build Time: 201406241830____

So, the current linux-firmware will not work and device firmware will fail.

best regard,
Christian <kimocoder> Bremvaag
Kali Linux
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.