]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: hda/realtek - PCI quirk for Medion E4254
authorJan-Marek Glogowski <glogow@fbihome.de>
Sun, 15 Sep 2019 14:57:28 +0000 (16:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 20 Sep 2019 08:13:16 +0000 (10:13 +0200)
commitbd9c10bc663dd2eaac8fe39dad0f18cd21527446
tree997c92d7327fa3e0be5f8a41791315addba4373c
parentd2c63b7dfd06788a466d5ec8a850491f084c5fc2
ALSA: hda/realtek - PCI quirk for Medion E4254

The laptop has a combined jack to attach headsets on the right.
The BIOS encodes them as two different colored jacks at the front,
but otherwise it seems to be configured ok. But any adaption of
the pins config on its own doesn't fix the jack detection to work
in Linux. Still Windows works correct.

This is somehow fixed by chaining ALC256_FIXUP_ASUS_HEADSET_MODE,
which seems to register the microphone jack as a headset part and
also results in fixing jack sensing, visible in dmesg as:

-snd_hda_codec_realtek hdaudioC0D0:      Mic=0x19
+snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19

[ Actually the essential change is the location of the jack; the
  driver created "Front Mic Jack" without the matching volume / mute
  control element due to its jack location, which confused PA.
  -- tiwai ]

Signed-off-by: Jan-Marek Glogowski <glogow@fbihome.de>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/8f4f9b20-0aeb-f8f1-c02f-fd53c09679f1@fbihome.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c