** Description changed:

  [ Impact ]
  Affects devices that use SoundWire-Audio Codec-ALC713 and SoundWire-Jack 
Codec-ALC713.
  Without correct configurations in userspace above codecs cannot be used.
  
  [ 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 ]
- On the device with rt713 codecs: 
+ Device with the soundwire card
  
- !!-------Mixer controls for card sofsoundwire
- 
- Card sysdefault:1 'sofsoundwire'/'Intel Soundwire SOF'
-   Mixer name    : 'Intel Meteorlake HDMI'
-   Components    : 'HDA:8086281d,80860101,00100000 cfg-spk:2 cfg-amp:2 
hs:rt713-sdca spk:rt1316 mic:rt713-dmic'
-   Controls      : 59
-   Simple ctrls  : 36
+ $ 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
+   ; type=BOOLEAN,access=rw------,values=1
+   : values=off
  ...
  numid=33,iface=MIXER,name='IEC958 Playback Switch'
-   ; type=BOOLEAN,access=rw------,values=1
-   : values=off
- 
+   ; 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
+   ; type=BOOLEAN,access=rw------,values=1
+   : values=on
  ...
  numid=33,iface=MIXER,name='IEC958 Playback Switch'
-   ; type=BOOLEAN,access=rw------,values=1
-   : values=on
+   ; type=BOOLEAN,access=rw------,values=1
+   : values=on
  
  [Where problems could occur]
  
-  * This change adds new hardware support.
+  * This change adds new hardware support.
  
-  * The change only adds new hardware support,
-    it will not affect other codec device.
+  * The change only adds new hardware support,
+    it will not affect other codec device.
  
  [ Other Info ]
-  
-  * Anything else you think is useful to include
-  * Anticipate questions from users, SRU, +1 maintenance, security teams and 
the Technical Board
-  * and address these questions in advance
+ 
+ In progress...

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to alsa-ucm-conf in Ubuntu.
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 that use SoundWire-Audio Codec-ALC713 and SoundWire-Jack 
Codec-ALC713.
  Without correct configurations in userspace above codecs cannot be used.

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

  [ Other Info ]

  In progress...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-ucm-conf/+bug/2042902/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to