]> git.alsa-project.org Git - alsa-ucm-conf.git/log
alsa-ucm-conf.git
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>
8 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>
8 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>
8 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>
10 months agoucm2: Qualcomm: sm8650-mtp: fix codec initialisation
Johan Hovold [Fri, 18 Oct 2024 06:41:07 +0000 (08:41 +0200)]
ucm2: Qualcomm: sm8650-mtp: fix codec initialisation

The lazy include of the two 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 stereo mixer element is never
defined and cannot be used for hardware volume control.

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>
10 months agoucm2: Qualcomm: sm8550-hdk: fix codec initialisation
Johan Hovold [Fri, 18 Oct 2024 06:35:30 +0000 (08:35 +0200)]
ucm2: Qualcomm: sm8550-hdk: 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>
10 months agoRevert "ucm2: Qualcomm: x1e80100: add USB DisplayPort
Johan Hovold [Fri, 18 Oct 2024 05:47:36 +0000 (07:47 +0200)]
Revert "ucm2: Qualcomm: x1e80100: add USB DisplayPort

This reverts commit 1dcb58e4fac989bafe0705e49a7f029727207fb3.

The recently added DisplayPort support depends on kernel changes that
never made it upstream and has some usability issues that remain to be
resolved.

Revert for now to avoid breaking existing setups.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/453
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoacppdmmach: add support for ACP 7.0
Mario Limonciello [Thu, 17 Oct 2024 16:44:20 +0000 (11:44 -0500)]
acppdmmach: add support for ACP 7.0

Starting with ACP 7.0 there is a generic 'acppdmmach' driver that
will be utilized.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/452
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agosof-soundwire: Add sequence for controlling Mic Mute LED
Maciej Strozek [Thu, 17 Oct 2024 12:20:27 +0000 (13:20 +0100)]
sof-soundwire: Add sequence for controlling Mic Mute LED

Also ensure the unused microphone is disabled so that currently used mic
can fully control the LED.

Link: https://lore.kernel.org/alsa-devel/20241017122027.1207373-2-mstrozek@opensource.cirrus.com/
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agosof-soundwire: Change map control names to make them unique and user friendly
Maciej Strozek [Thu, 17 Oct 2024 12:20:26 +0000 (13:20 +0100)]
sof-soundwire: Change map control names to make them unique and user friendly

Both 'Speaker Digital' and 'cs42l43 PDM2' names were found in other alsa
controls, confusing the MixerElems paths. Make them unique to avoid errors for
hardware mutes. Also add 'Capture' string into microphone controls to make
them work properly.

Link: https://lore.kernel.org/alsa-devel/20241017122027.1207373-1-mstrozek@opensource.cirrus.com/
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agort722: add mic led support
Shuming Fan [Wed, 25 Sep 2024 02:16:27 +0000 (10:16 +0800)]
rt722: add mic led support

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/443
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoucm2: wsa884x: fix typo in mixer names
Jos Dehaes [Mon, 14 Oct 2024 20:16:26 +0000 (22:16 +0200)]
ucm2: wsa884x: fix typo in mixer names

DTS fix for x1e80100-CRD will be submitted upstream separately

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/450
Signed-off-by: Jos Dehaes <jos.dehaes@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoucm2: USB-Audio: add Steinberg UR22C (USB0499:172f)
Celeste Liu [Mon, 30 Sep 2024 11:16:03 +0000 (19:16 +0800)]
ucm2: USB-Audio: add Steinberg UR22C (USB0499:172f)

Similar to UR24C and UR44C, but with 2 inputs 2 outputs.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/446
Signed-off-by: Celeste Liu <CoelacanthusHex@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoUSB-Audio: Add Roland Bridge Cast V2
Fredrik Pettersen [Sat, 28 Sep 2024 16:00:49 +0000 (18:00 +0200)]
USB-Audio: Add Roland Bridge Cast V2

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/445
Signed-off-by: Fredrik Pettersen <fredrik.fumler@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoucm2: sof-soundwire: add RT1320 amplifier
Shuming Fan [Tue, 4 Jun 2024 07:52:27 +0000 (15:52 +0800)]
ucm2: sof-soundwire: add RT1320 amplifier

Add support for rt1320 amplifier

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/439
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoucm2: sof-soundwire: add rt712 VA device
Shuming Fan [Thu, 1 Aug 2024 07:35:24 +0000 (15:35 +0800)]
ucm2: sof-soundwire: add rt712 VA device

Add support headphone/headset mic/speaker/dmic for rt712 VA

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/435
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agoUSB-Audio: Add support for Focusrite 4th Gen devices
Chris Lane [Wed, 21 Aug 2024 21:23:40 +0000 (22:23 +0100)]
USB-Audio: Add support for Focusrite 4th Gen devices

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/438
Signed-off-by: Chris Lane <git@chrislane.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 months agobug: Fix verbose logging in GitHub Workflow
Patrick Lang [Sun, 21 Aug 2022 22:03:37 +0000 (15:03 -0700)]
bug: Fix verbose logging in GitHub Workflow

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/202
Signed-off-by: Patrick Lang <patrick.lang@sdf.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
11 months agoucm2: Intel: avs_nau8825 - reuse configurations
Jaroslav Kysela [Tue, 8 Oct 2024 08:16:59 +0000 (10:16 +0200)]
ucm2: Intel: avs_nau8825 - reuse configurations

Move identical pieces to one file.

BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/418
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
11 months agoucm2: Intel: avs: Add UCM files for HDMI configuration
Amadeusz Sławiński [Tue, 18 Jun 2024 10:48:55 +0000 (12:48 +0200)]
ucm2: Intel: avs: Add UCM files for HDMI configuration

Add configs for devices using HDMI codec.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/418
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
11 months agoucm2: Intel: avs: Add UCM files for ssm4567 configuration
Amadeusz Sławiński [Tue, 18 Jun 2024 10:48:13 +0000 (12:48 +0200)]
ucm2: Intel: avs: Add UCM files for ssm4567 configuration

Add configs for devices using ssm4567 codec.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/418
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
11 months agoucm2: Intel: avs: Add UCM files for rt5663 configuration
Amadeusz Sławiński [Tue, 18 Jun 2024 10:47:43 +0000 (12:47 +0200)]
ucm2: Intel: avs: Add UCM files for rt5663 configuration

Add configs for devices using rt5663 codec.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/418
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
11 months agoucm2: Intel: avs: Add UCM files for rt5514 configuration
Amadeusz Sławiński [Tue, 18 Jun 2024 10:47:18 +0000 (12:47 +0200)]
ucm2: Intel: avs: Add UCM files for rt5514 configuration

Add configs for devices using rt5514 codec.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/418
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
11 months agoucm2: Intel: avs: Add UCM files for nau8825 configuration
Amadeusz Sławiński [Tue, 18 Jun 2024 10:46:46 +0000 (12:46 +0200)]
ucm2: Intel: avs: Add UCM files for nau8825 configuration

Add configs for devices using nau8825 codec.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/418
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
11 months agoucm2: Intel: avs: Add UCM files for max98927 configuration
Amadeusz Sławiński [Tue, 18 Jun 2024 10:46:01 +0000 (12:46 +0200)]
ucm2: Intel: avs: Add UCM files for max98927 configuration

Add configs for devices using max98927 codec.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/418
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
11 months agoucm2: Intel: avs: Add UCM files for max98373 configuration
Amadeusz Sławiński [Tue, 18 Jun 2024 10:45:32 +0000 (12:45 +0200)]
ucm2: Intel: avs: Add UCM files for max98373 configuration

Add configs for devices using max98373 codec.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/418
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
11 months agoucm2: Intel: avs: Add UCM files for max98357a configuration
Amadeusz Sławiński [Tue, 18 Jun 2024 10:44:58 +0000 (12:44 +0200)]
ucm2: Intel: avs: Add UCM files for max98357a configuration

Add configs for devices using max98357a codec.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/418
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
11 months agoucm2: Intel: avs: Add UCM files for da7219 configuration
Amadeusz Sławiński [Tue, 18 Jun 2024 10:44:08 +0000 (12:44 +0200)]
ucm2: Intel: avs: Add UCM files for da7219 configuration

Add configs for devices using da7219 codec.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/418
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
11 months agoucm2: Intel: avs: Add UCM files for DMIC configuration
Amadeusz Sławiński [Tue, 18 Jun 2024 10:42:48 +0000 (12:42 +0200)]
ucm2: Intel: avs: Add UCM files for DMIC configuration

Add configs for devices using DMIC codec.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/418
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoucm2: sof-soundwire: Use the HdmiDevice macro for hdmi device creation
Peter Ujfalusi [Tue, 30 Apr 2024 11:06:25 +0000 (14:06 +0300)]
ucm2: sof-soundwire: Use the HdmiDevice macro for hdmi device creation

The duplicated code for the hdmi device creation can be removed by using
the HdmiDevice macro.

The macro needs Syntax 7 to work (variable as parameter support), update
the Syntax version of the file as well.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/413
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoucm2: Intel/sof-hda-dsp: Use the HdmiDevice macro for
Peter Ujfalusi [Tue, 30 Apr 2024 11:01:46 +0000 (14:01 +0300)]
ucm2: Intel/sof-hda-dsp: Use the HdmiDevice macro for

The duplicated code for the hdmi device creation can be removed by using
the HdmiDevice macro.

The macro needs Syntax 7 to work (variable as parameter support), update
the Syntax version of the file as well.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/413
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoucm2: common: pcm: hdmi: Add new macro to conditionally
Peter Ujfalusi [Tue, 30 Apr 2024 10:58:29 +0000 (13:58 +0300)]
ucm2: common: pcm: hdmi: Add new macro to conditionally

The new HdmiDevice macro can be used to create the hdmi PCM device for a
hardware PCM whose ID can be found in the Iec61937Devices comma separated
device ID list.
It is the caller's responsibility to pass correct device id of an HDMI PCM
as Dev.

The new macro needs Syntax 7 support.

Example for a use by sof-hda-dsp where the HDMI devices are 3, 4 and 5

Macro.0.HdmiDevice { Iec61937Devices "${var:Iec61937Pcms1}" Dev 3 Idx 0 }
Macro.1.HdmiDevice { Iec61937Devices "${var:Iec61937Pcms1}" Dev 4 Idx 1 }
Macro.2.HdmiDevice { Iec61937Devices "${var:Iec61937Pcms1}" Dev 5 Idx 2 }

If.HdmiIec61937 {
Condition {
Type RegexMatch
Regex "((^|,)[345](,|$))"
String "${var:Iec61937Pcms1}"
}
True.Macro.save_hdmi_cfg.HdmiPCMSave { Name "42-sof-hdmi" }
}

The Iec61937Pcms1 contains a match string of "5,4,3"

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/413
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoUSB-Audio: Add support for Motu 828
beatboxa [Mon, 13 May 2024 20:25:18 +0000 (16:25 -0400)]
USB-Audio: Add support for Motu 828

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/416
Signed-off-by: beatboxa <hardcoreburnz@yahoo.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agocommon: pcm/split: add support up to 32 / 8 channels
Jaroslav Kysela [Tue, 14 May 2024 14:42:26 +0000 (16:42 +0200)]
common: pcm/split: add support up to 32 / 8 channels

MOTU 828 has up to 32 hardware channels. Add support for this
configuration to common/pcm/split.conf.

Also, add support for up to 8 channels for the abstact devices
(like 7.1 surround).

Note that this change requires recent alsa-lib (Syntax 7).

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/417
Link: https://github.com/alsa-project/alsa-ucm-conf/pull/416
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoUSB-Audio: Add support for MOTU Ultralite mk5
clement-dufour [Mon, 27 May 2024 10:45:44 +0000 (12:45 +0200)]
USB-Audio: Add support for MOTU Ultralite mk5

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/422
Signed-off-by: Clement Dufour <clmnt.dufour@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoQualcomm: Add SM8550 HDK HiFi config
Neil Armstrong [Tue, 30 Jan 2024 16:27:58 +0000 (17:27 +0100)]
Qualcomm: Add SM8550 HDK HiFi config

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

Tested with PulseAudio 16.1

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/393
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agocodes: wcd938x: Add Analog Microphones 1 & 5 Sequences
Neil Armstrong [Thu, 1 Feb 2024 08:42:10 +0000 (09:42 +0100)]
codes: wcd938x: Add Analog Microphones 1 & 5 Sequences

Add Enable and Disable sequences for Analog microphones connected
to WCD989x Inputs 1 & 5.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/393
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoUSB-Audio: Add 0582:01d8 BOSS Katana HEAD MkII support
Alejandro Domínguez [Sat, 6 Jul 2024 18:55:22 +0000 (20:55 +0200)]
USB-Audio: Add 0582:01d8 BOSS Katana HEAD MkII support

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/430
Signed-off-by: Alejandro Domínguez <adomu4@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoUSB-Audio: Add support for Solid State Labs SSL 2+
Jeremy Kescher [Thu, 4 Jul 2024 00:08:08 +0000 (02:08 +0200)]
USB-Audio: Add support for Solid State Labs SSL 2+

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/429
Signed-off-by: Jeremy Kescher <jeremy@kescher.at>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoucm2/conf.d: add symlink for Qualcomm DB820c
Dmitry Baryshkov [Mon, 1 Jul 2024 17:21:44 +0000 (20:21 +0300)]
ucm2/conf.d: add symlink for Qualcomm DB820c

Since the release 6.3 Linux kernel uses driver name apq8096 for Qualcomm
Dragonboard 820c. This makes alsaucm look for conf.d/apq8096/DB820c.conf
and then for conf.d/apq8096/apq8096.conf, while alsa-ucm-conf has
historical conf.d/DB820c/DB820c.conf symlink. Add symlink to provide
correct configuration for the device.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/428
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoucm2: Qualcomm: x1e80100: add Headset capture
Krzysztof Kozlowski [Tue, 11 Jun 2024 14:57:10 +0000 (16:57 +0200)]
ucm2: Qualcomm: x1e80100: add Headset capture

Add device for recording via headset (AMIC2 analogue microphone).

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/423
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoucm2: codecs: wcd938x: correct 'cset' command
Krzysztof Kozlowski [Tue, 11 Jun 2024 14:55:18 +0000 (16:55 +0200)]
ucm2: codecs: wcd938x: correct 'cset' command

Intention was to use 'cset':

  ALSA lib parser.c:1224:(parse_sequence) error: sequence command 'set' is ignored

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/423
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoucm2: Qualcomm: x1e80100: add USB DisplayPort playback
Krzysztof Kozlowski [Tue, 4 Jun 2024 12:06:47 +0000 (14:06 +0200)]
ucm2: Qualcomm: x1e80100: add USB DisplayPort playback

Add two DisplayPort (over USB) playback devices, conflicting with the
headset, because they use the same Multimedia1 frontend.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/423
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoUSB-Audio: ALC4080: Add 0db0:543d MSI TRX40 Pro 10G
Jaroslav Kysela [Fri, 2 Aug 2024 10:26:09 +0000 (12:26 +0200)]
USB-Audio: ALC4080: Add 0db0:543d MSI TRX40 Pro 10G

Closes: https://github.com/alsa-project/alsa-ucm-conf/issues/427
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
14 months agosof-soundwire: Add support for cs42l43/cs35l56 bridge configuration
Charles Keepax [Mon, 8 Jul 2024 11:59:19 +0000 (12:59 +0100)]
sof-soundwire: Add support for cs42l43/cs35l56 bridge configuration

The cs42l43 has both a SPI master and an I2S interface, in some
configurations 2 cs35l56 amplifiers are connected to these to provide
bass speakers whilst the cs42l43's internal speaker drivers are used for
the tweeters. Add UCM configuration for this type of system.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
14 months agosof-soundwire: Add missing match for cs42l43 speakers
Charles Keepax [Mon, 8 Jul 2024 11:59:18 +0000 (12:59 +0100)]
sof-soundwire: Add missing match for cs42l43 speakers

The cs42l43 reports as cs42l43-spk in the speaker case, the regex in
sof-soundwire needs updated to recognise that.

Fixes: 035d9206cffd ("sof-soundwire: Add basic support for cs42l43's speaker")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
14 months agoREADME: document the ALSA state file clearing
Jaroslav Kysela [Wed, 19 Jun 2024 07:05:39 +0000 (09:05 +0200)]
README: document the ALSA state file clearing

Link: https://github.com/alsa-project/alsa-ucm-conf/issues/425
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
14 months agosof-hda-dsp: Fix the case where sysfs dmi sys_vendor attribute is not set
Jaroslav Kysela [Wed, 19 Jun 2024 06:45:57 +0000 (08:45 +0200)]
sof-hda-dsp: Fix the case where sysfs dmi sys_vendor attribute is not set

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=2292583
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agoRelease v1.2.12 v1.2.12
Jaroslav Kysela [Mon, 10 Jun 2024 12:13:03 +0000 (14:13 +0200)]
Release v1.2.12

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agosof-soundwire: fix missing MultiCodec1 initialization and Empty condition
Jaroslav Kysela [Mon, 10 Jun 2024 06:47:23 +0000 (08:47 +0200)]
sof-soundwire: fix missing MultiCodec1 initialization and Empty condition

Fixes: ab2b4f1 ("ucm2: soundwire: add rt722 SDCA device")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agoUCM2: Intel: sof-hda-dsp: Control SOF processing from UCM
Seppo Ingalsuo [Thu, 30 May 2024 15:28:10 +0000 (18:28 +0300)]
UCM2: Intel: sof-hda-dsp: Control SOF processing from UCM

This patch adds to Intel/sof-hda-dsp/HiFi.conf inclusion of
HiFi-sof.conf that by redefine of headphone and speaker handling
adds to UCM control of DRC and EQ SOF processing components.

The modified setting are applied in case of SOF processing
components' controls are detected. There is no change to operation
if no controls are present e.g. with legacy SOF topology.

If DRC control is found, it is assumed that also FIR and IIR
also exist. If there is no DRC but FIR is found, then it is assumed
that IIR also exists. This matches SOF FW builds for IPC3 (FIR, IIR)
and IPC4 (DRC, FIR, IIR). The controls names are different in IPC3
and IPC4 topologies. Also the configuration blobs differ.

The speaker mode is by default set up with 100 Hz high-pass IIR. The
DRC is set to a default speaker setting that boosts playback loudness.
The FIR is bypassed.

In the headphone mode all the processing is set to bypass and DRC
switch is set off.

The processing can be customized for products with UCM scripts placed
into blobs/sof/product_configs. The file path should be
<sys_vendor>/<product_name>.conf from DMI ID. An user configuration can
be similarly placed into blobs/sof/user_configs directory to e.g. avoid
it being overwritten by distribution.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/419
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agoUCM2: SOF: Add example blobs customization for AAEON
Seppo Ingalsuo [Thu, 30 May 2024 15:25:41 +0000 (18:25 +0300)]
UCM2: SOF: Add example blobs customization for AAEON

This example shows how to define IIR, FIR, and DRC processing for
speaker and headphone endpoints.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/419
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agoUCM2: Add sample SOF processing configuration blobs
Seppo Ingalsuo [Thu, 30 May 2024 15:25:04 +0000 (18:25 +0300)]
UCM2: Add sample SOF processing configuration blobs

The example set contains passthrough configuration blobs with SOF IPC3
and IPC4 headers for DRC, FIR, and IIR. A few high-pass configurations
are added for IIR to be used e.g. for speakers. A DRC blob is added
that can be used to boost speaker playback loudness.

The blobs are all in binary format.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/419
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agocodecs: qcom-lpass/tx-macro: Move TX1 MODE ctrl to
Mohammad Rafi Shaik [Mon, 27 May 2024 16:43:17 +0000 (22:13 +0530)]
codecs: qcom-lpass/tx-macro: Move TX1 MODE ctrl to

The tx-macro is a common interface for WCD937x and wcd938x and
also the TX1 MODE setting is not applicable for WCD937x codec.

The TX1 MODE mixer controller is derived in WCD938x codec driver,
So move TX1 MODE mixer control to wcd938x.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/421
Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agoucm2: codecs: wcd937x: add codec sequences
Mohammad Rafi Shaik [Tue, 28 May 2024 04:16:38 +0000 (09:46 +0530)]
ucm2: codecs: wcd937x: add codec sequences

Add default, enable/disable codec sequence for Headphone and Mic on
WCD937x codec

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/421
Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agoucm2: soundwire: add rt722 SDCA device
Jack Yu [Mon, 27 May 2024 05:21:55 +0000 (13:21 +0800)]
ucm2: soundwire: add rt722 SDCA device

Add support of ucm to rt722 SDCA.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/409
Signed-off-by: Jack Yu <jack.yu@realtek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agoucm2: Qualcomm: x1e80100: add recording via DMIC01
Krzysztof Kozlowski [Wed, 8 May 2024 12:33:12 +0000 (14:33 +0200)]
ucm2: Qualcomm: x1e80100: add recording via DMIC01

Add support for Digital Microphones DMIC01 on Qualcomm X1E80100 CRD
board.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/414
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoucm2: sof-soundwire: Create ALSA config file for hdmi:
Peter Ujfalusi [Thu, 11 Apr 2024 12:07:30 +0000 (15:07 +0300)]
ucm2: sof-soundwire: Create ALSA config file for hdmi:

If the HDMI PCM index (3-5) is found in iec61937-pcm list of the card's
components list then use the HdmiPCM/HdmiPCMSave macros to create the
configuration file.

The PCMs that will be created are:
aplay -L | grep hdmi

hdmi:CARD=sofsoundwire,DEV=0
hdmi:CARD=sofsoundwire,DEV=1
hdmi:CARD=sofsoundwire,DEV=2

Audio servers (Pulseaudio, Pipewrire) or applications then can use these for
bytestream passthrough, for example:
mplayer -ao alsa:device=hdmi=sofsoundwire,DEV=0 -ac hwdts <video with dts>

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/411
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoucm2: Intel/sof-hda-dsp: Create ALSA config file for
Peter Ujfalusi [Thu, 11 Apr 2024 12:06:42 +0000 (15:06 +0300)]
ucm2: Intel/sof-hda-dsp: Create ALSA config file for

If the HDMI PCM index (3-5) is found in iec61937-pcm list of the card's
components list then use the HdmiPCM/HdmiPCMSave macros to create the
configuration file.

The PCMs that will be created are:
aplay -L | grep hdmi

hdmi:CARD=sofhdadsp,DEV=0
hdmi:CARD=sofhdadsp,DEV=1
hdmi:CARD=sofhdadsp,DEV=2

Audio servers (Pulseaudio, Pipewrire) or applications then can use these for
bytestream passthrough, for example:
mplayer -ao alsa:device=hdmi=sofhdadsp,DEV=0 -ac hwdts <video with dts>

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/411
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoucm2: common: pcm: Add hdmi.conf to handle the creation
Peter Ujfalusi [Wed, 24 Apr 2024 10:34:13 +0000 (13:34 +0300)]
ucm2: common: pcm: Add hdmi.conf to handle the creation

User space expect to see hdmi: PCM devices to be able to use bytestream
passthrough.

The common/pcm/hdmi.conf provides two macros:
HdmiPCM: to generate an ALSA conf section for an hdmi: PCM device
HdmiPCMSave: to save the generated config

Example of use (sof-hda-dsp card with hardware HDMI PCMs: 3-5):
Macro.0.HdmiPCM { Device 3 Index 0 }
Macro.1.HdmiPCM { Device 4 Index 1 }
Macro.2.HdmiPCM { Device 5 Index 2 }
Macro.3.HdmiPCMSave { }

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/411
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agosof-soundwire: Add basic support for cs42l43's speaker
Charles Keepax [Tue, 23 Apr 2024 15:43:05 +0000 (16:43 +0100)]
sof-soundwire: Add basic support for cs42l43's speaker

Previous support was added for the mics and headset on cs42l43, expand
this support with additional configuration for the speaker output.

Link: https://lore.kernel.org/alsa-devel/20240423154305.2782347-1-ckeepax@opensource.cirrus.com/
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoqcom: sdm845: MM1: enable jack detection
Anton Bambura [Sat, 6 Apr 2024 21:17:03 +0000 (00:17 +0300)]
qcom: sdm845: MM1: enable jack detection

This has been added to kernel recently, so make use of it here.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/408
Signed-off-by: Anton Bambura <jenneron@postmarketos.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoqcom: sdm845: MM1: use analog volume controls instead of
Anton Bambura [Sat, 6 Apr 2024 21:16:40 +0000 (00:16 +0300)]
qcom: sdm845: MM1: use analog volume controls instead of

Besides the improvement by using analog volume control, it also makes
volume levels normal instead of insanely high levels reached by this
digital mixer.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/408
Signed-off-by: Anton Bambura <jenneron@postmarketos.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoucm2: Qualcomm: x1e80100: correct headphones
Krzysztof Kozlowski [Fri, 16 Feb 2024 10:29:26 +0000 (11:29 +0100)]
ucm2: Qualcomm: x1e80100: correct headphones

Fix wireplumber warnings:

  Path HP Digital is not a volume or mute control

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/396
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>