All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lorenzo Bianconi <lorenzo@kernel.org>
To: Ray Jantz <ray.jantz@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [BUG REPORT] mt76: LED not working on ASUS AC51 USB (mt7610U)
Date: Mon, 14 Nov 2022 15:07:03 +0100	[thread overview]
Message-ID: <Y3JLhx3jfCF8zL3a@lore-desk> (raw)
In-Reply-To: <ba072331-b7db-edc3-de77-4496d402f497@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1560 bytes --]

> 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.
> 

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

      parent reply	other threads:[~2022-11-14 14:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-12 23:17 [BUG REPORT] mt76: LED not working on ASUS AC51 USB (mt7610U) Ray Jantz
2022-11-13  1:41 ` James
     [not found]   ` <CAPh_e-gaCqdyFkmTRvHsYdCFwcBrK0yb+qC=BA0Uy+-uQO_BpQ@mail.gmail.com>
2022-11-13 19:49     ` James
2022-11-14 14:07 ` Lorenzo Bianconi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y3JLhx3jfCF8zL3a@lore-desk \
    --to=lorenzo@kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=ray.jantz@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.