Add the DefaultEnableSeq.conf for the two-speakers setup
the same way done for the four-speakers setup.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/390 Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Alexander Langer [Mon, 29 Jan 2024 08:53:09 +0000 (09:53 +0100)]
USB-Audio: ALC4080: Add support for MSI MPG B650 Carbon Wifi
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/392 Signed-off-by: Alexander Langer <alexander.langer@mestus.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Joe Rouvier [Tue, 23 Jan 2024 15:57:47 +0000 (07:57 -0800)]
USB-Audio: ALC4080: Add support for Asus ROG Maximus Z790 Apex Encore motherboard (0b05:1a97)
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/388 Signed-off-by: Joe Rouvier <joe@rouvier.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Johan Hovold [Mon, 22 Jan 2024 10:02:42 +0000 (11:02 +0100)]
ucm2: Qualcomm: Lenovo-X13s: reduce default headphones volume further
A recent change reduced the default headphones volume from setting 20
(0 dB) to 10 (-15 dB) but also this setting can be quite loud and cause
distortion with some headphones.
Reduce the default volume further to setting 2 (-27 dB), which results
in more comfortable volume levels with such headphones.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/387 Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Johan Hovold [Mon, 15 Jan 2024 10:55:15 +0000 (11:55 +0100)]
ucm2: Qualcomm: sc8280xp: rename include identifier
Rename the WSA macro include identifier, which has nothing to do with
the WCD headphone codec, for consistency.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/382 Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Reduce the default heaphones volume to something more reasonable as the
current setting (0 dB) can be quite loud.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/382 Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Default volume settings should be specified in the BootSequence rather
than in device enable sequences to allow users to override the defaults.
Add machine specific BootSequences to set up reasonable defaults for the
Lenovo ThinkPad X13s and X1E80100 CRD. Note that the settings depends on
the actual hardware configuration and should therefore not be specified
in the (potentially shared) codec init files.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/382 Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Johan Hovold [Mon, 15 Jan 2024 11:23:56 +0000 (12:23 +0100)]
ucm2: Qualcomm: x1e80100: fix hardware volume control
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 sound server falls back to software
mixing as the Speaker and Headphones mixer elements are not defined.
The default Mic volume and Speaker digital volume are also never set by
the BootSequence as intended (even if the Mic volume is currently
overridden in the enable sequence).
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/382 Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Johan Hovold [Tue, 9 Jan 2024 16:51:52 +0000 (17:51 +0100)]
ucm2: Qualcomm: sc8280xp: fix hardware volume control
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 sound server falls back to software
mixing as the Speaker and Headphones mixer elements are not defined.
The default Mic volume and Speaker digital volume are also never set by
the BootSequence as intended (even if the Mic volume is currently
overridden in the enable sequence).
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/382 Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
USB-Audio: Fix ProfileName for HeadphonesOnly for Topping DX3 Pro+
Doesn't take effect otherwise on my DX3 Pro+.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/383 Signed-off-by: Alexander Koskovich <akoskovich@pm.me> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
USB-Audio: Add UCM2 configuration for Topping DX3 Pro+
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/362 Signed-off-by: Sophie Tauchert <sophie@999eagle.moe> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Sophie Tauchert [Wed, 10 Jan 2024 09:07:14 +0000 (10:07 +0100)]
USB-Audio: Add support for Solid State Labs SSL 2
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/377 Signed-off-by: Sophie Tauchert <sophie@999eagle.moe> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Rome Reginelli [Mon, 15 Jan 2024 00:29:46 +0000 (16:29 -0800)]
USB-Audio: ALC4080: Add MSI MEG Z690 ACE support (0db0:124b)
Tested this out on my motherboard and it fixed my problem with
the onboard sound being treated as a generic USB device.
Fixing it allowed me to record from line-in, among other things.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/381 Signed-off-by: Rome Reginelli <mduo13@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Boud Roukema [Wed, 1 Nov 2023 00:58:49 +0000 (01:58 +0100)]
Initialise AIF2 ADC Stereo Capture Route
As pointed out in issue #351 [1], the parameter 'AIF2 ADC Stereo
Capture Route' was previously uninitialised. I'm not very convinced
that this particular value (Mix Mono) is the best combination with
the other PinePhone settings, but better that there is at least
a value rather than no value, so that people can provide bug
reports based on tests that are closer to being reproducible.
As described in [1], there is circumstantial evidence favouring
this value.
This commit does not set a value for HiFi.conf - presumably
the value is irrelevant for HiFi, which does not appear to
be as buggy as VoiceCall.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/365 Signed-off-by: Boud Roukema <boud@cosmo.torun.pl> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Boud Roukema [Fri, 3 Nov 2023 16:15:03 +0000 (17:15 +0100)]
Documentation: Add ucm URL
This commit adds the main alsa-ucm-conf documentation
URL to PinePhone.conf, and clarifies the relevance of
the other three URLs.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/366 Signed-off-by: Boud Roukema <boud@cosmo.torun.pl> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Add support to Qualcomm X1E80100 CRD with four smart speakers and a
headset connector.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/369 Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
On four-speaker setups we have two instances of WSA macro codecs with
sound-name-prefix ("WSA" and "WSA2"). Add sequences for such
configuration.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/369 Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Charles Keepax [Wed, 6 Dec 2023 16:46:12 +0000 (16:46 +0000)]
sof-soundwire: Add basic support for basic cs35l56 configurations
cs35l56 is a boosted speaker amp, add UCM support for configurations
with up to 8 amps.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/370 Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/376 Signed-off-by: Miroslav Hubenko <miroslavgubenko@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Hans de Goede [Sat, 21 Oct 2023 21:16:14 +0000 (23:16 +0200)]
bytcr-wm5102: Add support for different microphone routes
Unlike all designs supported sofar the Lenovo Yoga Tab 3 YT3-X90 does not
have its internal microphone (intmic) on IN3L with the headset microphone
on IN1L. Instead this tablet has the intmic on IN1L and the hsmic on IN2L.
Add IN1-InternalMic.conf and IN2-HeadsetMic.conf config snippets
under ucm2/codecs/wm5102/ for this and check the components string
to determine which microphone routes should be used.
Hans de Goede [Sat, 21 Oct 2023 14:31:09 +0000 (16:31 +0200)]
chtnau8824: Mono speaker fixes
2 mono speaker setup fixes:
1. Use the kernel's components string to check for a mono-speaker device
when the board has a components string.
2. So far known nau8824 boards with a mono speaker where using the right
speaker channel, which is unusual. Normally mono speaker setups use
only the left speaker channel. The Cyberbook T116 tablet is a nau8824
based model, which indeed uses the left speaker channel for its single
speaker.
Modify ucm2/codecs/nau8824/MonoSpeaker.conf to send a left+right
channel mix to both speaker channels, so that things will work
independent of which speaker channel is used for a mono setup.
Hans de Goede [Sun, 29 Oct 2023 14:50:07 +0000 (15:50 +0100)]
codecs/es8316: Fix mono speaker settings from previous boot getting applied
When codecs/es8316/MonoSpeaker.conf's EnableSeq was run last before
shutdown the 'Playback Polarity' and 'DAC Mono Mix Switch' controls for
Mono Speaker output get saved and restored on the next boot.
These settings are undone by the MonoSpeaker DisableSeq, but that never
runs when an updated kernel switches from the default "cfg-spk:1" in
components to "cfg-spk:2" for devices which do actually have 2 speakers,
which causes the ucm profile to use codecs/es8316/Speaker.conf instead.
Set the 'Playback Polarity' and 'DAC Mono Mix Switch' controls to their
defaults in codecs/es8316/EnableSeq.conf to avoid them getting stuck
in Mono mix mode in this scenario.
Shuming Fan [Thu, 12 Oct 2023 02:07:36 +0000 (10:07 +0800)]
ucm2: soundwire: add rt713 SDCA device
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/363 Signed-off-by: Shuming Fan <shumingf@realtek.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Simon Greaves [Mon, 21 Aug 2023 20:42:03 +0000 (21:42 +0100)]
Add a config for the Allen & Heath Zedi 10 mixer.
The mixer has an embedded 4x4 USB interface, this config surfaces
the mixer channels as 4 mono inputs, 2 stereo inputs and 2 stereo
outputs. Config based on the Behringer Flow8 config.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/341 Signed-off-by: Simon Greaves <sjgreaves@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Roland/BridgeCast - adjust capture priority for input channels
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/354 Signed-off-by: Sebastian Mangelsen <github@mangelsen.se> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Roland/BridgeCast - adjust new input channels after latest FW update
- the latest FW updated exposed yet another channel
for SFX sounds, played on button events
- legacy channels have been renumbered
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/354 Signed-off-by: Sebastian Mangelsen <github@mangelsen.se> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- comment is used as profile name when using
pavucontrol, DEFAULT wasn't saying much
thus I've changed it to something more
explanatory.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/354 Signed-off-by: Sebastian Mangelsen <github@mangelsen.se> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Roland Bridgecast - add missing intermediate config file
- tested on ArchLinux running UCM version 1.2.10
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/354 Signed-off-by: Sebastian Mangelsen <github@mangelsen.se> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2: codecs: lpass-rx: use set Digital gain at 0dB
For some reason we ended up with a Digital gain below 0dB, resulting in
a very low HP volume.
Fix this to 0dB and let Analog gain control HP volume.
Also remove all redundant setting of this control.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/335 Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Reviewed-by: Johan Hovold <johan+linaro@kernel.org> Tested-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2: codecs: lpass-wsa: use set Digital gain at 0dB
For some reason we ended up with a Digital gain below 0dB, resulting in
a very low speaker volume.
Fix this to 0dB and let Analog gain control speakers volume.
CloseS: https://github.com/alsa-project/alsa-ucm-conf/pull/335 Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Reviewed-by: Johan Hovold <johan+linaro@kernel.org> Tested-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2: codecs: wcd938x: use Analog volume for HeadPhones
Current setup used Digital Volume to control Headset Volume which is
pretty saturated after centain gain. Fix the Digital gain at 0dB and use
Analog gain to do the volume control.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/335 Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Reviewed-by: Johan Hovold <johan+linaro@kernel.org> Tested-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
tegra: Add UCM for MAX98089 based LG Optimus 4X HD and Vu
Maxim MAX98089 based LG Optimus 4X HD and Vu are powered by
NVIDIA Tegra30 SoC. They feature 2-channel speaker, built-in
stereo microphone and 4-pin 3.5mm jack for headphones and
headset.
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/291 Tested-by: Andreas Westman Dorcsak <hedmoo@yahoo.com> # LG P880 T30 Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # LG P895 T30 Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Wolfson Microelectronics WM8903 based ASUS Transformer tablet devices
are powered by NVIDIA Tegra30 SoC. They feature 2-channel speaker,
built-in mono microphone and 4-pin 3.5mm jack for headphones and
headset.
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/291 Tested-by: Robert Eckelmann <longnoserob@gmail.com> # ASUS TF101 T20 Tested-by: Andreas Westman Dorcsak <hedmoo@yahoo.com> # ASUS TF300T T30 Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # ASUS TF300T T30 Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Ion Agorria [Mon, 4 Jul 2022 18:11:14 +0000 (21:11 +0300)]
tegra: Add UCM for RT5631 based ASUS Transformers
Realtek RT5631 based ASUS Transformer tablet devices are powered by
NVIDIA Tegra30 SoC. They feature 2-channel built-in speaker, built-in
1-channel microphone and 4-pin 3.5mm jack for headphones/headset.
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/291 Tested-by: Andreas Westman Dorcsak <hedmoo@yahoo.com> # ASUS TF700T T30 Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # ASUS TF201 T30 Signed-off-by: Ion Agorria <ion@agorria.com> Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
WeirdTreeThing [Thu, 17 Aug 2023 01:16:54 +0000 (21:16 -0400)]
SplitPCM: Fix Device variable in SplitPCMDevice macro
Currently, the variable name is dev instead of Device as the comment
would suggest, update the name to fit the comment. Also, the variable
gets ignored due to it getting set to nothing right away, remove that
line to allow the variable to work as intended.
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/339 Signed-off-by: WeirdTreeThing <bradyn127@protonmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Calvin Walton [Wed, 3 May 2023 15:03:35 +0000 (11:03 -0400)]
ucm2: USB-Audio: Add support for more Focusrite Scarlet 2-input devices
Adds USB ids for several more 2i2 and 2i4 devices, along with the Solo
devices. Solo is basically identical to the 2i2 devices of the same
generation; the difference is that the first input can only be used for
a mic, and the second input can only be used for line/instrument. (On
the 2i devices, both inputs are the same - they both have mic preamps,
and both support line/instrument input.)
The conditions in the main configuration have been rewritten to assign
properties by device model and generation to simplify things and allow
setting comments on the playback/capture devices to better indicate
their functionality on different models.
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/309 Signed-off-by: Calvin Walton <calvin.walton@kepstin.ca> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Thu, 29 Jun 2023 15:35:31 +0000 (17:35 +0200)]
USB-Audio: Arturia: set S32_LE format for SplitPCM
Improve quality with forcing the S32_LE format. Apparently,
current pipewire does not handle correctly the conflicting
PCM streams - not all splitted streams are closed before
rate / format change.
Xi Ruoyao [Thu, 22 Jun 2023 21:14:30 +0000 (05:14 +0800)]
Intel/sof-essx8336: Fix HiFi.conf
1. Switch Headphone on/off in Headphones enable/disable sequence. This
should be obvious.
2. "Headset Switch" is not recognized and triggers errors running
"alsaucm -c hw:0 set _verb Hifi". Change it to "Headset Mic Switch".
And in the disable sequence we should turn it off, not on.
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/328 Signed-off-by: Xi Ruoyao <xry111@xry111.site> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
BojanK [Tue, 6 Jun 2023 07:23:32 +0000 (09:23 +0200)]
Add Asus ROG STRIX X670E-F Gaming Wifi to USB-Audio.conf
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/320 Signed-off-by: Bojan Kseneman <bojan.kseneman@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Arnaud Ferraris [Sun, 18 Jun 2023 17:26:46 +0000 (19:26 +0200)]
ucm2: PinePhone: use "Mix Mono" routing for earpiece
The earpiece speaker is a mono device, using only a single channel (in
our case, the left one) from the DA0 output. This causes loss of
information as the right channel is completely discarded when playing
stereo audio.
In order to avoid this issue, set `AIF1 DA0 Stereo Playback Route` to
`Mix Mono` when using the "Earpiece" output port (and only in this
case).
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/324 Signed-off-by: Arnaud Ferraris <aferraris@debian.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Chris H. Meyer [Sun, 25 Jun 2023 19:53:21 +0000 (21:53 +0200)]
Add support for Steinberg UR44C
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/330 Signed-off-by: Chris H. Meyer <christian.h.meyer@t-online.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Due to a bug in the Qualcomm ASoC drivers, we ended up with card device
numbers starting at some number that is not dai-link id. This bug is now
fixed, so update the ucm files inline with this.
Laurens Miers [Wed, 22 Mar 2023 15:04:26 +0000 (16:04 +0100)]
USB-Audio: Add Sony inzone H7/H9 headset default/HiFi usecase
The Sony inzone H7/H9 headset has two usb audio outputs and one usb
audio input.
One pair of audio output and input is the 'chat' interface which is
normally connected to a chat client.
The remaining audio ouput is the 'game' interface, which is normally
connected to the actual game you're playing.
The 'game' interface lists as a separate USB subdevice in alsa.
This commit adds the HiFi usecase for the Sony headset which is as
follows:
- One chat device
- One audio output
- One audio input
- One game device
- One audio output
Tested with pipewire and pulseaudio, verified with pavucontrol, both
devices are listed and audio can be played on both.
The audio is mixed in the headset itself.
Control wise there isn't much, the only thing that is reported in
alsamixer is a volume control for the CAPTURE channel.
However, changing the volume of this does not seem to affect the
actual audio that is recorded, so I don't see a need to change this
when enabling the device.
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/293 Signed-off-by: Laurens Miers <laurensmiers@protonmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
USB: Adding UCM2 configuration for Roland/BridgeCast
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/297
From: Sebastian Mangelsen <sebastian.mangelsen@plejd.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Paride [Mon, 20 Mar 2023 00:01:45 +0000 (01:01 +0100)]
USB-Audio: ALC4080 on MSI MPG Z590 Gaming Force
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/292 Signed-off-by: Tom Paride <parid.tom@icloud.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>