[Bug 2042902] [NEW] ucm2: soundwire: add rt713 SDCA device

Launchpad Bug Tracker 2042902 at bugs.launchpad.net
Fri Nov 10 04:14:02 UTC 2023


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

[ 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.

** Affects: alsa-ucm-conf (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch
-- 
ucm2: soundwire: add rt713 SDCA device
https://bugs.launchpad.net/bugs/2042902
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.




More information about the Ubuntu-sponsors mailing list