From 12aa2feedb491ff83c7734bad7576eeeef19dbb3 Mon Sep 17 00:00:00 2001 From: 13r0ck Date: Fri, 29 Jul 2022 00:49:50 -0600 Subject: [PATCH] Fix rear audio jacks on Thelio Mega R1.1 The secondary card doesn't appear properly to alsa-ucm-conf. This is causing the whole config to fail. Removing that import causes the correct config to be loaded, thus working jacks. --- .../Gigabyte/Aorus-Master-Main-Audio-HiFi.conf | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/ucm2/USB-Audio/Gigabyte/Aorus-Master-Main-Audio-HiFi.conf b/ucm2/USB-Audio/Gigabyte/Aorus-Master-Main-Audio-HiFi.conf index 593787c8..d8c2477a 100644 --- a/ucm2/USB-Audio/Gigabyte/Aorus-Master-Main-Audio-HiFi.conf +++ b/ucm2/USB-Audio/Gigabyte/Aorus-Master-Main-Audio-HiFi.conf @@ -1,5 +1,3 @@ -Define.SecondaryCardId "$${find-card:field=name,return=id,regex='Aorus Master Front Headphone'" - SectionDevice."Speaker" { Comment "Speakers" Value { @@ -11,16 +9,6 @@ SectionDevice."Speaker" { } } -SectionDevice."Headphones" { - Comment "Front Headphones" - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${var:SecondaryCardId}" - JackCTL "hw:${var:SecondaryCardId}" - JackControl "Headphone - Output Jack" - } -} - SectionDevice."SPDIF" { Comment "S/PDIF Out" Value {