ALSA: hda/realtek - Comprehensive model list
Subsystems (2)
cover ALSA: hda/realtek - Comprehensive model list
Hi,
this is a patch set to fill the missing entries for Realtek HD-audio codec quirk model strings.
Takashi
===
Takashi Iwai (5):
ALSA: hda/realtek - Comprehensive model list for ALC662 & co
ALSA: hda/realtek - Comprehensive model list for ALC259 & co
ALSA: hda/realtek - Comprehensive model list for ALC268
ALSA: hda/realtek - Comprehensive model list for ALC262
ALSA: hda/realtek - Comprehensive model list for ALC882 & co
Documentation/sound/hd-audio/models.rst | 264 +++++++++++++++++++++++- sound/pci/hda/patch_realtek.c | 134 ++++++++++++ 2 files changed, 396 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1
PATCH 1/5 ALSA: hda/realtek - Comprehensive model list for ALC662 & co
ALC662 and others have far more fixup entries than the model table. Let's add more model string entries so that user can test / debug without compiling kernels at each time.
--- Documentation/sound/hd-audio/models.rst | 36 +++++++++++++++++++++++++ sound/pci/hda/patch_realtek.c | 18 +++++++++++++ 2 files changed, 54 insertions(+)
Documentation/sound/hd-audio/models.rst +36 -0
@@ -87,8 +87,14 @@ alc700-ref ALC66x/67x/892 ============== +aspire + Subwoofer pin fixup for Aspire laptops +ideapad + Subwoofer pin fixup for Ideapad laptops mario Chromebook mario model fixup +hp-rp5800 + Headphone pin fixup for HP RP5800 asus-mode1 ASUS asus-mode2
@@ -105,10 +111,40 @@ asus-mode7 ASUS asus-mode8 ASUS +zotac-z68 + Front HP fixup for Zotac Z68 inv-dmic Inverted internal mic workaround +alc662-headset-multi + Dell headset jack, which can also be used as mic-in (ALC662) dell-headset-multi Headset jack, which can also be used as mic-in +alc662-headset + Headset mode support on ALC662 +alc668-headset + Headset mode support on ALC668 +bass16 + Bass speaker fixup on pin 0x16 +bass1a + Bass speaker fixup on pin 0x1a +automute + Auto-mute fixups for ALC668 +dell-xps13 + Dell XPS13 fixups +asus-nx50 + ASUS Nx50 fixups +asus-nx51 + ASUS Nx51 fixups +alc891-headset + Headset mode support on ALC891 +alc891-headset-multi + Dell headset jack, which can also be used as mic-in (ALC891) +acer-veriton + Acer Veriton speaker pin fixup +asrock-mobo + Fix invalid 0x15 / 0x16 pins +usi-headset + Headset support on USI machines dual-codecs Lenovo laptops with dual codecs
sound/pci/hda/patch_realtek.c +18 -0
@@ -8020,7 +8020,10 @@ static const struct snd_pci_quirk alc662_fixup_tbl[] = { };static const struct hda_model_fixup alc662_fixup_models[] = { + {.id =ALC662_FIXUP_ASPIRE , .name ="aspire" }, + {.id =ALC662_FIXUP_IDEAPAD , .name ="ideapad" }, {.id =ALC272_FIXUP_MARIO , .name ="mario" }, + {.id =ALC662_FIXUP_HP_RP5800 , .name ="hp-rp5800" }, {.id =ALC662_FIXUP_ASUS_MODE1 , .name ="asus-mode1" }, {.id =ALC662_FIXUP_ASUS_MODE2 , .name ="asus-mode2" }, {.id =ALC662_FIXUP_ASUS_MODE3 , .name ="asus-mode3" },
@@ -8029,8 +8032,23 @@ static const struct hda_model_fixup alc662_fixup_models[] = { {.id = ALC662_FIXUP_ASUS_MODE6, .name = "asus-mode6"}, {.id = ALC662_FIXUP_ASUS_MODE7, .name = "asus-mode7"}, {.id = ALC662_FIXUP_ASUS_MODE8, .name = "asus-mode8"}, + {.id = ALC662_FIXUP_ZOTAC_Z68, .name = "zotac-z68"}, {.id = ALC662_FIXUP_INV_DMIC, .name = "inv-dmic"}, + {.id = ALC662_FIXUP_DELL_MIC_NO_PRESENCE, .name = "alc662-headset-multi"}, {.id = ALC668_FIXUP_DELL_MIC_NO_PRESENCE, .name = "dell-headset-multi"}, + {.id = ALC662_FIXUP_HEADSET_MODE, .name = "alc662-headset"}, + {.id = ALC668_FIXUP_HEADSET_MODE, .name = "alc668-headset"}, + {.id = ALC662_FIXUP_BASS_16, .name = "bass16"}, + {.id = ALC662_FIXUP_BASS_1A, .name = "bass1a"}, + {.id = ALC668_FIXUP_AUTO_MUTE, .name = "automute"}, + {.id = ALC668_FIXUP_DELL_XPS13, .name = "dell-xps13"}, + {.id = ALC662_FIXUP_ASUS_Nx50, .name = "asus-nx50"}, + {.id = ALC668_FIXUP_ASUS_Nx51, .name = "asus-nx51"}, + {.id = ALC891_FIXUP_HEADSET_MODE, .name = "alc891-headset"}, + {.id = ALC891_FIXUP_DELL_MIC_NO_PRESENCE, .name = "alc891-headset-multi"}, + {.id = ALC662_FIXUP_ACER_VERITON, .name = "acer-veriton"}, + {.id = ALC892_FIXUP_ASROCK_MOBO, .name = "asrock-mobo"}, + {.id = ALC662_FIXUP_USI_HEADSET_MODE, .name = "usi-headset"}, {.id = ALC662_FIXUP_LENOVO_MULTI_CODECS, .name = "dual-codecs"}, {} };
Signature · 1 line
2.17.1
PATCH 2/5 ALSA: hda/realtek - Comprehensive model list for ALC259 & co
In reply to Takashi IwaiLike the previous commit for ALC662, let's give more comprehensive list of model entries for ALC269 & co as well.
--- Documentation/sound/hd-audio/models.rst | 156 ++++++++++++++++++++++++ sound/pci/hda/patch_realtek.c | 82 +++++++++++++ 2 files changed, 238 insertions(+)
Documentation/sound/hd-audio/models.rst +156 -0
@@ -70,6 +70,10 @@ dell-headset-multi Headset jack, which can also be used as mic-in dell-headset-dock Headset jack (without mic-in), and also dock I/O +dell-headset3 + Headset jack (without mic-in), and also dock I/O, variant 3 +dell-headset4 + Headset jack (without mic-in), and also dock I/O, variant 4 alc283-dac-wcaps Fixups for Chromebook with ALC283 alc283-sense-combo
@@ -80,10 +84,162 @@ tpt440 Lenovo Thinkpad T440s setup tpt460 Lenovo Thinkpad T460/560 setup +tpt470-dock + Lenovo Thinkpad T470 dock setup dual-codecs Lenovo laptops with dual codecs alc700-ref Intel reference board with ALC700 codec +vaio + Pin fixups for Sony VAIO laptops +dell-m101z + COEF setup for Dell M101z +asus-g73jw + Subwoofer pin fixup for ASUS G73JW +lenovo-eapd + Inversed EAPD setup for Lenovo laptops +sony-hweq + H/W EQ COEF setup for Sony laptops +pcm44k + Fixed PCM 44kHz constraints (for buggy devices) +lifebook + Dock pin fixups for Fujitsu Lifebook +lifebook-extmic + Headset mic fixup for Fujitsu Lifebook +lifebook-hp-pin + Headphone pin fixup for Fujitsu Lifebook +lifebook-u7x7 + Lifebook U7x7 fixups +alc269vb-amic + ALC269VB analog mic pin fixups +alc269vb-dmic + ALC269VB digital mic pin fixups +hp-mute-led-mic1 + Mute LED via Mic1 pin on HP +hp-mute-led-mic2 + Mute LED via Mic2 pin on HP +hp-mute-led-mic3 + Mute LED via Mic3 pin on HP +hp-gpio-mic1 + GPIO + Mic1 pin LED on HP +hp-line1-mic1 + Mute LED via Line1 + Mic1 pins on HP +noshutup + Skip shutup callback +sony-nomic + Headset mic fixup for Sony laptops +aspire-headset-mic + Headset pin fixup for Acer Aspire +asus-x101 + ASUS X101 fixups +acer-ao7xx + Acer AO7xx fixups +acer-aspire-e1 + Acer Aspire E1 fixups +acer-ac700 + Acer AC700 fixups +limit-mic-boost + Limit internal mic boost on Lenovo machines +asus-zenbook + ASUS Zenbook fixups +asus-zenbook-ux31a + ASUS Zenbook UX31A fixups +ordissimo + Ordissimo EVE2 (or Malata PC-B1303) fixups +asus-tx300 + ASUS TX300 fixups +alc283-int-mic + ALC283 COEF setup for Lenovo machines +mono-speakers + Subwoofer and headset fixupes for Dell Inspiron +alc290-subwoofer + Subwoofer fixups for Dell Vostro +thinkpad + Binding with thinkpad_acpi driver for Lenovo machines +dmic-thinkpad + thinkpad_acpi binding + digital mic support +alc255-acer + ALC255 fixups on Acer machines +alc255-asus + ALC255 fixups on ASUS machines +alc255-dell1 + ALC255 fixups on Dell machines +alc255-dell2 + ALC255 fixups on Dell machines, variant 2 +alc293-dell1 + ALC293 fixups on Dell machines +alc283-headset + Headset pin fixups on ALC283 +aspire-v5 + Acer Aspire V5 fixups +hp-gpio4 + GPIO and Mic1 pin mute LED fixups for HP +hp-gpio-led + GPIO mute LEDs on HP +hp-gpio2-hotkey + GPIO mute LED with hot key handling on HP +hp-dock-pins + GPIO mute LEDs and dock support on HP +hp-dock-gpio-mic + GPIO, Mic mute LED and dock support on HP +hp-9480m + HP 9480m fixups +alc288-dell1 + ALC288 fixups on Dell machines +alc288-dell-xps13 + ALC288 fixups on Dell XPS13 +dell-e7x + Dell E7x fixups +alc293-dell + ALC293 fixups on Dell machines +alc298-dell1 + ALC298 fixups on Dell machines +alc298-dell-aio + ALC298 fixups on Dell AIO machines +alc275-dell-xps + ALC275 fixups on Dell XPS models +alc256-dell-xps13 + ALC256 fixups on Dell XPS13 +lenovo-spk-noise + Workaround for speaker noise on Lenovo machines +lenovo-hotkey + Hot-key support via Mic2 pin on Lenovo machines +dell-spk-noise + Workaround for speaker noise on Dell machines +alc255-dell1 + ALC255 fixups on Dell machines +alc295-disable-dac3 + Disable DAC3 routing on ALC295 +alc280-hp-headset + HP Elitebook fixups +alc221-hp-mic + Front mic pin fixup on HP machines +alc298-spk-volume + Speaker pin routing workaround on ALC298 +dell-inspiron-7559 + Dell Inspiron 7559 fixups +ativ-book + Samsung Ativ book 8 fixups +alc221-hp-mic + ALC221 headset fixups on HP machines +alc256-asus-mic + ALC256 fixups on ASUS machines +alc256-asus-aio + ALC256 fixups on ASUS AIO machines +alc233-eapd + ALC233 fixups on ASUS machines +alc294-lenovo-mic + ALC294 Mic pin fixup for Lenovo AIO machines +alc225-wyse + Dell Wyse fixups +alc274-dell-aio + ALC274 fixups on Dell AIO machines +alc255-dummy-lineout + Dell Precision 3930 fixups +alc255-dell-headset"}, + Dell Precision 3630 fixups +alc295-hp-x360 + HP Spectre X360 fixups ALC66x/67x/892 ==============
sound/pci/hda/patch_realtek.c +82 -0
95 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH 3/5 ALSA: hda/realtek - Comprehensive model list for ALC268
In reply to Takashi IwaiAdd the missing entry for ALC268 model strings.
Only "spdif" was missing, and that's it.
--- Documentation/sound/hd-audio/models.rst | 2 ++ sound/pci/hda/patch_realtek.c | 1 + 2 files changed, 3 insertions(+)
Documentation/sound/hd-audio/models.rst +2 -0
@@ -41,6 +41,8 @@ inv-dmic Inverted internal mic workaround hp-eapd Disable HP EAPD on NID 0x15 +spdif + Enable SPDIF output on NID 0x1e ALC22x/23x/25x/269/27x/28x/29x (and vendor-specific ALC3xxx models) ===================================================================
sound/pci/hda/patch_realtek.c +1 -0
@@ -2689,6 +2689,7 @@ static const struct hda_fixup alc268_fixups[] = {static const struct hda_model_fixup alc268_fixup_models[] = { {.id =ALC268_FIXUP_INV_DMIC , .name ="inv-dmic" }, {.id =ALC268_FIXUP_HP_EAPD , .name ="hp-eapd" }, + {.id =ALC268_FIXUP_SPDIF , .name ="spdif" }, {} };
Signature · 1 line
2.17.1
PATCH 4/5 ALSA: hda/realtek - Comprehensive model list for ALC262
In reply to Takashi IwaiAdded a few missing entries for ALC262 model strings. All about specific hardwares.
--- Documentation/sound/hd-audio/models.rst | 16 ++++++++++++++++ sound/pci/hda/patch_realtek.c | 8 ++++++++ 2 files changed, 24 insertions(+)
Documentation/sound/hd-audio/models.rst +16 -0
@@ -34,6 +34,22 @@ ALC262 ====== inv-dmic Inverted internal mic workaround +fsc-h270 + Fixups for Fujitsu-Siemens Celsius H270 +fsc-s7110 + Fixups for Fujitsu-Siemens Lifebook S7110 +hp-z200 + Fixups for HP Z200 +tyan + Fixups for Tyan Thunder n6650W +lenovo-3000 + Fixups for Lenovo 3000 +benq + Fixups for Benq ED8 +benq-t31 + Fixups for Benq T31 +bayleybay + Fixups for Intel BayleyBay ALC267/268 ==========
sound/pci/hda/patch_realtek.c +8 -0
@@ -2558,6 +2558,14 @@ static const struct snd_pci_quirk alc262_fixup_tbl[] = {static const struct hda_model_fixup alc262_fixup_models[] = { {.id =ALC262_FIXUP_INV_DMIC , .name ="inv-dmic" }, + {.id =ALC262_FIXUP_FSC_H270 , .name ="fsc-h270" }, + {.id =ALC262_FIXUP_FSC_S7110 , .name ="fsc-s7110" }, + {.id =ALC262_FIXUP_HP_Z200 , .name ="hp-z200" }, + {.id =ALC262_FIXUP_TYAN , .name ="tyan" }, + {.id =ALC262_FIXUP_LENOVO_3000 , .name ="lenovo-3000" }, + {.id =ALC262_FIXUP_BENQ , .name ="benq" }, + {.id =ALC262_FIXUP_BENQ_T31 , .name ="benq-t31" }, + {.id =ALC262_FIXUP_INTEL_BAYLEYBAY , .name ="bayleybay" }, {} };
Signature · 1 line
2.17.1
PATCH 5/5 ALSA: hda/realtek - Comprehensive model list for ALC882 & co
In reply to Takashi IwaiMore comprehensive list of model strings for ALC882 & co.
Also corrected the subsection in models.rst, too.
--- Documentation/sound/hd-audio/models.rst | 54 ++++++++++++++++++++++++- sound/pci/hda/patch_realtek.c | 25 ++++++++++++ 2 files changed, 77 insertions(+), 2 deletions(-)
Documentation/sound/hd-audio/models.rst +52 -2
@@ -326,20 +326,70 @@ ALC680 ====== N/A -ALC88x/898/1150 -====================== +ALC88x/898/1150/1220 +==================== +abit-aw9d + Pin fixups for Abit AW9D-MAX +lenovo-y530 + Pin fixups for Lenovo Y530 +acer-aspire-7736 + Fixup for Acer Aspire 7736 +asus-w90v + Pin fixup for ASUS W90V +cd + Enable audio CD pin NID 0x1c +no-front-hp + Disable front HP pin NID 0x1b +vaio-tt + Pin fixup for VAIO TT +eee1601 + COEF setups for ASUS Eee 1601 +alc882-eapd + Change EAPD COEF mode on ALC882 +alc883-eapd + Change EAPD COEF mode on ALC883 +gpio1 + Enable GPIO1 +gpio2 + Enable GPIO2 +gpio3 + Enable GPIO3 +alc889-coef + Setup ALC889 COEF +asus-w2jc + Fixups for ASUS W2JC acer-aspire-4930g Acer Aspire 4930G/5930G/6530G/6930G/7730G acer-aspire-8930g Acer Aspire 8330G/6935G acer-aspire Acer Aspire others +macpro-gpio + GPIO setup for Mac Pro +dac-route + Workaround for DAC routing on Acer Aspire +mbp-vref + Vref setup for Macbook Pro +imac91-vref + Vref setup for iMac 9,1 +mba11-vref + Vref setup for MacBook Air 1,1 +mba21-vref + Vref setup for MacBook Air 2,1 +mp11-vref + Vref setup for Mac Pro 1,1 +mp41-vref + Vref setup for Mac Pro 4,1 inv-dmic Inverted internal mic workaround no-primary-hp VAIO Z/VGC-LN51JGB workaround (for fixed speaker DAC) +asus-bass + Bass speaker setup for ASUS ET2700 dual-codecs ALC1220 dual codecs for Gaming mobos +clevo-p950 + Fixups for Clevo P950 ALC861/660 ==========
sound/pci/hda/patch_realtek.c +25 -0
@@ -2374,12 +2374,37 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = { };static const struct hda_model_fixup alc882_fixup_models[] = { + {.id =ALC882_FIXUP_ABIT_AW9D_MAX , .name ="abit-aw9d" }, + {.id =ALC882_FIXUP_LENOVO_Y530 , .name ="lenovo-y530" }, + {.id =ALC882_FIXUP_ACER_ASPIRE_7736 , .name ="acer-aspire-7736" }, + {.id =ALC882_FIXUP_ASUS_W90V , .name ="asus-w90v" }, + {.id =ALC889_FIXUP_CD , .name ="cd" }, + {.id =ALC889_FIXUP_FRONT_HP_NO_PRESENCE , .name ="no-front-hp" }, + {.id =ALC889_FIXUP_VAIO_TT , .name ="vaio-tt" }, + {.id =ALC888_FIXUP_EEE1601 , .name ="eee1601" }, + {.id =ALC882_FIXUP_EAPD , .name ="alc882-eapd" }, + {.id =ALC883_FIXUP_EAPD , .name ="alc883-eapd" }, + {.id =ALC882_FIXUP_GPIO1 , .name ="gpio1" }, + {.id =ALC882_FIXUP_GPIO2 , .name ="gpio2" }, + {.id =ALC882_FIXUP_GPIO3 , .name ="gpio3" }, + {.id =ALC889_FIXUP_COEF , .name ="alc889-coef" }, + {.id =ALC882_FIXUP_ASUS_W2JC , .name ="asus-w2jc" }, {.id =ALC882_FIXUP_ACER_ASPIRE_4930G , .name ="acer-aspire-4930g" }, {.id =ALC882_FIXUP_ACER_ASPIRE_8930G , .name ="acer-aspire-8930g" }, {.id =ALC883_FIXUP_ACER_EAPD , .name ="acer-aspire" }, + {.id =ALC885_FIXUP_MACPRO_GPIO , .name ="macpro-gpio" }, + {.id =ALC889_FIXUP_DAC_ROUTE , .name ="dac-route" }, + {.id =ALC889_FIXUP_MBP_VREF , .name ="mbp-vref" }, + {.id =ALC889_FIXUP_IMAC91_VREF , .name ="imac91-vref" }, + {.id =ALC889_FIXUP_MBA11_VREF , .name ="mba11-vref" }, + {.id =ALC889_FIXUP_MBA21_VREF , .name ="mba21-vref" }, + {.id =ALC889_FIXUP_MP11_VREF , .name ="mp11-vref" }, + {.id =ALC889_FIXUP_MP41_VREF , .name ="mp41-vref" }, {.id =ALC882_FIXUP_INV_DMIC , .name ="inv-dmic" }, {.id =ALC882_FIXUP_NO_PRIMARY_HP , .name ="no-primary-hp" }, + {.id =ALC887_FIXUP_ASUS_BASS , .name ="asus-bass" }, {.id =ALC1220_FIXUP_GB_DUAL_CODECS , .name ="dual-codecs" }, + {.id =ALC1220_FIXUP_CLEVO_P950 , .name ="clevo-p950" }, {} };
Signature · 1 line
2.17.1