[Bug 2042902] Re: ucm2: soundwire: add rt713 SDCA device
Ubuntu Foundations Team Bug Bot
2042902 at bugs.launchpad.net
Fri Nov 10 04:14:03 UTC 2023
The attachment "alsa-ucm-conf_1.2.6.3-1ubuntu1.9.debdiff" seems to be a
debdiff. The ubuntu-sponsors team has been subscribed to the bug report
so that they can review and hopefully sponsor the debdiff. If the
attachment isn't a patch, please remove the "patch" flag from the
attachment, remove the "patch" tag, and if you are member of the
~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2042902
Title:
ucm2: soundwire: add rt713 SDCA device
Status in alsa-ucm-conf package in Ubuntu:
New
Bug description:
[ Impact ]
Affects devices with SoundWire-Audio Codec-ALC713 and SoundWire-Jack Codec-ALC713.
Without correct configurations in userspace above codecs cannot be used. Thus in Settings > Sound > Output test doesn't produce sounds and Input device is greyed out.
[ Fix ]
Adding rt713 config files in ucm2 will allow to utilize those codecs.
Upstream commit added support: https://github.com/alsa-project/alsa-ucm-conf/pull/363
[ Test Plan ]
Device with the soundwire card
$ cat /proc/asound/cards
0 [sofsoundwire ]: sof-soundwire - sof-soundwire
Intel Soundwire SOF
Before fix:
1. $ alsactl init
alsa-lib utils.c:364:(uc_mgr_config_load_into) could not open configuration file /usr/share/alsa/ucm2/sof-soundwire/rt713.conf
alsa-lib parser.c:77:(uc_mgr_config_load_file) error: failed to open file /usr/share/alsa/ucm2/sof-soundwire/rt713.conf: -2
alsa-lib main.c:1412:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
Found hardware: "sof-soundwire" "Intel Meteorlake HDMI" "HDA:8086281d,80860101,00100000 cfg-spk:2 cfg-amp:2 hs:rt713-sdca spk:rt1316 mic:rt713-dmic" "" ""
Hardware is initialized using a generic method
2. $ amixer contents
...
numid=24,iface=MIXER,name='Headphone Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
...
numid=33,iface=MIXER,name='IEC958 Playback Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
After fix: after adding patch files
1. $ alsactl init
alsa-lib main.c:779:(execute_sequence) exec '/bin/rm -rf /var/lib/alsa/card0.conf.d' failed (exit code 1)
(note: assuming that failed to remove the empty directory is not a
critical problem)
2. $ amixer contents
...
numid=24,iface=MIXER,name='Headphone Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
...
numid=33,iface=MIXER,name='IEC958 Playback Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
[Where problems could occur]
* This change adds new hardware support.
* The change only adds new hardware support,
it will not affect other codec device.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-ucm-conf/+bug/2042902/+subscriptions
More information about the Ubuntu-sponsors
mailing list