![](https://secure.gravatar.com/avatar/7f8a3dd2d3bcd18c7669696829a04574.jpg?s=120&d=mm&r=g)
15 Jan
2010
15 Jan
'10
5:56 p.m.
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[] = {