]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda/realtek: PCI quirk for Fujitsu U7x7
authorJan-Marek Glogowski <glogow@fbihome.de>
Wed, 14 Feb 2018 10:29:15 +0000 (11:29 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 16 Jun 2018 21:22:14 +0000 (22:22 +0100)
commit1d6d0b74634bdc77d1f7d50fb93e9172f700333a
tree9cbfb88df4a5082a792adf25c6d7392e74c6dee7
parentcce704ab5402f0953d635478bf51d8c03e271ec4
ALSA: hda/realtek: PCI quirk for Fujitsu U7x7

commit fdcc968a3b290407bcba9d4c90e2fba6d8d928f1 upstream.

These laptops have a combined jack to attach headsets, the U727 on
the left, the U757 on the right, but a headsets microphone doesn't
work. Using hdajacksensetest I found that pin 0x19 changed the
present state when plugging the headset, in addition to 0x21, but
didn't have the correct configuration (shown as "Not connected").

So this sets the configuration to the same values as the headphone
pin 0x21 except for the device type microphone, which makes it
work correctly. With the patch the configured pins for U727 are

Pin 0x12 (Internal Mic, Mobile-In): present = No
Pin 0x14 (Internal Speaker): present = No
Pin 0x19 (Black Mic, Left side): present = No
Pin 0x1d (Internal Aux): present = No
Pin 0x21 (Black Headphone, Left side): present = No

Signed-off-by: Jan-Marek Glogowski <glogow@fbihome.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/pci/hda/patch_realtek.c