Align UCM with the topology change that added dedicated multimedia
frontends for DisplayPort (commit c8d6762 "ASoC: qcom:
x1e80100-LENOVO-Thinkpad-T14s: add dedicated multimedia frontend for
DisplayPort").
- SectionVerb EnableSequence: enable DISPLAY_PORT_RX_0/1/2 on
MultiMedia5/6/7 (remove the old MultiMedia1 "0" settings).
- Headphones: disable the DP mixers on the new dedicated streams.
- HDMI0/1/2 devices: route each DISPLAY_PORT_RX_* to its own
MultiMedia frontend, use dedicated PlaybackPCM "hw:${CardId},4/5/6",
add explicit PlaybackChannels 2, and keep the existing JackControl.
This gives independent DP audio streams and matches the new topology.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/754
Signed-off-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Arduino VENTUNO has 1xHDMI, 1xDP, Headset(Mic and speakers), LineOut and
EarOut connectors.
Add support for everything except DP, as it is not fully enabled yet.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/751
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Rename the ucm2 conf for Qualcomm qcm6490-idp.
qcm6490-idp-snd-card.conf -> QCM6490-IDP.conf.
Removed snd-card tags from conf, as name did not
correctly match the actual sound card name.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/746
Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Fix internal mic mute handling by selecting Mic1 to mute the
internal mic when the headphone microphone is enabled.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/746
Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
USB ID 0644:8070 TEAC Corp. US-2x2HR
Line1/Mic1/Mic2 comments mostly match the device labels
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/693
Signed-off-by: Jake Fröberg <jfroberg@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
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>
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>
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>
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>
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>
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>
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>
- 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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>