* mt7925: status LED of USB adapters and linux-firmware
@ 2026-10-12 12:53 Josef Schlehofer
2026-10-21 8:28 ` Josef Schlehofer
0 siblings, 1 reply; 2+ messages in thread
From: Josef Schlehofer @ 2026-10-12 12:53 UTC (permalink / raw)
To: Sean Wang, JB Tsai, Allan Wang
Cc: Felix Fietkau, Lorenzo Bianconi, Ryder Lee, Shayne Chen,
Quan Zhou, linux-wireless, linux-mediatek
Hi,
The status LED of MT7925 USB adapters stays off on Linux. I
investigated this with a NETGEAR A9000 (0846:9072), see [1].
MediaTek's Windows driver for the A9000 (mtkwecxu.sys 5.3.0.3230)
controls the LED using UNI command 0x2a, with GPIO 8 and a TLV (tag 1)
specifying the LED state (on/off). Sending the same command from mt76
works with the firmware from the Windows driver package
(MT7925_E1_ASIC_ROM_RAM_CE_2249_CCN10_USB, 20250424), but not with
linux-firmware builds (CE_2249_CCN16, tested with 20231227 and
20260813). The latter return status 0 but do not change the LED state.
All 16 MT7925 firmware releases currently in linux-firmware are CCN16
builds.
Could you clarify:
1. Can GPIO-based LED control be enabled in the linux-firmware build
for MT7925 USB adapters?
2. If not, what is the intended way to control these LEDs on Linux?
3. Is GPIO 8 common to all MT7925 USB adapters, or is it
board-specific?
I have a small mt76 patch that registers the LED for MT7925 USB devices
and sends this command. I will submit it once firmware support and GPIO
selection are clarified.
[1] https://github.com/morrownr/USB-WiFi/issues/731
Thanks,
Josef
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mt7925: status LED of USB adapters and linux-firmware
2026-10-12 12:53 mt7925: status LED of USB adapters and linux-firmware Josef Schlehofer
@ 2026-10-21 8:28 ` Josef Schlehofer
0 siblings, 0 replies; 2+ messages in thread
From: Josef Schlehofer @ 2026-10-21 8:28 UTC (permalink / raw)
To: Sean Wang, JB Tsai, Allan Wang
Cc: Felix Fietkau, Lorenzo Bianconi, Ryder Lee, Shayne Chen,
Quan Zhou, linux-wireless, linux-mediatek
Hi,
A short follow-up. The new MT7925 firmware in linux-firmware
(20261016233029, added on 2026-10-19) still accepts UNI command 0x2a
but does not change GPIO 8. With the same driver code, the firmware
from the Windows driver package switches the LED on and off.
JB Tsai, since you maintain the MT7925 firmware in linux-firmware,
could you check whether the LED GPIO control can be enabled in the
CE_2249_CCN16 build, or forward this to the right person?
If the firmware cannot be changed, is there a supported way to drive
this GPIO from the host, similar to the LED registers on mt7915?
Thanks,
Josef
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-21 8:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-12 12:53 mt7925: status LED of USB adapters and linux-firmware Josef Schlehofer
2026-10-21 8:28 ` Josef Schlehofer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox