CirrusLogic: The default input volume is "0%" on Dell Warlock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Medium
|
You-Sheng Yang | ||
Focal |
Invalid
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Medium
|
You-Sheng Yang | ||
Impish |
Won't Fix
|
Medium
|
You-Sheng Yang | ||
linux-oem-5.10 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
High
|
You-Sheng Yang | ||
Hirsute |
Invalid
|
Undecided
|
Unassigned | ||
Impish |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[SRU Justification]
[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 527ff9550682 ("ALSA: hda/cirrus: Set Initial DMIC volume to -26
dB") currently landed in upstream tiwai/sound.git is required to address
this issue. It's a follow-up of commit 0e853a9c3937 ("ALSA: hda/cirrus:
Set Initial DMIC volume for Bullseye to -26 dB"), which is applied in
bug 1923557.
[Test Case]
Try to remove all the user space settings caches and reboot. The
detailed steps are:
# reboot to another system with access, e.g. livecd
livecd$ sudo mount /dev/nvme0n1p3 /mnt
livecd$ sudo rm /mnt/var/
livecd$ sudo rm -rf /mnt/home/
livecd$ sudo reboot # reboot back
The original status is like:
$ 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.
$ amixer -c 1 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 25 [40%] [-26.00dB] [on]
Front Right: Capture 25 [40%] [-26.00dB] [on]
[Where problems could occur]
This gives the default value of Cirrus CS8409 audio codec capture volume.
It was previously found on another platform, Bullseye, and fixed in bug
1923557, while latterly convinced being a common bug that should be
fixed without the quirk.
[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. On v5.12 and on, say unstable, the fix can be cleanly
cherry-picked.
========== original bug report ==========
This is a similar bug to bug 1923557, which happens on Dell Bullseye. The initial default input volume right after Ubuntu installation is set to 0% while 16% is expected.
---
ProblemType: Bug
ApportVersion: 2.20.11-
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CasperMD5CheckR
DistributionCha
# This is the distribution channel descriptor for the OEM CDs
# For more information see http://
canonical-
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2021-05-26 (5 days ago)
InstallationMedia: Ubuntu 20.04 "Focal" - Build amd64 LIVE Binary 20200502-05:58
MachineType: Dell Inc. Inspiron 15 3515
Package: linux (not installed)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.187.12
Tags: focal
Uname: Linux 5.10.0-1028-oem x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 05/10/2021
dmi.bios.release: 5.3
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.0.0
dmi.board.
dmi.board.name: 0HVXV1
dmi.board.vendor: Dell Inc.
dmi.board.version: X00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.chassis.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: Inspiron
dmi.product.name: Inspiron 15 3515
dmi.product.sku: 0AF4
dmi.product.
dmi.sys.vendor: Dell Inc.
CVE References
Changed in linux-oem-5.10 (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Hirsute): | |
status: | In Progress → Fix Committed |
importance: | High → Medium |
Changed in linux (Ubuntu Impish): | |
importance: | High → Medium |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in hwe-next: | |
status: | New → Fix Released |
Not sure if warlock is also suffering from https:/ /bugs.launchpad .net/bugs/ 1924997 yet, which applies to Bullseye only, too.