[alsa-devel] [PATCH] Fix automute issue on HP T5735

Lee Trager lee.trager at hp.com
Fri Jan 15 17:56:19 CET 2010


The following patch fixes an issue where when you plug something into
the headphone jack the internal speaker does not automute. This also
will close alsa bug #0004766

Lee

--- alsa-driver-orig/alsa-kernel/pci/hda/patch_realtek.c	2009-08-28
07:41:39.000000000 -0400
+++ alsa-driver/alsa-kernel/pci/hda/patch_realtek.c	2009-10-13
14:24:40.000000000 -0400
@@ -10028,7 +10028,9 @@
 	struct alc_spec *spec = codec->spec;
 
 	spec->autocfg.hp_pins[0] = 0x15;
-	spec->autocfg.speaker_pins[0] = 0x0c; /* HACK: not actually a pin */
+	spec->autocfg.speaker_pins[0] = 0x14;
+
+	alc_automute_amp(codec);
 }
 
 static struct snd_kcontrol_new alc262_hp_t5735_mixer[] = {




More information about the Alsa-devel mailing list