Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Matt Mullins" <mokomull@gmail.com>
To: alsa-devel@alsa-project.org
Subject: Fwd: Problems with hda_intel, Santa Rosa, and suspend
Date: Sun, 17 Jun 2007 19:35:04 -0500	[thread overview]
Message-ID: <dfd4051f0706171735s72033440sf4d1dc83046e0e05@mail.gmail.com> (raw)
In-Reply-To: <dfd4051f0706171355i7bc3d4b7qe9aee2acb904c8c@mail.gmail.com>

I posted this to the LKML, I thought it should be reproduced on this list.

> > On Sunday, 17 June 2007 03:36, Matt Mullins wrote:
> > > I just received a Dell Latitude D630, with the new Intel Santa Rosa
> > > platform.  Currently, the only major driver issue I have is sound.  It
> > > worked fine in Ubuntu Feisty's 2.6.20 kernel, but now I am using Gutsy
> > > so I can have graphics drivers.  Gutsy's 2.6.22-rc3-based kernel no
> > > longer recognized my soundcard, a Sigmatel STAC9205, which uses the
> > > hda_intel driver.  I have since fixed that problem by compiling the
> > > hda_intel driver into the kernel (I used 2.6.22-rc4 vanilla sources),
> > > instead of a module, but it is still a bug that it does not work as a
> > > module.
> > >
> > > All the following debug information was obtained from kernel 2.6.22-rc4.
> > >
> > > However, the bug that is currently affecting me is that sound no
> > > longer works after using ACPI suspend-to-RAM or swsusp.  I compiled
> > > ALSA debugging in, and as soon as I resume, I get tons of messages
> > > like:
> > > [    8.474830] hda-intel: send_cmd timeout: IRS=0x1, val=0xd0970500
> > > [    8.474954] hda-intel: send_cmd timeout: IRS=0x1, val=0xd0af0009
> > > [    8.475078] hda-intel: send_cmd timeout: IRS=0x1, val=0xd0a70500
> > > [    8.475207] hda-intel: send_cmd timeout: IRS=0x1, val=0xd0bf0009
> > > (etc)
> > >
> > > There may be more before that, but that is more than the kernel
> > > message buffer can hold, so I can't ever see it.  I get similar
> > > timeout messages each time a PCM gets set up:
> > > [    8.972859] hda_codec_setup_stream: NID=0x10, stream=0x5, channel=0, format=0
> > > x11
> > > [    8.972987] hda-intel: send_cmd timeout: IRS=0x1, val=0x1070650
> > > [    9.006071] hda-intel: send_cmd timeout: IRS=0x1, val=0x1020011
> > > [    9.006081] hda_codec_setup_stream: NID=0x11, stream=0x5, channel=0, format=0
> > > x11
> > > [    9.006207] hda-intel: send_cmd timeout: IRS=0x1, val=0x1170650
> > > [    9.016117] hda-intel: send_cmd timeout: IRS=0x1, val=0x1120011
> > >
> > > I read some of sound/pci/hda/hda_intel.c, specifically the code that
> > > output those messages.  After octupling my kernel log buffer (to 1MB),
> > > I noticed that for the first set of timeouts (immediately upon
> > > resume), all the "codec" nibbles are odd, the last word of the val
> > > ("verb" and "para") are all either 0x0500 or 0x0009.  For the second
> > > set (when something tries to use the card) that last word is 0x0650 or
> > > 0x0011.
> > >
> > > I have yet to go back and re-test compiling snd-hda-intel as a module.

On 6/17/07, Matt Mullins <mokomull@gmail.com> wrote:
> I've been reading up on the Intel HD Audio specifications, and I found
> that the problem is most likely that the driver has to resort to PI/O
> (single_cmd) mode.  I really haven't had enough time or experience to
> figure out what is actually causing this.  This is the first time I've
> done any kernel development; thankfully, Intel has good documentation.
>  I'm going to keep hacking to see what information I can figure out.
>
> I just tried 2.6.22-rc5, and no behavior has changed.

       reply	other threads:[~2007-06-18  0:35 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     ` Matt Mullins [this message]
2007-06-18  0:49       ` Fwd: Problems with hda_intel, Santa Rosa, and suspend 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
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=dfd4051f0706171735s72033440sf4d1dc83046e0e05@mail.gmail.com \
    --to=mokomull@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /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