]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
USB-Audio: Update quirk for Aorus Pro WiFi Rev 1.2
author13r0ck <brock@szu.email>
Wed, 30 Nov 2022 03:20:57 +0000 (20:20 -0700)
committerJaroslav Kysela <perex@perex.cz>
Sun, 29 Jan 2023 16:46:01 +0000 (17:46 +0100)
The line in was using the wrong device.
This model is a thelio-major-r2.1 for system76.

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/245
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/Realtek/ALC1220-VB-Desktop-HiFi.conf

index 35cd41d6ec6b4e51c4a9693274b1fc32a2a2aace..d45f521d4c576ad4327bf9581626974ed0774d9e 100644 (file)
@@ -1,3 +1,4 @@
+Define.LineDev 0
 Define.Mic1Dev 1
 Define.Mic2Dev 2
 
@@ -8,8 +9,9 @@ If.trx4-aorus-wifi-rev-1-2 {
                Needle "USB0414:a00d"
        }
        True.Define {
+               LineDev 1
                Mic1Dev 2
-               Mic2Dev 1
+               Mic2Dev 0
        }
 }
 
@@ -47,7 +49,7 @@ SectionDevice."Line" {
        Comment "Line In"
        Value {
                CapturePriority 100
-               CapturePCM "hw:${CardId}"
+               CapturePCM "hw:${CardId},${var:LineDev}"
                JackControl "Line Jack"
                CaptureMixerElem "Line"
        }