Re: T61P sound issue
From: Theodore Tso
Date: Tue Feb 05 2008 - 21:26:20 EST
On Tue, Feb 05, 2008 at 10:16:08PM +0100, Jiri Kosina wrote:
> [ added Takashi ]
>
> On Tue, 5 Feb 2008, Felipe Balbi wrote:
>
> > > > > > Could anyone make T61P's ICH8 sound controller to work properly?
> > Good that there's a lot of people using T61p, it's a good machine.
> > I'll upgrade my BIOS and try again the crappy sound.
>
> I have just bought X61s, and it seems to have the very same soundcard as
> your T61p does:
>
> The sound also doesn't work with 2.6.24 (tried modprobing the
> snd-hda-intel with 'model=thinkpad', didn't make any difference). The
> mixer settings seem to be correct, but there is no sound.
>
Hmm.. sound works just fine for me on my X61s (model #7668-CTO)
running 2.6.24.
I do have this private patch applied --- maybe it makes a difference
for you? I don't think it should make a difference, but....
- Ted
commit c9001b03378048cad0f5c4f87dbb97fff1f80c51
Author: Theodore Ts'o <tytso@xxxxxxx>
Date: Wed Jan 9 05:14:14 2008 -0500
hda_intel suspend latency: shorten codec read
not sleeping for every codec read/write but doing a short udelay and
a conditional reschedule has cut suspend+resume latency by about 1
second on my T60.
The patch also fixes the unexpected codec-connection errors that
happen more often in the new power-save mode:
http://lkml.org/lkml/2007/11/8/255
http://bugzilla.kernel.org/show_bug.cgi?id=9332
This had been applied, and then reverted due to problems. See commit
d238998fbfa49f30b02f0a5de5294ca53c58348c
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
Acked-by: Takashi Iwai <tiwai@xxxxxxx>
Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 3fa0f97..62b9fb3 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -555,7 +555,8 @@ static unsigned int azx_rirb_get_response(struct hda_codec *codec)
}
if (!chip->rirb.cmds)
return chip->rirb.res; /* the last value */
- schedule_timeout_uninterruptible(1);
+ udelay(10);
+ cond_resched();
} while (time_after_eq(timeout, jiffies));
if (chip->msi) {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/