S15 supports:
- 2 speakers.
- 2 dmics
- headset with mic.
This patch adds support to all these, however only speakers, dmic and
headset playback is tested.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/570
Signed-off-by: binarycraft007 <elliot.huang.signed@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Add support for Toradex SMARC Development board, using the WM8904 audio
codec.
This is a carrier board for the Toradex SMARC family, where any SMARC
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/562
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
devices
A recent change renamed the Line-56 and Line-78 devices but failed to
update the conflicting device lists.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/563
Fixes: ea7a065a7b ("ucm: fix SectionDevice identifiers")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
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/563
Fixes: ea7a065a7b ("ucm: fix SectionDevice identifiers")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
A recent change renamed the internal microphone devices but failed to
update the headset jack hw mute properties that are still using the old
names.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/563
Fixes: ea7a065a7b ("ucm: fix SectionDevice identifiers")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
A recent change renamed the internal microphones device from "DMic01" to
"Mic", but the latter name is already used by the headset microphone so
this breaks the internal microphones on the Lenovo ThinkPad X13s.
Rename the headset microphone device so that the names are unique and
fix up the jack hw mute property which is still using the old name.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/563
Fixes: ea7a065a7b ("ucm: fix SectionDevice identifiers")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2 speakers, 2 dmics, combo jack, just like the T14s - reuse its
configuration
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/546
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
The Surface Laptop 7 only says "Microsoft Corporation" and "Surface"
in the board_vendor and product_family fields respectively. Add another
field to match on.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/546
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
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>
Use similar config as the BridgeCast v2 as it has the same outputs and it worked in my test.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/536
Signed-off-by: Simon99de <108487311+Simon99de@users.noreply.github.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Hardware volume control in cs42l43 can go up to +31.5dB which can
cause audio degradation. For best results, limit hardware volume to 0dB.
The application may request >0dB mixer volume controls using
'@OutMix>0dB' variable passed to snd_use_case_mgr_open().
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/540
Link: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4622
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
The file path must be given as absolut and not relative, otherwise the
dsp.conf file will not be found:
$ alsaucm dump text
ALSA lib utils.c:364:(uc_mgr_config_load_into) could not open configuration file /usr/share/alsa/ucm2/conf.d/sof-soundwire/../Intel/sof-hda-dsp/dsp.conf
ALSA lib parser.c:78:(uc_mgr_config_load_file) error: failed to open file /usr/share/alsa/ucm2/conf.d/sof-soundwire/../Intel/sof-hda-dsp/dsp.conf: -2
ALSA lib main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
alsaucm: error failed to open sound card hw:0: No such file or directory
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/542
Fixes: c9d1f7eafa ("UCM2: sof-soundwire: Enable DRC and equalizers for")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Systems may have up to 8 CS35L56 amplifiers, and each amplifier should
be attached to the speaker LED. A mapped Playback switch is required to
ensure all amps are muted and unmute appropriately.
Link: https://lore.kernel.org/alsa-devel/20250331093440.9412-1-sbinding@opensource.cirrus.com/
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Both devices are able to be used together (Headphones out + Headphones mic).
Fixes: 19fc5b9 ("ucm2: HDA: HiFi-analog/mic: Refactor the analog mic discovery")
Link: https://github.com/alsa-project/alsa-ucm-conf/pull/526
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
There may be different Jack controls when hardware has
different physical audio jacks or improved sensing mechanism.
Fixes: 19fc5b9 ("ucm2: HDA: HiFi-analog/mic: Refactor the analog mic discovery")
Link: https://github.com/alsa-project/alsa-ucm-conf/pull/526
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Headphone Jack may be for playback only.
Example Jack controls for ALC287 with sof-hda-dsp:
iface=CARD,name='Headphone Jack' # reflects for Headphones w/o mic
iface=CARD,name='Mic Jack' # reflects to Headphones with mic
Fixes: 19fc5b9 ("ucm2: HDA: HiFi-analog/mic: Refactor the analog mic discovery")
Link: https://github.com/alsa-project/alsa-ucm-conf/pull/526
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
The original commit referenced an incorrect laptop model in the
matching code. Use the correct model. This introduces no
functional changes.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/532
Fixes: e17dde6fd1 ("ucm2: Qualcomm: add Lenovo T14s support")
Signed-off-by: Christopher Obbard <christopher.obbard@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This patch defines 'rt1318-1 DAC' as PlaybackMixerElem when equipped with only one amp
and defines a remapped one 'rt1318 DAC Playback Switch' when using two amps.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/525
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
T14s supports:
- 2 speakers.
- 2 dmics
- headset with mic.
This patch adds support to all these, however only speakers, dmic and
headset playback is tested.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/522
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Add support for MT8390 EVK with the SOF enabled. The only differences
compared to the UCM with SOF disabled is the device number for playback
and capture, which uses the PCMs for the SOF instead, and the number of
channels for capture, which is stereo rather than mono.
Define those parameters as variables for each case, with and without
SOF, and move the common intialization to an init.conf, so the UCM can
be shared by both.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/513
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Add support for the Toradex Verdin Development carrier board, using the
NAU8822 audio codec.
This is a carrier board for the Verdin family, where any Verdin SoM
(NXP, TI...) 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/448
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Add support for the Toradex Verdin Dahlia carrier board, using the WM8904
audio codec.
This is a carrier board for the Verdin family, where any Verdin SoM
(NXP, TI...) 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/448
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Add support for the Toradex Colibri iMX6 system on module, using the
SGTL5000 audio codec.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/448
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Add support for the Toradex Colibri iMX7 system on module, using the
SGTL5000 audio codec.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/448
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Add support for the Toradex Colibri iMX8X system on module, using the
SGTL5000 audio codec.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/448
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Add support for the Toradex Apalis iMX6 system on module, using the
SGTL5000 audio codec.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/448
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Add support for the Toradex Apalis iMX8 system on module, using the
SGTL5000 audio codec.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/448
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>