LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu 19.04 - Dummy Output - No sound card found (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-19-04-dummy-output-no-sound-card-found-4175671613/)

ar-naseef 03-19-2020 03:32 AM

Ubuntu 19.04 - Dummy Output - No sound card found
 
I am new to linux. Mine is a Lenovo x1 C7. Running Ubuntu 19.04.4 LTS.

No sound output from the PC.

1-
Code:

cat /proc/asound/cards
displays
Code:

--- no soundcards ---
2-
Code:

sudo alsactl init
displays
Code:

alsactl: init:1757: No soundcards found...
3-
Code:

aplay -l
displays
Code:

aplay: device_list:270: no soundcards found...
4-
Code:

lspci -v | grep Audio
displays
Code:

00:1f.3 Audio device: Intel Corporation Device 9dc8 (rev 11) (prog-if 80)
5-
Code:

lsmod |grep snd
displays
Code:

snd_soc_skl_hda_dsp    24576  0
snd_soc_hdac_hdmi      32768  1 snd_soc_skl_hda_dsp
snd_soc_dmic          16384  0
snd_soc_skl_ssp_clk    16384  0
snd_sof_intel_hda_common    69632  1 sof_pci_dev
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof_intel_byt      24576  1 sof_pci_dev
snd_sof_intel_ipc      20480  1 snd_sof_intel_byt
snd_sof                98304  4 snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc,sof_pci_dev
snd_hda_codec_realtek  118784  0
snd_sof_xtensa_dsp    16384  1 sof_pci_dev
snd_hda_codec_generic    81920  1 snd_hda_codec_realtek
snd_soc_skl          106496  1 snd_soc_skl_ssp_clk
snd_soc_hdac_hda      24576  2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core      28672  5 snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_skl_ipc        61440  1 snd_soc_skl
snd_soc_sst_ipc        20480  1 snd_soc_skl_ipc
snd_soc_sst_dsp        36864  1 snd_soc_skl_ipc
snd_soc_acpi_intel_match    28672  3 snd_sof_intel_hda_common,sof_pci_dev,snd_soc_skl
snd_soc_acpi          16384  3 snd_soc_acpi_intel_match,sof_pci_dev,snd_soc_skl
snd_soc_core          237568  7 snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_skl,snd_soc_dmic,snd_soc_skl_hda_dsp
snd_compress          24576  1 snd_soc_core
ac97_bus              16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_seq_midi          20480  0
snd_seq_midi_event    16384  1 snd_seq_midi
snd_rawmidi            36864  1 snd_seq_midi
snd_hda_intel          53248  0
snd_intel_nhlt        20480  2 snd_hda_intel,snd_soc_skl
snd_hda_codec        131072  5 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl_hda_dsp
snd_hda_core          90112  11 snd_hda_codec_generic,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda,snd_soc_skl_hda_dsp
snd_hwdep              20480  1 snd_hda_codec
snd_pcm              102400  10 snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
ledtrig_audio          16384  3 snd_hda_codec_generic,snd_hda_codec_realtek,thinkpad_acpi
snd_seq                69632  2 snd_seq_midi,snd_seq_midi_event
snd_seq_device        16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              36864  2 snd_seq,snd_pcm
snd                    86016  13 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm,snd_rawmidi
soundcore              16384  1 snd

6-
An alsa info link here - http://alsa-project.org/db/?f=ac274d...7cd02bec8e6de3

I created a bootable USB and loaded ubuntu to test if the HW is fine. The sound was working there. So, the HW is fine.

Guys, please help me solve. Thanks.

redd9 03-19-2020 01:29 PM

Hi,

If it's working in a live Ubuntu environment, would it be possible for you to run
Code:

lsmod | grep snd
there and see if there are any differences?

You could store the output of those commands in text files and compare them with diff to speed things up a bit.

ar-naseef 03-20-2020 12:46 AM

Thanks for the reply redd9

Here the output for 'lsmod | grep snd' in my installed ubuntu 18.04 (No sound)

Code:

snd_soc_skl_hda_dsp    24576  0
snd_soc_hdac_hdmi      32768  1 snd_soc_skl_hda_dsp
snd_soc_dmic          16384  0
snd_soc_skl_ssp_clk    16384  0
snd_hda_codec_realtek  118784  0
snd_hda_codec_generic    81920  1 snd_hda_codec_realtek
snd_sof_intel_hda_common    69632  1 sof_pci_dev
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof_intel_byt      24576  1 sof_pci_dev
snd_sof_intel_ipc      20480  1 snd_sof_intel_byt
snd_sof                98304  4 snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc,sof_pci_dev
snd_sof_xtensa_dsp    16384  1 sof_pci_dev
snd_soc_skl          106496  1 snd_soc_skl_ssp_clk
snd_soc_hdac_hda      24576  2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core      28672  5 snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_skl_ipc        61440  1 snd_soc_skl
snd_soc_sst_ipc        20480  1 snd_soc_skl_ipc
snd_soc_sst_dsp        36864  1 snd_soc_skl_ipc
snd_soc_acpi_intel_match    28672  3 snd_sof_intel_hda_common,sof_pci_dev,snd_soc_skl
snd_soc_acpi          16384  3 snd_soc_acpi_intel_match,sof_pci_dev,snd_soc_skl
snd_soc_core          237568  7 snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_skl,snd_soc_dmic,snd_soc_skl_hda_dsp
snd_compress          24576  1 snd_soc_core
ac97_bus              16384  1 snd_soc_core
snd_seq_midi          20480  0
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_seq_midi_event    16384  1 snd_seq_midi
snd_hda_intel          53248  0
snd_intel_nhlt        20480  2 snd_hda_intel,snd_soc_skl
snd_hda_codec        131072  5 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl_hda_dsp
snd_rawmidi            36864  1 snd_seq_midi
snd_hda_core          90112  11 snd_hda_codec_generic,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda,snd_soc_skl_hda_dsp
snd_hwdep              20480  1 snd_hda_codec
ledtrig_audio          16384  3 snd_hda_codec_generic,snd_hda_codec_realtek,thinkpad_acpi
snd_pcm              102400  10 snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_seq                69632  2 snd_seq_midi,snd_seq_midi_event
snd_seq_device        16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              36864  2 snd_seq,snd_pcm
snd                    86016  13 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm,snd_rawmidi
soundcore              16384  1 snd

Here is the out put for 'lsmod | grep snd' from live ubuntu 18.04 (sound works) - same version

Code:

snd_sof_intel_hda_common    69632  1 sof_pci_dev
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof_intel_byt      24576  1 sof_pci_dev
snd_sof_intel_ipc      20480  1 snd_sof_intel_byt
snd_sof                98304  4 snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc,sof_pci_dev
snd_sof_xtensa_dsp    16384  1 sof_pci_dev
snd_soc_skl          106496  0
snd_soc_hdac_hda      24576  2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core      28672  4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_skl_ipc        61440  1 snd_soc_skl
snd_soc_sst_ipc        20480  1 snd_soc_skl_ipc
snd_soc_sst_dsp        36864  1 snd_soc_skl_ipc
snd_soc_acpi_intel_match    28672  3 snd_sof_intel_hda_common,sof_pci_dev,snd_soc_skl
snd_soc_acpi          16384  3 snd_soc_acpi_intel_match,sof_pci_dev,snd_soc_skl
snd_hda_codec_hdmi    57344  1
snd_soc_core          237568  4 snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
snd_hda_codec_realtek  118784  1
snd_compress          24576  1 snd_soc_core
ac97_bus              16384  1 snd_soc_core
snd_hda_codec_generic    81920  1 snd_hda_codec_realtek
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hda_intel          49152  3
snd_hda_codec        131072  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core          90112  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_hwdep              20480  1 snd_hda_codec
snd_pcm              102400  10 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_seq_midi          20480  0
snd_seq_midi_event    16384  1 snd_seq_midi
snd_rawmidi            36864  1 snd_seq_midi
snd_seq                69632  2 snd_seq_midi,snd_seq_midi_event
ledtrig_audio          16384  3 snd_hda_codec_generic,snd_hda_codec_realtek,thinkpad_acpi
snd_seq_device        16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              36864  2 snd_seq,snd_pcm
snd                    86016  20 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm,snd_rawmidi
soundcore              16384  1 snd

There are significant differences in both the outputs. Could you please have a look.
http://www.mergely.com/editor is a nice tool to compare texts online.

Thanks again.

ferrari 03-20-2020 01:06 AM

FWIW, a thread dealing with the same intel chipset (9dc8)
https://www.linuxquestions.org/quest...ly-4175671642/
It's not yet resolved, but likely impacted by the same underlying cause, so worth following.

ferrari 03-20-2020 04:49 PM

It's now resolved for the OP in the thread I linked to. Follow the advice given in this post and report back.

redd9 03-20-2020 06:36 PM

Yeah, I just noticed that same thread. Definitely check it out!

ar-naseef 03-21-2020 12:53 PM

Quote:

Originally Posted by ferrari (Post 6102723)
It's now resolved for the OP in the thread I linked to. Follow the advice given in this post and report back.

Thanks for sharing that Ferrari. I added a comment with more details there. Please check it out.

Thanks

ferrari 03-21-2020 03:19 PM

Please refer to posts #8 and #9 of that thread. Try adding the kernel parameter to your grub configuration. Keep your replies here.

ar-naseef 03-22-2020 11:48 AM

Quote:

Originally Posted by ferrari (Post 6102992)
Please refer to posts #8 and #9 of that thread. Try adding the kernel parameter to your grub configuration. Keep your replies here.

Oh yeah.. Adding that to the grub boot configuration helped. It also solved the suspend issue I had (suspending freezes the screen).

Thanks Ferrari. Thanks guys.

ferrari 03-22-2020 01:36 PM

Well done. Glad to have been of guidance!


All times are GMT -5. The time now is 04:58 AM.