Volume either 0 or 100% on Lenovo X1 Carbon G7

Bug #1853440 reported by Jan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Volume increasing or decreasing doesn't work.
I can only toggle sound on (= 100%) and off (= 0%).

What I found out is that the Master channel seems to have no effect for volume adjustments, but the PCM channel does. If the sound is muted, PCM is set to 0 and therefore the sound is toggled off, but when I increase the sound a bit, PCM jumps straight to 100, causing the speakers to be very load.

I have attached alsa-info output.

System environment:
Pop!_OS 19.10
Release: 19.10

Alsa-Version:
alsa-base: 1.0.25

Sound Card:
HDA-Intel
Codec: Realtek ALC285
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: pop:GNOME
DisplayManager: gdm3
DistroRelease: Pop!_OS 19.10
Package: linux
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.3.0-22.24+system76~1573659475~19.10~26b2022-generic 5.3.7
RelatedPackageVersions: mutter-common 3.34.1+git20191107-1ubuntu1~19.10.1pop0~1573683812~19.10~50e928a
Tags: third-party-packages eoan
Uname: Linux 5.3.0-22-generic x86_64
UnreportableReason: This is not an official Pop!_OS package. Please remove any third party package and try again.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm sudo
_MarkForUpload: True

Revision history for this message
Jan (jan561) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1853440

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

tags: added: eoan
affects: alsa-driver (Ubuntu) → linux (Ubuntu)
Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jan (jan561) wrote : Dependencies.txt

apport information

tags: added: apport-collected third-party-packages
description: updated
Revision history for this message
Jan (jan561) wrote : GsettingsChanges.txt

apport information

Revision history for this message
Jan (jan561) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Jan (jan561) wrote : ProcEnviron.txt

apport information

Revision history for this message
Jan (jan561) wrote : ShellJournal.txt

apport information

Revision history for this message
AaronMa (mapengyu) wrote :

Could you try linux-oem-osp1 kernel?

Revision history for this message
Jan (jan561) wrote :

With this kernel there is no sound at all.

In gnome sound settings there is only the "Dummy Output" device.
Just out of curiosity I tried to fix this specific problem following this article:
https://www.linuxuprising.com/2018/06/fix-no-sound-dummy-output-issue-in.html
But this didn't fix my problem.

Changed in gnome-shell (Ubuntu):
status: Incomplete → New
Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1853440

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Hui Wang (hui.wang) wrote :

There is a fix for this issue.

commit d2cd795c4ece1a24fda170c35eeb4f17d9826cbb
Author: Jaroslav Kysela <email address hidden>
Date: Fri Nov 29 15:40:27 2019 +0100

    ALSA: hda - fixup for the bass speaker on Lenovo Carbon X1 7th gen

    The auto-parser assigns the bass speaker to DAC3 (NID 0x06) which
    is without the volume control. I do not see a reason to use DAC2,
    because the shared output to all speakers produces the sufficient
    and well balanced sound. The stereo support is enough for this
    purpose (laptop).

    Signed-off-by: Jaroslav Kysela <email address hidden>
    Link: https://<email address hidden>
    Signed-off-by: Takashi Iwai <email address hidden>

no longer affects: gnome-shell (Ubuntu)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Hui Wang (hui.wang) wrote :

Please test with this kernel:

https://people.canonical.com/~hwang4/lp1853440/

thx.

Revision history for this message
Jan (jan561) wrote :

Perfect, this kernel version resolves this bug! Thanks for your help!

Should I close this issue now, or should I wait until the fix gets merged into the normal kernel?

Revision history for this message
Jan (jan561) wrote :

Nevermind this bug tracker works differently than github issues :)

(my first bug here as you can probably tell)

Revision history for this message
Adnan Hodzic (fooctrl) wrote :

I have this same very problem after latest update on Ubuntu 18.04 with 5.3.0-42-generic. Any ideas?

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.