[Bug 35098] Headphone Jack doesn't disable speakers
Jer
jer at jers.net
Thu Mar 16 17:14:54 UTC 2006
Public bug report changed:
https://launchpad.net/malone/bugs/35098
Comment:
I ended up fixing this issue with the following patch against the stable
alsa driver code. I don't know if this is appropriate for other sound
cards or not, but it seems to work on my laptop. I sent a copy of this
patch to the maintainer as well as the alsa-devel list without any
reponse. Hope this helps. Thanks.
--- alsa-driver-1.0.10/sound/pci/hda/patch_sigmatel.c 2005-09-09 07:21:47.000000000 -0600
+++ alsa-driver-1.0.10.new/sound/pci/hda/patch_sigmatel.c 2006-03-15 16:54:01.000000000 -0700
@@ -769,6 +769,9 @@
if ((err = stac92xx_auto_create_analog_input_ctls(codec, &spec->autocfg)) < 0)
return err;
+ if ((err = stac92xx_auto_create_hp_ctls(codec, &spec->autocfg)) < 0)
+ return err;
+
if (spec->autocfg.dig_out_pin) {
spec->multiout.dig_out_nid = 0x05;
stac92xx_auto_set_pinctl(codec, spec->autocfg.dig_out_pin, AC_PINCTL_OUT_EN);
@@ -778,6 +781,8 @@
stac92xx_auto_set_pinctl(codec, spec->autocfg.dig_in_pin, AC_PINCTL_IN_EN);
}
+ stac92xx_auto_init_hp_out(codec);
+
if (spec->kctl_alloc)
spec->mixers[spec->num_mixers++] = spec->kctl_alloc;
More information about the kernel-bugs
mailing list