How to debug detected absence of audio peripheral?

Asked by Yann Leray on 2020-07-17

Sometimes, when I resume my computer from sleep, it doesn't detect the audio peripherals (that it otherwise manages just fine).

At first, I didn't know what to do, so I had to restart it and it would work.
Now, I've done the smart thing of looking up the troubleshooting procedure, and the first solution

killall pulseaudio; rm -r ~/.config/pulse/* ; rm -r ~/.pulse*

works great.

However, I don't want to keep doing this, so I'd like to gather more info and try to solve the issue.

What commands would be the most interesting to gather information?

A bit of background from alsa-info (please tell if you really need the whole output)

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.65
!!################################

!!Script ran on: Fri Jul 17 20:33:14 UTC 2020

!!Linux Distribution
!!------------------

Ubuntu 20.04 LTS (cut out redudant info)

!!DMI Information
!!---------------

Manufacturer: LENOVO
Product Name: 81LK
Product Version: IdeaPad L340-15IRH Gaming
Firmware Version: BGCN29WW
Board Vendor: LENOVO
Board Name: LNVNB161216

!!Kernel Information
!!------------------

Kernel release: 5.4.0-40-generic
Operating System: GNU/Linux
Architecture: x86_64
Processor: x86_64
SMP Enabled: Yes

!!ALSA Version
!!------------

Driver version: k5.4.0-40-generic
Library version: 1.2.2
Utilities version: 1.2.2

!!Loaded ALSA modules
!!-------------------

snd_hda_intel

!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

!!Soundcards recognised by ALSA
!!-----------------------------

 0 [PCH ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xa4718000 irq 141

!!PCI Soundcards installed in the system
!!--------------------------------------

00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10) (prog-if 80)
 Subsystem: Lenovo Cannon Lake PCH cAVS [17aa:3815]

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2020-07-17
Last reply:
2020-07-18

It's right there

!!Soundcards recognised by ALSA
!!-----------------------------

 0 [PCH ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xa4718000 irq

That's the audio peripheral. Do you have the latest BIOS? If you install and use pavucontrol does it help?

My sound troubleshooting is poor but others are better and comment regularly. Can you please post the full output of the alsa script.

Can you help with this problem?

Provide an answer of your own, or ask Yann Leray for more information if necessary.

To post a message you must log in.