Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Ryan Dunn <oryandunn.ml@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: module snd-atiixp issue with suspend/hibernate/resume
Date: Tue, 05 May 2009 12:52:14 +0200	[thread overview]
Message-ID: <s5hab5rddpd.wl%tiwai@suse.de> (raw)
In-Reply-To: <bf4fda4a0905041721u7ca45f3exd9bce86a9967aa30@mail.gmail.com>

At Mon, 4 May 2009 20:21:24 -0400,
Ryan Dunn wrote:
> 
> Thanks Takashi, I appreciate your help so far.  I would normally agree with
> you that it is a BIOS issue, however, the machine is a dualboot with WinXP,
> where the mute LED works properly after a resume.  Do you have any other
> suggestions on where the issue may be?  I hate to keep bugging the list for
> such a small issue, but I'm not familiar with the code at all.  When I get
> more free time, I'll try to trace through the resume path to see if I can find
> anything.  How does the driver actually toggle the LED?  Is the register a
> physical register on the card that the hardware reads?  Or does the code do
> something else to toggle the LED?

To be sure, you can toggle the bit of register 0x26 manually by writing
the proc file.  If it doesn't work, it's a BIOS issue indeed.

However, there might be some fix / workaround in the suspend part.
So, after confirming that the register change doesn't work, report it
on either LKML or kernel bugzilla.


Takashi

> 
> Ryan
> 
> On Mon, May 4, 2009 at 3:02 AM, Takashi Iwai <tiwai@suse.de> wrote:
> 
>     At Thu, 30 Apr 2009 22:24:35 -0400,
>     Ryan Dunn wrote:
>     >
>     > I apologize for the list spam.  I didn't realize that this bit is only
>     set
>     > when the led is on.  So with that here are diffs of the regs with and
>     without
>     > mute enabled, before and after suspend.
>     > Before suspend:
>     > diff regs_w-quirk.txt regs_w-quirk+mute.txt
>     > 2c2
>     > < 0:02 = 1e1e
>     > ---
>     > > 0:02 = 9e1e
>     > 20c20
>     > < 0:26 = 000f
>     > ---
>     > > 0:26 = 800f
>     >
>     > After resume:
>     > diff regs_w-quirk_after_resume.txt regs_w-quirk_after_resume+mute.txt
>     > 2c2
>     > < 0:02 = 1e1e
>     > ---
>     > > 0:02 = 9e1e
>     > 20c20
>     > < 0:26 = 000f
>     > ---
>     > > 0:26 = 800f
>     >
>     > So it looks as if the registers are all ok after a resume, but the LED
>     doesn't
>     > turn back on.
>    
>     Then I'd say it's rather a BIOS problem.
> 
>     Takashi
> 
> 

      reply	other threads:[~2009-05-05 10:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-29  4:06 module snd-atiixp issue with suspend/hibernate/resume Ryan Dunn
2009-04-30  2:42 ` Lee Revell
2009-04-30  4:43   ` Ryan Dunn
2009-04-30  5:53     ` Takashi Iwai
2009-04-30 11:49       ` Ryan Dunn
2009-05-01  2:12         ` Ryan Dunn
2009-05-01  2:24           ` Ryan Dunn
2009-05-04  7:02             ` Takashi Iwai
2009-05-05  0:21               ` Ryan Dunn
2009-05-05 10:52                 ` Takashi Iwai [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=s5hab5rddpd.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=oryandunn.ml@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox