- 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>
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>
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>
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>
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>
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>
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>
The find-device may be NULL, so use double $$ to reference
the variable (skip NULL check).
Fixes: 27dc3ee ("USB-Audio: ALC4080 - detect S/PDIF device using find-pcm")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
The regex part was omitted.
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/692
Fixes: e5739ad ("USB-Audio: ALC4080 add USB ID 0b05:1a7a (ASUS ROG Strix X670E-I Gaming WiFi)")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>