Cirrus Audio Codec CS8409/CS42L42: Input Device does not switch to headset Mic when a headset is inserted

Bug #1918378 reported by You-Sheng Yang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
High
You-Sheng Yang
Focal
Invalid
Undecided
Unassigned
Hirsute
Fix Released
High
You-Sheng Yang
linux-oem-5.10 (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
High
You-Sheng Yang
Hirsute
Invalid
Undecided
Unassigned

Bug Description

[SRU Justfication]

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

[Impact]

With headset/mic injected, GNOME Settings does not update record volume
control option to the headset one automatically.

[Fix]

https://github.com/CirrusLogic/product-support/blob/82915ae88a02781b173c83568426722789d74f37/dell/hda/5.10.7/0001-ALSA-hda-cirrus-Fix-Headset-Mic-volume-control-name.patch

[Test Case]

Tested on affected platform. With the patch, both playback and record
volume control will be updated simultaneously.

[Where problems could occur]

Control object name string update only.

[Other Info]

This is a follow-up for patchset
https://lists.ubuntu.com/archives/kernel-team/2021-March/117814.html
titled "Cirrus CS8409 HDA bridge/CS42L42 codec support".

========== original bug description ==========

Steps:
1. With the latest test kernel from Vicamo's PPA as of 3/8
2. Plug in a headset

Expected behavior:
Input Device should switch to Headset Microphone - Built-in Audio

Actual behavior:
Input Device remains at Microphone - Built-in Audio and users need to manually switch to correct Input Device for the audio recording via headset to work

CVE References

Revision history for this message
You-Sheng Yang (vicamo) wrote :
Changed in linux (Ubuntu Focal):
status: New → Invalid
Changed in linux-oem-5.10 (Ubuntu Hirsute):
status: New → Invalid
Changed in linux (Ubuntu Hirsute):
status: New → In Progress
tags: added: oem-priority originate-from-1918236 somerville
Changed in linux (Ubuntu Hirsute):
importance: Undecided → High
Changed in linux-oem-5.10 (Ubuntu Focal):
importance: Undecided → High
status: New → In Progress
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
You-Sheng Yang (vicamo) wrote : Re: [Bug 1918378] Re: Cirrus Audio Codec CS8409/CS42L42: Input Device does not switch to headset Mic when a headset is inserted

Verified. Going to SRU.

Revision history for this message
You-Sheng Yang (vicamo) wrote :
You-Sheng Yang (vicamo)
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Copied from https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1916554/comments/61:

Comments from CirrusLogic:
"
New set of patches have been accepted to ALSA upstream: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git branch for-next.
Commits IDs are:
ALSA: hda/cirrus: Make CS8409 driver more generic by using fixups.
9f8de3b7d789693008b65a4849bc444e81fcfe5a ALSA: hda/cirrus: Fix CS42L42 Headset Mic volume control name
61a9aba19f4482984dc7ec5c04c54bf51166cff2 ALSA: hda/cirrus: Cleanup patch_cirrus.c code.
fb3447d5842b71ec960da1b8a3ca5ee5f46a5327 ALSA: hda/cirrus: Add error handling into CS8409 I2C functions
"

Revision history for this message
You-Sheng Yang (vicamo) wrote :

Had review of above commits. The additional patches are for cleanups and refactoring, and they can be cherry-picked any time necessary. I'm not going to revise the SRU proposal.

Timo Aaltonen (tjaalton)
Changed in linux-oem-5.10 (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
You-Sheng Yang (vicamo) wrote :

In 5.10.0-1020-oem in focal-proposed now.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
Revision history for this message
You-Sheng Yang (vicamo) wrote :

verified linux-oem-5.10 version 5.10.0-1020.21 from focal-proposed.

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 5.11.0-13.14

---------------
linux (5.11.0-13.14) hirsute; urgency=medium

  * CVE-2020-27170
    - bpf: Prohibit alu ops for pointer types not defining ptr_limit
    - bpf, selftests: Fix up some test_verifier cases for unprivileged

  * CVE-2020-27171
    - bpf: Fix off-by-one for area size in creating mask to left

 -- Andrea Righi <email address hidden> Fri, 19 Mar 2021 16:49:32 +0100

Changed in linux (Ubuntu Hirsute):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-oem-5.10 - 5.10.0-1021.22

---------------
linux-oem-5.10 (5.10.0-1021.22) focal; urgency=medium

  * focal/linux-oem-5.10: 5.10.0-1021.22 -proposed tracker (LP: #1922921)

  * Display abnormal on the TGL+4k panel machines (LP: #1922885)
    - drm/i915/display: Do not allow DC3CO if PSR SF is enabled
    - SAUCE: drm/i915/display/psr: Disable DC3CO when the PSR2 is used

  * Fix mic on P620 after S3 resume (LP: #1921757)
    - ALSA: usb-audio: Carve out connector value checking into a helper
    - ALSA: usb-audio: Check connector value on resume

 -- Timo Aaltonen <email address hidden> Wed, 07 Apr 2021 18:07:55 +0300

Changed in linux-oem-5.10 (Ubuntu Focal):
status: Fix Committed → Fix Released
Changed in hwe-next:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.