From: Jaroslav Kysela Date: Thu, 14 Jan 2021 10:03:56 +0000 (+0100) Subject: ucm2: add initial configuration for TRX40 Gigabyte Aorus Master Audio X-Git-Tag: v1.2.5~65 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=09e5271401480297c2c9c0b753df9705123a1af1;p=alsa-ucm-conf.git ucm2: add initial configuration for TRX40 Gigabyte Aorus Master Audio BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/25 Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/USB-Audio/Gigabyte-Aorus-Master-Front-Headphone.conf b/ucm2/USB-Audio/Gigabyte-Aorus-Master-Front-Headphone.conf new file mode 120000 index 0000000..1376437 --- /dev/null +++ b/ucm2/USB-Audio/Gigabyte-Aorus-Master-Front-Headphone.conf @@ -0,0 +1 @@ +../module/lib/linked.conf \ No newline at end of file diff --git a/ucm2/USB-Audio/Gigabyte-Aorus-Master-Main-Audio-HiFi.conf b/ucm2/USB-Audio/Gigabyte-Aorus-Master-Main-Audio-HiFi.conf new file mode 100644 index 0000000..5c24165 --- /dev/null +++ b/ucm2/USB-Audio/Gigabyte-Aorus-Master-Main-Audio-HiFi.conf @@ -0,0 +1,61 @@ +Define.SecondaryCardId "$${CardIdByName:Aorus Master Front Headphone}" + +SectionDevice."Speaker" { + Comment "Speakers" + Value { + PlaybackChannels 8 + PlaybackPriority 200 + PlaybackPCM "hw:${CardId}" + JackControl "Line Out Jack" + PlaybackMixerElem "Line Out" + } +} + +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 { + PlaybackPriority 100 + PlaybackPCM "hw:${CardId},1" + # PlaybackMixerElem "IEC958" + } +} + +SectionDevice."Line" { + Comment "Line In" + Value { + CapturePriority 100 + CapturePCM "hw:${CardId}" + JackControl "Line Jack" + CaptureMixerElem "Line" + } +} + +SectionDevice."Mic1" { + Comment "Microphone" + Value { + CapturePriority 200 + CapturePCM "hw:${CardId},1" + JackControl "Mic Jack" + CaptureMixerElem "Mic" + } +} + +SectionDevice."Mic2" { + Comment "Front Microphone" + Value { + CapturePriority 300 + CapturePCM "hw:${CardId},2" + JackControl "Front Mic Jack" + CaptureMixerElem "Front Mic" + } +} diff --git a/ucm2/USB-Audio/Gigabyte-Aorus-Master-Main-Audio.conf b/ucm2/USB-Audio/Gigabyte-Aorus-Master-Main-Audio.conf new file mode 100644 index 0000000..656b989 --- /dev/null +++ b/ucm2/USB-Audio/Gigabyte-Aorus-Master-Main-Audio.conf @@ -0,0 +1,6 @@ +Syntax 3 +Comment "Gigabyte Aorus Integrated Audio" +SectionUseCase."HiFi" { + File "Gigabyte-Aorus-Master-Main-Audio-HiFi.conf" + Comment "Default Alsa Profile" +}