From: "Matt Mullins" <mokomull@gmail.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: Fwd: Problems with hda_intel, Santa Rosa, and suspend
Date: Wed, 20 Jun 2007 16:18:46 -0500 [thread overview]
Message-ID: <dfd4051f0706201418o4d19a1f2g78081b052e8766e4@mail.gmail.com> (raw)
In-Reply-To: <s5hvedjaq66.wl%tiwai@suse.de>
That doesn't seem to change anything. Maybe I should have been more
clear: I get the azx_get_response timeouts whenever the driver
initializes; DMA never works for that codec. single_cmd mode just
happens to work before a suspend, but not after. In other words,
reloading the module doesn't really fix the problem, it just masks it
decently enough. I'll work a little bit trying to figure out which
commands cause the timeouts. And what *is* S2D?
Sorry about not CCing the mailing list, Gmail makes it way too easy to
do that, and too unnoticeable when it happens. I'll be more careful.
On 6/20/07, Takashi Iwai <tiwai@suse.de> wrote:
> [Please don't strip Cc to ML!]
>
> At Tue, 19 Jun 2007 15:54:42 -0500,
> Matt Mullins wrote:
> >
> > I played around with probe_mask, and found that probe_mask=0x1 causes
> > the error, but probe_mask=0x2 does not cause the timeout. Codec 1 is
> > my Sigmatel STAC9205, which is what plays sound on my laptop, and
> > codec 2 is my Conexant modem. The modem isn't the codec causing
> > problems; the audio codec is!
>
> OK, good to know. Does this problem occur with S2D?
> What is the very first command that triggers this timeout error?
>
> I'm wondering what is the difference between them -- according to your
> report, reloading the module fixes the problem. But, the resume
> callback is almost identical with the re-initiailzation.
> Perhaps it's something to do with the power-state management.
> What about the patch below?
>
>
> Takashi
>
> diff -r c531d63e820b sound/pci/hda/hda_intel.c
> --- a/sound/pci/hda/hda_intel.c Wed Jun 20 12:03:09 2007 +0200
> +++ b/sound/pci/hda/hda_intel.c Wed Jun 20 12:09:40 2007 +0200
> @@ -1450,7 +1450,7 @@ static int azx_suspend(struct pci_dev *p
> pci_disable_msi(chip->pci);
> pci_disable_device(pci);
> pci_save_state(pci);
> - pci_set_power_state(pci, pci_choose_state(pci, state));
> + /* pci_set_power_state(pci, pci_choose_state(pci, state)); */
> return 0;
> }
>
>
next prev parent reply other threads:[~2007-06-20 21:18 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <dfd4051f0706161836xa191176ke10deff2868ad8d6@mail.gmail.com>
[not found] ` <200706171149.27547.rjw@sisk.pl>
[not found] ` <dfd4051f0706171355i7bc3d4b7qe9aee2acb904c8c@mail.gmail.com>
2007-06-18 0:35 ` Fwd: Problems with hda_intel, Santa Rosa, and suspend Matt Mullins
2007-06-18 0:49 ` Lee Revell
2007-06-18 1:59 ` Matt Mullins
2007-06-19 10:56 ` Takashi Iwai
[not found] ` <dfd4051f0706191354i679c5b82pd8d788dfb012df3d@mail.gmail.com>
2007-06-20 10:14 ` Takashi Iwai
2007-06-20 21:18 ` Matt Mullins [this message]
2007-06-21 10:29 ` Takashi Iwai
2007-06-22 20:31 ` Matt Mullins
2007-06-25 10:18 ` Takashi Iwai
[not found] ` <dfd4051f0706251316uf265b3dw9c069dc5f75ceedf@mail.gmail.com>
2007-06-25 20:17 ` Fwd: " Matt Mullins
2007-06-27 12:42 ` Takashi Iwai
2007-07-04 20:37 ` Matt Mullins
2007-07-05 11:03 ` Takashi Iwai
2007-07-05 22:13 ` Matt Mullins
2007-07-06 2:42 ` Matt Mullins
2007-07-06 9:32 ` Takashi Iwai
2007-07-06 15:46 ` Thorsten Leemhuis
2007-07-06 16:19 ` Takashi Iwai
2007-07-06 16:56 ` Thorsten Leemhuis
2007-07-09 12:52 ` Takashi Iwai
2007-07-09 15:09 ` Thorsten Leemhuis
2007-06-29 6:13 albox
2007-06-29 23:00 ` Takashi Iwai
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=dfd4051f0706201418o4d19a1f2g78081b052e8766e4@mail.gmail.com \
--to=mokomull@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/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