linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Mohr <andi@lisas.de>
To: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: Andreas Mohr <andi@lisas.de>,
	Johannes Berg <johannes@sipsolutions.net>,
	Bob Copeland <me@bobcopeland.com>,
	linville@tuxdriver.com, linux-wireless@vger.kernel.org,
	ath5k-devel@lists.ath5k.org
Subject: Re: [PATCH 1/2] ath5k: support LEDs on Acer Aspire One netbook
Date: Mon, 16 Mar 2009 17:00:44 +0100	[thread overview]
Message-ID: <20090316160044.GA4458@rhlx01.hs-esslingen.de> (raw)
In-Reply-To: <1237217599.2572.16.camel@maxim-laptop>

Hi,

On Mon, Mar 16, 2009 at 05:33:19PM +0200, Maxim Levitsky wrote:
> On Mon, 2009-03-16 at 14:41 +0100, Andreas Mohr wrote:
> > Hmm. So the resume vector itself doesn't even get invoked?
> Exactly.
> 
> 
> > AFAIR there's some debugging options at the asm entry point,
> > but I'm sure you (and several other people) have already looked at this...
> I did my own.. I put there code to write to RTC alarm, and when it hangs
> alarm doesn't update.
> 
> RTC alarm registers are usually preserved during boots and even during
> full power cycle.
> This is the case here.

Perhaps this is because the suspend command/process itself is (slightly?)
wrong (at least "wrong" in the mental universe of this BIOS ;)
and the machine sort-of suspends but due to this doesn't really resume...

> it appears that I am not alone and many acer systems around 5720 are
> affected, and don't have an nvidia device.

So 5520 (I've seen this one already, didn't try resuming) as well perhaps.

> Speaking of the led, I don't understand why you want that patch to be
> applied at all. yes it makes the led work, but did you notice how well
> it works? It blinks very fast, it often inverts the blinking, so it
> constantly on and goes  of when there is activety, or stops blinking at
> all. I was told that this is due to low quality code in mac80222 that
> controls the leds. Other drivers work around that by using this code
> only as a suggestion, and implementing their own ad-hoc timers and
> statistics to power the led. Again I will see what I can do there to
> improve it. 
> 
> Currently I disable the led all together because of that.

Yeah, of course, but the first step would be to activate it, then the
second step should be done (and more LED users would be annoyed about LED
behaviour, thus it would hopefully be fixed soon ;)).

Plus, and that's the more important part, there's certainly not only
one trigger type available but several (some of which without frantic
blinking). Without LED support you'd simply lose all trigger types ;)

Andreas

      reply	other threads:[~2009-03-16 16:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-01 20:01 [PATCH 1/2] ath5k: support LEDs on Acer Aspire One netbook Bob Copeland
2009-01-11 13:10 ` Andreas Mohr
2009-01-11 14:42   ` Bob Copeland
2009-01-11 16:53     ` Andreas Mohr
2009-03-16 10:04     ` Andreas Mohr
2009-03-16 10:16       ` Johannes Berg
2009-03-16 10:44         ` Andreas Mohr
2009-03-16 12:21           ` Maxim Levitsky
2009-03-16 13:41             ` Andreas Mohr
2009-03-16 15:33               ` Maxim Levitsky
2009-03-16 16:00                 ` Andreas Mohr [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=20090316160044.GA4458@rhlx01.hs-esslingen.de \
    --to=andi@lisas.de \
    --cc=ath5k-devel@lists.ath5k.org \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=maximlevitsky@gmail.com \
    --cc=me@bobcopeland.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).