[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No Audio after suspend on Lenovo Ideapad 130s Debian Buster



On Mon, 19 Aug 2019 11:18:18 -0400
John Kerr Anderson <riokerr@gmail.com> wrote:

> I tried the suggestions by Curt to add
> "snd_hda_intel.probe_mask=0x01" and it seemed to work after boot.
> 
> Nektarios suggestion to run "alsactl init" which returned this:
> 
> Found hardware: "HDA-Intel" "Realtek ALC269VC"
> "HDA:10ec0269,17aa380f,00100203 HDA:8086280d,80860101,00100000"
> "0x17aa" "0x3807"
> Hardware is initialized using a generic method
> 
> "cat /proc/asound/cards" returned this:
> 
>  0 [PCH            ]: HDA-Intel - HDA Intel PCH
>                       HDA Intel PCH at 0xa1310000 irq 130
> 
> Do I need to manually update Alsa to get the audio to work properly?
> Any suggestions would be helpful, thank you everyone for their input.
> 
> Regards,
> 
> John
> 
> On Mon, 19 Aug 2019 at 05:50, Nektarios Katakis <
> nektarios@mail.nektarioskatakis.xyz> wrote:
> 
> > On Sun, 18 Aug 2019 18:09:50 -0400
> > John Kerr Anderson <riokerr@gmail.com> wrote:
> >
> > > Here is the output when it is working:
> > >
> > > aplay -l
> > > **** List of PLAYBACK Hardware Devices ****
> > > card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC
> > > Analog] Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > >
> > >
> > > And here it is when it isn't working:
> > >
> > > ~$ aplay -l
> > > **** List of PLAYBACK Hardware Devices ****
> > > card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC
> > > Analog] Subdevices: 0/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > >
> > > card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC
> > > Analog] Subdevices: 1/1
> > >
> > > I notice when it's working the first entry says "Subdevices: 1/1"
> > > but after I suspended the machine it says "Subdevices: 0/1"
> > >
> > > Also after I bring it up from suspend I notice when I use the
> > > hotkeys to adjust the volume it goes from the internal speakers to
> > > headphones.  If I plug headphones in I also don't have any audio
> > > either.  Any suggestions on what I should do now?  Thank you for
> > > the response so far!
> > >
> > > Regards,
> > >
> > > John
> > >
> > >
> > > On Sun, 18 Aug 2019 at 17:50, Nektarios Katakis <
> > > nektarios@mail.nektarioskatakis.xyz> wrote:
> > >
> > > > On Sun, 18 Aug 2019 14:06:57 -0400
> > > > John Kerr Anderson <riokerr@gmail.com> wrote:
> > > >
> > > > > Hello today,  I've got an Ideapad and after I suspend I cannot
> > > > > get the audio to work when the system resumes.
> > > > >
> > > > > lspci -v returns the following for the audio section:
> > > > >
> > > > > 00:0e.0 Audio device: Intel Corporation Device 3198 (rev 03)
> > > > > Subsystem: Lenovo Device 3807
> > > > > Flags: bus master, fast devsel, latency 0, IRQ 25
> > > > > Memory at a1310000 (64-bit, non-prefetchable) [size=16K]
> > > > > Memory at a1000000 (64-bit, non-prefetchable) [size=1M]
> > > > > Capabilities: [50] Power Management version 3
> > > > > Capabilities: [80] Vendor Specific Information: Len=14 <?>
> > > > > Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
> > > > > Capabilities: [70] Express Root Complex Integrated Endpoint,
> > > > > MSI 00 Kernel driver in use: snd_hda_intel
> > > > > Kernel modules: snd_hda_intel, snd_soc_skl
> > > > >
> > > > > In the system log I found the following audio related error
> > > > > message as well:
> > > > >
> > > > > Aug 18 12:34:57 ideapad kernel: [   51.672003] snd_hda_intel
> > > > > 0000:00:0e.0: azx_get_response timeout, switching to polling
> > > > > mode: last cmd=0x20bf8100 Aug 18 12:34:57 ideapad kernel:
> > > > > [   52.684197] snd_hda_intel 0000:00:0e.0: No response from
> > > > > codec, disabling MSI: last cmd=0x20bf8100 Aug 18 12:34:57
> > > > > ideapad kernel: [   53.695872] snd_hda_intel 0000:00:0e.0:
> > > > > azx_get_response timeout, switching to single_cmd mode: last
> > > > > cmd=0x20bf8100 Aug 18 12:34:57 ideapad kernel: [   53.696078]
> > > > > azx_single_wait_for_response: 9 callbacks suppressed Aug 18
> > > > > 12:34:57 ideapad kernel: [   53.981143] snd_hda_codec_hdmi
> > > > > hdaudioC0D2: Unable to sync register 0x2f0d00. -5
> > > > >
> > > > >
> > > > > Aug 18 12:36:42 ideapad kernel: [  158.417338]
> > > > > snd_hda_codec_realtek hdaudioC0D0: Unable to sync register
> > > > > 0x1f0e00. -5 Aug 18 12:36:42 ideapad kernel: [  158.417498]
> > > > > snd_hda_codec_realtek hdaudioC0D0: Unable to sync register
> > > > > 0x1f0e00. -5 Aug 18 12:36:42 ideapad pulseaudio[1013]: W:
> > > > > [alsa-sink-ALC269VC Analog] alsa-mixer.c: Failed to set
> > > > > switch of Speaker: Input/output error Aug 18 12:36:42 ideapad
> > > > > pulseaudio[1013]: W: [alsa-sink-ALC269VC Analog] alsa-mixer.c:
> > > > > Failed to set switch of Headphone: Input/output error Aug 18
> > > > > 12:36:53 ideapad kernel: [  169.533192] azx_single_send_cmd:
> > > > > 299 callbacks suppressed
> > > > >
> > > > > Aug 18 13:45:13 ideapad kernel: [ 4269.876500]
> > > > > snd_hda_codec_realtek hdaudioC0D0: Unable to sync register
> > > > > 0x1f0e00. -5 Aug 18 13:49:47 ideapad kernel: [ 4543.985442]
> > > > > snd_hda_codec_realtek hdaudioC0D0: Unable to sync register
> > > > > 0x1f0e00. -5
> > > > >
> > > > > Are there any suggestions I could try to get this to work
> > > > > correctly after suspend/resume events?
> > > > >
> > > > > Thanks in advance,
> > > > >
> > > > > John
> > > >
> > > > If you are not running the latest alsa drivers you should first
> > > > try to upgrade them. Just to make sure the problem is not there.
> > > > Could you provide out `aplay -l` when you have sound and when
> > > > you dont?
> > > >
> > > > Regards,
> > > > Nektarios Katakis.
> > > >
> > > >
> >
> > The hw output looks healthy in both cases. I have similar output on
> > my lenovo laptop. You could do an `alsactl init` after suspend and
> > check afterwards what sound card is used as default in `alsamixer`
> > or `cat /proc/asound/cards`.
> >
> > Sound issues are a bit weird. Last time I had no sound (on Stretch)
> > I went through the steps above and everything looked healthy. So
> > latest alsa drivers fixed it.
> >
> > Hope this helps.
> >
> > --
> > Nektarios Katakis
> >
> >

If I understand correctly the problem was solved? If so you can check
`man alcactl` on how to persist the configuration generated from the
init command you ran.



-- 
Nektarios Katakis


Reply to: