At Mon, 18 Mar 2013 16:50:20 +0100,
Takashi Iwai wrote:
At Mon, 18 Mar 2013 14:03:38 +0000,
Alin M Elena wrote:
Takashi,
I have build rc3 from tar ball unfortunately no luck... still no sound...
I will wait to confirm that this happens with the packages form KH when rc3 and
then I may report it as a bug.
In that case, don't forget to attach alsa-info.sh outputs with
--no-upload option to bugzilla.
Meanwhile I think I found the culprit.
Try to plug and unplug the headphone jack once after boot. Then the
speaker should start working.
If it's the case, the patch below should fix the issue.
Takashi
---
From: Takashi Iwai
Subject: [PATCH] ALSA: hda - Fix yet missing GPIO/EAPD setup in cirrus driver
I forgot to update spec->gpio_data in the automute hook, so it will be
overridden at the init sequence, thus the machine is still silent when
no headphone jack is plugged at boot time.
Signed-off-by: Takashi Iwai
---
sound/pci/hda/patch_cirrus.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c
index 60d08f6..0d9c58f 100644
--- a/sound/pci/hda/patch_cirrus.c
+++ b/sound/pci/hda/patch_cirrus.c
@@ -168,10 +168,10 @@ static void cs_automute(struct hda_codec *codec)
snd_hda_gen_update_outputs(codec);
if (spec->gpio_eapd_hp) {
- unsigned int gpio = spec->gen.hp_jack_present ?
+ spec->gpio_data = spec->gen.hp_jack_present ?
spec->gpio_eapd_hp : spec->gpio_eapd_speaker;
snd_hda_codec_write(codec, 0x01, 0,
- AC_VERB_SET_GPIO_DATA, gpio);
+ AC_VERB_SET_GPIO_DATA, spec->gpio_data);
}
}
--
1.8.2
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-factory+owner@opensuse.org