Add split configs for the Focusrite Vocaster One and Two interfaces.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/666
Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This is a USB receiver for two wireless microphones.
Each microphone appears on a different channel.
By default these would be detected as left and right.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/669
Signed-off-by: Kevin Cox <kevincox@kevincox.ca>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Enable and disable the ADC switch in HeadphoneMic2EnableSeq.conf and
HeadphoneMic2DisableSeq.conf to ensure headset microphone audio works
properly on Talos EVK with DA7213 codec.
Without this change, the headset mic path remains muted and capture
does not function.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/682
Fixes: 5ccdd19 ("Qualcomm: qcs615: Add TALOS EVK HiFi config")
Signed-off-by: Le Qi <le.qi@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
It seems that there are two variants with different capture
channel count. Try to identify them using USB bcdDevice value.
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/676
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Wine games expecting 4 channel playback stream to handle
correctly audio and haptic channel arrangment.
Add direct use case and make it as first until
user selects another profile which may cause failure
for wine games.
For a permanent solution, wine should combine 4 channel
device from the sinks created using the channel split
mechanism or add pipewire protocol. In later case, the
the straight hardware device output ports should be used.
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/677
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Lenovo Yoga Air 14s laptop is basically a Slim 7 for China, and they
share the same audio configuration.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/667
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Add a new target with extended regex string. Device is mostly
compatible with Yoga Slim7x, however features only x2 not x3 DP audio
outputs (USB Type-C). As upcoming DP audio addition will require
config separation, create a dedicated config right away.
x4 speakers, x2 DMICs, x2 DP, no headphone jack/WCD codec.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/587
Signed-off-by: Aleksandrs Vinarskis <alex@vinarskis.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
In most cases its not the config name (device model name) that matters
but the hardware variation of that model. To make currently supported
devices easier to re-use, document the layout. While most configs do
not yet have DP/HDMI defined, it will matter once these are getting
added.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/587
Signed-off-by: Aleksandrs Vinarskis <alex@vinarskis.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
The hpvol assignment should depend on speaker/line out detection.
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/685
Fixes: 4ead6a9 ("HDA-analog: Use phantom jacks to determine the device for single output")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
There is a case when only one output is present (e.g. internal
speakers or hp output). In this case, the driver offers only
master volume controls.
Add also more related cleanups for the line out and SOF HDA configs.
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/685
Fixes: c8b5541 ("ucm2: HDA: Headphone output may be optional")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Since 1.2.15, there is a better way to see the variable traces, e.g.:
LIBASOUND_DEBUG=trace alsaucm -c hw:sofhdadsp dump text
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
It appears that there are devices with just switches (no
volume controls). Test presence of 'Headphone Playback Switch'
control.
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=2428561
Fixes: c8b5541 ("ucm2: HDA: Headphone output may be optional")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Use bcdDevice number (using sysfs) to detect the right
channel count. Information is taken from the pull request
comments bellow.
Link: https://github.com/alsa-project/alsa-ucm-conf/pull/660
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
There was thinko - right "any character" match is '.' not '?'.
Fixes: 2ecc938 ("USB-Audio: Steinberg UR22C - fix capture channels for older firmware")
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/547
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Check for 'Headphone Playback Volume' or 'Headphone+LO Playback Volume'
controls. If they not present, don't create 'Headphone' UCM device.
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/673
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
cs42l45 configs has DisableSequences elements copied over from cs42l43
configuration that are no longer needed, delete them.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/671
Fixes: f47b9418c8 ("ucm2: soundwire: cs42l45: Add support for CS42L45 codec")
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
cs42l43's 'Headset Microphone' and 'Microphone' devices were both used
to control mic mute LED in the past, but this was changed [1] to only
allow the built-in microphones to control the LED. Thus clean up the
DisableSequences to remove the switching off that is no longer needed.
[1]: https://github.com/alsa-project/alsa-ucm-conf/blob/master/ucm2/common/ctl/led.conf
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/671
Fixes: e87dde51d6 ("sof-soundwire: Add basic support for cs42l43")
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Some SKUs don't have the internal mic, so the patch adds the condition to check
whether the SKU has the internal mic or not.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/657
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Ensure MultiCodec-based actions are only done when MultiCodec1 is not empty
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/658
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Add support for Toradex Aquila Development board, using the WM8904 audio
codec.
This is a carrier board for the Toradex Aquila family, where any Toradex
Aquila SoM can be connected to it, therefore this is being added to the
IO-Boards instead of a specific hardware vendor.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/641
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Add UCM2 profile for Audient iD14 MK2 (USB ID 2708:0008) audio interface
with 6 playback and 12 capture channels. The device requires S32_LE format
for proper operation.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/651
Signed-off-by: Volodymyr Kravchenko <volandevo@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Example variables:
MultiCodec1='rt713'
HeadsetCodec1='rt713-sdca'
Suggested-by: Shuming Fan <shumingf@realtek.com>
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/653
Fixes: d6a783d ("sof-soundwire: fix for -sdca variants for multi-codec")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Compounds starting with zero (and with continuous indexes)
are handled as array type. It means that they are appended
when they are parsed multiple times. Fix this.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>