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

2019-08-20 Thread John Kerr Anderson
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  wrote:

> On 2019-08-20, Nektarios Katakis 
> 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
>
>


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

2019-08-20 Thread Curt
On 2019-08-20, Nektarios Katakis  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



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

2019-08-20 Thread tomas
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


signature.asc
Description: Digital signature


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

2019-08-20 Thread Nektarios Katakis
On Mon, 19 Aug 2019 11:18:18 -0400
John Kerr Anderson  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,0010"
> "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 0xa131 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 <
> nektar...@mail.nektarioskatakis.xyz> wrote:
> 
> > On Sun, 18 Aug 2019 18:09:50 -0400
> > John Kerr Anderson  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 <
> > > nektar...@mail.nektarioskatakis.xyz> wrote:
> > >
> > > > On Sun, 18 Aug 2019 14:06:57 -0400
> > > > 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:
> > > > >
> > > > > 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 a131 (64-bit, non-prefetchable) [size=16K]
> > > > > Memory at a100 (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
> > > > > :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 :00:0e.0: No response from
> > > > > codec, disabling MSI: last cmd=0x20bf8100 Aug 18 12:34:57
> > > > > ideapad kernel: [   53.695872] snd_hda_intel :00:0e.0:
> > > > > azx_get_response timeout, switching to single_cmd mode: last
> > > > > cmd=0x20bf8100 Aug 18 

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

2019-08-19 Thread John Kerr Anderson
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,0010" "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 0xa131 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 <
nektar...@mail.nektarioskatakis.xyz> wrote:

> On Sun, 18 Aug 2019 18:09:50 -0400
> John Kerr Anderson  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 <
> > nektar...@mail.nektarioskatakis.xyz> wrote:
> >
> > > On Sun, 18 Aug 2019 14:06:57 -0400
> > > 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:
> > > >
> > > > 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 a131 (64-bit, non-prefetchable) [size=16K]
> > > > Memory at a100 (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
> > > > :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 :00:0e.0: No response from codec, disabling MSI:
> > > > last cmd=0x20bf8100 Aug 18 12:34:57 ideapad kernel: [   53.695872]
> > > > snd_hda_intel :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]
> > > > 

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

2019-08-19 Thread Nektarios Katakis
On Sun, 18 Aug 2019 18:09:50 -0400
John Kerr Anderson  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 <
> nektar...@mail.nektarioskatakis.xyz> wrote:  
> 
> > On Sun, 18 Aug 2019 14:06:57 -0400
> > 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:
> > >
> > > 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 a131 (64-bit, non-prefetchable) [size=16K]
> > > Memory at a100 (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
> > > :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 :00:0e.0: No response from codec, disabling MSI:
> > > last cmd=0x20bf8100 Aug 18 12:34:57 ideapad kernel: [   53.695872]
> > > snd_hda_intel :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 

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

2019-08-19 Thread Curt
On 2019-08-18, John Kerr Anderson  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



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

2019-08-19 Thread Andrei POPESCU
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


signature.asc
Description: PGP signature


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

2019-08-18 Thread John Kerr Anderson
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 <
nektar...@mail.nektarioskatakis.xyz> wrote:

> On Sun, 18 Aug 2019 14:06:57 -0400
> 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:
> >
> > 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 a131 (64-bit, non-prefetchable) [size=16K]
> > Memory at a100 (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
> > :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 :00:0e.0: No response from codec, disabling MSI:
> > last cmd=0x20bf8100 Aug 18 12:34:57 ideapad kernel: [   53.695872]
> > snd_hda_intel :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,
> 

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

2019-08-18 Thread Nektarios Katakis
On Sun, 18 Aug 2019 14:06:57 -0400
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:
> 
> 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 a131 (64-bit, non-prefetchable) [size=16K]
> Memory at a100 (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
> :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 :00:0e.0: No response from codec, disabling MSI:
> last cmd=0x20bf8100 Aug 18 12:34:57 ideapad kernel: [   53.695872]
> snd_hda_intel :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.



No Audio after suspend on Lenovo Ideapad 130s Debian Buster

2019-08-18 Thread John Kerr Anderson
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 a131 (64-bit, non-prefetchable) [size=16K]
Memory at a100 (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 :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 :00:0e.0:
No response from codec, disabling MSI: last cmd=0x20bf8100
Aug 18 12:34:57 ideapad kernel: [   53.695872] snd_hda_intel :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