Commit graph

1,047 commits

Author SHA1 Message Date
Jaroslav Kysela
d10fcd2dca github: workflow: move things to separate alsa-project/github-workflows repo
It is a preparation to be reused for other ALSA repos.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-16 15:04:44 +02:00
derek fang
70d2463dc3 sof-soundwire: add rt722 into hs_init
Load rt722/init.conf while using rt722 headset function only
instead of multicodec.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/743
Signed-off-by: derek fang <derek.fang@realtek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-16 14:00:59 +02:00
derek fang
97d1f76ca4 sof-soundwire: rt1320: add rt1320 dmic config
This patch adds configs for rt1320 dmic function.
It defines the MicMixerElem, a remapped control for the two rt1320-dmic
case, and also attaches rt1320 FU capture controls to the mic LED.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/743
Signed-off-by: derek fang <derek.fang@realtek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-16 14:00:59 +02:00
derek fang
ee39f9ec0c sof-soundwire: rt1320: add playback control switch
This patch defines 'rt1320 OT23' as PlaybackMixerElem and
a remapped one 'rt1320 OT23 Playback Switch' when using one
or two amps.

And also attach rt1320 OT23 controls to speaker LED.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/743
Signed-off-by: derek fang <derek.fang@realtek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-16 14:00:59 +02:00
derek fang
196b79b041 sof-soundwire: add companion amp config with rt721 and rt1320
Support the machines with companion amps with rt721 and rt1320.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/744/
Signed-off-by: derek fang <derek.fang@realtek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-16 13:55:29 +02:00
Sheetal
b43bb2e3f0 tegra-hda: Add HDMI/DP outputs 2-4 for Tegra186+
Declare the maximum four HDMI/DisplayPort outputs (PCM devices 3, 7,
8 and 9) so PipeWire can see every available port. The HDMI macro's
built-in ControlExists check ensures devices are only created when the
corresponding jack control exists, so SoCs with fewer outputs are
unaffected.

Link: https://lore.kernel.org/alsa-devel/20260416090600.2237882-1-sheetal@nvidia.com/
Signed-off-by: Sheetal <sheetal@nvidia.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-16 13:46:14 +02:00
Jaroslav Kysela
bf185325e9 ucm2: conf.d: fix h616-audio-codec symlink
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-10 18:12:37 +02:00
Jaroslav Kysela
d12ed2c85e ucm2: conf.d: fix QCS6490-RB3Gen2 symlink
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-10 18:11:09 +02:00
Jaroslav Kysela
ae7637a660 ucm2: conf.d: fix qcm6490-idp-snd-card symlink
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-10 18:09:30 +02:00
Jaroslav Kysela
b138dbdaec ucm2: conf.d: fix Kaanapali-MTP.conf symlink
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-10 18:05:12 +02:00
Aelin Reidel
d92d8fe9af ucm2: Qualcomm: Create missing symlink for Radxa Dragon Q6A
The long card name set by the Linux kernel is based on the DMI information
for the vendor name, product name and board revision. Create a symlink so
that the configuration is correctly picked up by ALSA if DMI is enabled
in the kernel.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/736
Signed-off-by: Aelin Reidel <aelin@mainlining.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-10 18:00:22 +02:00
Maciej Strozek
7585f5e967 ucm2: sof-soundwire: cs42l43: support UAJ-less configuration
In some cases cs42l43/cs42l43b devices can be set up without UAJ. In
this case, guard the ConflictingDevices behind a check for a cs42l43's
headset's presence so the UCM can still load even if the headset is
missing.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/738
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-10 17:30:30 +02:00
mike
40002e48ee ucm2: Focusrite Scarlett 18i20 Gen 1 — fix USB ID regex (1235:800c)
- fix case mismatch in device matching regex

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/739
Signed-off-by: geomtn <mike@geomtnfoci.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-10 17:16:59 +02:00
Jaroslav Kysela
20b5b714f0 github: workflow: another permissions fix - inherit
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-01 16:49:12 +02:00
Jaroslav Kysela
0c36a118e5 USB-Audio: fixes for M-Audio Fast Track Ultra
- use new USB-Audio.conf macros
- follow UCM device numbering rule (continuous - use labeling)

Fixes: 27d3b45 ("Add UCM2 configuration for M-Audio Fast Track Ultra")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-01 16:41:32 +02:00
Edward Matijevic
133938cae1 USB-Audio: Add Audient EVO4
This is a 4in/4out device with 1 analog stereo out and 2 analog mono in.
The hardware mixed loopback interface takes up the remaining 4 channels.
Without this UCM the device is configured as 4.0 surround for in and out.
I copied the Windows config except for the stereo mic mix.

Modifying hardware volumes/gain other than main output seems to require
a driver or external software similar to the one found on github at the
repo github.com/vijay-prema/audient-evo-linux-tools

Closes: #303

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/708
Signed-off-by: Edward Matijevic <motolav@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-01 16:34:03 +02:00
Jaroslav Kysela
c08e4b6dff github: workflow: another permissions fix for pr-validation
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-01 16:33:28 +02:00
Jaroslav Kysela
cde4847ef9 github: workflow: another permissions fix (token)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-01 16:26:20 +02:00
Valentin David
27d3b4564d Add UCM2 configuration for M-Audio Fast Track Ultra
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/672
Signed-off-by: Valentin David <me@valentindavid.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-04-01 16:12:08 +02:00
Hongyang Zhao
95bd0c32f3 ucm2: Qualcomm: add QCS6490 Thundercomm RubikPi3 HiFi config
Add UCM2 configs for the QCS6490 Thundercomm RubikPi3 Board to handle:
- 3.5mm headset playback/capture
- HDMI playback

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/735
Signed-off-by: Hongyang Zhao <hongyang.zhao@thundersoft.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-03-31 10:05:36 +02:00
Jaroslav Kysela
50176d7662 github: workflow: try to set permissions explicitly
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-03-31 09:36:34 +02:00
Jaroslav Kysela
7aa83f8585 github: accept any Signed-off-by tag (case insensitive)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-03-31 09:31:42 +02:00
Federico Lombardo
2132426f65 sof-hda-dsp: add workaround for speaker LED on MSI laptops
Fixes: Master Playback Switch doesn't get attached to the Mute LED
       on these two platforms. This change adresses this issue.

Also fixes 0915b27a which accidentally broke dell workaround.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/716
Fixes: 0915b27 ("ucm2: use new SetLED macro to hide the implementation details")
Signed-off-by: Federico Lombardo <lombardo.federico.lf@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-03-30 18:40:58 +02:00
Jaroslav Kysela
67998e199b github: add GitHub label automation and SOB validation workflows
This commit introduces a complete automation system for GitHub repositories
that provides automatic label-based commenting and Signed-off-by validation.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-03-30 18:38:24 +02:00
Maciej Strozek
67c5adadda ucm2: sof-soundwire: Add support for CS42L43B variant
From UCM point of view CS42L43B codec adds 2 new decimators and removes
a control to change Decimator 1 mode from base CS42L43. Thus reuse
CS42L43 files, and guard the CS42L43B additions behind a condition
that the new Decimator controls exist.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/665
Link: https://lore.kernel.org/all/20260306152829.3130530-1-mstrozek@opensource.cirrus.com/
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-03-27 17:44:45 +01:00
Svyatoslav Ryhel
27f8f2edbe ucm2: tegra: wm8903: fix headphones conflicting device
A recent change renames the speaker device but failed to update the
headphones conflicting device list.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/707
Fixes: ea7a065 ("ucm: fix SectionDevice identifiers")
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-03-27 15:38:27 +01:00
Richard Fitzgerald
73bf7b6d6c ucm2: sof-soundwire: Add support for Cirrus Logic CS47L47
Add the sof-soundwire and codec files for the CS47L47.

This is a SDCA codec with headphone/headset and digital mic.
The configuration is based on the CS42L45 files.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/709
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-03-27 15:36:22 +01:00
Mohammad Rafi Shaik
41cfa5498a Qualcomm: glymur: Add GLYMUR CRD HiFi config
Add UCM2 configs for the Qualcomm GLYMUR CRD Board.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/713
Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-03-27 15:32:50 +01:00
pir0c0pter0
f8cd033c76 ucm2: Qualcomm: add ASUS Vivobook 14 (X1407QA) to x1e80100 DMI match
The ASUS Vivobook 14 X1407QA (Snapdragon X X1-26-100, x1p42100 'Purwa' die)
reports DMI product_family as 'ASUS Vivobook 14' but was not matched by the
existing regex, leaving audio non-functional.

Hardware: WCD9385 codec + 2x WSA884x speakers via SoundWire + ADSP Q6APM,
identical audio topology to the other ASUS Snapdragon X devices already matched.

DMI strings:
  board_vendor:   ASUSTeK COMPUTER INC.
  product_family: ASUS Vivobook 14
  board_name:     X1407QA
  product_name:   ASUS Vivobook 14 X1407QA_X1407QA

Tested on Fedora 44 aarch64, kernel 6.12+.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/725
Signed-off-by: pir0c0pter0 <pir0c0pter0000@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-03-27 14:59:48 +01:00
Malte Linke
40d4bbee76 Add multitrack mappings for 1.7.3 firmware
Add split pcm devices for 1.7.3 multitrack mappings
Fix typos in configuration comments

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/729
Signed-off-by: Malte Linke <me@parzival.space>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-03-27 14:59:01 +01:00
Le Qi
fe07c17c05 ucm2: da7213: Fix mic capture in HeadphoneMic2 use case
Set Mic 2 Volume to index 4 (+18 dB) and Mixin PGA Volume to index
10 (+10.5 dB) for sufficient microphone capture gain.

Remove headphone output controls (Headphone Volume, Headphone Switch,
Mixout DAC switches) as these belong to HeadphoneEnableSeq.conf and
should not be duplicated in the capture sequence.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/730
Signed-off-by: Le Qi <le.qi@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-03-27 14:57:19 +01:00
Derek Keith
17b48b1aa7 USB-Audio: Scarlett 18i20 fix ADAT capture channel count for Gen 1/2
The Scarlett 18i20 Gen 1 (0x800c) and Gen 2 (0x8201) have 18 capture
channels, but the ADAT Optical Input device ("Direct 2") unconditionally
maps 8 channels (indices 12-19). Channel indices 18 and 19 exceed the
available capture channels, causing WirePlumber/PipeWire to reject the
UCM profile:

  spa.alsa: Error in ALSA UCM profile for _ucm0003.hw:USB,0 (Direct2):
    CaptureChannel6=18 >= CaptureChannels=18

Conditionally size the ADAT capture device based on DirectCaptureChannels:
- Gen 1/2 (18 channels): 6-channel ADAT (indices 12-17)
- Gen 3+ (20+ channels): 8-channel ADAT (indices 12-19)

Tested on a Scarlett 18i20 Gen 2 (USB1235:8201) running PipeWire 1.4
with WirePlumber on CachyOS.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/731
Signed-off-by: Derek Keith <derek@codeurge.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-03-27 14:56:44 +01:00
Chaitanya Krishna.J
fb35cbd82a ucm2: sof-soundwire: add ACP DMIC configuration
add acp-dmic.conf to the sof-soundwire configuration tree to enable
the ACP digital microphone (DMIC) endpoint for AMD SoundWire platforms.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/732
Suggested-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Chaitanya Krishna.J <ChaitanyaKrishna.J@amd.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-03-27 14:54:47 +01:00
Jaroslav Kysela
fbee7d0765 USB-Audio: ALC4080 add USBID 0db0:82c4 (MSI MEG Z790 Godlike Max)
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/690
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-21 22:33:50 +01:00
Jaroslav Kysela
9289fae4e9 USB-Audio: ALC4080 add USB ID 0db0:95bb (MSI MEG Z690 Unify)
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/706
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-19 17:21:04 +01:00
Malte Linke (parzival-space)
b1bd31f85c USB-Audio: Add RODECaster Pro II
Use tabs instead of spaces
Reduce files
Include simple configs using new Synthax 8
Remove duplicated Comment assignment
Update Priority values
Fix regex pattern

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/656
Signed-off-by: "Malte Linke (parzival-space)" <me@parzival.space>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-16 10:55:23 +01:00
Val Packett
6174717534 ucm2: codecs: lpass-wsa-macro: disable WSA_COMP
The compander does not seem to work correctly on many of the platforms
currently in use with upstream software. Particularly some very annoying
"boominess on attacks" is heard on X Elite laptops when it's on.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/670
Signed-off-by: Val Packett <val@packett.cool>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-16 10:53:56 +01:00
Val Packett
8e6acab2e5 ucm2: codecs: lpass-rx-macro: disable RX_COMP
The compander does not seem to work correctly on many of the platforms
currently in use with upstream software. Strange effects such as quiet
sounds being panned to the left channel and some "boominess on attacks"
can be heard when it's on.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/670
Signed-off-by: Val Packett <val@packett.cool>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-16 10:53:56 +01:00
Val Packett
3cf9df3d87 ucm2: codecs: wcd938x: add enable sequence with CLS_AB_LOHIFI for laptops
Laptops have A/B class amps and using H class mode results in distortion.
Create a specific sequence variant for them.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/670
Signed-off-by: Val Packett <val@packett.cool>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-16 10:53:56 +01:00
Val Packett
837f11640b ucm2: codecs: wcd939x: Use CLS_H_LOHIFI instead of CLS_H_ULP by default
The ULP mode is too weak to drive headphones, causing distortion above
30-40% volume. Switch to LOHIFI as a more reasonable default.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/670
Signed-off-by: Val Packett <val@packett.cool>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-16 10:53:56 +01:00
Xilin Wu
33a372e704 ucm2: codecs: wcd938x: Use CLS_H_LOHIFI instead of CLS_H_ULP by default
LoHIFI mode makes the headphone audio quality much better compared with
the "Ultra Low power" mode.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/670
Signed-off-by: Xilin Wu <sophon@radxa.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-16 10:53:56 +01:00
Val Packett
2a2349f0e2 ucm2: codecs: wcd937x: Use CLS_H_LOHIFI instead of CLS_H_ULP by default
The ULP mode is too weak to drive headphones, causing distortion above
30-40% volume. Switch to LOHIFI as a more reasonable default.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/670
Signed-off-by: Val Packett <val@packett.cool>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-16 10:53:56 +01:00
Val Packett
c4c0d61ba9 ucm2: codecs: wcd934x: Use CLS_H_LOHIFI instead of CLS_H_ULP by default
The ULP mode is too weak to drive headphones, causing distortion above
30-40% volume. Switch to LOHIFI as a more reasonable default.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/670
Signed-off-by: Val Packett <val@packett.cool>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-16 10:53:56 +01:00
Mohammad Rafi Shaik
5c7b40c96b ucm2: Qualcomm: qcs8300: Remove Fixed channel setting for monaco-evk
Remove Fixed channel setting for monaco-evk to support stereo
capture.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/694
Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-16 10:49:26 +01:00
Mohammad Rafi Shaik
ba4126955f ucm2: Qualcomm: sa8775p: Remove Fixed channel setting for lemans-evk
Remove Fixed channel setting for lemans-evk to support stereo
capture.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/694
Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-16 10:49:26 +01:00
Le Qi
e513b19d22 Qualcomm: qcs615: Remove JackControl from TALOS EVK HiFi config
The EVK board does not support headset or jack detection.
Keeping JackControl entries prevents PipeWire (wpctl) from
exposing sinks and sources correctly.

Remove JackControl from Headphones and Headset devices so
PipeWire can enumerate playback and capture nodes normally.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/704
Signed-off-by: Le Qi <le.qi@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-16 10:44:32 +01:00
Roman Kuzmitskii
659cf19a18 USB-Audio: Motu: M6-HiFi.conf - m6 has only 4 outputs, not 6
We have configuration where it specifies 6 outputs for
motu m6 while devices has only 4. Adjust accordingly.

Link: https://github.com/alsa-project/alsa-ucm-conf/issues/700
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/701
Signed-off-by: Roman Kuzmitskii <roman@damex.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-16 10:43:14 +01:00
Jaroslav Kysela
506cddbbfd common: split.conf - simplify macro call arguments
The main macros are more readable now.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-04 18:49:44 +01:00
Jaroslav Kysela
a77265313c common: split.conf - put macro arguments to one string
Make config a little bit shorter.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-04 13:40:31 +01:00
Jaroslav Kysela
4b0668f670 USB-Audio: ALC4080 add USB ID 0db0:19a2 (MSI MAG B850 Tomahawk Wifi)
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/695
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-01-29 16:33:02 +01:00