From c9a112ef498906691206fb3d39102f58df97fcd1 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Thu, 17 Oct 2024 02:37:26 +0700 Subject: [PATCH] Filter layout IDs based on author or device brand for better compatibility --- Scripts/codec_layouts.py | 3226 +++++++++++++++++++++++++++++-------- Scripts/config_prodigy.py | 4 +- 2 files changed, 2588 insertions(+), 642 deletions(-) diff --git a/Scripts/codec_layouts.py b/Scripts/codec_layouts.py index bd8961e..44b0036 100755 --- a/Scripts/codec_layouts.py +++ b/Scripts/codec_layouts.py @@ -1,8 +1,13 @@ -from Scripts import utils +import utils import os u = utils.Utils() +class Layout: + def __init__(self, id, comment): + self.id = id + self.comment = comment + def get_layout_ids(applealc_path): if not os.path.exists(applealc_path): return {} @@ -19,867 +24,2806 @@ def get_layout_ids(applealc_path): for layout in hda_config_defaults: codec_id_hex = u.int_to_hex(layout.get("CodecID", 0)).zfill(8) formatted_codec_id = "{}-{}".format(codec_id_hex[:4], codec_id_hex[-4:]) - layout_id = layout.get("LayoutID") - if layout_id is not None: + id = layout.get("LayoutID") + comment = layout.get("Codec") or layout.get("Comment") or layout.get("CodecName") + if id is not None: if formatted_codec_id not in codec_layouts: codec_layouts[formatted_codec_id] = [] - codec_layouts[formatted_codec_id].append(layout_id) + codec_layouts[formatted_codec_id].append(Layout(id, comment)) for codec_id in codec_layouts: - codec_layouts[codec_id] = sorted(codec_layouts[codec_id]) + codec_layouts[codec_id] = sorted(codec_layouts[codec_id], key=lambda layout:layout.id) return codec_layouts data = { "10EC-0295": [ - 1, - 3, - 11, - 13, - 14, - 15, - 21, - 22, - 23, - 24, - 28, - 33, - 69, - 75, - 77 + Layout( + id=1, + comment="Damon - Realtek ALC 295 for HP Envy x360 15-bp107tx" + ), + Layout( + id=3, + comment="Mirone - Realtek ALC295/ALC3254" + ), + Layout( + id=11, + comment="Realtek ALC295, ZenBook UX581" + ), + Layout( + id=13, + comment="DalianSky - Realtek ALC295/ALC3254 Dell7570" + ), + Layout( + id=14, + comment="InsanelyDeepak - Realtek ALC295 v2 Asus UX430UA" + ), + Layout( + id=15, + comment="InsanelyDeepak - Realtek ALC295/ALC3254 " + ), + Layout( + id=21, + comment="Andres - ALC295 Acer Nitro 5 Spin (NP515-51)" + ), + Layout( + id=22, + comment="Realtek ALC295 by aleix" + ), + Layout( + id=23, + comment="Lancet-X—Realtek ALC295/ALC3254 for HP OMEN 15-AX000" + ), + Layout( + id=24, + comment="zty199 - ALC295 for HP Pavilion / OMEN-2" + ), + Layout( + id=28, + comment="vusun123 - ALC 295 for Skylake HP Pavilion" + ), + Layout( + id=33, + comment="Lorys89 - Realtek ALC295/ALC3254 for Dell Latitude 7210 2-in-1" + ), + Layout( + id=69, + comment="Baio77 - ALC295 Lenovo_X1_Tablet_3°Gen" + ), + Layout( + id=75, + comment="Lorys89 - Realtek ALC295/ALC3254 for Dell Inspiron 7590" + ), + Layout( + id=77, + comment="Unbelievable9 - Realtek ALC295/ALC3254 for Dell Latitude 5290" + ) ], "10EC-0298": [ - 3, - 11, - 13, - 15, - 16, - 21, - 22, - 25, - 28, - 29, - 30, - 32, - 33, - 47, - 66, - 72, - 94, - 99 + Layout( + id=3, + comment="Mirone - Realtek ALC298 SP4 - ComboJack" + ), + Layout( + id=11, + comment="Rockjesus.cn - Realtek ALC298 for Alienware 17 R4 2.1ch" + ), + Layout( + id=13, + comment="InsanelyDeepak - Realtek ALC298" + ), + Layout( + id=15, + comment="Piscean - Realtek ALC298 for Dell Precision 5540" + ), + Layout( + id=16, + comment="Ping - Realtek ALC298 for Dell Precision 5520" + ), + Layout( + id=21, + comment="Lenovo 720S-15IKB ALC298 by Andres ZeroCross" + ), + Layout( + id=22, + comment="Razer Blade 14 2017 by Andres ZeroCross" + ), + Layout( + id=25, + comment="hoaug - ALC295 - Razer Blade 15 2018 Advanced" + ), + Layout( + id=28, + comment="vusun123 - Realtek ALC298 for Dell XPS 9x50" + ), + Layout( + id=29, + comment="vusun123 - Realtek ALC298 for Lenovo X270" + ), + Layout( + id=30, + comment="Constanta - Realtek ALC298 for Xiaomi Mi Notebook Air 13.3 Fingerprint 2018" + ), + Layout( + id=32, + comment="smallssnow xps 9570 - Realtek ALC298" + ), + Layout( + id=33, + comment="RockJesus.cn - Realtek ALC298 for surface laptop 1gen" + ), + Layout( + id=47, + comment="Daliansky - Realtek ALC298 ThinkPad T470p" + ), + Layout( + id=66, + comment="lgs3137 - Realtek ALC298 MECHREVO S1" + ), + Layout( + id=69, + comment="mbarbierato - Realtek ALC298 for Microsoft Surface GO 2" + ), + Layout( + id=72, + comment="Custom - Realtek ALC298 for Dell XPS 9560 by KNNSpeed" + ), + Layout( + id=94, + comment="Custom - Realtek ALC298 for Lenovo Yoga C940 by idalin" + ), + Layout( + id=99, + comment="Daliansky - Realtek ALC298 XiaoMi Pro" + ) ], "10EC-1168": [ - 1, - 2, - 3, - 5, - 7, - 8, - 11, - 13, - 15, - 20, - 21, - 99 + Layout( + id=1, + comment="Toleda - Realtek ALC S1220A" + ), + Layout( + id=2, + comment="Toleda - Realtek ALC S1220A" + ), + Layout( + id=3, + comment="Toleda - Realtek ALC S1220A" + ), + Layout( + id=5, + comment="Mirone - Realtek ALC S1220A" + ), + Layout( + id=7, + comment="Mirone - Realtek ALC S1220A" + ), + Layout( + id=8, + comment="Realtek ALC S1220P_MSI_Z490i_UNIFY_ by_vio" + ), + Layout( + id=11, + comment="Realtek ALC S1220A Kushamot for Asus Z270G mb (based on Mirone's layout 7)" + ), + Layout( + id=13, + comment="Realtek ALC S1220A for Asus ProArt Z690-Creator WiFi (CaseySJ)" + ), + Layout( + id=15, + comment="Realtek ALC S1220A for Asus ROG Strix X570-F Gaming (based on Mirone's layout 7)" + ), + Layout( + id=20, + comment="Realtek ALC S1220A RodionS, Nacho 2.0 outputs(green), 2 inputs (blue)+front panel (mic fr.panel), mic (pink), headphones(lime), SPDIF/Optical " + ), + Layout( + id=21, + comment="Realtek ALC S1220A RodionS, Nacho 5.1 outputs(green, black, orange), 2 inputs (blue)+front panel (mic fr.panel), mic (pink), headphones(lime), SPDIF/Optical " + ), + Layout( + id=99, + comment="Realtek ALC S1220A Hoangtu92, 7.1 outputs (MSI X470 Gaming Pro Carbon)" + ) ], "10EC-0256": [ - 5, - 11, - 12, - 13, - 14, - 16, - 17, - 19, - 20, - 21, - 22, - 23, - 24, - 28, - 33, - 38, - 56, - 57, - 66, - 67, - 68, - 69, - 70, - 76, - 77, - 88, - 95, - 97, - 99 + Layout( + id=5, + comment="Realtek ALC256" + ), + Layout( + id=11, + comment="Rockjesus - Realtek ALC256 (3246) - dell 7559" + ), + Layout( + id=12, + comment="HafidzRadhival - DELL Vostro 5468 ALC256 (3246)" + ), + Layout( + id=13, + comment="Insanelydeepak - Realtek ALC256 (3246) for Dell Series" + ), + Layout( + id=14, + comment="Insanelydeepak - Realtek ALC256 (3246) for Dell Series with subwoofer" + ), + Layout( + id=16, + comment="VicQ - Realtek ALC256 (3246) for Dell 7000 Series with 2.1Ch" + ), + Layout( + id=17, + comment="hjmmc - Realtek ALC256 (3246) for Magicbook 2018 with 4CH" + ), + Layout( + id=19, + comment="Wanwu - Realtek ALC256 (3246) for MateBook X Pro 2019" + ), + Layout( + id=20, + comment="Andres ZeroCross for Asus AIO PC V222UAK-WA541T" + ), + Layout( + id=21, + comment="Andres ZeroCross for Dell 5570" + ), + Layout( + id=22, + comment="Andres ZeroCross for Asus VivoBook Pro 17 N705UDR" + ), + Layout( + id=23, + comment="Andres ZeroCross for Razer Blade 15 RZ09-02705E75" + ), + Layout( + id=24, + comment="Andres ZeroCross - Intel NUC NUC10i5FNH" + ), + Layout( + id=28, + comment="vusun123 - ALC256 for Asus X555UJ" + ), + Layout( + id=33, + comment="insanelyme - ALC256 for Huawei Matebook D15 2018 (MRC-W10)" + ), + Layout( + id=38, + comment="lshbluesky - Realtek ALC256 for Samsung Galaxy Book NT750XDA-KF59U" + ), + Layout( + id=56, + comment="DalianSky - Realtek ALC256 (3246) for Dell 7000 Series" + ), + Layout( + id=57, + comment="Kk Realtek ALC256 (3246) for magicbook" + ), + Layout( + id=66, + comment="lgs3137 - Realtek ALC256 for ASUS Y5000U X507UBR" + ), + Layout( + id=67, + comment="Realtek ALC256 for Dell OptiPlex 7080" + ), + Layout( + id=68, + comment="Littlesum - Realtek ALC256 (3246) for Intel NUC9 " + ), + Layout( + id=69, + comment="agasecond - Realtek ALC256 (3246) for Xiaomi Pro Enhanced 2019" + ), + Layout( + id=70, + comment="b0ltun/agasecond - Realtek ALC256 (3246) for Hasee KingBook X57S1" + ), + Layout( + id=76, + comment="Durian - Realtek ALC256 (3246) for MateBook X Pro 2019(4CH)" + ), + Layout( + id=77, + comment="Asus x430_s4300FN by fangf2018" + ), + Layout( + id=88, + comment="Asus x430_s4300FN by fangf2018 (mic in and line in mic in separated)" + ), + Layout( + id=95, + comment="Floron - Realtek ALC256 (3246) for Honor MagicBook Pro HBB-WAH9" + ), + Layout( + id=97, + comment="DalianSky - Realtek ALC256 (3246) for MateBook X Pro 2019" + ), + Layout( + id=99, + comment="Hoping - Realtek ALC256 (3246) for XiaoMiPro 2020" + ) ], "10EC-0282": [ - 3, - 4, - 13, - 21, - 22, - 27, - 28, - 29, - 30, - 41, - 43, - 51, - 69, - 76, - 86, - 127 + Layout( + id=3, + comment="Mirone - Realtek ALC282_v1" + ), + Layout( + id=4, + comment="Mirone - Realtek ALC282_v2" + ), + Layout( + id=13, + comment="InsanelyDeepak - Realtek ALC282" + ), + Layout( + id=21, + comment="ALC282 for TinyMonster ECO by DalianSky" + ), + Layout( + id=22, + comment="Custom ALC282 lenovo y430p by loverto" + ), + Layout( + id=27, + comment="Skvo ALC282 Acer Aspire on IvyBridge by Andrey1970" + ), + Layout( + id=28, + comment="Custom ALC282 Acer Aspire E1-572G" + ), + Layout( + id=29, + comment="Custom ALC282 Dell Inspirion 3521 by Generation88" + ), + Layout( + id=30, + comment="Custom ALC282 Soarsea S210H by Jokerman1991" + ), + Layout( + id=41, + comment="Custom ALC282 Lenovo Y410P by yunsur" + ), + Layout( + id=43, + comment="Custom ALC282 Lenovo Y430P by yunsur" + ), + Layout( + id=51, + comment="Custom ALC282 Lenovo Y510P by yunsur" + ), + Layout( + id=69, + comment="Custom ALC282 Lenovo-IdeaPad-Z510 by hoseinrez" + ), + Layout( + id=76, + comment="Custom ALC282 Hasee K580C by YM2008" + ), + Layout( + id=86, + comment="Custom ALC282 for Asus x200la" + ), + Layout( + id=127, + comment="No input boost ALC282 Acer Aspire on IvyBridge by Andrey1970" + ) ], "10EC-0269": [ - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - 38, - 39, - 40, - 44, - 45, - 47, - 55, - 58, - 66, - 69, - 76, - 77, - 88, - 91, - 93, - 99, - 100, - 111, - 127, - 128, - 138, - 188 + Layout( + id=1, + comment="Mirone Laptop patch ALC269 Asus N53J" + ), + Layout( + id=2, + comment="Mirone - Realtek ALC269-VB v1" + ), + Layout( + id=3, + comment="ALC269" + ), + Layout( + id=4, + comment="Mirone - Realtek ALC269-VB v2" + ), + Layout( + id=5, + comment="Mirone - Realtek ALC269-VB v3" + ), + Layout( + id=6, + comment="Mirone - Realtek ALC269-VC v1" + ), + Layout( + id=7, + comment="Mirone - Realtek ALC269-VC v2" + ), + Layout( + id=8, + comment="Mirone - Realtek ALC269VC-v3" + ), + Layout( + id=9, + comment="Mirone - Realtek ALC269VB v4" + ), + Layout( + id=10, + comment="Toleda ALC269 patch for Brix" + ), + Layout( + id=11, + comment="Mosser - ALC269VB Dell Precision Workstation T1600" + ), + Layout( + id=12, + comment="Asus Vivobook S200CE - Realtek ALC269VB" + ), + Layout( + id=13, + comment="InsanelyDeepak - Realtek ALC269VC for Samsung NP350V5C-S08IT" + ), + Layout( + id=14, + comment="Custom ALC269VC for Samsung NT550P7C-S65 with subwoofer 2.1ch by Rockjesus" + ), + Layout( + id=15, + comment="MacPeet - ALC269VB for Dell Optiplex 790" + ), + Layout( + id=16, + comment="MacPeet - ALC269VB for Dell Optiplex 790 Version2" + ), + Layout( + id=17, + comment="MacPeet - Latte Panda" + ), + Layout( + id=18, + comment="Hypereitan - ALC269VC for Thinkpad X230 i7" + ), + Layout( + id=19, + comment="Asus Vivobook S300CA - Realtek ALC269VB" + ), + Layout( + id=20, + comment="ALC269" + ), + Layout( + id=21, + comment="Goldfish64 - ALC269VB for Dell Optiplex 7010" + ), + Layout( + id=22, + comment="ALC269" + ), + Layout( + id=23, + comment="Custom ALC269VD for ThinkPad T430" + ), + Layout( + id=24, + comment="ALC269" + ), + Layout( + id=25, + comment="ALC269" + ), + Layout( + id=26, + comment="Andres ZeroCross - ALC269 for Infinix X1 XL11" + ), + Layout( + id=27, + comment="ALC269" + ), + Layout( + id=28, + comment="ALC269VC" + ), + Layout( + id=29, + comment="ALC269VC for Lenovo V580, ar4er" + ), + Layout( + id=30, + comment="ALC269VC for Hasee Z6SL7R3 by HF" + ), + Layout( + id=31, + comment="Custom ALC271x Acer Aspire s3-951" + ), + Layout( + id=32, + comment="Custom ALC269 Samsung np880z5e-x01ru by Constanta" + ), + Layout( + id=33, + comment="Custom ALC269VC for Samsung NP530U3C-A0F by BblDE3HAP" + ), + Layout( + id=34, + comment="Custom ALC269-VC Samsung np540U4E by majonez" + ), + Layout( + id=35, + comment="Mirone - Realtek ALC269VC - Samsung NP350V5C-S0URU" + ), + Layout( + id=36, + comment="Realtek ALC269 - Samsung R780" + ), + Layout( + id=37, + comment="ALC269" + ), + Layout( + id=38, + comment="jayveeballesteros - ALC269 for Fujitsu Esprimo D552" + ), + Layout( + id=39, + comment="5T33Z0 - Lenoco T530 with Dock 4337/4338" + ), + Layout( + id=40, + comment="vusun123 - Realtek ALC269VC for Lenovo W530" + ), + Layout( + id=44, + comment="ALC269VC" + ), + Layout( + id=45, + comment="maiconjs (Wolfield) - Asus A45A 269VB1" + ), + Layout( + id=47, + comment="ALC269VC for Hasee K790s" + ), + Layout( + id=55, + comment="ALC269VC for Thinkpad X230 with Dock4338" + ), + Layout( + id=58, + comment="HASEE Z6-i78154S2 ALC269 by lianny " + ), + Layout( + id=66, + comment="ALC269VC for Clevo N155RD by DalianSky" + ), + Layout( + id=69, + comment="Vorshim92 - Realtek ALC269 - GF63 Thin 9SEXR" + ), + Layout( + id=76, + comment="Custom ALC269VB for ENZ C16B by jimmy19990" + ), + Layout( + id=77, + comment="ALC269" + ), + Layout( + id=88, + comment="ALC269 for MECHREVO X8Ti Plus by DalianSky" + ), + Layout( + id=89, + comment="ALC269" + ), + Layout( + id=91, + comment="ALC269" + ), + Layout( + id=93, + comment="ALC269" + ), + Layout( + id=99, + comment="ALC269-VB v4 Mod by Andrey1970 (No input boost - no noise in Siri)" + ), + Layout( + id=100, + comment="ALC269" + ), + Layout( + id=111, + comment="ALC269" + ), + Layout( + id=127, + comment="ALC269" + ), + Layout( + id=128, + comment="ALC269" + ), + Layout( + id=138, + comment="aa820t - Realtek ALC269VC for Lenovo G480" + ), + Layout( + id=188, + comment="ALC269" + ) ], "111D-7695": [ - 11, - 12, - 14 + Layout( + id=11, + comment="Toshiba Satellite Pro C50" + ), + Layout( + id=12, + comment="Custom IDT92HD95 by RehabMan" + ), + Layout( + id=14, + comment="Custom IDT92HD95 - LenovoG710 by Svilen Ivanov layout14" + ) ], "14F1-5098": [ - 20, - 21, - 23, - 28 + Layout( + id=20, + comment="phucnguyen2411 - CX20632 HP Elitedesk 800 G5 mini" + ), + Layout( + id=21, + comment="Andres ZeroCross - Axioo MyPC One Pro H5" + ), + Layout( + id=23, + comment="frankiezdh - Conexant CX20632 for HP ProDesk 480 G4" + ), + Layout( + id=28, + comment="CX20632 by Daniel" + ) ], "1102-0011": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 9, - 10, - 11, - 12, - 99 + Layout( + id=0, + comment="Creative CA0132, default" + ), + Layout( + id=1, + comment="Creative CA0132: Alienware 15 R2" + ), + Layout( + id=2, + comment="Creative CA0132: Alienware 17, Desktop 2xIn 3xOut" + ), + Layout( + id=3, + comment="Creative CA0132, 2.0 + rear line-out" + ), + Layout( + id=4, + comment="Creative CA0132: R3Di default" + ), + Layout( + id=5, + comment="Creative CA0132, 2.0 front HP + Mic " + ), + Layout( + id=6, + comment="Creative CA0132, 5.1 with front HP" + ), + Layout( + id=7, + comment="Creative CA0132: ZxRi" + ), + Layout( + id=9, + comment="Creative CA0132 by Andres ZeroCross" + ), + Layout( + id=10, + comment="Creative CA0132 by Andres ZeroCross" + ), + Layout( + id=11, + comment="Custom Creative CA0132 5.1 channel" + ), + Layout( + id=12, + comment="Custom Creative CA0132" + ), + Layout( + id=99, + comment="Creative CA0132 5.1 channel for Alienware-M17X-R4 by DalianSky" + ) ], "1013-4210": [ - 13 + Layout( + id=13, + comment="InsanelyDeepak - Cirrus Logic CS4210" + ) ], "1013-4213": [ - 28 + Layout( + id=28, + comment="InsanelyDeepak - Cirrus Logic -CS4213" + ) ], "11D4-1884": [ - 11 + Layout( + id=11, + comment="Goldfish64 - AD1884 - Panasonic Toughbook CF-30" + ) ], "11D4-1984": [ - 11 + Layout( + id=11, + comment="MacPeet - AD1984 - for_IBM_Lenovo_ThinkPad_T61_T61p" + ) ], "11D4-194A": [ - 11, - 13, - 44 + Layout( + id=11, + comment="MacPeet - AD1984A" + ), + Layout( + id=13, + comment="MacPeet - AD1984A - Version2" + ), + Layout( + id=44, + comment="AD1984A - giesteira" + ) ], "11D4-1988": [ - 12 + Layout( + id=12, + comment="AD1988A by chrome" + ) ], "11D4-198B": [ - 5, - 7, - 12 + Layout( + id=5, + comment="Mirone - ADI-1988B" + ), + Layout( + id=7, + comment="Mirone - ADI-1988B" + ), + Layout( + id=12, + comment="0x11d4198b" + ) ], "11D4-989B": [ - 5, - 7 + Layout( + id=5, + comment="Mirone - ADI-2000B" + ), + Layout( + id=7, + comment="Mirone - ADI-2000B" + ) ], "10EC-0215": [ - 18 + Layout( + id=18, + comment="ALC215 for HP 830 G6 for 965987400abc" + ) ], "10EC-0221": [ - 11, - 15, - 88 + Layout( + id=11, + comment="Goldfish64 - ALC221 for HP Compaq Pro 4300/Pro 6300/Elite 8300 (All Form Factors)" + ), + Layout( + id=15, + comment="MacPeet - ALC221 for HP ELITE DESK 800 G1" + ), + Layout( + id=88, + comment="ALC221 for HP ProDesk 400 G2 Desktop Mini PC by dragonbbc" + ) ], "10EC-0222": [ - 11, - 12 + Layout( + id=11, + comment="ALC222 aka ALC3205-CG for HP EliteDesk 800 G6 Mini" + ), + Layout( + id=12, + comment="ALC222 for Lenovo Tianyi 510s-07IMB Desktop PC by hgs v1" + ) ], "10EC-0225": [ - 28, - 30, - 33, - 90 + Layout( + id=28, + comment="ALC225/ALC3253 on dell 7579 by ChalesYu" + ), + Layout( + id=30, + comment="Custom ALC225/ALC3253 for Dell Inspiron 17-7779 by Constanta" + ), + Layout( + id=33, + comment="Custom ALC225/ALC3253 by ChalesYu" + ), + Layout( + id=90, + comment="Custom ALC225/ALC3253 for Dell Inspiron 15-5379 by fast900" + ) ], "10EC-0230": [ - 13, - 20 + Layout( + id=13, + comment="Andres Laptop Patch ALC230 Lenovo 310-14ISK" + ), + Layout( + id=20, + comment="Realtek ALC230 for Lenovo Ideapad 320 by maiconjs" + ) ], "10EC-0233": [ - 3, - 4, - 5, - 11, - 13, - 21, - 27, - 28, - 29, - 32, - 33 + Layout( + id=3, + comment="Mirone - Realtek ALC233" + ), + Layout( + id=4, + comment="Custom Realtek ALC233 (3236)" + ), + Layout( + id=5, + comment="Mirone - Realtek ALC233/ALC3236" + ), + Layout( + id=11, + comment="Custom IDT 92HD81B1X5 by Andres ZeroCross" + ), + Layout( + id=13, + comment="InsanelyDeepak - Realtek ALC233 for Asus X550LC" + ), + Layout( + id=21, + comment="Andres ZeroCross - Realtek ALC233 for Asus A451LB-WX076D" + ), + Layout( + id=27, + comment="Custom for Realtek ALC233 for SONY VAIO Fit 14E(SVF14316SCW) by SquallATF" + ), + Layout( + id=28, + comment="Custom for Realtek ALC3236 for Asus TP500LN by Mohamed Khairy" + ), + Layout( + id=29, + comment="Custom by Mirone - Realtek ALC233 (ALC3236) for Asus X550LDV" + ), + Layout( + id=32, + comment="MacPeet - ALC233 (ALC3236) for ASUS VIVOBOOK S301LA " + ), + Layout( + id=33, + comment="MacPeet - ALC233 (ALC3236) for ASUS VIVOBOOK S451LA " + ) ], "10EC-0236": [ - 3, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 23, - 36, - 54, - 55, - 68, - 69, - 99 + Layout( + id=3, + comment="Mirone - Realtek ALC236" + ), + Layout( + id=11, + comment="Jake Lo - Realtek ALC236" + ), + Layout( + id=12, + comment="ALC236 for Lenovo Xiaoxin Air 14IKBR by AlexanderLake" + ), + Layout( + id=13, + comment="Custom - Realtek ALC236 for Lenovi Air 13 Pro by rexx0520" + ), + Layout( + id=14, + comment="erinviegas - ALC236 for Lenovo Ideapad 330S" + ), + Layout( + id=15, + comment="MacPeet - ALC236 for Lenovo Ideapad 500-15ISK" + ), + Layout( + id=16, + comment="RodionS - ALC236 for Lenovo Ideapad 320s 14ikb" + ), + Layout( + id=17, + comment="ALC236 for Lenovo IdeaPad 330S-14IKB by Ab2774" + ), + Layout( + id=18, + comment="ALC236 for Lenovo LEGION Y7000/Y530 by xiaoM" + ), + Layout( + id=19, + comment="wolf606 - ALC236 for Lenovo Ideapad 500-14ISK" + ), + Layout( + id=23, + comment="JudySL - ALC236 for Lenovo Air 13 IML(S530-13IML)" + ), + Layout( + id=36, + comment="volcbs - ALC236 for Lenovo Ideapad 510s 14isk (modified from MacPeet's)" + ), + Layout( + id=54, + comment="ALC236 for DELL-5488 by Daggeryu" + ), + Layout( + id=55, + comment="ALC236 for HP-240G8 by 8DireZ3" + ), + Layout( + id=68, + comment="ALC236 for Dell Vostro 5401 for Lorys89" + ), + Layout( + id=69, + comment="ALC236 for Dell ICL for Lorys89 by Vorshim" + ), + Layout( + id=99, + comment="ALC236 for Lenovo Air 13 IWL by DalianSky" + ) ], "10EC-0235": [ - 3, - 8, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 21, - 22, - 24, - 28, - 29, - 33, - 35, - 36, - 37, - 72, - 88, - 99 + Layout( + id=3, + comment="Mirone - Realtek ALC235" + ), + Layout( + id=8, + comment="Realtek ALC235 Intel NUC 8" + ), + Layout( + id=11, + comment="Realtek ALC235 for Ienovo by soto2080" + ), + Layout( + id=12, + comment="ALC235 for Lenovo Rescuer 15ISK by Z39" + ), + Layout( + id=13, + comment="Deskmini H470 ALC235 by dumk1217" + ), + Layout( + id=14, + comment="the-braveknight - Realtek ALC235 for Lenovo Legion Y520" + ), + Layout( + id=15, + comment="qiuchenly - Realtek ALC235 for ASUS FX53VD" + ), + Layout( + id=16, + comment="MacPeet - Realtek ALC235 for ASUS GL553VD" + ), + Layout( + id=17, + comment="Realtek ALC235 for Lenovo ThinkCentre Tiny M720q by marian" + ), + Layout( + id=18, + comment="ALC235 for Asrock_bb_310 by_vio" + ), + Layout( + id=21, + comment="ALC235 for Lenovo C530 Desktop PC by Andres ZeroCross" + ), + Layout( + id=22, + comment="ALC235 for Asus ROG GL553VD-FY380 by Andres ZeroCross" + ), + Layout( + id=24, + comment="ALC235 for Asus TUF FX705GM by TheRealGudv1n" + ), + Layout( + id=28, + comment="vusun123 - Realtek ALC235 for Lenovo Legion Y520" + ), + Layout( + id=29, + comment="hla63 - Realtek ALC235 for Msi Modern 15 A10M" + ), + Layout( + id=33, + comment="Custom by fuzzyrock for ALC235 Lenovo A340-22IWL" + ), + Layout( + id=35, + comment="Realtek ALC235 for Lenovo Qitian M420 by Cryse Hillmes" + ), + Layout( + id=36, + comment="ALC235 for Lenovo Tianyi 510 pro-18ICB Desktop PC by hgs v1" + ), + Layout( + id=37, + comment="Realtek ALC235 for Lenovo Ideacentre Mini 5" + ), + Layout( + id=72, + comment="Realtek ALC235 for Lenovo M920x by meloay" + ), + Layout( + id=88, + comment="NUC8I5BEH JUST MIC" + ), + Layout( + id=99, + comment="ALC235 for Lenovo TianYi 510s Mini by DalianSky" + ) ], "10EC-0245": [ - 11, - 12, - 13 + Layout( + id=11, + comment="Realtek ALC245 for Ienovo by soto2080" + ), + Layout( + id=12, + comment="Realtek ALC245 for Ienovo by soto2080" + ), + Layout( + id=13, + comment="lunjielee - Realtek ALC245 for HP Omen 2020" + ) ], "10EC-0255": [ - 3, - 11, - 12, - 13, - 15, - 17, - 18, - 20, - 21, - 22, - 23, - 27, - 28, - 29, - 30, - 31, - 37, - 66, - 69, - 71, - 80, - 82, - 86, - 96, - 99, - 100, - 255 + Layout( + id=3, + comment="Mirone - Realtek ALC255" + ), + Layout( + id=11, + comment="Realtek ALC255(3234) for Dell Optiplex series by Heporis" + ), + Layout( + id=12, + comment="ALC255, Dell Optiplex 7040 MT" + ), + Layout( + id=13, + comment="InsanelyDeepak - Realtek ALC255_v1" + ), + Layout( + id=15, + comment="Realtek ALC255 Gigabyte Brix BRI5(H) by Najdanovic Ivan" + ), + Layout( + id=17, + comment="InsanelyDeepak - Realtek ALC255_v2" + ), + Layout( + id=18, + comment="DuNe - Realtek ALC255 for Aorus X5V7" + ), + Layout( + id=20, + comment="Realtek ALC255 for Dell 7447 by was3912734" + ), + Layout( + id=21, + comment="ALC255 for Asus X441UA-WX096D by Andres ZeroCross" + ), + Layout( + id=22, + comment="Realtek ALC255(3234) for Asus N752VX by Feartech" + ), + Layout( + id=23, + comment="Realtek ALC255 for Acer Aspire A515-54G" + ), + Layout( + id=27, + comment="ALC255 for Asus X556UA m-dudarev" + ), + Layout( + id=28, + comment="Realtek ALC255 for Lenovo B470 - vusun123" + ), + Layout( + id=29, + comment="dhinakg - Realtek ALC255 for Acer Predator G3-571" + ), + Layout( + id=30, + comment="HongyuS - Realtek ALC255 for XiaoMiAir 13.3" + ), + Layout( + id=31, + comment="cowpod - Realtek ALC255 for UX360CA" + ), + Layout( + id=37, + comment="Imoize - Realtek ALC255 for Acer Nitro 5 AN515-52-73Y8" + ), + Layout( + id=66, + comment="ALC255 for Dell Optiplex7060/7070MT(Separate LineOut)" + ), + Layout( + id=69, + comment="juniorcaesar - Acer Aspire A315-56-327T ALC255" + ), + Layout( + id=71, + comment="DoctorStrange96 - Realtek ALC255 for Acer Aspire A51x" + ), + Layout( + id=80, + comment="Realtek ALC255 for Acer Aspire 7 A715-42G AMD by Long" + ), + Layout( + id=82, + comment="Realtek ALC255 for minisforum U820 by DalianSky" + ), + Layout( + id=86, + comment="Armênio - Realtek ALC255/ALC3234 - Dell 7348" + ), + Layout( + id=96, + comment="Bhavin dell 5559 alc255" + ), + Layout( + id=99, + comment="DalianSky - Realtek ALC255 (3246) for XiaoMi Air" + ), + Layout( + id=100, + comment="DalianSky - Realtek ALC255 (3246) for alienware alpha r2" + ), + Layout( + id=255, + comment="Realtek ALC255(3234) for Dell Inspiron 5548 by CynCYX" + ) ], "10EC-0257": [ - 11, - 18, - 86, - 96, - 97, - 99, - 100, - 101 + Layout( + id=11, + comment="MacPeet - Realtek ALC257 for Lenovo T480" + ), + Layout( + id=18, + comment="Realtek ALC257 for Lenovo Legion Y540 and Y7000-2019" + ), + Layout( + id=86, + comment="Armênio - Realtek ALC257 - Lenovo T480" + ), + Layout( + id=96, + comment="antoniomcr96 - Realtek ALC257 for Lenovo Thinkpad L390" + ), + Layout( + id=97, + comment="savvamitrofanov - Realtek ALC257 for Lenovo Thinkpad T490" + ), + Layout( + id=99, + comment="Realtek ALC257 for Lenovo XiaoXin Pro 2019(81XB/81XD) by DalianSky" + ), + Layout( + id=100, + comment="Realtek ALC257 for Lenovo XiaoXin Pro 2019(81XB/81XD) by DalianSky" + ), + Layout( + id=101, + comment="Hoping - Realtek ALC257 for Lenovo XiaoXin Air14ALC" + ) ], "10EC-0260": [ - 11, - 12 + Layout( + id=11, + comment="MacPeet ALC260 for Fujitsu Celsius M 450" + ), + Layout( + id=12, + comment="Custom ALC260" + ) ], "10EC-0262": [ - 7, - 11, - 12, - 13, - 14, - 28, - 66 + Layout( + id=7, + comment="DalianSky - ALC262 for MS-7480N1" + ), + Layout( + id=11, + comment="MacPeet - ALC262" + ), + Layout( + id=12, + comment="Goldfish64 - ALC262 for HP Compaq dc7700 SFF" + ), + Layout( + id=13, + comment="MacPeet - ALC262 for Fujitsu Celsius H270" + ), + Layout( + id=14, + comment="Goldfish64 - ALC262 for Dell Studio One 19 1909" + ), + Layout( + id=28, + comment="MacPeet - ALC262 for HP Z800-Z600 series" + ), + Layout( + id=66, + comment="ALC262 for MS-7847" + ) ], "10EC-0268": [ - 3, - 11 + Layout( + id=3, + comment="Mirone - Realtek ALC268" + ), + Layout( + id=11, + comment="Goldfish64 - ALC268 for Dell Inspiron Mini 9" + ) ], "10EC-0270": [ - 3, - 4, - 21, - 27, - 28 + Layout( + id=3, + comment="Mirone - Realtek ALC270 v1" + ), + Layout( + id=4, + comment="Mirone - Realtek ALC270 v2" + ), + Layout( + id=21, + comment="ALC270" + ), + Layout( + id=27, + comment="ALC270" + ), + Layout( + id=28, + comment="ALC270" + ) ], "10EC-0272": [ - 3, - 11, - 12, - 18, - 21 + Layout( + id=3, + comment="Mirone - Realtek ALC272" + ), + Layout( + id=11, + comment="ALC 272 - Lenovo B470 - Sam Chen" + ), + Layout( + id=12, + comment="Realtek ALC 272 for Lenovo Y470 by amu_1680c" + ), + Layout( + id=18, + comment="Sniki - Realtek ALC 272 for Lenovo B570 and B570e" + ), + Layout( + id=21, + comment="Andres ZeroCross - Lenovo All In One PC C440" + ) ], "10EC-0274": [ - 21, - 28, - 35, - 39 + Layout( + id=11, + comment="Realtek ALC274 for Optiplex 7470 AIO" + ), + Layout( + id=21, + comment="Andres ZeroCross - Realtek ALC274 for Dell Inspiron 27-7777 AIO Series" + ), + Layout( + id=28, + comment="Andres ZeroCross - Realtek ALC274 for Dell Inspiron 27-7777 AIO Series" + ), + Layout( + id=35, + comment="jackjack1-su Realtek ALC274 for Microsoft Surface Pro 7" + ), + Layout( + id=39, + comment="Harahi - Realtek ALC274 for Mechrevo UmiPro3 (Tongfang GM5MG0Y)" + ) ], "10EC-0275": [ - 3, - 13, - 15, - 28 + Layout( + id=3, + comment="Mirone - Realtek ALC275" + ), + Layout( + id=13, + comment="InsanelyDeepak - Realtek ALC275" + ), + Layout( + id=15, + comment="Piscean - ALC275 for Sony Vaio SVD11225PXB" + ), + Layout( + id=28, + comment="Custom ALC275 for Sony Vaio - vusun123" + ) ], "10EC-0280": [ - 3, - 4, - 11, - 13, - 15, - 16, - 17, - 18, - 21 + Layout( + id=3, + comment="Mirone - Realtek ALC280" + ), + Layout( + id=4, + comment="Mirone - Realtek ALC280 - ComboJack" + ), + Layout( + id=11, + comment="Alienware alpha - Realtek ALC280" + ), + Layout( + id=13, + comment="MacPeet - Realtek ALC280 - Dell T20 - Version1 - ManualMode" + ), + Layout( + id=15, + comment="MacPeet - Realtek ALC280 - Dell T20 - Version2 - SwitchMode" + ), + Layout( + id=16, + comment="cowpod - Realtek ALC280 - Optiplex 9020SFF" + ), + Layout( + id=17, + comment="Realtek ALC280 - Optiplex 9020SFF - ManualMode" + ), + Layout( + id=18, + comment="james090500 - Dell OptiPlex 9020 AIO" + ), + Layout( + id=21, + comment="Dell Precision T7610 Workstation ALC280 by Andres ZeroCross" + ) ], "10EC-0283": [ - 1, - 3, - 11, - 12, - 13, - 15, - 44, - 45, - 66, - 73, - 88 + Layout( + id=1, + comment="Toleda NUC/BRIX patch ALC283" + ), + Layout( + id=3, + comment="Mirone - Realtek ALC283" + ), + Layout( + id=11, + comment="Custom by Slbomber ALC283 (V3-371)" + ), + Layout( + id=12, + comment="ThinkCentre M73(10AX) ALC283 by dumk1217" + ), + Layout( + id=13, + comment="ALC283 for AlldoCube/Cube Mix Plus by Aldo97" + ), + Layout( + id=15, + comment="MacPeet - alc283 for LENOVO IDEAPAD 14" + ), + Layout( + id=44, + comment="Realtek ALC283 for ThinkCentre M93z 10AF ALC283 by giesteira " + ), + Layout( + id=45, + comment="Realtek ALC283 for NUC7 by mikes " + ), + Layout( + id=66, + comment="ASRock DeskMini 110(H110M-STX) ALC283 by licheedev" + ), + Layout( + id=73, + comment="UHDbits - Realtek ALC283/ALC3239 for the Lenovo ThinkCentre M73 Tiny" + ), + Layout( + id=88, + comment="Realtek ALC283 for DELL R14 3437 by xiaoleGun(zoran)" + ) ], "10EC-0284": [ - 3 + Layout( + id=3, + comment="Mirone - Realtek ALC284" + ) ], "10EC-0285": [ - 11, - 21, - 31, - 52, - 61, - 66, - 71, - 88 + Layout( + id=11, + comment="Rover Realtek ALC285 for X1C6th" + ), + Layout( + id=21, + comment="Andres - Realtek ALC285 for Lenovo X1 Carbon 6th " + ), + Layout( + id=31, + comment="Flymin - Realtek ALC285 for Thinkpad X1E" + ), + Layout( + id=33, + comment="PIut02 - Realtek ALC285 for ROG-Zephyrus-G14" + ), + Layout( + id=52, + comment="Z Realtek ALC285 for thinkpad p52" + ), + Layout( + id=61, + comment="Realtek ALC285 for Yoga C740 by fewtarius" + ), + Layout( + id=66, + comment="Realtek ALC285 for Lenovo Legion S740 15-IRH (Y9000X 2020) by R-a-s-c-a-l" + ), + Layout( + id=71, + comment="jpuxdev - Realtek ALC285 for Spectre x360 13-ap0xxx" + ), + Layout( + id=88, + comment="Realtek ALC285 for Yoga S740 14IIL by frozenzero123" + ) ], "10EC-0286": [ - 3, - 11, - 69 + Layout( + id=3, + comment="Mirone - Realtek ALC286" + ), + Layout( + id=11, + comment="Lenovo YOGA3 pro ALC286 - gdllzkusi" + ), + Layout( + id=69, + comment="HP-Pavilion-Wave-600-A058cn" + ) ], "10EC-0287": [ - 11, - 13, - 21 + Layout( + id=11, + comment="Realtek ALC287" + ), + Layout( + id=13, + comment="ALC287 for Legion 5 Pro(R9000p)" + ), + Layout( + id=21, + comment="ALC287 for Lenovo Yoga Slim 7-14IIL05 by Andres ZeroCross" + ) ], "10EC-0288": [ - 3, - 13, - 23 + Layout( + id=3, + comment="Mirone - Realtek ALC288" + ), + Layout( + id=13, + comment="InsanelyDeepak - Realtek ALC288 for Dell XPS 9343" + ), + Layout( + id=23, + comment="yyfn - Realtek ALC288 for Dell XPS 9343" + ) ], "10EC-0289": [ - 11, - 12, - 13, - 15, - 23, - 33, - 68, - 69, - 87, - 93, - 99 + Layout( + id=11, + comment="leeoem - Realtek ALC289 for alienware m17r2" + ), + Layout( + id=12, + comment="ALC289 for Dell XPS 13 9300" + ), + Layout( + id=13, + comment="ALC289 for Dell XPS 15 9500 4 Speakers" + ), + Layout( + id=15, + comment="MacPeet - ALC289 for Dell 7730 Precision CM240 " + ), + Layout( + id=23, + comment="Realtek ALC289 for Acer PT515-51 By Bugprogrammer and Rover" + ), + Layout( + id=33, + comment="PIut02 - Realtek ALC289 for ROG-Zephyrus-G14" + ), + Layout( + id=68, + comment="ALC289 for Dell XPS 7390 ICL 2in1 By Lorys89" + ), + Layout( + id=69, + comment="ALC289 for Dell XPS 2in1 7390 Vorshim" + ), + Layout( + id=87, + comment="naufalkharits - Realtek ALC289 for Alienware m15" + ), + Layout( + id=93, + comment="sweet3c - ALC289 for XPS 9500 4k " + ), + Layout( + id=99, + comment="Realtek ALC289 for Dell XPS 13 9300 by DalianSky" + ) ], "10EC-0290": [ - 3, - 4, - 10, - 15, - 28 + Layout( + id=3, + comment="Mirone - Realtek ALC290" + ), + Layout( + id=4, + comment="macpeetALC ALC290 aka ALC3241" + ), + Layout( + id=10, + comment="ALC3241 - HP Envy 15t-k200 Beats Audio 2.1" + ), + Layout( + id=15, + comment="MacPeet - ALC290 for HP m6 n015dx" + ), + Layout( + id=28, + comment="vusun123 - ALC 290 for Dell Vostro 5480" + ) ], "10EC-0292": [ - 12, - 15, - 18, - 28, - 32, - 55, - 59 + Layout( + id=12, + comment="Custom ALC292" + ), + Layout( + id=15, + comment="MacPeet - alc292 for LENOVO THINKPAD T450_T450s_X240 - ManualMode" + ), + Layout( + id=18, + comment="vanquybn - ALC 292 for Dell M4800" + ), + Layout( + id=28, + comment="vusun123 - ALC 292 for Lenovo T440" + ), + Layout( + id=32, + comment="ALC292 for Lenovo T450s By Echo" + ), + Layout( + id=55, + comment="baesar0 -ALC 292 for e6540 with dock" + ), + Layout( + id=59, + comment="ALC 292 for Dell M4800 with Dock" + ) ], "10EC-0293": [ - 11, - 28, - 29, - 30, - 31 + Layout( + id=11, + comment="ALC293 Dell E7450 by Andres ZeroCross" + ), + Layout( + id=28, + comment="tluck - ALC 293 for Lenovo T460/T560 - extra LineOut on Dock" + ), + Layout( + id=29, + comment="tluck - ALC 293 for Lenovo T460/T560" + ), + Layout( + id=30, + comment="ALC 293 for Hasee ZX8-CT5DA/Clevo N9x0TD_TF by RushiaBoingBoing" + ), + Layout( + id=31, + comment="ALC 293 for Hasee Z7-CT7NA by lgh07711" + ) ], "10EC-0294": [ - 11, - 12, - 13, - 15, - 21, - 22, - 28, - 44, - 66, - 99 + Layout( + id=11, + comment="Rover - Realtek ALC294 for Asus FL8000U" + ), + Layout( + id=12, + comment="MacPeet - Realtek ALC294 for Lenovo M710Q" + ), + Layout( + id=13, + comment="InsanelyDeepak - Realtek ALC294" + ), + Layout( + id=15, + comment="Realtek ALC294, ZenBook UX434" + ), + Layout( + id=21, + comment="Andres ZeroCross - ALC294 ASUS ZenBook Flip 14 UX461UA" + ), + Layout( + id=22, + comment="cowpod - Realtek ALC294 for ASUS ROG GL504GW" + ), + Layout( + id=28, + comment="Ayat Kyo - Realtek ALC294 for Asus ROG G531GD" + ), + Layout( + id=44, + comment="narcyzzo - Realtek ALC294 for ASUS UX534FAC" + ), + Layout( + id=66, + comment="KKKIIINNN - ALC294 ASUS X542UQR" + ), + Layout( + id=99, + comment="hoping - Realtek ALC294 for ASUS ROG GU502LV" + ) ], "10EC-0299": [ - 21, - 22 + Layout( + id=21, + comment="Andres - ALC299 Acer Helios 500" + ), + Layout( + id=22, + comment="Andres - ALC299 Dell XPS13" + ) ], "10EC-0623": [ - 13, - 21 + Layout( + id=13, + comment="Pinokyo-H - Lenovo ThinkCentre SFF M720e" + ), + Layout( + id=21, + comment="Andres ZeroCross - ALC623 Lenovo M70T" + ) ], "10EC-0662": [ - 5, - 7, - 11, - 12, - 13, - 15, - 16, - 17, - 18, - 19, - 66 + Layout( + id=5, + comment="Mirone - Realtek ALC662" + ), + Layout( + id=7, + comment="Mirone - Realtek ALC662" + ), + Layout( + id=11, + comment="Custom ALC662 by Irving23 for Lenovo ThinkCentre M8400t-N000" + ), + Layout( + id=12, + comment="Custom ALC662 by stich86 for Lenovo ThinkCentre M800" + ), + Layout( + id=13, + comment="Custom ALC662 by Vandroiy for Asus X66Ic" + ), + Layout( + id=15, + comment="MacPeet - ALC662 for Acer Aspire A7600U All in One" + ), + Layout( + id=16, + comment="phucnguyen.2411 - ALC662v3 for Lenovo ThinkCentre M92P SFF" + ), + Layout( + id=17, + comment="Custom ALC662 by aloha_cn for HP Compaq Elite 8000 SFF" + ), + Layout( + id=18, + comment="Custom ALC662 by ryahpalma for MP67-DI/Esprimo Q900" + ), + Layout( + id=19, + comment="Custom ALC662 for MSI X79A-GD65" + ), + Layout( + id=66, + comment="ALC662v3 for Lenovo M415-D339 by Eric" + ) ], "10EC-0663": [ - 3, - 4, - 15, - 28, - 99 + Layout( + id=3, + comment="Mirone - Realtek ALC663" + ), + Layout( + id=4, + comment="Mirone - Realtek ALC663_V2" + ), + Layout( + id=15, + comment="MacPeet - ALC663 for Fujitsu Celsius r670" + ), + Layout( + id=28, + comment="ALC663" + ), + Layout( + id=99, + comment="ALC663" + ) ], "10EC-0665": [ - 12, - 13 + Layout( + id=12, + comment="InsanelyDeepak - Realtek ALC665" + ), + Layout( + id=13, + comment="InsanelyDeepak - Realtek ALC665" + ) ], "10EC-0668": [ - 3, - 20, - 27, - 28, - 29 + Layout( + id=3, + comment="ALC668 Mirone Laptop Patch" + ), + Layout( + id=20, + comment="Custom ALC668 by lazzy for laptop ASUS G551JM" + ), + Layout( + id=27, + comment="ALC668 syscl Laptop Patch (DELL Precision M3800)" + ), + Layout( + id=28, + comment="ALC668 Mirone Laptop Patch (Asus N750Jk)" + ), + Layout( + id=29, + comment="ALC668 Custom (Asus N750JV)" + ) ], "10EC-0670": [ - 12 + Layout( + id=12, + comment="Custom ALC670 by Alex Auditore" + ) ], "10EC-0671": [ - 12, - 15, - 16, - 88 + Layout( + id=12, + comment="MacPeet - ALC671 for Fujitsu-Siemens D3433-S (Q170 chip)" + ), + Layout( + id=15, + comment="MacPeet - ALC671 for Fujitsu Esprimo C720" + ), + Layout( + id=16, + comment="Sisumara - ALC671 for Fujitsu Q558" + ), + Layout( + id=88, + comment=" alc671 for HP 280 Pro G4 by Lcp" + ) ], "10EC-0700": [ - 11, - 22 + Layout( + id=11, + comment="osy86 - Realtek ALC700" + ), + Layout( + id=22, + comment="Baio77 - Realtek ALC700" + ) ], "10EC-0882": [ - 5, - 7 + Layout( + id=5, + comment="Mirone - Realtek ALC882" + ), + Layout( + id=7, + comment="Mirone - Realtek ALC882" + ) ], "10EC-0883": [ - 7, - 20 + Layout( + id=7, + comment="ALC883" + ), + Layout( + id=20, + comment="ALC883" + ) ], "10EC-0885": [ - 1, - 12, - 15 + Layout( + id=1, + comment="toleda ALC885" + ), + Layout( + id=12, + comment="ALC885" + ), + Layout( + id=15, + comment="ALC885" + ) ], "10EC-0887": [ - 1, - 2, - 3, - 5, - 7, - 11, - 12, - 13, - 17, - 18, - 20, - 33, - 40, - 50, - 52, - 53, - 87, - 99 + Layout( + id=1, + comment="Toleda ALC887" + ), + Layout( + id=2, + comment="Toleda ALC887" + ), + Layout( + id=3, + comment="Toleda ALC887" + ), + Layout( + id=5, + comment="Mirone - Realtek ALC887-VD" + ), + Layout( + id=7, + comment="Mirone - Realtek ALC887-VD" + ), + Layout( + id=11, + comment="InsanelyDeepak - Realtek ALC887-VD" + ), + Layout( + id=12, + comment="VictorXu - ALC887-VD for ASUS H81M-D" + ), + Layout( + id=13, + comment="InsanelyDeepak - Realtek ALC887-VD" + ), + Layout( + id=17, + comment="InsanelyDeepak - Realtek ALC887-VD" + ), + Layout( + id=18, + comment="InsanelyDeepak - Realtek ALC887-VD" + ), + Layout( + id=20, + comment="Realtek ALC887-VD AD0 for Asus Z97M-PLUS/BR by maiconjs" + ), + Layout( + id=33, + comment="Custom by klblk ALC887 for GA-Q87TN" + ), + Layout( + id=40, + comment="Realtek ALC887-VD for Asus B85-ME by maiconjs" + ), + Layout( + id=50, + comment="0th3r ALC887 for PRIME B250-PLUS" + ), + Layout( + id=52, + comment="ALC887 for Asus PRIME Z270-P (full Rear and Front, non auto-switch) by ctich" + ), + Layout( + id=53, + comment="ALC887 for Asus PRIME Z270-P (Rear LineOut1, Mic - LineOut2, LineIn - LineOut3 - 5.1 and Front, non auto-switch) by ctich" + ), + Layout( + id=87, + comment="Realtek ALC887-VD GA-Z97 HD3 ver2.1 by varrtix" + ), + Layout( + id=99, + comment="Custom Realtek ALC887-VD by Constanta" + ) ], "10EC-0888": [ - 1, - 2, - 3, - 4, - 5, - 7, - 11, - 27, - 28, - 29 + Layout( + id=1, + comment="toleda ALC888" + ), + Layout( + id=2, + comment="toleda ALC888" + ), + Layout( + id=3, + comment="toleda ALC888" + ), + Layout( + id=4, + comment="Mirone - Realtek ALC888 for Laptop" + ), + Layout( + id=5, + comment="Mirone - Realtek ALC888 3 ports (Pink, Green, Blue)" + ), + Layout( + id=7, + comment="Mirone - Realtek ALC888 5/6 ports (Gray, Black, Orange, Pink, Green, Blue)" + ), + Layout( + id=11, + comment="ALC888S-VD Version1 for MedionP9614 by MacPeet" + ), + Layout( + id=27, + comment="ALC888 for Acer Aspire 7738G by MacPeet" + ), + Layout( + id=28, + comment="ALC888S-VD Version2 for MedionE7216 by MacPeet" + ), + Layout( + id=29, + comment="ALC888S-VD Version3 for MedionP8610 by MacPeet" + ) ], "10EC-0889": [ - 1, - 2, - 3, - 11, - 12 + Layout( + id=1, + comment="ALC889, Toleda" + ), + Layout( + id=2, + comment="ALC889, Toleda" + ), + Layout( + id=3, + comment="ALC889, Toleda" + ), + Layout( + id=11, + comment="MacPeet ALC889 Medion P4020 D" + ), + Layout( + id=12, + comment="alc889, Custom by Sergey_Galan" + ) ], "10EC-0867": [ - 11, - 13 + Layout( + id=11, + comment="MacPeet - ALC891 for HP Pavilion Power 580-030ng" + ), + Layout( + id=13, + comment="InsanelyDeepak - Realtek ALC891" + ) ], "10EC-0892": [ - 1, - 2, - 3, - 4, - 5, - 7, - 11, - 12, - 15, - 16, - 17, - 18, - 20, - 21, - 22, - 23, - 28, - 31, - 32, - 90, - 92, - 97, - 98, - 99, - 100 + Layout( + id=1, + comment="ALC892, Toleda" + ), + Layout( + id=2, + comment="ALC892, Toleda" + ), + Layout( + id=3, + comment="ALC892, Toleda" + ), + Layout( + id=4, + comment="Mirone - Realtek ALC892 for Laptop" + ), + Layout( + id=5, + comment="ALC892, Mirone" + ), + Layout( + id=7, + comment="ALC892, Mirone" + ), + Layout( + id=11, + comment="ALC892 for MSI GF72-8RE" + ), + Layout( + id=12, + comment="MSI GP70/CR70 by Slava77" + ), + Layout( + id=15, + comment="MacPeet - alc892 for MSi Z97S SLI Krait Edition" + ), + Layout( + id=16, + comment="MacPeet - alc892 for MSI GL73-8RD" + ), + Layout( + id=17, + comment="MacPeet - alc892 for MSI B150M MORTAR - SwitchMode" + ), + Layout( + id=18, + comment="MacPeet - alc892 for MSI B150M MORTAR - ManualMode" + ), + Layout( + id=20, + comment="Custom ALC892 for GIGABYTE Z390M GAMING - Manual - by Bokey" + ), + Layout( + id=21, + comment="Custom ALC892 for GIGABYTE B365M AORUS ELITE" + ), + Layout( + id=22, + comment="ASRock Z390m-ITX/ac by imEgo" + ), + Layout( + id=23, + comment="ALC892 for ASRock B365 Pro4 By TheHackGuy" + ), + Layout( + id=28, + comment="ALC892 for Clevo P751DMG by Cryse Hillmes" + ), + Layout( + id=31, + comment="ALC892 for Clevo P65xSE/SA by Derek Zhu" + ), + Layout( + id=32, + comment="Custom ALC892 for G4/G5mod by ATL" + ), + Layout( + id=90, + comment="Custom ALC892 for GIGABYTE B360 M AORUS PRO" + ), + Layout( + id=92, + comment="Custom ALC892 for GA-Z87-HD3 by BIM167" + ), + Layout( + id=97, + comment="Custom ALC892 for HASEE K770e i7 D1 by gitawake" + ), + Layout( + id=98, + comment="ALC892 with working SPDIF" + ), + Layout( + id=99, + comment="Custom ALC892 DNS P150EM by Constanta" + ), + Layout( + id=100, + comment="GeorgeWan - ALC892 for MSI-Z370-A PRO" + ) ], "10EC-0897": [ - 11, - 12, - 13, - 21, - 22, - 23, - 66, - 69, - 77, - 98, - 99 + Layout( + id=11, + comment="Custom ALC897 by Sergey_Galan for GIGABYTE Z590M" + ), + Layout( + id=12, + comment="Custom ALC897 by Sergey_Galan for GIGABYTE Z590 Gaming X" + ), + Layout( + id=13, + comment="GeorgeWan - ALC897 for MSI-Z590-A-PRO" + ), + Layout( + id=21, + comment="OPS Computer ALC897 by Andres ZeroCross" + ), + Layout( + id=22, + comment="Asus VivoBook 15 OLED M513UA by Andres ZeroCross" + ), + Layout( + id=23, + comment="ALC897 for Chuwi-CoreBookX14 by weachy" + ), + Layout( + id=66, + comment="Asus_PRIME_B460M-K_ALC897" + ), + Layout( + id=69, + comment="ALC297 for MSI Z490-A Pro by MathCampbell" + ), + Layout( + id=77, + comment="ONDA H510D4 IPC ALC897" + ), + Layout( + id=98, + comment="liangyi - ALC897 for MSI PRO B760M-P DDR4" + ), + Layout( + id=99, + comment="Custom ALC897 by Marcos_Vinicios for HUANANZHI QD4" + ) ], "10EC-0899": [ - 1, - 2, - 3, - 5, - 7, - 11, - 13, - 28, - 65, - 66, - 98, - 99, - 101 + Layout( + id=1, + comment="ALC898, Toleda" + ), + Layout( + id=2, + comment="ALC898, Toleda" + ), + Layout( + id=3, + comment="ALC898, Toleda" + ), + Layout( + id=5, + comment="Mirone - Realtek ALC898" + ), + Layout( + id=7, + comment="Mirone - Realtek ALC898" + ), + Layout( + id=11, + comment="Custom ALC898 by Irving23 for MSI GT72S 6QF-065CN" + ), + Layout( + id=13, + comment="InsanelyDeepak - Realtek ALC898 for MSI GS40" + ), + Layout( + id=28, + comment="ALC898, Toleda" + ), + Layout( + id=65, + comment="Realtek ALC898 for CLEVO P65xRS(-G) by datasone" + ), + Layout( + id=66, + comment="Realtek ALC898 for Clevo P750DM2-G" + ), + Layout( + id=98, + comment="Realtek ALC898 for MSI GE62 7RE Apache Pro by spectra" + ), + Layout( + id=99, + comment="Realtek ALC898 for MSI GP62-6QG Leopard Pro" + ), + Layout( + id=101, + comment="ALC898, 4 Line Out by Andrey1970" + ) ], "10EC-0900": [ - 1, - 2, - 3, - 5, - 7, - 11, - 99 + Layout( + id=1, + comment="toleda - ALC1150 " + ), + Layout( + id=2, + comment="toleda - ALC1150 " + ), + Layout( + id=3, + comment="toleda - ALC1150 " + ), + Layout( + id=5, + comment="Mirone - Realtek ALC1150" + ), + Layout( + id=7, + comment="Mirone - Realtek ALC1150" + ), + Layout( + id=11, + comment="Mirone - Realtek ALC1150 (mic boost)" + ), + Layout( + id=99, + comment="ALC1150 for Gigabyte GA-Z97X-UD5H by DalianSky" + ) ], "10EC-1220": [ - 1, - 2, - 3, - 5, - 7, - 11, - 13, - 15, - 16, - 17, - 18, - 20, - 21, - 25, - 27, - 28, - 29, - 30, - 34, - 35, - 69, - 98, - 99, - 100 + Layout( + id=1, + comment="Toleda - Realtek ALC1220" + ), + Layout( + id=2, + comment="Toleda - Realtek ALC1220" + ), + Layout( + id=3, + comment="Toleda - Realtek ALC1220" + ), + Layout( + id=5, + comment="Mirone - Realtek ALC1220" + ), + Layout( + id=7, + comment="Mirone - Realtek ALC1220" + ), + Layout( + id=11, + comment="Custom Realtek ALC1220 by truesoldier" + ), + Layout( + id=13, + comment="MacPeet - ALC1220 for Clevo P950HR" + ), + Layout( + id=15, + comment="fleaplus - ALC1220 for MSI WT75" + ), + Layout( + id=16, + comment="MacPeet - ALC1220 for Gigabyte Z390" + ), + Layout( + id=17, + comment="NIBLIZE - ALC1220 for Gigabyte Z490 Vision G manual SP/HP" + ), + Layout( + id=18, + comment="hgsshaanxi- ALC1220 for Gigabyte Z490 Aorus Master" + ), + Layout( + id=20, + comment="CaseySJ - ALC1220 for Gigabyte B550 Vision D" + ), + Layout( + id=21, + comment="ALC1220 for MSI GE63 Raider RGB 8RF" + ), + Layout( + id=25, + comment="Realtek ALC1220 for MSI GE73 Raider RGB 8RF by Ardhi96" + ), + Layout( + id=27, + comment="lostwolf - ALC1220 for Gigabyte Z370-HD3P" + ), + Layout( + id=28, + comment="MacPeet- ALC1220 for Z390 Aorus Ultra - Output SP/HP Manualmode " + ), + Layout( + id=29, + comment="MacPeet- ALC1220 for Z390 Aorus Ultra - Output SP/HP SwitchMode" + ), + Layout( + id=30, + comment="MacPeet- ALC1220 for Z370 AORUS Gaming 7 - Output SP/HP SwitchMode" + ), + Layout( + id=34, + comment="Custom ALC1220 for MSI P65 Creator by CleverCoder" + ), + Layout( + id=35, + comment="Custom ALC1220 for MSI GP75 9SD by Win7GM" + ), + Layout( + id=69, + comment="Lorys89 ALC1220 for AMD B450/B550 - SwitchMode" + ), + Layout( + id=98, + comment="Custom ALC1220 for Mi Gaming Notebook Creator by Xsixu" + ), + Layout( + id=99, + comment="MiBook 2019 by Dynamix1997" + ), + Layout( + id=100, + comment="Hasee_G8-CU7PK" + ) ], "10EC-0B00": [ - 1, - 2, - 3, - 7, - 11, - 49, - 50, - 51, - 52, - 69 + Layout( + id=1, + comment="toleda - Realtek ALCS1200A" + ), + Layout( + id=2, + comment="toleda - Realtek ALCS1200A" + ), + Layout( + id=3, + comment="toleda - Realtek ALCS1200A" + ), + Layout( + id=7, + comment="ALCS1200A for B550M Gaming Carbon WIFI by Kila2" + ), + Layout( + id=11, + comment="owen0o0 - Realtek ALCS1200A" + ), + Layout( + id=12, + comment="mobilestebu - Realtek ALCS1200A for ASUS TUF-Z390M-Gaming (based on owen0o0 layout 11)" + ), + Layout( + id=23, + comment="VictorXu - Realtek ALCS1200A for MSI B460I GAMING EDGE WIFI" + ), + Layout( + id=49, + comment="VictorXu - Realtek ALCS1200A for Asrock Z490M-ITX" + ), + Layout( + id=50, + comment="VictorXu - Realtek ALCS1200A for Gigabyte B460M Aorus Pro" + ), + Layout( + id=51, + comment="GeorgeWan - ALCS1200A for ASROCK-Z490-Steel-Legend" + ), + Layout( + id=52, + comment="GeorgeWan - ALCS1200A for MSI-Mortar-B460M" + ), + Layout( + id=69, + comment="Lorys89 and Vorshim92 - ALCS1200A for ASROCK Z490M ITX AC" + ) ], "14F1-1F72": [ - 3, - 13 + Layout( + id=3, + comment="Mirone - Conexant CX8050" + ), + Layout( + id=13, + comment="Conexant CX8050 for ASUS S410U/X411U by cowpod" + ) ], "14F1-1F86": [ - 15, - 21 + Layout( + id=15, + comment="MacPeet - Conexant CX8070 (CX11880) for Lenovo ThinkPad E590" + ), + Layout( + id=21, + comment="Andres ZeroCross - Conexant CX8070 for Lenovo ThinkPad E14" + ) ], "14F1-1FD6": [ - 21, - 22 + Layout( + id=21, + comment="Asus VivoBook Pro 15 CX8150 by Andres ZeroCross" + ), + Layout( + id=22, + comment="ASUS VivoBook S405UA-EB906T - CX8150 by Andres ZeroCross" + ) ], "14F1-2008": [ - 3, - 15, - 21, - 23, - 80 + Layout( + id=3, + comment="Mirone - Conexant CX8200" + ), + Layout( + id=15, + comment="MacPeet - Conexant CX8200 for HP ZbooK 15UG4" + ), + Layout( + id=21, + comment="Andres ZeroCross - HP Spectre 13-V130NG" + ), + Layout( + id=23, + comment="frankiezdh - Conexant CX8200 for HP Probook 440 G5" + ), + Layout( + id=80, + comment="Conexant CX8200 for LG Gram Z990/Z90N" + ) ], "14F1-20D0": [ - 12, - 13 + Layout( + id=12, + comment="Conexant CX8400" + ), + Layout( + id=13, + comment="Conexant CX11970 (CX8400) for Acer Swift 3 SF313 (Ice Lake) by b0ltun" + ), + Layout( + id=14, + comment="Conexant CX8400 for Zbook G5 - theroadw" + ) ], "14F1-5051": [ - 11 + Layout( + id=11, + comment="Conexant CX20561" + ) ], "14F1-5067": [ - 3 + Layout( + id=3, + comment="Mirone - Conexant CX20583" + ) ], "14F1-5069": [ - 3, - 13 + Layout( + id=3, + comment="Mirone - Conexant CX20585" + ), + Layout( + id=13, + comment="Constanta custom for Toshiba L755-16R - Conexant CX20585" + ) ], "14F1-506C": [ - 3 + Layout( + id=3, + comment="Mirone - Conexant CX20588" + ) ], "14F1-506E": [ - 3, - 12, - 13, - 14, - 28 + Layout( + id=3, + comment="Mirone - Conexant CX20590" + ), + Layout( + id=12, + comment="CX20590 Custom for Lenovo Yoga 13 by usr-sse2" + ), + Layout( + id=13, + comment="CX20590 for Lenovo T420 by tluck (Additional ports for use with a Docking Station)" + ), + Layout( + id=14, + comment="CX20590 for Lenovo T420 by tluck (Standard Laptop)" + ), + Layout( + id=28, + comment="Custom for Dell Vostro 3x60 by vusun123" + ) ], "14F1-50A1": [ - 11, - 13 + Layout( + id=11, + comment="CX20641 - MacPeet - Dell OptiPlex 3010 - ManualMode" + ), + Layout( + id=13, + comment="CX20641 - MacPeet - Dell OptiPlex 3010 - SwitchMode" + ) ], "14F1-50A2": [ - 11, - 13 + Layout( + id=11, + comment="CX20642 - MacPeet - Fujitsu ESPRIMO E910 E90+ Desktop - ManualMode" + ), + Layout( + id=13, + comment="CX20642 - MacPeet - Fujitsu ESPRIMO E910 E90+ Desktop - SwitchMode" + ) ], "14F1-50F2": [ - 3 + Layout( + id=3, + comment="Mirone - Conexant CX20722" + ) ], "14F1-50F4": [ - 3, - 13 + Layout( + id=3, + comment="Mirone - Conexant CX20724" + ), + Layout( + id=13, + comment="InsanelyDeepak - Conexant CX20724" + ) ], "14F1-510F": [ - 3, - 21, - 28 + Layout( + id=3, + comment="Mirone - Conexant CX20752" + ), + Layout( + id=21, + comment="Andres ZeroCross - Asus A455LF - WX039D" + ), + Layout( + id=28, + comment="Conexant - CX20751/2 by RehabMan" + ) ], "14F1-5111": [ - 3, - 14, - 15, - 21 + Layout( + id=3, + comment="Mirone - Conexant CX20753/4" + ), + Layout( + id=14, + comment="InsanelyDeepak - Conexant CX20753/4" + ), + Layout( + id=15, + comment="MacPeet - CX20753/4 for Lenovo Thinkpad E580" + ), + Layout( + id=21, + comment="Andres ZeroCross - LG gram 15ZD960-GX5BK" + ) ], "14F1-5113": [ - 3 + Layout( + id=3, + comment="Mirone - Conexant CX20755" + ) ], "14F1-5114": [ - 3, - 13 + Layout( + id=3, + comment="Mirone - Conexant CX20756" + ), + Layout( + id=13, + comment="InsanelyDeepak - Conexant CX20756" + ) ], "14F1-5115": [ - 3, - 28 + Layout( + id=3, + comment="Mirone - Conexant CX20757" + ), + Layout( + id=28, + comment="Custom CX20757 Lenovo G510 by Z39" + ) ], "111D-76D1": [ - 12, - 13 + Layout( + id=12, + comment="Custom IDT 92HD87B1/3 by RehabMan" + ), + Layout( + id=13, + comment="InsanelyDeepak - IDT92HD87B1/3" + ) ], "111D-76D9": [ - 13 + Layout( + id=13, + comment="Custom IDT92HD87B2/4 by RehabMan" + ) ], "111D-76F3": [ - 3 + Layout( + id=3, + comment="Mirone - IDT 92HD66C3/65" + ) ], "111D-76B2": [ - 3 + Layout( + id=3, + comment="Mirone - IDT 92HD71B7X" + ) ], "111D-7675": [ - 19, - 21 + Layout( + id=19, + comment="Dell Studio 1535 - IDT 92HD73C1X5 by chunnann" + ), + Layout( + id=21, + comment="Andres ZeroCross - IDT 92HD73C1X5 for Alienware M17X R2" + ) ], "111D-7676": [ - 15 + Layout( + id=15, + comment="MacPeet - IDT92HD73E1X5 for HP Envy h8 1425eg" + ) ], "111D-76D5": [ - 3, - 11 + Layout( + id=3, + comment="Mirone - IDT 92HD81B1C5" + ), + Layout( + id=11, + comment="Goldfish64 - IDT 92HD81B1C5 for Dell Latitude E6410" + ) ], "111D-7605": [ - 3, - 3, - 12, - 20, - 21, - 28, - 76 + Layout( + id=3, + comment="Mirone - IDT 92HD81B1X5" + ), + Layout( + id=3, + comment="Mirone - IDT 92HD87B1" + ), + Layout( + id=12, + comment="RehabMan - IDT 92HD81B1X5" + ), + Layout( + id=20, + comment="Custom IDT 92HD81B1X5 by Sergey_Galan for HP ProBook 4520s" + ), + Layout( + id=21, + comment="Custom IDT 92HD81B1X5 by Sergey_Galan for HP DV6-6169er" + ), + Layout( + id=28, + comment="Custom IDT 92HD81B1X5 by Gujiangjiang for HP Pavilion g4 1000 series" + ), + Layout( + id=76, + comment="IDT 92HD81B1X5 by SkyrilHD for HP Elitebook 8x70 series" + ) ], "111D-7608": [ - 3 + Layout( + id=3, + comment="Mirone - IDT 92HD75B2X5" + ) ], "111D-7603": [ - 3, - 11 + Layout( + id=3, + comment="Mirone - IDT 92HD75B3X5" + ), + Layout( + id=11, + comment="Mirone - IDT 92HD75B3X5" + ) ], "111D-76E7": [ - 3, - 12 + Layout( + id=3, + comment="Mirone - IDT 92HD90BXX" + ), + Layout( + id=12, + comment="vusun123 - IDT 92HD90BXX" + ) ], "111D-76E0": [ - 3, - 12, - 13, - 33, - 84 + Layout( + id=3, + comment="Mirone - IDT 92HD91BXX " + ), + Layout( + id=12, + comment="RehabMan - IDT 92HD91BXX for HP Envy" + ), + Layout( + id=13, + comment="MacPeet - IDT92HD91BXX for HP Envy 6 1171-SG" + ), + Layout( + id=33, + comment="jl4c - IDT 92HD91BXX for HP Envy" + ), + Layout( + id=84, + comment="macish - IDT 92HD91BXX for HP Elitebook G1" + ) ], "111D-76DF": [ - 12 + Layout( + id=12, + comment="Custom - IDT 92HD93BXX Dell Latitude E6430" + ) ], "111D-76E5": [ - 3 + Layout( + id=3, + comment="Mirone - IDT 92HD99BXX " + ) ], "8384-7690": [ - 11 + Layout( + id=11, + comment="Goldfish64 - STAC9200 for Dell Precision 390, Latitude D520" + ) ], "8384-76A0": [ - 11 + Layout( + id=11, + comment="Goldfish64 - STAC9205 for Dell Inspiron 1520, Latitude D630" + ) ], "8384-7662": [ - 12 + Layout( + id=12, + comment="STAC9872AK for Sony VGN-FZ11MR by ctich" + ) ], "1106-4760": [ - 21 + Layout( + id=21, + comment="VIA VT1705 ECS H81H3-M4 (1.0A) by Andres ZeroCross" + ) ], "1106-8446": [ - 3, - 33, - 65 + Layout( + id=3, + comment="Mirone - VIA VT1802" + ), + Layout( + id=33, + comment="ChalesYu - VIA VT1802" + ), + Layout( + id=65, + comment="VIA VT1802 for hasee k650d" + ) ], "1106-0441": [ - 5, - 7, - 9, - 13 + Layout( + id=5, + comment="Mirone - VIA VT2021" + ), + Layout( + id=7, + comment="Mirone - VIA VT2021" + ), + Layout( + id=9, + comment="SonicBSV - VIA VT2020/2021" + ), + Layout( + id=13, + comment="Enrico - GA-Z77X-D3Hrev1.0 - VIA VT2020/2021" + ) ] -} \ No newline at end of file +} + +for codec_name, codec_data in data.items(): + recommend_author = ("Mirone", "InsanelyDeepak", "Toleda", "DalianSky") + recommend_layouts = list(layout for layout in codec_data if u.contains_any(recommend_author, layout.comment)) + print("{}: {}".format(codec_name, recommend_layouts or codec_data)) \ No newline at end of file diff --git a/Scripts/config_prodigy.py b/Scripts/config_prodigy.py index 81f1715..90c83ef 100644 --- a/Scripts/config_prodigy.py +++ b/Scripts/config_prodigy.py @@ -421,7 +421,9 @@ class ConfigProdigy: if hardware_report.get("Sound"): codec_id = list(hardware_report.get("Sound").items())[0][-1].get("Device ID") if codec_id in codec_layouts.data: - boot_args.append("alcid={}".format(random.choice(codec_layouts.data.get(codec_id)))) + recommended_authors = ("Mirone", "InsanelyDeepak", "Toleda", "DalianSky") + recommended_layouts = [layout for layout in codec_layouts.data.get(codec_id) if self.utils.contains_any(recommended_authors, layout.comment) or hardware_report.get("Motherboard").get("Name").split(" ")[0].lower() in layout.comment.lower()] + boot_args.append("alcid={}".format(random.choice((recommended_layouts or codec_layouts.data.get(codec_id))).id)) elif kext.name == "VoodooI2C": boot_args.append("-vi2c-force-polling") elif kext.name == "CpuTopologyRebuild":