Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #212934 > unrolled thread

No Audio after suspend on Lenovo Ideapad 130s Debian Buster

Started byJohn Kerr Anderson <riokerr@gmail.com>
First post2019-08-18 20:10 +0200
Last post2019-08-19 10:30 +0200
Articles 11 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  No Audio after suspend on Lenovo Ideapad 130s Debian Buster John Kerr Anderson <riokerr@gmail.com> - 2019-08-18 20:10 +0200
    Re: No Audio after suspend on Lenovo Ideapad 130s Debian Buster Nektarios Katakis <nektarios@mail.nektarioskatakis.xyz> - 2019-08-19 00:00 +0200
      Re: No Audio after suspend on Lenovo Ideapad 130s Debian Buster John Kerr Anderson <riokerr@gmail.com> - 2019-08-19 00:20 +0200
        Re: No Audio after suspend on Lenovo Ideapad 130s Debian Buster Nektarios Katakis <nektarios@mail.nektarioskatakis.xyz> - 2019-08-19 12:00 +0200
          Re: No Audio after suspend on Lenovo Ideapad 130s Debian Buster John Kerr Anderson <riokerr@gmail.com> - 2019-08-19 17:20 +0200
            Re: No Audio after suspend on Lenovo Ideapad 130s Debian Buster Nektarios Katakis <nektarios@mail.nektarioskatakis.xyz> - 2019-08-20 09:50 +0200
              Re: No Audio after suspend on Lenovo Ideapad 130s Debian Buster <tomas@tuxteam.de> - 2019-08-20 10:20 +0200
              Re: No Audio after suspend on Lenovo Ideapad 130s Debian Buster Curt <curty@free.fr> - 2019-08-20 11:00 +0200
                Re: No Audio after suspend on Lenovo Ideapad 130s Debian Buster John Kerr Anderson <riokerr@gmail.com> - 2019-08-20 22:20 +0200
    Re: No Audio after suspend on Lenovo Ideapad 130s Debian Buster Andrei POPESCU <andreimpopescu@gmail.com> - 2019-08-19 09:20 +0200
    Re: No Audio after suspend on Lenovo Ideapad 130s Debian Buster Curt <curty@free.fr> - 2019-08-19 10:30 +0200

#212934 — No Audio after suspend on Lenovo Ideapad 130s Debian Buster

FromJohn Kerr Anderson <riokerr@gmail.com>
Date2019-08-18 20:10 +0200
SubjectNo Audio after suspend on Lenovo Ideapad 130s Debian Buster
Message-ID<ywxMR-1FS-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [next] | [standalone]


#212945

FromNektarios Katakis <nektarios@mail.nektarioskatakis.xyz>
Date2019-08-19 00:00 +0200
Message-ID<ywBnr-3Ph-5@gated-at.bofh.it>
In reply to#212934
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.

[toc] | [prev] | [next] | [standalone]


#212946

FromJohn Kerr Anderson <riokerr@gmail.com>
Date2019-08-19 00:20 +0200
Message-ID<ywBGO-4bQ-9@gated-at.bofh.it>
In reply to#212945

[Multipart message — attachments visible in raw view] — view raw

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.
>
>

[toc] | [prev] | [next] | [standalone]


#212969

FromNektarios Katakis <nektarios@mail.nektarioskatakis.xyz>
Date2019-08-19 12:00 +0200
Message-ID<ywMCd-2MM-5@gated-at.bofh.it>
In reply to#212946
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

[toc] | [prev] | [next] | [standalone]


#212980

FromJohn Kerr Anderson <riokerr@gmail.com>
Date2019-08-19 17:20 +0200
Message-ID<ywRBT-6Q2-1@gated-at.bofh.it>
In reply to#212969

[Multipart message — attachments visible in raw view] — view raw

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
>
>

[toc] | [prev] | [next] | [standalone]


#213019

FromNektarios Katakis <nektarios@mail.nektarioskatakis.xyz>
Date2019-08-20 09:50 +0200
Message-ID<yx73Y-83X-1@gated-at.bofh.it>
In reply to#212980
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

[toc] | [prev] | [next] | [standalone]


#213020

From<tomas@tuxteam.de>
Date2019-08-20 10:20 +0200
Message-ID<yx7wZ-8ul-5@gated-at.bofh.it>
In reply to#213019

[Multipart message — attachments visible in raw view] — view raw

On Tue, Aug 20, 2019 at 08:48:17AM +0100, Nektarios Katakis wrote:

[...]

> If I understand correctly the problem was solved? If so you can check
> `man alcactl` [...]
       ^^^^^^^
Possibily "alsactl"

Cheers
-- t

[toc] | [prev] | [next] | [standalone]


#213021

FromCurt <curty@free.fr>
Date2019-08-20 11:00 +0200
Message-ID<yx89I-gG-15@gated-at.bofh.it>
In reply to#213019
On 2019-08-20, Nektarios Katakis <nektarios@mail.nektarioskatakis.xyz> wrote:
 Intel Corporation Device 3198 (rev 03)
>
> 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.
>

I think this is a bug in a kernel module/driver, so updating alsa would
be of no utility.

As the workaround masks HDMI audio output, if the OP doesn't require
that output, I'd just leave well enough alone.


-- 
“We are all in the gutter, but some of us are looking at the stars.” 
― Oscar Wilde, Lady Windermere's Fan

[toc] | [prev] | [next] | [standalone]


#213055

FromJohn Kerr Anderson <riokerr@gmail.com>
Date2019-08-20 22:20 +0200
Message-ID<yxiLL-79M-1@gated-at.bofh.it>
In reply to#213021

[Multipart message — attachments visible in raw view] — view raw

Thank you to everyone for your help!  I just added the
"snd_hda_intel.probe_mask=0x01" permanently to grub and it seems to be
working fine.

It's actually preferable to not have the HDMI audio work because I'd
normally have plugged in speakers through the microphone anyway and this
way I don't have to change the audio settings every time.  At least Jessie
would make me do that.


Regards,

John


On Tue, 20 Aug 2019 at 04:50, Curt <curty@free.fr> wrote:

> On 2019-08-20, Nektarios Katakis <nektarios@mail.nektarioskatakis.xyz>
> wrote:
>  Intel Corporation Device 3198 (rev 03)
> >
> > 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.
> >
>
> I think this is a bug in a kernel module/driver, so updating alsa would
> be of no utility.
>
> As the workaround masks HDMI audio output, if the OP doesn't require
> that output, I'd just leave well enough alone.
>
>
> --
> “We are all in the gutter, but some of us are looking at the stars.”
> ― Oscar Wilde, Lady Windermere's Fan
>
>

[toc] | [prev] | [next] | [standalone]


#212955

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2019-08-19 09:20 +0200
Message-ID<ywK7n-1l7-1@gated-at.bofh.it>
In reply to#212934

[Multipart message — attachments visible in raw view] — view raw

On Du, 18 aug 19, 14:06:57, John Kerr Anderson 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:

[...]

> Kernel driver in use: snd_hda_intel
> Kernel modules: snd_hda_intel, snd_soc_skl

As a workaround you could try to remove and re-insert snd_hda_intel.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#212959

FromCurt <curty@free.fr>
Date2019-08-19 10:30 +0200
Message-ID<ywLd8-20m-5@gated-at.bofh.it>
In reply to#212934
On 2019-08-18, John Kerr Anderson <riokerr@gmail.com> wrote:
>
> 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

Looks like this bug:

https://bugs.freedesktop.org/show_bug.cgi?id=110916#c5

> Are there any suggestions I could try to get this to work correctly after
> suspend/resume events?

Workaround suggested at the link above:

add "snd_hda_intel.probe_mask=0x01" to your kernel parameters at boot.

This kernel parameter renders any hdmi audio output you might have
unavailable and therefore unusable, though.

Good luck.

> Thanks in advance,
>
> John
>

-- 
“We are all in the gutter, but some of us are looking at the stars.” 
― Oscar Wilde, Lady Windermere's Fan

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web