Re: [ALSA] HDA: no sound in headphone-out caused by commit f889fa91ad47e (2.6.25-rc1 regression)

From: Matej Laitl
Date: Wed Feb 13 2008 - 10:00:47 EST


On Wednesday 13 of February 2008 14:06:20 Takashi Iwai wrote:
> > This patch did not have any effect. (i haven't tested suspend-to-ram)
> >
> > alsa-info before powersaving (speaker silent, mixer says: Speaker=MM):
> > http://pastebin.ca/902330
> >
> > alsa-info after powersaving (speaker loud, mixer says: Speaker=MM):
> > http://pastebin.ca/902332
>
> Oh, it's my thinko.  The init routine shouldn't update the amp cache.
>
> The patch below should fix this problem.  Actually it reverts the code
> to my first patch.

Eh, this one wasn't successful. The symptoms are the same, and the diff
between alsa-info before and after powersaving remained also the same:
--- alsa-info.1.txt 2008-02-13 15:56:18.000000000 +0100
+++ alsa-info.2.txt 2008-02-13 15:58:15.000000000 +0100
@@ -3,7 +3,7 @@
!!ALSA Information Script v 0.4.36
!!################################

-!!Script ran on: St úno 13 15:56:18 CET 2008
+!!Script ran on: St úno 13 15:58:14 CET 2008


!!Linux Distribution
@@ -200,7 +200,7 @@
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00] [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
- Amp-Out vals: [0x80 0x80]
+ Amp-Out vals: [0x00 0x00]
Pincap 0x083e: IN OUT HP Detect Trigger
Pin Default 0x99130120: [Fixed] Speaker at Int ATAPI
Conn = ATAPI, Color = Unknown
@@ -356,7 +356,7 @@

crw-rw---- 1 root audio 116, 0 2008-02-13 15:48 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 24 2008-02-13 15:48 /dev/snd/pcmC0D0c
-crw-rw---- 1 root audio 116, 16 2008-02-13 15:55 /dev/snd/pcmC0D0p
+crw-rw---- 1 root audio 116, 16 2008-02-13 15:58 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 30 2008-02-13 15:48 /dev/snd/pcmC0D6c
crw-rw---- 1 root audio 116, 22 2008-02-13 15:48 /dev/snd/pcmC0D6p
crw-rw---- 1 root audio 116, 1 2008-02-13 15:49 /dev/snd/seq
--
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/