[PATCH 0/1][SRU][OEM-5.10/H/U] ALSA: hda/cirrus: Set Initial DMIC volume for Bullseye to -26 dB

You-Sheng Yang vicamo.yang at canonical.com
Tue Apr 27 05:59:48 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1923557

[Impact]

On some platforms with Cirrus CS8409 audio codec, DMIC volume default
value in kernel driver is 0, which follows no audio sound will be played
during installation and OOBE until being explicitly configured again via
GNOME Settings GUI or other methods.

[Fix]

Commit 0e853a9c3937 ("ALSA: hda/cirrus: Set Initial DMIC volume for
Bullseye to -26 dB") currently landed in upstream tiwai/sound.git is
required this address this issue. It's also being proposed to v5.13
merge window.

[Test Case]

Try to remove all the user space settings caches and reboot. The
detailed steps are:

  $ sudo systemctl disable alsa-restore.service
  $ sudo rm /var/lib/alsa/asound.state
  $ sudo reboot
  $ amixer sget 'Internal Mic',0
  Simple mixer control 'Internal Mic',0
    Capabilities: cvolume cswitch
    Capture channels: Front Left - Front Right
    Limits: Capture 0 - 63
    Front Left: Capture 0 [0%] [-51.00dB] [off]
    Front Right: Capture 0 [0%] [-51.00dB] [off]

Expect 40% in the front left/right capture volumes.

[Where problems could occur]

This gives the default value of Cirrus CS8409 audio codec capture volume
on Bullseye only. Cannot come out with any side effect it may produce so
far.

[Other Info]

By SRU we skipped a couple of refactoring changes in asound upstream
tree, so additional changes to the original patch are required to
backport.

Stefan Binding (1):
  UBUNTU: SAUCE: ALSA: hda/cirrus: Set Initial DMIC volume for Bullseye
    to -26 dB

 sound/pci/hda/patch_cirrus.c | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.30.2




More information about the kernel-team mailing list