No sound output to speakers

Asked by Zachary G on 2020-11-26

I recently purchased a Lenovo Yoga 7i (model 82BJ0003US). After attempting to install Ubuntu 20.04 and 18.04 (both of which rendered all the touchpad [100% unresponsive], screen ["unknown device" that did not allow for adjustment of resolution and brightness], and sound ["dummy output" which would produce or register no sound output] completely useless. I discovered that installing 20.10 results in proper function of the screen and touchpad, but only half-resolves the audio issue. That is, the "sound" tab in settings recognizes that there is audio output (as indicated by dynamic coloring of the sound bar when I "play" an audio file on rhythmbox or stream an online video), an output device is recognized, and alsamixer identifies that the device is not muted and is turned on. The built-in speakers make no sound, but sound Is played through headphones when plugged in or through external speakers when the device is hooked up to them via bluetooth. The speakers on the computer are functional (I.e., this is not a mechanical issue), as dual-booting into Windows 10 allows me to use the built-in device speakers flawlessly. I am assuming it is an audio card or driver issue, but have no idea where to start troubleshooting. Please help!

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Last query:
16 hours ago
Last reply:
2021-01-15
Zachary G (zhg813) said : #2

Thank you for this. I have already followed that entire FAQ with no success.

To start, from step #1, (i.e., killall pulseaudio; pulseaudio -k ; rm -r ~/.config/pulse/* ; rm -r ~/.pulse*), I receive the following response from the CLI:

"rm: cannot remove '/home/zachary/.pulse*': No such file or directory"

Zachary G (zhg813) said : #3

Output from step #3 (wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && chmod +x ./alsa-info.sh && ./alsa-info.sh):

--2020-11-26 11:25:04-- http://www.alsa-project.org/alsa-info.sh
Resolving www.alsa-project.org (www.alsa-project.org)... 207.180.221.201
Connecting to www.alsa-project.org (www.alsa-project.org)|207.180.221.201|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.alsa-project.org/alsa-info.sh [following]
--2020-11-26 11:25:05-- https://www.alsa-project.org/alsa-info.sh
Connecting to www.alsa-project.org (www.alsa-project.org)|207.180.221.201|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://git.alsa-project.org/?p=alsa-utils.git;a=blob_plain;f=alsa-info/alsa-info.sh [following]
--2020-11-26 11:25:06-- https://git.alsa-project.org/?p=alsa-utils.git;a=blob_plain;f=alsa-info/alsa-info.sh
Resolving git.alsa-project.org (git.alsa-project.org)... 207.180.221.201
Connecting to git.alsa-project.org (git.alsa-project.org)|207.180.221.201|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-sh]
Saving to: ‘alsa-info.sh’

alsa-info.sh [ <=> ] 26.28K --.-KB/s in 0.001s

2020-11-26 11:25:07 (20.5 MB/s) - ‘alsa-info.sh’ saved [26915]

ALSA Information Script v 0.4.65
--------------------------------

This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

  dmesg
  lspci
  aplay
  amixer
  alsactl
  rpm, dpkg
  /proc/asound/
  /sys/class/sound/
  ~/.asoundrc (etc.)

See './alsa-info.sh --help' for command line options.

cat: '/sys/module/snd_soc_skl_hda_dsp/parameters/*': No such file or directory
dmesg: read kernel buffer failed: Operation not permitted
Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ... Done!

Your ALSA information is located at http://alsa-project.org/db/?f=cc204fce38bc2861928b5fd9e34ae1c805a7aaa1
Please inform the person helping you.

Launchpad Janitor (janitor) said : #4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Zachary G (zhg813) said : #5

Has anyone been able to determine anything based on the information provided? Is more information needed?

Manfred Hampl (m-hampl) said : #6

What is the output of the command

dmesg | grep -C1 -E 'ALSA|HDA|HDMI|snd[_-]|skl[_-]|soc[_-]|sound|hda.codec|hda.intel'

Zachary G (zhg813) said : #7

zachary@zachary-Yoga-7-15ITL5:~$ dmesg | grep -C1 -E 'ALSA|HDA|HDMI|snd[_-]|skl[_-]|soc[_-]|sound|hda.codec|hda.intel'

dmesg: read kernel buffer failed: Operation not permitted

zachary@zachary-Yoga-7-15ITL5:~$ sudo dmesg | grep -C1 -E 'ALSA|HDA|HDMI|snd[_-]|skl[_-]|soc[_-]|sound|hda.codec|hda.intel'

[sudo] password for zachary:

[ 0.098361] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.098361] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 0.098362] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
--
[ 3.109382] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[ 3.120203] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 3.120206] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.122403] usbcore: registered new interface driver uvcvideo
--
[ 4.551557] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 4.581551] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[ 4.581552] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 4.581555] sof-audio-pci 0000:00:1f.3: DMICs detected in NHLT tables: 2
--
[ 4.671348] sof-audio-pci 0000:00:1f.3: warning: unknown ext header type 4 size 0x10
[ 4.702411] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link iDisp1
[ 4.702413] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link iDisp2
[ 4.702413] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link iDisp3
[ 4.702414] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link Analog Playback and Capture
[ 4.702415] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link Digital Playback and Capture
[ 4.702415] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link dmic01
[ 4.702416] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link dmic16k
[ 4.706633] sof-audio-pci 0000:00:1f.3: Topology: ABI 3:17:0 Kernel ABI 3:16:0
--
[ 4.721550] sof-audio-pci 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
[ 4.742743] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC287: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[ 4.742744] snd_hda_codec_realtek ehdaudio0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 4.742745] snd_hda_codec_realtek ehdaudio0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 4.742746] snd_hda_codec_realtek ehdaudio0D0: mono: mono_out=0x0
[ 4.742746] snd_hda_codec_realtek ehdaudio0D0: inputs:
[ 4.742747] snd_hda_codec_realtek ehdaudio0D0: Mic=0x19
[ 4.756118] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
--
[ 4.760054] NET: Registered protocol family 38
[ 4.788361] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[ 4.788366] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
[ 4.788391] skl_hda_dsp_generic skl_hda_dsp_generic: intel-hdmi-hifi1 <-> iDisp1 Pin mapping ok
[ 4.788393] skl_hda_dsp_generic skl_hda_dsp_generic: intel-hdmi-hifi2 <-> iDisp2 Pin mapping ok
[ 4.788394] skl_hda_dsp_generic skl_hda_dsp_generic: intel-hdmi-hifi3 <-> iDisp3 Pin mapping ok
[ 4.788397] skl_hda_dsp_generic skl_hda_dsp_generic: Analog Codec DAI <-> Analog CPU DAI mapping ok
[ 4.788399] skl_hda_dsp_generic skl_hda_dsp_generic: Digital Codec DAI <-> Digital CPU DAI mapping ok
[ 4.788401] skl_hda_dsp_generic skl_hda_dsp_generic: dmic-hifi <-> DMIC01 Pin mapping ok
[ 4.788403] skl_hda_dsp_generic skl_hda_dsp_generic: dmic-hifi <-> DMIC16k Pin mapping ok
[ 4.788411] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> DMIC 6 mapping ok
[ 4.788419] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> DMIC16kHz 7 mapping ok
[ 4.788428] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDA Analog 0 mapping ok
[ 4.788435] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDA Digital 1 mapping ok
[ 4.788440] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI1 3 mapping ok
[ 4.788445] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI2 4 mapping ok
[ 4.788450] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI3 5 mapping ok
[ 4.788508] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi3 overwritten
[ 4.788512] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi2 overwritten
[ 4.788515] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi1 overwritten
[ 4.788519] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Codec Output Pin1 overwritten
[ 4.788521] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Codec Input Pin1 overwritten
[ 4.788526] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Analog Codec Playback overwritten
[ 4.788530] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Digital Codec Playback overwritten
[ 4.788534] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Alt Analog Codec Playback overwritten
[ 4.788539] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Analog Codec Capture overwritten
[ 4.788543] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Digital Codec Capture overwritten
[ 4.788547] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Alt Analog Codec Capture overwritten
[ 4.788556] skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3

[ 4.788557] skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 4

[ 4.788558] skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 5

[ 4.788560] skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 6

[ 4.788561] skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 7

[ 4.788562] skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 8

[ 4.803553] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input12
[ 4.803624] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input13
[ 4.803687] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input14
[ 4.803737] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input15
[ 4.803791] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input16
[ 4.811514] hid-sensor-hub 001F:8087:0AC2.0002: hid_field_extract() called with n (192) > 32! (kworker/3:2)

Zachary G (zhg813) said : #8

I have provided the requested information almost 2 weeks ago. I would like to know whether anyone can help me further before the question is automatically closed by the system?

Launchpad Janitor (janitor) said : #9

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Zachary G (zhg813) said : #10

Is anyone actually monitoring this thread? I still have this problem, it has been over a month, and I have followed the requests for information as stated and this thread keeps going inactive due to lack of feedback.

Manfred Hampl (m-hampl) said : #11

It seems that nobody has an idea how to proceed.
The alsa-info script shows that drivers are loaded, so it is not clear why there wouldn't be sound on your speakers.

The only thing I can imagine is that here are some additional settings needed, e.g. like those in comment #2 of https://answers.launchpad.net/ubuntu/+source/alsa-driver/+question/694108

Zachary G (zhg813) said : #12

Thank you for your insight.

I have tried the addition in your referenced comment, restarted my computer, but with no success.

The audio works perfectly well with bluetooth speakers, bluetooth headphones, and headphones plugged into the audio jack on the computer. The bar under "Output Device" in "Settings">>"Sound" does respond as though the computer is attempting to deliver audio to the speaker, but there is no sound, no matter what volume the computer is set to (or muting/unmuting audio, adjusting various levels, etc).

Launchpad Janitor (janitor) said : #13

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Zachary G (zhg813) said : #14

Par for the course at this point (I understand that there isn't much knowledge or experience with running Ubuntu on the new Intel evo platforms), but I'm re-opening this question since it still has not been able to resolve (speakers still aren't functioning when booted into Ubuntu, but works fine when audio is run through headphones on Ubuntu, or when computer is booted into Windows10).

Can you help with this problem?

Provide an answer of your own, or ask Zachary G for more information if necessary.

To post a message you must log in.