Commit Graph

634 Commits

Author SHA1 Message Date
Nedko Arnaudov 7de158eb63 Merge branch 'Behringer-UMC404HD' into branch 'main' 2023-08-05 18:51:27 +03:00
Nedko Arnaudov f347697354 Merge branch 'Asus-U7' into branch 'main' 2023-08-05 18:50:45 +03:00
Nedko Arnaudov b40836ed3e ucm2/USB-Audio/Asus/U7.conf: Basic implementation 2in+8out 2023-08-05 18:47:31 +03:00
Nedko Arnaudov f323595d6d ucm2/USB-Audio/Behringer/UMC404HD.conf.conf: HiFi profile, 4in+4out 2023-08-05 18:46:44 +03:00
Nedko Arnaudov 431c7bb2cf Adjust README.md after disabling github CI workflow
The validation fails with lastest as of today alsa-ucm-conf and alsa-tests
2023-08-05 18:46:44 +03:00
Nedko Arnaudov 695676ea35 Disable github CI workflow
The validation fails with lastest as of today alsa-ucm-conf and alsa-tests
2023-08-05 18:46:44 +03:00
Jaroslav Kysela d42e1d149b USB-Audio: Do not use 4ch playback stream for stereo Focusrite Scarlet devices
Link: https://github.com/alsa-project/alsa-ucm-conf/pull/309
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/329
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/314
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-06-29 18:09:02 +02:00
Calvin Walton c615513d74 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>
2023-06-29 17:58:10 +02:00
Jaroslav Kysela dc561ab6b0 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.

Link: https://github.com/alsa-project/alsa-ucm-conf/issues/333
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-06-29 17:36:15 +02:00
Xi Ruoyao 226c9b7b01 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>
2023-06-28 13:30:32 +02:00
Sunsheep 309d2afd75 USB-Audio: ALC4080: Add USB ID 0b05:1a5c (ASUS ROG Strix B650E-I)
Added configuration for ASUS ROG Strix B650E-I Gaming WiFi and ALC4080

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/315
Signed-off-by: <fm@hotmail.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-06-28 13:26:06 +02:00
BojanK 4ab99c9e8e 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>
2023-06-28 12:51:57 +02:00
Arnaud Ferraris 00eb2cfe2e 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>
2023-06-28 12:50:05 +02:00
Chris H. Meyer b4f4fbcdc0 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>
2023-06-28 12:48:50 +02:00
Srinivas Kandagatla 9bda3d15cc ucm2: Qualcomm: sc8280xp: fix device numbers
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.

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/331
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/284
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-06-28 12:47:58 +02:00
pseudoc 40d9c6c25c acp62: add initial support for AMD ACP v6.2 RPL
Also simplify the regex for AcpCardId.

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/332
Signed-off-by: Atlas Yu <atlas.yu@canonical.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-06-28 12:46:00 +02:00
pseudoc 65ba35a33d acp63.conf: use symbolic link
Signed-off-by: Atlas Yu <atlas.yu@canonical.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-06-28 12:45:11 +02:00
Aaron Ma f9650636f4 acp63: add initial support for AMD Pink Sardine - ACP63
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/327
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/326
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-06-26 17:38:20 +02:00
Jaroslav Kysela 5cdbc7e283 sof-hda-dsp: move card-init include to top
... otherwise the rm is called after the nhlt-dmic-info

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-05-16 17:39:02 +02:00
Jaroslav Kysela 9fa70add76 sof-hda-dsp,sof-soundwire: add CaptureMicInfoFile fields for dmics
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-05-16 16:26:38 +02:00
Jaroslav Kysela 906f692e4e sof-essx8336: Dmic is not a valid UCM device identifier, use Mic
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-05-04 14:37:06 +02:00
Jaroslav Kysela 9a2ce36578 Release v1.2.9
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-05-04 09:16:19 +02:00
Jameson Reed 23253488e6 Gigabyte Z690I AORUS ULTRA DDR4, Realtek alc4080
add another board using realtek alc4080

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/307
Signed-off-by: Jameson Reed <jameson.app@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-04-25 14:05:50 +02:00
Jaroslav Kysela b4364768d2 USB-Audio: fix bad Conditio in If.minifuse4
There should be 'Needle' keyword instead 'Regex' for the
string condition.

Fixes: https://github.com/alsa-project/alsa-ucm-conf/issues/305
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-04-25 14:03:36 +02:00
bernsnf 810367c244 USB-Audio: Add Minifuse 4
I created a separate file because of the additional input-Pairs and
output-Pairs result in different loopback channels.

Without the usecase outputs threated as surround channels.

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/287
From: bernsnf <github>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-04-17 10:26:12 +02:00
Laurens Miers caf4f9e86b 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>
2023-04-17 10:16:30 +02:00
Srinivas Kandagatla 873fba2e0f ucm2: codecs: va-macro: fix dmic1 mux setting
Looks like there was a typo in setting up dmic1 mux. Without this dmic01
selection would only do single channel record instead of 2 channel recording.

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/294
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-04-17 10:13:03 +02:00
Sebastian Mangelsen 1c6f86cdaa 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>
2023-04-17 10:12:57 +02:00
KobaKo a2cabe3044 sof-hda-dsp: Add speaker led support
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/302
Signed-off-by: KobaKo <koba.ko@canonical.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-04-17 10:06:12 +02:00
Michaili K d68f04814b USB-Audio: ALC4080 on Gigabyte Z690 AORUS ULTRA
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/304
From: Michaili K <github>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-04-17 10:04:57 +02:00
Jaroslav Kysela f5d3c381e4 USB-Audio: ALC4080 on MSI PRO X670-P WIFI
Fixes: https://github.com/alsa-project/alsa-ucm-conf/issues/285
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-03-20 15:48:59 +01:00
Paride f36c62b70f 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>
2023-03-20 15:46:18 +01:00
cloudy-dev 498b9dd4fe USB-Audio: ALC4080 - Add MSI MAG B650M MORTAR WIFI (USB ID: 0db0:7696)
Adds support for the MSI MAG B650M MORTAR WIFI motherboard front & back 3.5mm jacks.

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/289
From: cloudy-dev@github
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-03-20 15:44:33 +01:00
Jaroslav Kysela 5f2c7c5486 wcd938x codec: remove empty DefaultDisableSeq.conf
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-03-20 15:31:09 +01:00
Srinivas Kandagatla 44d8a48f08 ucm2: Qualcomm: sc8280xp: add LENOVO Thinkpad X13s support
Add support to LENOVO Thinkpad x13s which has 2xwsa883x smart speakers and a headset connector.

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/284
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-03-20 15:29:28 +01:00
Srinivas Kandagatla aa2d88c329 ucm2: codecs: lpass: tx: add dmics via tx macro
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-03-20 15:28:00 +01:00
Srinivas Kandagatla 75616b9c2b ucm2: codecs: lpass: make sure va dec mux is set correctly
Make sure VA decimator mux is correctly set while using DMICs by adding
explicit mixer control to set it in enable sequence.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-03-20 15:28:00 +01:00
Srinivas Kandagatla 8c7b2c7e25 ucm2: codecs: lpass: add codec sequences for va dmic1
Add codec sequences for VA DMIC1 settings.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-03-20 15:28:00 +01:00
Srinivas Kandagatla 3f87cd151d ucm2: codecs: lpass-tx-macro: add codec sequences
Add default, enable/disable codec sequence for Qualcomm LPASS TX Macro
digital codec

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-03-20 15:28:00 +01:00
Srinivas Kandagatla 5beea542b4 ucm2: codecs: lpass-rx-macro: add codec sequences
Add default, enable/disable codec sequence for Qualcomm LPASS TX Macro
digital codec

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-03-20 15:28:00 +01:00
Srinivas Kandagatla f1ca02199f ucm2: codecs: wcd938x: add codec sequences
Add default, enable/disable codec sequence for Headphone and Mic on
WCD938x codec

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-03-20 15:28:00 +01:00
Srinivas Kandagatla 751527781d ucm2: codecs: wsa883x: add codec sequences
Add default, enable/disable codec sequence for wsa883x codec

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-03-20 15:28:00 +01:00
Chris Morgan b0497ca4b5 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.

Link: https://lore.kernel.org/alsa-devel/20230224193320.1503-1-macroalpha82@gmail.com/
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-03-02 14:37:34 +01:00
13r0ck c79e8c18c6 USB-Audio: ALC4080 - add wrx80e sage se wifi (ID: 0b05:1984)
This motherboard is recognized by system76 as the mega-r2

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/282
Signed-off-by: 13r0ck <brock@szu.email>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-02-27 07:45:50 +01:00
Jaroslav Kysela b90b391bcf README.md: add --wildcards also for the second tar command
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-02-26 23:45:58 +01:00
Jaroslav Kysela 507a439988 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.

BugLink: https://github.com/thesofproject/linux/issues/4196
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-02-20 15:36:53 +01:00
Nikita Brancatisano ba6286f121 USB-Audio: ALC4080 - adds support for USB ID 0414:a010 (Gigabyte Z590 Vision G)
The GIGABYTE Z590 Vision G Intel motherboard contains a Realtek ALC4080 souncard
that was missing from the available UCMs.

The change works on my machine and the HiFi profile seems to be fully functional

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/279
From: Nikita Brancatisano
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-02-17 14:18:53 +01:00
yesmorepain 709f53e150 USB-Audio: ALC4080 - Add support for MSI MAG Z590 Tomahawk WiFi motherboard
USB ID: 0db0:4240

Adds support for Z590 Tomahawk WiFi, microphone jack is now working

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/278
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-02-07 10:16:43 +01:00
Jérémy Lal 17eb106844 max98090: drop Record Path DC Blocking to fix int mic
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/276
Fixes: https://github.com/alsa-project/alsa-ucm-conf/issues/270
Signed-off-by: Jérémy Lal <kapouer@melix.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-02-07 09:31:09 +01:00
Rasmus Rosendahl-Kaa 89fe2a75cd USB-Audio: ALC4080 - Support for MSI B650 Tomahawk Wifi - USB ID 0db0:422d
This would enable sound connected to the MSI B650 Tomahawk Wifi motherboard

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/274
From: Rasmus Rosendahl-Kaa
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-02-06 08:02:21 +01:00