From: "John W. Linville" <linville@tuxdriver.com>
To: Peter Chubb <peterc@gelato.unsw.edu.au>
Cc: jirislaby@gmail.com, mickflemm@gmail.com, lrodriguz@atheros.com,
linux-wireless@vger.kernel.org, ath5k-devel@lists.ath5k.org
Subject: Re: [PATCH] Fix transmit LED on Acer Aspire One
Date: Mon, 23 Feb 2009 14:37:04 -0500 [thread overview]
Message-ID: <20090223193704.GC3553@tuxdriver.com> (raw)
In-Reply-To: <87wsbobfza.wl%peter@chubb.wattle.id.au>
On Wed, Feb 18, 2009 at 02:07:05PM +1100, Peter Chubb wrote:
>
> I've seen a whole heap of fixes for the Aspire One's wireless LED on
> the web, but nothing in the kernel yet.
>
> Here's my take on it. My only worry is other machines with the same card.
>
> Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au>
>
> ---
> ---
> drivers/net/wireless/ath5k/base.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> Index: linux-2.6/drivers/net/wireless/ath5k/base.c
> ===================================================================
> --- linux-2.6.orig/drivers/net/wireless/ath5k/base.c 2009-02-18 10:26:48.000000000 +1100
> +++ linux-2.6/drivers/net/wireless/ath5k/base.c 2009-02-18 14:06:06.000000000 +1100
> @@ -2619,6 +2619,12 @@
> sc->led_pin = 1;
> sc->led_on = 1; /* active high */
> }
> + /* Enable softled on Acer Aspire One */
> + else if (pdev->subsystem_vendor == 0x105b && pdev->subsystem_device == 0xe008) {
> + __set_bit(ATH_STAT_LEDSOFT, sc->status);
> + sc->led_pin = 3;
> + sc->led_on = 0;
> + }
> if (!test_bit(ATH_STAT_LEDSOFT, sc->status))
> goto out;
Any comment on this from the ath5k guys? That 0x105b subvendor ID
would seem to correspond to "Foxconn International, Inc.", which
doesn't sound much like "Acer"...
John
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
next prev parent reply other threads:[~2009-02-23 19:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-18 3:07 [PATCH] Fix transmit LED on Acer Aspire One Peter Chubb
2009-02-23 19:37 ` John W. Linville [this message]
2009-02-23 19:56 ` [ath5k-devel] " Bob Copeland
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=20090223193704.GC3553@tuxdriver.com \
--to=linville@tuxdriver.com \
--cc=ath5k-devel@lists.ath5k.org \
--cc=jirislaby@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=lrodriguz@atheros.com \
--cc=mickflemm@gmail.com \
--cc=peterc@gelato.unsw.edu.au \
/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.