ALSA: hda/realtek: make bass spk volume adjustable on a yoga laptop
Subsystems (2)
PATCH 1/1 ALSA: hda/realtek: make bass spk volume adjustable on a yoga laptop
This also make the headset button work on this machine.
Cc <[email protected]>
Signed-off-by Hui Wang <[email protected]>
--- sound/pci/hda/patch_realtek.c | 7 +++++++ 1 file changed, 7 insertions(+)
sound/pci/hda/patch_realtek.c +7 -0
@@ -3104,6 +3104,7 @@ static void alc_disable_headset_jack_key(struct hda_codec *codec)case 0x10ec0215 :case 0x10ec0225 :case 0x10ec0285 : +case 0x10ec0287 :case 0x10ec0295 :case 0x10ec0289 :case 0x10ec0299 :
@@ -3130,6 +3131,7 @@ static void alc_enable_headset_jack_key(struct hda_codec *codec)case 0x10ec0215 :case 0x10ec0225 :case 0x10ec0285 : +case 0x10ec0287 :case 0x10ec0295 :case 0x10ec0289 :case 0x10ec0299 :
@@ -8578,6 +8580,11 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { {0x14, 0x90170110}, {0x19, 0x04a11040}, {0x21, 0x04211020}), + SND_HDA_PIN_QUIRK(0x10ec0287, 0x17aa, "Lenovo", ALC285_FIXUP_THINKPAD_HEADSET_JACK, + {0x14, 0x90170110}, + {0x17, 0x90170111}, + {0x19, 0x03a11030}, + {0x21, 0x03211020}), SND_HDA_PIN_QUIRK(0x10ec0286, 0x1025, "Acer", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE, {0x12, 0x90a60130}, {0x17, 0x90170110},
Signature · 1 line
2.25.1
Quoted 2 lines · Hui Wang
This also make the headset button work on this machine.
Hm, the description isn't clearly related with the code changes. Could you elaborate a bit more? The functions you changed are used commonly, so it needs clarification.
thanks,
Takashi
Quoted 42 lines
Cc <[email protected]>Signed-off-by Hui Wang <[email protected]>--- sound/pci/hda/patch_realtek.c | 7 +++++++ 1 file changed, 7 insertions(+)sound/pci/hda/patch_realtek.c +7
-0@@ -3104,6 +3104,7 @@ static void alc_disable_headset_jack_key(struct hda_codec *codec)case 0x10ec0215 :case 0x10ec0225 :case 0x10ec0285 : +case 0x10ec0287 :case 0x10ec0295 :case 0x10ec0289 :case 0x10ec0299 :@@ -3130,6 +3131,7 @@ static void alc_enable_headset_jack_key(struct hda_codec *codec)case 0x10ec0215 :case 0x10ec0225 :case 0x10ec0285 : +case 0x10ec0287 :case 0x10ec0295 :case 0x10ec0289 :case 0x10ec0299 :@@ -8578,6 +8580,11 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { {0x14, 0x90170110}, {0x19, 0x04a11040}, {0x21, 0x04211020}), + SND_HDA_PIN_QUIRK(0x10ec0287, 0x17aa, "Lenovo", ALC285_FIXUP_THINKPAD_HEADSET_JACK, + {0x14, 0x90170110}, + {0x17, 0x90170111}, + {0x19, 0x03a11030}, + {0x21, 0x03211020}), SND_HDA_PIN_QUIRK(0x10ec0286, 0x1025, "Acer", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE, {0x12, 0x90a60130}, {0x17, 0x90170110},Signature · 1 line
2.25.1
Quoted 11 lines · Takashi Iwai
Quoted 1 line · Hui Wang
This also make the headset button work on this machine.
Hm, the description isn't clearly related with the code changes. Could you elaborate a bit more? The functions you changed are used commonly, so it needs clarification.
thanks,
Takashi
OK, will change the description in the v2.
Thanks,
Hui.
Quoted 42 lines
Quoted 42 lines
Cc <[email protected]>Signed-off-by Hui Wang <[email protected]>--- sound/pci/hda/patch_realtek.c | 7 +++++++ 1 file changed, 7 insertions(+)sound/pci/hda/patch_realtek.c +7
-0@@ -3104,6 +3104,7 @@ static void alc_disable_headset_jack_key(struct hda_codec *codec)case 0x10ec0215 :case 0x10ec0225 :case 0x10ec0285 : +case 0x10ec0287 :case 0x10ec0295 :case 0x10ec0289 :case 0x10ec0299 :@@ -3130,6 +3131,7 @@ static void alc_enable_headset_jack_key(struct hda_codec *codec)case 0x10ec0215 :case 0x10ec0225 :case 0x10ec0285 : +case 0x10ec0287 :case 0x10ec0295 :case 0x10ec0289 :case 0x10ec0299 :@@ -8578,6 +8580,11 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { {0x14, 0x90170110}, {0x19, 0x04a11040}, {0x21, 0x04211020}), + SND_HDA_PIN_QUIRK(0x10ec0287, 0x17aa, "Lenovo", ALC285_FIXUP_THINKPAD_HEADSET_JACK, + {0x14, 0x90170110}, + {0x17, 0x90170111}, + {0x19, 0x03a11030}, + {0x21, 0x03211020}), SND_HDA_PIN_QUIRK(0x10ec0286, 0x1025, "Acer", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE, {0x12, 0x90a60130}, {0x17, 0x90170110},Signature · 1 line
2.25.1