]> git.alsa-project.org Git - alsa-ucm-conf.git/log
alsa-ucm-conf.git
4 months agoRelease v1.2.14 reltest v1.2.14
Jaroslav Kysela [Mon, 14 Apr 2025 08:26:24 +0000 (10:26 +0200)]
Release v1.2.14

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 months agoUSB-Audio: Add support of HyperX SoloCast (USB ID 03f0:0b8b)
serhii.n [Thu, 10 Apr 2025 21:07:59 +0000 (00:07 +0300)]
USB-Audio: Add support of HyperX SoloCast (USB ID 03f0:0b8b)

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>
4 months agoucm2: Qualcomm: add Asus Zenbook A14
Aleksandrs Vinarskis [Wed, 9 Apr 2025 22:05:14 +0000 (00:05 +0200)]
ucm2: Qualcomm: add Asus Zenbook A14

Add a Regex string, seems compatible with Lenovo T14s
x2 speakers, x2 DMICs, x3 DP (x2 USB-C, x1 DP->HDMI), headphone jack

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/544
Signed-off-by: Aleksandrs Vinarskis <alex.vinarskis@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 months agoucm2: Qualcomm: add Lenovo ThinkBook 16 support
Jens Glathe [Tue, 8 Apr 2025 18:03:46 +0000 (20:03 +0200)]
ucm2: Qualcomm: add Lenovo ThinkBook 16 support

add a Regex string, seems compatible with Thinkpad T14s

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/543
Signed-off-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoucm2: Qualcomm: add HP Omnibook X14 support
Jens Glathe [Sat, 22 Mar 2025 20:15:50 +0000 (21:15 +0100)]
ucm2: Qualcomm: add HP Omnibook X14  support

assume same as T14s (2 speakers)

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/531
Signed-off-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoUSB-Audio: Add focusrite scarlett 18i20 lineup
ScarletRav3n [Sun, 30 Mar 2025 03:41:27 +0000 (23:41 -0400)]
USB-Audio: Add focusrite scarlett 18i20 lineup

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/539/
Signed-off-by: ScarletRav3n <scarletrav3n@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoUSB-Audio: Add Roland BridgeCast One
Simon99de [Thu, 27 Mar 2025 16:22:10 +0000 (17:22 +0100)]
USB-Audio: Add Roland BridgeCast One

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>
5 months agosof-soundwire: cs42l43: Switch mixer based on output volume
Maciej Strozek [Wed, 2 Apr 2025 14:48:35 +0000 (15:48 +0100)]
sof-soundwire: cs42l43: Switch mixer based on output volume

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>
5 months agoucm2: sof-soundwire: Correct include file path for dsp.conf
Peter Ujfalusi [Fri, 4 Apr 2025 08:02:39 +0000 (11:02 +0300)]
ucm2: sof-soundwire: Correct include file path for dsp.conf

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: c9d1f7eafa6c ("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>
5 months agoUSB-Audio: ALC4080 - add rear microphone support for 0414:a014 (Gigabyte Aorus Pro)
Jaroslav Kysela [Wed, 26 Mar 2025 14:54:42 +0000 (15:54 +0100)]
USB-Audio: ALC4080 - add rear microphone support for 0414:a014 (Gigabyte Aorus Pro)

0414:a014 Gigabyte B850I Aorus Pro (rev 1.0)

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/535
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/528
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agosof-soundwire: Add LED support for cs35l56 amplifiers
Stefan Binding [Mon, 31 Mar 2025 09:34:30 +0000 (10:34 +0100)]
sof-soundwire: Add LED support for cs35l56 amplifiers

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>
5 months agosof-soundwire: cs42l43: Drop headset mic from mic mute LED
Maciej Strozek [Fri, 28 Mar 2025 13:48:08 +0000 (13:48 +0000)]
sof-soundwire: cs42l43: Drop headset mic from mic mute LED

As per conversation in [1], let headsets be dropped from LED bindings.

[1]: https://github.com/alsa-project/alsa-ucm-conf/pull/512

Link: https://lore.kernel.org/alsa-devel/20250328134809.3008238-1-mstrozek@opensource.cirrus.com/
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoHDA: mics - don't create conflict link for Headphone Mic
Jaroslav Kysela [Fri, 28 Mar 2025 11:00:57 +0000 (12:00 +0100)]
HDA: mics - don't create conflict link for Headphone Mic

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>
5 months agoHDA: mics - improve the Jack selection
Jaroslav Kysela [Fri, 28 Mar 2025 10:48:07 +0000 (11:48 +0100)]
HDA: mics - improve the Jack selection

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>
5 months agoHDA: mics - prefer 'Mic Jack' instead 'Headphone Jack'
Jaroslav Kysela [Fri, 28 Mar 2025 07:48:40 +0000 (08:48 +0100)]
HDA: mics - prefer 'Mic Jack' instead 'Headphone Jack'

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>
5 months agoUSB-Audio: ALC4080 - add support for ASUS B850-I (USB ID 0b05:1be1)
austinthiel [Fri, 28 Mar 2025 04:17:32 +0000 (23:17 -0500)]
USB-Audio: ALC4080 - add support for ASUS B850-I (USB ID 0b05:1be1)

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/537
Signed-off-by: austinthiel <ajtio@pm.me>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agosof-hda-dsp: Use common HDA initialization from /HDA/init.conf
Jaroslav Kysela [Mon, 24 Mar 2025 16:27:48 +0000 (17:27 +0100)]
sof-hda-dsp: Use common HDA initialization from /HDA/init.conf

No functional changes.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoHDA: move led.conf include to more appropriate place
Jaroslav Kysela [Mon, 24 Mar 2025 16:24:52 +0000 (17:24 +0100)]
HDA: move led.conf include to more appropriate place

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoucm2: Qualcomm: fix typo in Lenovo T14s matching
Christopher Obbard [Mon, 24 Mar 2025 12:05:26 +0000 (12:05 +0000)]
ucm2: Qualcomm: fix typo in Lenovo T14s matching

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: e17dde6fd1c3 ("ucm2: Qualcomm: add Lenovo T14s support")
Signed-off-by: Christopher Obbard <christopher.obbard@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agosof-soundwire: rt1318: add playback control switch
Shuming Fan [Mon, 24 Mar 2025 06:43:44 +0000 (14:43 +0800)]
sof-soundwire: rt1318: add playback control switch

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>
5 months agoucm2: Qualcomm: add Lenovo Yoga Slim7x support
Srinivas Kandagatla [Fri, 14 Mar 2025 14:47:47 +0000 (14:47 +0000)]
ucm2: Qualcomm: add Lenovo Yoga Slim7x support

Yoga Slim 7x supports:
- 4 speakers
- 4 dmics
- Display ports

This patch adds support to Speaker and DMIC's for now.

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>
5 months agoucm2: Qualcomm: add Lenovo T14s support
Srinivas Kandagatla [Wed, 16 Oct 2024 13:24:09 +0000 (14:24 +0100)]
ucm2: Qualcomm: add Lenovo T14s support

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>
5 months agoucm2: MediaTek: mt8390-evk: Add support for SOF
Nícolas F. R. A. Prado [Tue, 25 Feb 2025 18:10:49 +0000 (15:10 -0300)]
ucm2: MediaTek: mt8390-evk: Add support for SOF

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>
5 months agoTorradex: replace spaces with tabs when appropriate
Jaroslav Kysela [Fri, 21 Mar 2025 18:10:48 +0000 (19:10 +0100)]
Torradex: replace spaces with tabs when appropriate

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoTorradex: fix wrong device names Headphone/Microphone
Jaroslav Kysela [Fri, 21 Mar 2025 18:05:28 +0000 (19:05 +0100)]
Torradex: fix wrong device names Headphone/Microphone

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoUSB-Audio: Add support for RME Fireface UCX II
Mikael Voss [Thu, 13 Feb 2025 22:34:38 +0000 (23:34 +0100)]
USB-Audio: Add support for RME Fireface UCX II

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/509
Signed-off-by: Mikael Voss <mvs@nyantec.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoQualcomm: Add QCS6490 RB3Gen2 HiFi config
Mohammad Rafi Shaik [Wed, 12 Feb 2025 10:25:59 +0000 (15:55 +0530)]
Qualcomm: Add QCS6490 RB3Gen2 HiFi config

Add UCM2 configs for the Qualcomm QCS6490 RB3Gen2 Board to handle:
- on-board Speakers
- on-board Microphones

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/508
Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoQualcomm: Add QCM6490 IDP HiFi config
Mohammad Rafi Shaik [Wed, 12 Feb 2025 10:15:47 +0000 (15:45 +0530)]
Qualcomm: Add QCM6490 IDP HiFi config

Add UCM2 configs for the Qualcomm QCM6490 IDP Board to handle:
- on-board Speakers
- Headphones speakers
- Headphones Microphones
- on-board Microphones

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/508
Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoucm2: IO-Boards: Toradex: verdin: Add support for Toradex
Hiago De Franco [Thu, 10 Oct 2024 16:43:07 +0000 (13:43 -0300)]
ucm2: IO-Boards: Toradex: verdin: Add support for Toradex

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>
5 months agoucm2: IO-Boards: Toradex: verdin: Add support for Toradex
Hiago De Franco [Thu, 10 Oct 2024 16:40:46 +0000 (13:40 -0300)]
ucm2: IO-Boards: Toradex: verdin: Add support for Toradex

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>
5 months agoucm2: NXP: iMX6: Toradex: colibri-imx6: Add support for
Hiago De Franco [Thu, 10 Oct 2024 16:37:24 +0000 (13:37 -0300)]
ucm2: NXP: iMX6: Toradex: colibri-imx6: Add support for

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>
5 months agoucm2: NXP: iMX7: Toradex: colibri-imx7: Add support for
Hiago De Franco [Thu, 10 Oct 2024 16:36:24 +0000 (13:36 -0300)]
ucm2: NXP: iMX7: Toradex: colibri-imx7: Add support for

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>
5 months agoucm2: NXP: iMX8X: Toradex: colibri-imx8x: Add support for
Hiago De Franco [Thu, 10 Oct 2024 16:35:04 +0000 (13:35 -0300)]
ucm2: NXP: iMX8X: Toradex: colibri-imx8x: Add support for

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>
5 months agoucm2: NXP: iMX6: Toradex: apalis-imx6: Add support for
Hiago De Franco [Thu, 10 Oct 2024 16:34:02 +0000 (13:34 -0300)]
ucm2: NXP: iMX6: Toradex: apalis-imx6: Add support for

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>
5 months agoucm2: NXP: iMX8: Toradex: apalis-imx8: Add support for
Hiago De Franco [Thu, 10 Oct 2024 16:32:22 +0000 (13:32 -0300)]
ucm2: NXP: iMX8: Toradex: apalis-imx8: Add support for

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>
5 months agoucm2: IO-Boards: Toradex: apalis: Add support for Toradex
Hiago De Franco [Thu, 10 Oct 2024 16:29:24 +0000 (13:29 -0300)]
ucm2: IO-Boards: Toradex: apalis: Add support for Toradex

Add support for the Toradex Apalis Evaluation Board carrier board using
the NAU8822 audio codec.

This is a carrier board for the Apalis family, where any Apalis SoM
(iMX8, iMX6...) 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>
5 months agoUSB-Audio: add Roland Quad-Capture support
flasheeprom [Tue, 31 Dec 2024 12:39:14 +0000 (13:39 +0100)]
USB-Audio: add Roland Quad-Capture support

Add initial Roland Quad-Capture support

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/494
Signed-off-by: Björn Martins Paz <bjornmp.dev@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoucm2: HDA - remove HDA-Capture-value.conf and put contents directly to HDACaptureDevi...
Jaroslav Kysela [Fri, 21 Mar 2025 17:44:01 +0000 (18:44 +0100)]
ucm2: HDA - remove HDA-Capture-value.conf and put contents directly to HDACaptureDevice macro

Link: https://github.com/alsa-project/alsa-ucm-conf/pull/526
Fixes: 19fc5b9 ("ucm2: HDA: HiFi-analog/mic: Refactor the analog mic discovery")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoucm2: HDA: HiFi-analog/mic: Refactor the analog mic discovery
Peter Ujfalusi [Mon, 10 Mar 2025 13:46:04 +0000 (15:46 +0200)]
ucm2: HDA: HiFi-analog/mic: Refactor the analog mic discovery

The current mic device creation works on certain machines and fails on
others. There are several places of conflicts and setups which can only
just fail, but this is mostly not an issue if the user never uses the mic,
only the speaker/headset - which, to be honest is what most of us do ;)

As an example:
The mic selection in most codecs are via enum and it is assumed to be
named 'Input Source', which is not always the case as some device uses
'Capture Source' for the control's name.
There is also different sets of mics that one can select from:
Exhibit A
numid=6,iface=MIXER,name='Input Source'
  ; type=ENUMERATED,access=rw------,values=1,items=2
  ; Item #0 'Headset Mic'
  ; Item #1 'Headphone Mic'
  : values=1

Exhibit B
numid=6,iface=MIXER,name='Capture Source'
  ; type=ENUMERATED,access=rw------,values=1,items=2
  ; Item #0 'Internal Mic'
  ; Item #1 'Headset Mic'
  : values=0

Exhibit C
numid=6,iface=MIXER,name='Capture Source'
  ; type=ENUMERATED,access=rw------,values=1,items=3
  ; Item #0 'Internal Mic'
  ; Item #1 'Headset Mic'
  ; Item #2 'Headphone Mic'
  : values=0

Exhibit D (this pushes the limits... The patch will ignore item 1)
numid=6,iface=MIXER,name='Capture Source'
  ; type=ENUMERATED,access=rw------,values=1,items=3
  ; Item #0 'Internal Mic'
  ; Item #1 'Internal Mic 1'
  ; Item #2 'Mic'
  : values=2

Other issue is that we have this 'Headphone Mic', which turned out to be
a 'Stereo Microphone in Headphone Jack', so if it is selected then the
Headphone cannot work, they conflict, they use the same rings for different
direction and purpose.

This patch aims to make the mic discovery a bit more deterministic and
pragmatic.

But even if the UCM creates the use case profiles correctly, it is still
up to UIs (KDE/GNOME/etc) to misunderstand how UCM presents the profiles,
what they mean and most of all what 'Mic1', `Mic2', etc is.
KDE presents the profiles as they are and user can selct between them to
pick the right combination of output and input.
GNOME goes further with simplification (and fails with it) and presents
'random' Configuration profiles for Output and Input, plus a device
selection and they do work in an interesting way. GNOME also have popup
for specifying the type of the plugged accessory, which does not worl at
all with UCM profiles.

But, this patch is meant for a small step to have clear rules based mic
presentation for HDA.

The expectation is that what have worked will work as it used to and what
did not worked should be detected and presented correctly.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/526
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoGoXLR: Add 'Broadcast Stream Mix 2' to Capture if channels
Craig McLure [Sat, 15 Mar 2025 14:43:57 +0000 (14:43 +0000)]
GoXLR: Add 'Broadcast Stream Mix 2' to Capture if channels

Fixes: https://github.com/alsa-project/alsa-ucm-conf/issues/444
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/523
Signed-off-by: Craig McLure <craig@mclure.net>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agouse SetLED in rt1318 init configuration
Jaroslav Kysela [Tue, 11 Mar 2025 13:30:40 +0000 (14:30 +0100)]
use SetLED in rt1318 init configuration

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoTurn speaker LED accroding to rt1318 speaker status
Shuming Fan [Wed, 19 Feb 2025 06:15:17 +0000 (14:15 +0800)]
Turn speaker LED accroding to rt1318 speaker status

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/512
Signed-off-by: Derek Fang <derek.fang@realtek.com>
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoucm2: use new SetLED macro to hide the implementation details
Jaroslav Kysela [Tue, 11 Mar 2025 10:23:08 +0000 (11:23 +0100)]
ucm2: use new SetLED macro to hide the implementation details

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/517
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agocommon: add led.conf with SetLED macro to hide implementation details
Jaroslav Kysela [Tue, 11 Mar 2025 10:09:29 +0000 (11:09 +0100)]
common: add led.conf with SetLED macro to hide implementation details

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/517
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoUSB-Audio: Add support for TASCAM Model 12
Unveiled53 [Wed, 29 Jan 2025 17:23:44 +0000 (17:23 +0000)]
USB-Audio: Add support for TASCAM Model 12

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/490
Signed-off-by: Unveiled53 <26770021+Unveiled53@users.noreply.github.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoUCM2: Blobs: SOF: Cleanup blob names from .blob to .bin
Seppo Ingalsuo [Fri, 31 Jan 2025 10:48:14 +0000 (12:48 +0200)]
UCM2: Blobs: SOF: Cleanup blob names from .blob to .bin

The configuration blobs for SOF processing components are mixed
with old filename suffix .blob and new .bin. This patch renames
for cleanup the remaining .blob files to .bin to follow the
chosen naming in SOF project.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/504
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoUSB-Audio: alc4080: Add MSI PRO B650-A WIFI USB ID 0db0:9e6d
Greg Brener [Wed, 26 Feb 2025 19:40:07 +0000 (13:40 -0600)]
USB-Audio: alc4080: Add MSI PRO B650-A WIFI USB ID 0db0:9e6d

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/514
Signed-off-by: Greg Brener <gregshipssoftware@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoUSB-Audio: Improve support for Focusrite 4th Gen devices
Jaroslav Kysela [Mon, 10 Mar 2025 16:11:49 +0000 (17:11 +0100)]
USB-Audio: Improve support for Focusrite 4th Gen devices

There are 4 capture channels (additional ones for mixer monitor).

Closes: https://github.com/alsa-project/alsa-ucm-conf/issues/515
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/516
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoUSB-Audio: GoXLR - fix the channel detection for mini, cleanups
Jaroslav Kysela [Fri, 14 Mar 2025 09:50:29 +0000 (10:50 +0100)]
USB-Audio: GoXLR - fix the channel detection for mini, cleanups

Note that detection for 25 channels requires commit [1] (alsa-lib 1.2.14+).

[1] https://github.com/alsa-project/alsa-lib/commit/7fbd47ce797939862025ef424865570dcdc2565b

BugLink: https://github.com/alsa-project/alsa-ucm-conf/issues/444
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/521
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoUSB-Audio: set capture channels to 4 in UR22C-HiFi.conf
Jaroslav Kysela [Thu, 13 Mar 2025 17:33:08 +0000 (18:33 +0100)]
USB-Audio: set capture channels to 4 in UR22C-HiFi.conf

Link: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4609
Closes: https://github.com/alsa-project/alsa-ucm-conf/issues/519
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agosof-soundwire: Fix cs42l43 dmic initialisation
Jaroslav Kysela [Tue, 11 Mar 2025 09:49:55 +0000 (10:49 +0100)]
sof-soundwire: Fix cs42l43 dmic initialisation

Move the mixer controls initialization to BootSequence to let
manage (store/restore) the sound state at boot.

Fixes: a0d06a6 ("sof-soundwire: Split cs42l43 dmic initialisation")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agosof-soundwire: Split cs42l43 dmic initialisation
Charles Keepax [Thu, 6 Mar 2025 12:54:02 +0000 (12:54 +0000)]
sof-soundwire: Split cs42l43 dmic initialisation

Split the initialisation of cs42l43 into a headset part and a dmic
part. This will prevent the dmic mute controls getting attached to
the mute LED when the codec dmics are not being used.

Link: https://lore.kernel.org/alsa-devel/20250306125402.1741562-1-ckeepax@opensource.cirrus.com/
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoucm2: add mt8183_mt6358_ts3a227_max98357
WeirdTreeThing [Sat, 25 Jan 2025 20:21:21 +0000 (15:21 -0500)]
ucm2: add mt8183_mt6358_ts3a227_max98357

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/502
Signed-off-by: WeirdTreeThing <bradyn127@protonmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoucm2: add mt8183_da7219_rt1015p
WeirdTreeThing [Sat, 25 Jan 2025 20:20:58 +0000 (15:20 -0500)]
ucm2: add mt8183_da7219_rt1015p

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/502
Signed-off-by: WeirdTreeThing <bradyn127@protonmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoucm2: add acp3x-alc5682-alc1015
WeirdTreeThing [Sat, 25 Jan 2025 20:08:08 +0000 (15:08 -0500)]
ucm2: add acp3x-alc5682-alc1015

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/501
Signed-off-by: WeirdTreeThing <bradyn127@protonmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoDEBUG.md: add "Logs from PipeWire (wireplumber)" section
Jaroslav Kysela [Wed, 29 Jan 2025 14:33:11 +0000 (15:33 +0100)]
DEBUG.md: add "Logs from PipeWire (wireplumber)" section

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoUSB-Audio: Revelator-IO-44-HiFi - fix device names (validator)
Jaroslav Kysela [Wed, 29 Jan 2025 10:25:55 +0000 (11:25 +0100)]
USB-Audio: Revelator-IO-44-HiFi - fix device names (validator)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoRename ucm2/AMD/acp3xalc5682m98 to ucm2/AMD/acp3x-alc5682-max98357
Jaroslav Kysela [Wed, 29 Jan 2025 10:09:36 +0000 (11:09 +0100)]
Rename ucm2/AMD/acp3xalc5682m98 to ucm2/AMD/acp3x-alc5682-max98357

The driver name is just crippled.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoRename ucm2/AMD/acpd7219m98357 to ucm2/AMD/acp-da7219-rt5682-max98357
Jaroslav Kysela [Wed, 29 Jan 2025 10:01:22 +0000 (11:01 +0100)]
Rename ucm2/AMD/acpd7219m98357 to ucm2/AMD/acp-da7219-rt5682-max98357

The driver name is just crippled.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoQualcomm: Add SM8750 MTP HiFi config
Krzysztof Kozlowski [Wed, 22 Jan 2025 17:43:20 +0000 (18:43 +0100)]
Qualcomm: Add SM8750 MTP HiFi config

Add UCM2 configs for the Qualcomm SM8750-MTP Board to handle:
- on-board Speakers
- Headphones speakers
- Top and Bottom on-board Microphones

Not yet implemented/tested are Headphone Microphones over USB-C port.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/498
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agort722: change output volume of headphone to 0dB
Shuming Fan [Tue, 14 Jan 2025 05:46:54 +0000 (13:46 +0800)]
rt722: change output volume of headphone to 0dB

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/496
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoucm2: USB-Audio: add Presonus Revelator IO 44 (USB194f:0424)
Markus Parviainen [Sat, 4 Jan 2025 08:26:10 +0000 (10:26 +0200)]
ucm2: USB-Audio: add Presonus Revelator IO 44 (USB194f:0424)

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/495
Signed-off-by: Markus Parviainen <mrksprvn@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoUSB-Audio: ALC4080 - add ASUS ROG Crosshair X870E Hero (USB ID 0b05:1b7c)
Javier Tia [Thu, 26 Dec 2024 16:57:41 +0000 (10:57 -0600)]
USB-Audio: ALC4080 - add ASUS ROG Crosshair X870E Hero (USB ID 0b05:1b7c)

https://rog.asus.com/motherboards/rog-crosshair/rog-crosshair-x870e-hero/

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/492
Signed-off-by: Javier Tia <jetm@jetm.me>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agosun4i-codec: add routing for headphones and internal speaker
Ryan Walklin [Sat, 21 Dec 2024 10:01:14 +0000 (23:01 +1300)]
sun4i-codec: add routing for headphones and internal speaker

The sun4i-codec kernel driver covers a large number of Allwinner SoCs.
The H616 codec has a single line-out route, which is used in concert
with a Toshiba mux chip to send audio to either an internal speaker or
headphone jack on a number of Anbernic handheld gaming devices.

Add a UCM configuration to allow enabling/disabling the speaker amp
depending on whether headphones are in use or not.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/491
Signed-off-by: Ryan Walklin <ryan@testtoast.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoUCM2: sof-soundwire: Add setup of IIR, DRC, beamformer
Seppo Ingalsuo [Thu, 19 Dec 2024 11:07:37 +0000 (13:07 +0200)]
UCM2: sof-soundwire: Add setup of IIR, DRC, beamformer

The SoundWire PCs with PCH-DMIC use the top level sof-soundwire.conf.
This patch adds similar Dmic0 end-point processing enable as done in
for DMIC in HDA codec PCs if the controls for processing exist.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/481
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoUCM2: sof-soundwire: Add setup of IIR, DRC, beamformer
Seppo Ingalsuo [Tue, 17 Dec 2024 12:56:18 +0000 (14:56 +0200)]
UCM2: sof-soundwire: Add setup of IIR, DRC, beamformer

This patch enables as BootSequence the DRC and multi-microphone
beamformer processing with the supplied blobs in topology. The
enable is for defaults if there is no previous control state. The
user can permanently switch off them if needed.

If DMI ID based customization can done with scripts in
blobs/sof/product_configs or blobs/sof/user_configs. If the blob
file names are not empty the blobs are applied by UCM2 as
FixedBootSequence in every boot to replace topology defaults.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/481
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoUCM2: sof-soundwire: Enable DRC and equalizers for
Seppo Ingalsuo [Mon, 16 Dec 2024 13:38:44 +0000 (15:38 +0200)]
UCM2: sof-soundwire: Enable DRC and equalizers for

This patch enables SOF post-processing for soundwire speaker
output. The DRC processing is enabled as BootSequence, and
setup of DRC, IIR, and FIR equalizer blobs as FixedBootSeqeuence
by DMI ID if custom blobs have been defined for the device in
ucm2/blobs/sof/product_configs or ucm2/blobs/sof/user_configs.

The DRC can be turned off permanently by user space if not
desired since BootSequence is only used for first time UCM2
start.

The DRC, IIR, FIR blobs are set as FixedBootSequence only
if custom blobs are defined. Otherwise the blobs defined in
topology remain in use.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/481
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoUCM2: Intel: sof-hda-dsp: Enable Dmic0 DRC and TDFB
Seppo Ingalsuo [Fri, 13 Dec 2024 17:30:47 +0000 (19:30 +0200)]
UCM2: Intel: sof-hda-dsp: Enable Dmic0 DRC and TDFB

This patch enables the SOF microphone capture pre-processing
features as BootSequence initial values if the controls for them
are available. If the user later switches these off, they will
remain off.

The DRC is dynamic range control that boosts the capture level,
and the TDFB (time-domain fixed beamformer) improves capture
signal-to-noise ratio for set beam angle direction. The used
0 degrees angle is defined as angle towards notebook computer
user.

The generic blobs in topology can be replaced with device
specific blobs based on DMI ID. See ucm2/blobs/sof/product_configs
and ucm2/blobs/sof/user_configs.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/481
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoUCM2: Blobs/SOF/IPC4: Add Beamformer blobs, update
Seppo Ingalsuo [Wed, 4 Dec 2024 17:09:24 +0000 (19:09 +0200)]
UCM2: Blobs/SOF/IPC4: Add Beamformer blobs, update

This change adds a few blobs to use with SOF TDFB beamformer
and updates the instructions how to generate the blobs in SOF.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/481
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoUCM2: Intel: sof-hda-dsp: Cleanup definitions
Seppo Ingalsuo [Thu, 12 Dec 2024 17:54:44 +0000 (19:54 +0200)]
UCM2: Intel: sof-hda-dsp: Cleanup definitions

This patch cleans up definitions in preparation to add more
controlled processing for audio endpoints.

- The algorithms names write style is aligned to e.g. "Iir" instead
  of "IIR" and "Iir" to avoid mistakes from typos.
- Add prefix PostMixerAnalogPlayback to HDA analog playback
  blob names to separate them from other Speaker endpoints.
- Similarly rename SofControl macro.

The functionality is not changed.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/481
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoUCM2: Intel: sof-hda-dsp: Move variables defitions from
Seppo Ingalsuo [Thu, 12 Dec 2024 17:28:34 +0000 (19:28 +0200)]
UCM2: Intel: sof-hda-dsp: Move variables defitions from

This patch moves SOF control blobs related variables set are to
a new dsp.conf that is included from top level sof-hda-dsp.conf.

The change allows to use the variables in InitBootSequence for the
controls. E.g. customize the default blobs applied based on
DMI ID of the device.

There's no change to functionality in this patch.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/481
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agogithub: use ucm-validator2, use actions/checkout@v4
Jaroslav Kysela [Wed, 8 Jan 2025 20:57:38 +0000 (21:57 +0100)]
github: use ucm-validator2, use actions/checkout@v4

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoucm: fix SectionDevice identifiers
Jaroslav Kysela [Wed, 8 Jan 2025 20:54:41 +0000 (21:54 +0100)]
ucm: fix SectionDevice identifiers

According [1], the device naming scheme should be consistent.
Try to rename affected device names according the documentation.

[1] https://github.com/alsa-project/alsa-lib/blob/master/include/use-case.h

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoucm2: whitespace fixes
Jaroslav Kysela [Wed, 8 Jan 2025 20:17:37 +0000 (21:17 +0100)]
ucm2: whitespace fixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
8 months agoUSB-Audio: ALC4080: add support for MSI MEG X670E GODLIKE (USB 0db0:e1f8)
Sergey [Mon, 16 Dec 2024 01:29:47 +0000 (04:29 +0300)]
USB-Audio: ALC4080: add support for MSI MEG X670E GODLIKE (USB 0db0:e1f8)

www.msi.com/Motherboard/MEG-X670E-GODLIKE

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/488
Signed-off-by: Sergey <myserg@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
8 months agoUSB-Audio: ALC4080 - add ASUS ROG STRIX X870E-E GAMING WIFI (USB 0b05:1b9b)
Andrija Vučinić [Tue, 10 Dec 2024 13:47:28 +0000 (14:47 +0100)]
USB-Audio: ALC4080 - add ASUS ROG STRIX X870E-E GAMING WIFI (USB 0b05:1b9b)

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/486
Signed-off-by: Andrija Vučinić <andrija.vucinic@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
8 months agoConfiguration files for Roland Bridge Cast X V2
Konna1337 [Sun, 24 Nov 2024 03:51:49 +0000 (04:51 +0100)]
Configuration files for Roland Bridge Cast X V2

Added configuration for Roland BridgeCast X. X Version of Bridgecast is wired diferently than the non X Version wich is supported

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/469
Signed-off-by: Konna1337 <r34p3r666@web.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
8 months agoucm2: sof-soundwire: Correct FixedBootSequence for dmic info
Peter Ujfalusi [Tue, 10 Dec 2024 09:04:31 +0000 (11:04 +0200)]
ucm2: sof-soundwire: Correct FixedBootSequence for dmic info

Replace the curly brackets with square brackets.
The curly ones break the FixedBootSequence parsing by resetting the
sequence.
If the /var/lib/alsa/card0.conf.d is not present then UCM will fail because
all sequences before the dmic is lost, including the card-init:

# alsactl init
alsa-lib main.c:619:(execute_cfgsave) unable to open file '/var/lib/alsa/card0.conf.d/42-sof-hdmi.conf': No such file or directory
alsa-lib main.c:2456:(set_fixedboot_user) Unable to execute force boot sequence

The full sequence supposed to be:
card-init
ctl-remap
cs42l43
dmic
hdmi

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/485
Fixes: 9fa70add7638 ("sof-hda-dsp,sof-soundwire: add CaptureMicInfoFile fields for dmics")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
9 months agoamd-soundwire: add support for AMD generic legacy machine driver
Jaroslav Kysela [Fri, 29 Nov 2024 13:17:57 +0000 (14:17 +0100)]
amd-soundwire: add support for AMD generic legacy machine driver

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/478
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/470
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
9 months agosof-hda-dsp: Add back missing .conf suffix for product/user specific configs
Jaroslav Kysela [Wed, 4 Dec 2024 09:20:51 +0000 (10:20 +0100)]
sof-hda-dsp: Add back missing .conf suffix for product/user specific configs

Fixes: 6397c66 ("sof-hda-dsp: Fix the case where sysfs dmi product_name attribute is not set")
Closes: https://github.com/alsa-project/alsa-ucm-conf/issues/482
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
9 months agosof-soundwire: whitespace cleanup
Jaroslav Kysela [Fri, 29 Nov 2024 13:04:00 +0000 (14:04 +0100)]
sof-soundwire: whitespace cleanup

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
9 months agosof-soundwire: cs42l43: Correct CapturePCM and routing
Charles Keepax [Wed, 20 Nov 2024 10:06:06 +0000 (10:06 +0000)]
sof-soundwire: cs42l43: Correct CapturePCM and routing

For headset microphone capture the correct PCM device to use is
"hw:${CardId},1", "hw:${CardId},4" is for built in microphone capture.

Adjust the routing as well since :0,1 is connected to data port 2 on the
codec.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/466
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
9 months agoavs_nau8825: Fix JackControl name
lbilli [Fri, 15 Nov 2024 01:06:48 +0000 (20:06 -0500)]
avs_nau8825: Fix JackControl name

This is the name reported by amixer events.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/464
Signed-off-by: lbilli <lbilli@users.noreply.github.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
9 months agosof-soundwire: cs42l43-spk: Correct PlaybackPCM and routing
Peter Ujfalusi [Tue, 19 Nov 2024 09:51:15 +0000 (11:51 +0200)]
sof-soundwire: cs42l43-spk: Correct PlaybackPCM and routing

For speaker the correct PCM device to use is "hw:${CardId},2", the
"hw:${CardId},0" is for headset playback.

Adjust the routing as well since with :0,2 the DP6RX1/2 needs to be
selected for the speaker.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/465
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
9 months agosof-hda-dsp: Fix the case where sysfs dmi product_name attribute is not set
Jaroslav Kysela [Wed, 13 Nov 2024 15:19:15 +0000 (16:19 +0100)]
sof-hda-dsp: Fix the case where sysfs dmi product_name attribute is not set

  !!DMI Information
  !!---------------

  Manufacturer:
  Product Name:
  Product Version:
  Firmware Version:  R6G07
  System SKU:        Default string
  Board Vendor:      Default string
  Board Name:        Default string

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=2292583
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
9 months agoUCM2: Intel: sof-hda-dsp: Fix handling of empty sys_vendor
Seppo Ingalsuo [Wed, 13 Nov 2024 12:48:38 +0000 (14:48 +0200)]
UCM2: Intel: sof-hda-dsp: Fix handling of empty sys_vendor

The mistake in UCM syntax caused in alsaucm start error:

ALSA lib ucm_cond.c:367:(if_eval) unknown If.Condition.Type

Fixes: 13022a97711d ("sof-hda-dsp: Fix the case where sysfs dmi
       sys_vendor attribute is not set")

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/463
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
9 months agoRelease v1.2.13 v1.2.13
Jaroslav Kysela [Tue, 12 Nov 2024 09:37:33 +0000 (10:37 +0100)]
Release v1.2.13

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
9 months agoUSB-Audio: ALC4080 - change ID 26ce:0a08 to list multiple motherboards
Renaud Lepage [Mon, 11 Nov 2024 20:44:59 +0000 (12:44 -0800)]
USB-Audio: ALC4080 - change ID 26ce:0a08 to list multiple motherboards

The hardware id '26ce:0a08' seems to be re-used by multiple motherboards at ASRock.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/461
Signed-off-by: Renaud Lepage <root+GitHub@cybikbase.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
9 months agoUSB-Audio: ALC4080: Add support for MSI MPG X870E CARBON (ID: 0db0:0b58)
xatier [Mon, 11 Nov 2024 10:36:18 +0000 (02:36 -0800)]
USB-Audio: ALC4080: Add support for MSI MPG X870E CARBON (ID: 0db0:0b58)

```
$ lsusb | ag audio
Bus 003 Device 007: ID 0db0:0b58 Micro Star International USB Audio
```

```
Audio Realtek® ALC4080 Codec
```
https://www.msi.com/Motherboard/MPG-X870E-CARBON-WIFI/Specification

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/460
Signed-off-by: xatier <xatierlike@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoUSB-Audio: fix bracket location for If.motu-D828
Jaroslav Kysela [Thu, 7 Nov 2024 12:07:20 +0000 (13:07 +0100)]
USB-Audio: fix bracket location for If.motu-D828

Fixes: 5738970 ("USB-Audio: add missing bracket for If.motu-D828")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoUSB-Audio: add missing bracket for If.motu-D828
Jaroslav Kysela [Thu, 7 Nov 2024 11:57:31 +0000 (12:57 +0100)]
USB-Audio: add missing bracket for If.motu-D828

Closes: https://github.com/alsa-project/alsa-ucm-conf/issues/458
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoUSB-Audio: ALC4080 - add MSI X870 Tomahawk motherboard (ID 0db0:cd0e)
Jaroslav Kysela [Thu, 7 Nov 2024 11:45:12 +0000 (12:45 +0100)]
USB-Audio: ALC4080 - add MSI X870 Tomahawk motherboard (ID 0db0:cd0e)

Closes: https://github.com/alsa-project/alsa-ucm-conf/issues/455
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoucm2: MediaTek: mt8395-evk: Add headset jack detection
Zoran Zhan [Fri, 2 Aug 2024 07:08:49 +0000 (15:08 +0800)]
ucm2: MediaTek: mt8395-evk: Add headset jack detection

Add headphone and headset microphone jack detection support on
mt8395-evk.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/456
Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoucm2: MediaTek: mt8390-evk: Add headset jack detection
Zoran Zhan [Fri, 2 Aug 2024 07:07:57 +0000 (15:07 +0800)]
ucm2: MediaTek: mt8390-evk: Add headset jack detection

Add headphone and headset microphone jack detection support on
mt8390-evk.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/456
Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoucm2: MediaTek: mt8370-evk: Add headset jack detection
Zoran Zhan [Fri, 2 Aug 2024 07:01:41 +0000 (15:01 +0800)]
ucm2: MediaTek: mt8370-evk: Add headset jack detection

Add headphone and headset microphone jack detection support on
mt8370-evk.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/456
Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoucm2: MediaTek: mt8395-evk: Add dynamic configuration for
Zoran Zhan [Fri, 2 Aug 2024 06:12:18 +0000 (14:12 +0800)]
ucm2: MediaTek: mt8395-evk: Add dynamic configuration for

If mt8395-evk doesn't load the HDMI/DP dtbo, the 'unknown'
available status will be shown on the Ubuntu GNOME.
To solve this issue, add the dynamic configuration to detect
whether the system is loading HDMI/DP dtbo or not.
The HDMI/DP device would be configured only if the related
dtbo has been loaded by the system.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/456
Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoucm2: MediaTek: mt8390-evk: Add dynamic configuration for
Zoran Zhan [Fri, 2 Aug 2024 06:10:57 +0000 (14:10 +0800)]
ucm2: MediaTek: mt8390-evk: Add dynamic configuration for

If mt8390-evk doesn't load the HDMI/DP dtbo, the 'unknown'
available status will be shown on the Ubuntu GNOME.
To solve this issue, add the dynamic configuration to detect
whether the system is loading HDMI/DP dtbo or not.
The HDMI/DP device would be configured only if the related
dtbo has been loaded by the system.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/456
Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoucm2: MediaTek: mt8370-evk: Add dynamic configuration for
Zoran Zhan [Fri, 2 Aug 2024 06:03:04 +0000 (14:03 +0800)]
ucm2: MediaTek: mt8370-evk: Add dynamic configuration for

If mt8370-evk doesn't load the HDMI/DP dtbo, the 'unknown'
available status will be shown on the Ubuntu GNOME.
To solve this issue, add the dynamic configuration to detect
whether the system is loading HDMI/DP dtbo or not.
The HDMI/DP device would be configured only if the related
dtbo has been loaded by the system.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/456
Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoUSB-Audio: ALC4080 - add ASRock X870E Taichi (ID 26ce:0a0b)
julmajustus [Thu, 31 Oct 2024 22:11:29 +0000 (00:11 +0200)]
USB-Audio: ALC4080 - add ASRock X870E Taichi (ID 26ce:0a0b)

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/457
Signed-off-by: julmajustus <julmajustus@tutanota.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoucm2: Qualcomm: sm8650-qrd: fix codec initialisation
Johan Hovold [Fri, 18 Oct 2024 06:45:17 +0000 (08:45 +0200)]
ucm2: Qualcomm: sm8650-qrd: fix codec initialisation

The lazy include of the four codec initialisation files are incorrectly
specified using the same identifier which means that only the last one
is actually included.

This specifically means that the Speakers and Headphone stereo mixer
elements are never defined and cannot be used for hardware volume
control.

The default Speaker digital volume is also never set by the BootSequence
as intended.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/454
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>