Skip to contentSkip to conversation

mt76: LED not working on ASUS AC51 USB (mt7610U)

BUG REPORT Ray Jantz 3 participants 4 messages Nov 12, 2022 – Nov 14, 2022 1 message not in the archive

lore
Share & tools
lore

Ray Jantz

author
#0 lore raw

Hi,
Below is a bug I submitted on Suse bugzilla - they said I should it submit it to linux-wireless.

LED not working on ASUS AC51 wireless USB adapter (MT7610U chipset) using Mediatek driver

The activity LED on my ASUS AC51 wireless USB adapter does not flash when there is link activity. Everything else works - the adapter connects to wireless networks, but the LED never flashes. The LED works fine in Windows 10.

Reproducible: Always

Steps to Reproduce:
1. Plug ASUS AC51 adapter into a USB port.
2. No need to install a driver (driver is in-kernel)
3.(Optional) reboot
4. Connect to wireless network.
5. Open a browser and bring up a web page.
Actual Results:
The activity LED on the AC51 never flashes even though there is network activity.

Expected Results:
The activity LED on the AC51 should flash when there is network activity.

The OS is Opensuse Tumbleweed 6.0.5-1-default.

The info from lsusb is:

ASUSTek Computer, Inc. AC51 802.11a/b/g/n/ac Wireless Adapter [Mediatek MT7610U]

Bus 001 Device 003: ID 0b05:17d1 ASUSTek Computer, Inc. AC51 802.11a/b/g/n/ac Wireless Adapter [Mediatek MT7610U]

I have checked the kernel config file and CONFIG_MT76_LEDS=y is set.

#3 lore raw
In reply to a message not in the archive

Sounds like the driver should at least create the /sys directories.

Nov. 13, 2022 13:57:27 Ray Jantz <[email protected]>:

Quoted 19 lines

I thought that article looked promising, but the only directories in /sys/class/leds are

input0::capslock
input0::numlock
input0::scrrolllock
mmc0::
platform::mute
tpacpi::thinklight

so there doesn't seem to be anything for the mt76 driver.

Quoted 5 lines · James

Try some this stuff:
https://www.topbug.net/blog/2015/01/13/control-the-led-on-a-usb-wifi-adapter-on-linux/

#4 lore raw
In reply to Ray Jantz
Quoted 25 lines

Hi,
Below is a bug I submitted on Suse bugzilla - they said I should it submit it to linux-wireless.

LED not working on ASUS AC51 wireless USB adapter (MT7610U chipset) using Mediatek driver

The activity LED on my ASUS AC51 wireless USB adapter does not flash when there is link activity. Everything else works - the adapter connects to wireless networks, but the LED never flashes. The LED works fine in Windows 10.

Reproducible: Always

Steps to Reproduce:
1. Plug ASUS AC51 adapter into a USB port.
2. No need to install a driver (driver is in-kernel)
3.(Optional) reboot
4. Connect to wireless network.
5. Open a browser and bring up a web page.
Actual Results:
The activity LED on the AC51 never flashes even though there is network activity.

Expected Results:
The activity LED on the AC51 should flash when there is network activity.

The OS is Opensuse Tumbleweed 6.0.5-1-default.

Quoted 8 lines

The info from lsusb is:

ASUSTek Computer, Inc. AC51 802.11a/b/g/n/ac Wireless Adapter [Mediatek MT7610U]

Bus 001 Device 003: ID 0b05:17d1 ASUSTek Computer, Inc. AC51 802.11a/b/g/n/ac Wireless Adapter [Mediatek MT7610U]

I have checked the kernel config file and CONFIG_MT76_LEDS=y is set.

In the current codebase mt76_leds is only supported for mmio devices since afaik mac80211 requires the driver led callbacks to be atomic while usb configuration path can't run in atomic context.
I will work on a solution to overcome this problem.

Regards,
Lorenzo