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>
Chris Morgan [Fri, 24 Feb 2023 19:33:20 +0000 (13:33 -0600)]
ucm2: Rockchip: rk817: Add ALSA UCM support
Add ALSA-UCM support for the Rockchip RK817 audio codec. This codec
is typically configured either with an internal or external amplifier
as reflected by the longname. This configuration has been tested on
the Anbernic RG353P (rk817_ext) and the Odroid Go Advance (rk817_int).
Changes from V1:
- Use a constant to control if the output mux is set to HP or SPK.
Jaroslav Kysela [Mon, 20 Feb 2023 14:36:53 +0000 (15:36 +0100)]
sof-soundwire: Initialize PGA switch controls in the BootSequence
A bug in the driver / firmware may cause that the paths are
active for the first boot, but if the sound card state is saved
and restored later (e.g. next boot), the paths may be deactivated.
This UCM config is derived from https://gitlab.com/pine64-org/pine64-alsa-ucm/, which is BSD-3-Clause licensed.
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/134 Signed-off-by: Tom Fitzhenry <tom@tom-fitzhenry.me.uk> Co-authored-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Co-authored-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>