]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
USB-Audio: Add support of HyperX SoloCast (USB ID 03f0:0b8b)
authorserhii.n <serhii.n@thescimus.com>
Thu, 10 Apr 2025 21:07:59 +0000 (00:07 +0300)
committerJaroslav Kysela <perex@perex.cz>
Mon, 14 Apr 2025 08:24:38 +0000 (10:24 +0200)
Support of
- volume control
- un/mute control

PS: About un/mute control - only from PC to Mic, vise versa does not work - like when you
un/mute Mic on PC it works as expected (even LED show actual status) but when you click
button on Mic side it does not reflect on PC side.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/545
Signed-off-by: "serhii.n" <serhii.n@thescimus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/HyperX/SoloCast-HiFi.conf [new file with mode: 0644]
ucm2/USB-Audio/HyperX/SoloCast.conf [new file with mode: 0644]
ucm2/USB-Audio/USB-Audio.conf

diff --git a/ucm2/USB-Audio/HyperX/SoloCast-HiFi.conf b/ucm2/USB-Audio/HyperX/SoloCast-HiFi.conf
new file mode 100644 (file)
index 0000000..ee7c73c
--- /dev/null
@@ -0,0 +1,18 @@
+SectionDevice."Mic" {
+       Comment "HyperX SoloCast Mic Input"
+
+       EnableSequence [
+               cset "name='Microphone Capture Switch' on"
+       ]
+
+       DisableSequence [
+               cset "name='Microphone Capture Switch' off"
+       ]
+
+       Value {
+               CapturePCM "hw:${CardId}"
+               CaptureMixerElem "Microphone"
+               CaptureVolume "Microphone Capture Volume"
+               CaptureSwitch "Microphone Capture Switch"
+       }
+}
diff --git a/ucm2/USB-Audio/HyperX/SoloCast.conf b/ucm2/USB-Audio/HyperX/SoloCast.conf
new file mode 100644 (file)
index 0000000..4bb7cd2
--- /dev/null
@@ -0,0 +1,5 @@
+Comment "HyperX SoloCast"
+SectionUseCase."HiFi" {
+       File "/USB-Audio/HyperX/SoloCast-HiFi.conf"
+       Comment "HyperX SoloCast Default"
+}
index c395d8765740490d16ab0098efc65acbff92d734..fe2cd4675272851d8ebe514a7675967b7f5ebbfb 100644 (file)
@@ -112,6 +112,15 @@ If.hp_only {
        }
 }
 
+If.hyperx-solocast {
+       Condition {
+               Type String
+               Haystack "${CardComponents}"
+               Needle "USB03f0:0b8b"
+       }
+       True.Define.ProfileName "HyperX/SoloCast"
+}
+
 If.gigabyte-aorus-main {
        Condition {
                Type String