[PATCH] Fix automute issue on HP T5735

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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[] = {


_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux