All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: No sound for several minutes after reboot
       [not found] ` <20160827113908.GA312@x4>
@ 2016-08-29  8:15   ` Takashi Iwai
  2016-08-29  8:33     ` Markus Trippelsdorf
  0 siblings, 1 reply; 15+ messages in thread
From: Takashi Iwai @ 2016-08-29  8:15 UTC (permalink / raw)
  To: Markus Trippelsdorf; +Cc: alsa-devel

On Sat, 27 Aug 2016 13:39:08 +0200,
Markus Trippelsdorf wrote:
> 
> On 2016.08.27 at 11:50 +0200, Markus Trippelsdorf wrote:
> > Hi,
> > 
> > since several kernel releases I get no sound for several minutes after
> > reboot. After this delay it starts working normally.
> > 
> > Is this some kind of speaker protection? Is there a parameter that I can
> > set to get sound immediately?
> > 
> >  % aplay -l
> > **** List of PLAYBACK Hardware Devices ****
> > card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> > card 0: SB [HDA ATI SB], device 3: VT1708S Digital [VT1708S Digital]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> > card 1: HDMI [HDA ATI HDMI], device 3: Generic Digital [Generic Digital]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> > 
> > card 0, device 3 [VT1708S Digital] is the device that I use. It is a
> > TOSLINK-S/PDIF link to my DAC.
> 
> Here is the diff (bad (after reboot) vs. good (after a few minutes)):
> 
> @@ -121,7 +121,7 @@
>    Control: name="Surround Playback Volume", index=0, device=0
>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>    Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
> -  Amp-Out vals:  [0x1c 0x1c]
> +  Amp-Out vals:  [0x26 0x26]
>    Converter: stream=0, channel=0
>    PCM:
>      rates [0x5e0]: 44100 48000 88200 96000 192000
> @@ -174,12 +174,12 @@
>      bits [0xe]: 16 20 24
>      formats [0x1]: PCM
>    Power states:  D0 D1 D2 D3
> -  Power: setting=D0, actual=D0
> +  Power: setting=D3, actual=D3
>    Connection: 1
>       0x1e

So this looks like the only significant change.  Others are about the
volume level, and should lead to the complete mute.

Could you try to adjust the power state manually while it happens?

hda-verb /dev/snd/hwC0D0 0xXX SET_POWER 0x00

where 0xXX is filled with the node number of this widget.

BTW, at the next time, take a diff with -p option.  This will show the
node ID in the diff.


Takashi

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: No sound for several minutes after reboot
  2016-08-29  8:15   ` No sound for several minutes after reboot Takashi Iwai
@ 2016-08-29  8:33     ` Markus Trippelsdorf
  2016-08-29  8:39       ` Takashi Iwai
  0 siblings, 1 reply; 15+ messages in thread
From: Markus Trippelsdorf @ 2016-08-29  8:33 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 2016.08.29 at 10:15 +0200, Takashi Iwai wrote:
> On Sat, 27 Aug 2016 13:39:08 +0200,
> Markus Trippelsdorf wrote:
> > 
> > On 2016.08.27 at 11:50 +0200, Markus Trippelsdorf wrote:
> > > Hi,
> > > 
> > > since several kernel releases I get no sound for several minutes after
> > > reboot. After this delay it starts working normally.
> > > 
> > > Is this some kind of speaker protection? Is there a parameter that I can
> > > set to get sound immediately?
> > > 
> > >  % aplay -l
> > > **** List of PLAYBACK Hardware Devices ****
> > > card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: SB [HDA ATI SB], device 3: VT1708S Digital [VT1708S Digital]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 1: HDMI [HDA ATI HDMI], device 3: Generic Digital [Generic Digital]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > 
> > > card 0, device 3 [VT1708S Digital] is the device that I use. It is a
> > > TOSLINK-S/PDIF link to my DAC.
> > 
> > Here is the diff (bad (after reboot) vs. good (after a few minutes)):
> > 
> > @@ -121,7 +121,7 @@
> >    Control: name="Surround Playback Volume", index=0, device=0
> >      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >    Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
> > -  Amp-Out vals:  [0x1c 0x1c]
> > +  Amp-Out vals:  [0x26 0x26]
> >    Converter: stream=0, channel=0
> >    PCM:
> >      rates [0x5e0]: 44100 48000 88200 96000 192000
> > @@ -174,12 +174,12 @@
> >      bits [0xe]: 16 20 24
> >      formats [0x1]: PCM
> >    Power states:  D0 D1 D2 D3
> > -  Power: setting=D0, actual=D0
> > +  Power: setting=D3, actual=D3
> >    Connection: 1
> >       0x1e
> 
> So this looks like the only significant change.  Others are about the
> volume level, and should lead to the complete mute.
> 
> Could you try to adjust the power state manually while it happens?
> 
> hda-verb /dev/snd/hwC0D0 0xXX SET_POWER 0x00
> 
> where 0xXX is filled with the node number of this widget.
> 
> BTW, at the next time, take a diff with -p option.  This will show the
> node ID in the diff.

Hmm, I have no /dev/snd/hwC0D0:

x4 ~ # ll /dev/snd/
total 0
drwxr-xr-x  3 root root      220 Aug 29 10:27 .
drwxr-xr-x 17 root root     3.2K Aug 29 10:27 ..
drwxr-xr-x  2 root root       80 Aug 29 10:27 by-path
crw-rw----  1 root audio 116,  4 Aug 29 10:27 controlC0
crw-rw----  1 root audio 116,  2 Aug 29 10:27 controlC1
crw-rw----  1 root audio 116,  6 Aug 29 10:27 pcmC0D0c
crw-rw----  1 root audio 116,  5 Aug 29 10:27 pcmC0D0p
crw-rw----  1 root audio 116,  7 Aug 29 10:29 pcmC0D3p
crw-rw----  1 root audio 116,  3 Aug 29 10:27 pcmC1D3p
crw-rw----  1 root audio 116,  1 Aug 29 10:27 seq
crw-rw----  1 root audio 116, 33 Aug 29 10:27 timer


x4 ~ # diff -up /var/tmp/alsa-info.txt.V6vt2PBEyd /tmp/alsa-info.txt.Vgxz8LN3wT
--- /var/tmp/alsa-info.txt.V6vt2PBEyd   2016-08-29 10:28:24.691020678 +0200
+++ /tmp/alsa-info.txt.Vgxz8LN3wT       2016-08-29 10:29:48.358506785 +0200
@@ -3,7 +3,7 @@ upload=true&script=true&cardinfo=
 !!ALSA Information Script v 0.4.64
 !!################################
 
-!!Script ran on: Mon Aug 29 08:28:24 UTC 2016
+!!Script ran on: Mon Aug 29 08:29:48 UTC 2016
 
 
 !!Linux Distribution
@@ -121,7 +121,7 @@ Node 0x11 [Audio Output] wcaps 0x41d: St
   Control: name="Surround Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
-  Amp-Out vals:  [0x1c 0x1c]
+  Amp-Out vals:  [0x26 0x26]
   Converter: stream=0, channel=0
   PCM:
     rates [0x5e0]: 44100 48000 88200 96000 192000
@@ -136,7 +136,7 @@ Node 0x12 [Audio Output] wcaps 0x611: St
   Control: name="IEC958 Playback Switch", index=0, device=0
   Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
   Device: name="VT1708S Digital", type="HDMI", device=3
-  Converter: stream=0, channel=0
+  Converter: stream=5, channel=0
   Digital: Enabled
   Digital category: 0x0
   IEC Coding Type: 0x0
@@ -174,12 +174,12 @@ Node 0x14 [Audio Input] wcaps 0x10051b:
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
   Power states:  D0 D1 D2 D3
-  Power: setting=D0, actual=D0
+  Power: setting=D3, actual=D3
   Connection: 1
      0x1e
 Node 0x15 [Audio Output] wcaps 0x611: Stereo Digital
-  Converter: stream=0, channel=0
-  Digital:
+  Converter: stream=5, channel=0
+  Digital: Enabled
   Digital category: 0x0
   IEC Coding Type: 0x0
   PCM:
@@ -368,7 +368,7 @@ Node 0x24 [Audio Output] wcaps 0x41d: St
   Control: name="LFE Playback Volume", index=0, device=0
     ControlAmp: chs=2, dir=Out, idx=0, ofs=0
   Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
-  Amp-Out vals:  [0x1c 0x1c]
+  Amp-Out vals:  [0x26 0x26]
   Converter: stream=0, channel=0
   PCM:
     rates [0x5e0]: 44100 48000 88200 96000 192000
@@ -380,7 +380,7 @@ Node 0x25 [Audio Output] wcaps 0x41d: St
   Control: name="Side Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
-  Amp-Out vals:  [0x1c 0x1c]
+  Amp-Out vals:  [0x26 0x26]
   Converter: stream=0, channel=0
   PCM:
     rates [0x5e0]: 44100 48000 88200 96000 192000
@@ -454,7 +454,7 @@ crw-rw---- 1 root audio 116,  4 Aug 29 1
 crw-rw---- 1 root audio 116,  2 Aug 29 10:27 /dev/snd/controlC1
 crw-rw---- 1 root audio 116,  6 Aug 29 10:27 /dev/snd/pcmC0D0c
 crw-rw---- 1 root audio 116,  5 Aug 29 10:27 /dev/snd/pcmC0D0p
-crw-rw---- 1 root audio 116,  7 Aug 29 10:27 /dev/snd/pcmC0D3p
+crw-rw---- 1 root audio 116,  7 Aug 29 10:29 /dev/snd/pcmC0D3p
 crw-rw---- 1 root audio 116,  3 Aug 29 10:27 /dev/snd/pcmC1D3p
 crw-rw---- 1 root audio 116,  1 Aug 29 10:27 /dev/snd/seq
 crw-rw---- 1 root audio 116, 33 Aug 29 10:27 /dev/snd/timer
@@ -534,7 +534,7 @@ card 0: SB [HDA ATI SB], device 0: VT170
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 card 0: SB [HDA ATI SB], device 3: VT1708S Digital [VT1708S Digital]
-  Subdevices: 1/1
+  Subdevices: 0/1
   Subdevice #0: subdevice #0
 card 1: HDMI [HDA ATI HDMI], device 3: Generic Digital [Generic Digital]
   Subdevices: 1/1
@@ -1282,8 +1282,8 @@ state.SB {
                iface PCM
                device 3
                name 'Playback Channel Map'
-               value.0 0
-               value.1 0
+               value.0 3
+               value.1 4
                comment {
                        access read
                        type INTEGER

-- 
Markus

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: No sound for several minutes after reboot
  2016-08-29  8:33     ` Markus Trippelsdorf
@ 2016-08-29  8:39       ` Takashi Iwai
  2016-08-29  8:56         ` Markus Trippelsdorf
  0 siblings, 1 reply; 15+ messages in thread
From: Takashi Iwai @ 2016-08-29  8:39 UTC (permalink / raw)
  To: Markus Trippelsdorf; +Cc: alsa-devel

On Mon, 29 Aug 2016 10:33:34 +0200,
Markus Trippelsdorf wrote:
> 
> On 2016.08.29 at 10:15 +0200, Takashi Iwai wrote:
> > On Sat, 27 Aug 2016 13:39:08 +0200,
> > Markus Trippelsdorf wrote:
> > > 
> > > On 2016.08.27 at 11:50 +0200, Markus Trippelsdorf wrote:
> > > > Hi,
> > > > 
> > > > since several kernel releases I get no sound for several minutes after
> > > > reboot. After this delay it starts working normally.
> > > > 
> > > > Is this some kind of speaker protection? Is there a parameter that I can
> > > > set to get sound immediately?
> > > > 
> > > >  % aplay -l
> > > > **** List of PLAYBACK Hardware Devices ****
> > > > card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
> > > >   Subdevices: 1/1
> > > >   Subdevice #0: subdevice #0
> > > > card 0: SB [HDA ATI SB], device 3: VT1708S Digital [VT1708S Digital]
> > > >   Subdevices: 1/1
> > > >   Subdevice #0: subdevice #0
> > > > card 1: HDMI [HDA ATI HDMI], device 3: Generic Digital [Generic Digital]
> > > >   Subdevices: 1/1
> > > >   Subdevice #0: subdevice #0
> > > > 
> > > > card 0, device 3 [VT1708S Digital] is the device that I use. It is a
> > > > TOSLINK-S/PDIF link to my DAC.
> > > 
> > > Here is the diff (bad (after reboot) vs. good (after a few minutes)):
> > > 
> > > @@ -121,7 +121,7 @@
> > >    Control: name="Surround Playback Volume", index=0, device=0
> > >      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> > >    Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
> > > -  Amp-Out vals:  [0x1c 0x1c]
> > > +  Amp-Out vals:  [0x26 0x26]
> > >    Converter: stream=0, channel=0
> > >    PCM:
> > >      rates [0x5e0]: 44100 48000 88200 96000 192000
> > > @@ -174,12 +174,12 @@
> > >      bits [0xe]: 16 20 24
> > >      formats [0x1]: PCM
> > >    Power states:  D0 D1 D2 D3
> > > -  Power: setting=D0, actual=D0
> > > +  Power: setting=D3, actual=D3
> > >    Connection: 1
> > >       0x1e
> > 
> > So this looks like the only significant change.  Others are about the
> > volume level, and should lead to the complete mute.
> > 
> > Could you try to adjust the power state manually while it happens?
> > 
> > hda-verb /dev/snd/hwC0D0 0xXX SET_POWER 0x00
> > 
> > where 0xXX is filled with the node number of this widget.
> > 
> > BTW, at the next time, take a diff with -p option.  This will show the
> > node ID in the diff.
> 
> Hmm, I have no /dev/snd/hwC0D0:

Build your kernel with CONFIG_SND_HDA_HWDEP=y.

> @@ -174,12 +174,12 @@ Node 0x14 [Audio Input] wcaps 0x10051b:
>      bits [0xe]: 16 20 24
>      formats [0x1]: PCM
>    Power states:  D0 D1 D2 D3
> -  Power: setting=D0, actual=D0
> +  Power: setting=D3, actual=D3

So it's 0x14.


Takashi

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: No sound for several minutes after reboot
  2016-08-29  8:39       ` Takashi Iwai
@ 2016-08-29  8:56         ` Markus Trippelsdorf
  2016-08-29  9:05           ` Markus Trippelsdorf
  0 siblings, 1 reply; 15+ messages in thread
From: Markus Trippelsdorf @ 2016-08-29  8:56 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 2016.08.29 at 10:39 +0200, Takashi Iwai wrote:
> On Mon, 29 Aug 2016 10:33:34 +0200,
> Markus Trippelsdorf wrote:
> > 
> > On 2016.08.29 at 10:15 +0200, Takashi Iwai wrote:
> > > On Sat, 27 Aug 2016 13:39:08 +0200,
> > > Markus Trippelsdorf wrote:
> > > > 
> > > > On 2016.08.27 at 11:50 +0200, Markus Trippelsdorf wrote:
> > > > > Hi,
> > > > > 
> > > > > since several kernel releases I get no sound for several minutes after
> > > > > reboot. After this delay it starts working normally.
> > > > > 
> > > > > Is this some kind of speaker protection? Is there a parameter that I can
> > > > > set to get sound immediately?
> > > > > 
> > > > >  % aplay -l
> > > > > **** List of PLAYBACK Hardware Devices ****
> > > > > card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
> > > > >   Subdevices: 1/1
> > > > >   Subdevice #0: subdevice #0
> > > > > card 0: SB [HDA ATI SB], device 3: VT1708S Digital [VT1708S Digital]
> > > > >   Subdevices: 1/1
> > > > >   Subdevice #0: subdevice #0
> > > > > card 1: HDMI [HDA ATI HDMI], device 3: Generic Digital [Generic Digital]
> > > > >   Subdevices: 1/1
> > > > >   Subdevice #0: subdevice #0
> > > > > 
> > > > > card 0, device 3 [VT1708S Digital] is the device that I use. It is a
> > > > > TOSLINK-S/PDIF link to my DAC.
> > > > 
> > > > Here is the diff (bad (after reboot) vs. good (after a few minutes)):
> > > > 
> > > > @@ -121,7 +121,7 @@
> > > >    Control: name="Surround Playback Volume", index=0, device=0
> > > >      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> > > >    Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
> > > > -  Amp-Out vals:  [0x1c 0x1c]
> > > > +  Amp-Out vals:  [0x26 0x26]
> > > >    Converter: stream=0, channel=0
> > > >    PCM:
> > > >      rates [0x5e0]: 44100 48000 88200 96000 192000
> > > > @@ -174,12 +174,12 @@
> > > >      bits [0xe]: 16 20 24
> > > >      formats [0x1]: PCM
> > > >    Power states:  D0 D1 D2 D3
> > > > -  Power: setting=D0, actual=D0
> > > > +  Power: setting=D3, actual=D3
> > > >    Connection: 1
> > > >       0x1e
> > > 
> > > So this looks like the only significant change.  Others are about the
> > > volume level, and should lead to the complete mute.
> > > 
> > > Could you try to adjust the power state manually while it happens?
> > > 
> > > hda-verb /dev/snd/hwC0D0 0xXX SET_POWER 0x00
> > > 
> > > where 0xXX is filled with the node number of this widget.
> > > 
> > > BTW, at the next time, take a diff with -p option.  This will show the
> > > node ID in the diff.
> > 
> > Hmm, I have no /dev/snd/hwC0D0:
> 
> Build your kernel with CONFIG_SND_HDA_HWDEP=y.
> 
> > @@ -174,12 +174,12 @@ Node 0x14 [Audio Input] wcaps 0x10051b:
> >      bits [0xe]: 16 20 24
> >      formats [0x1]: PCM
> >    Power states:  D0 D1 D2 D3
> > -  Power: setting=D0, actual=D0
> > +  Power: setting=D3, actual=D3
> 
> So it's 0x14.

Thanks.

Unfortunately running: hda-verb /dev/snd/hwC0D0 0x14 SET_POWER 0x00
has no effect.

-- 
Markus

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: No sound for several minutes after reboot
  2016-08-29  8:56         ` Markus Trippelsdorf
@ 2016-08-29  9:05           ` Markus Trippelsdorf
  2016-08-29  9:16             ` Takashi Iwai
  0 siblings, 1 reply; 15+ messages in thread
From: Markus Trippelsdorf @ 2016-08-29  9:05 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 2016.08.29 at 10:56 +0200, Markus Trippelsdorf wrote:
> 
> Unfortunately running: hda-verb /dev/snd/hwC0D0 0x14 SET_POWER 0x00
> has no effect.

OK.
Running: hda-verb /dev/snd/hwC0D0 0x15 SET_DIGI_CONVERT_1 0x01
fixes the issue.
I have now put this into my startup script.

Thanks.

-- 
Markus

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: No sound for several minutes after reboot
  2016-08-29  9:05           ` Markus Trippelsdorf
@ 2016-08-29  9:16             ` Takashi Iwai
  2016-08-29  9:20               ` Markus Trippelsdorf
  0 siblings, 1 reply; 15+ messages in thread
From: Takashi Iwai @ 2016-08-29  9:16 UTC (permalink / raw)
  To: Markus Trippelsdorf; +Cc: alsa-devel

On Mon, 29 Aug 2016 11:05:48 +0200,
Markus Trippelsdorf wrote:
> 
> On 2016.08.29 at 10:56 +0200, Markus Trippelsdorf wrote:
> > 
> > Unfortunately running: hda-verb /dev/snd/hwC0D0 0x14 SET_POWER 0x00
> > has no effect.
> 
> OK.
> Running: hda-verb /dev/snd/hwC0D0 0x15 SET_DIGI_CONVERT_1 0x01
> fixes the issue.
> I have now put this into my startup script.

Oh, then you're using SPDIF output or such?  I missed it from the
description.

This should have been set by IEC958 status bits control.  Does the
problem exist only after a fresh reboot?


Takashi

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: No sound for several minutes after reboot
  2016-08-29  9:16             ` Takashi Iwai
@ 2016-08-29  9:20               ` Markus Trippelsdorf
  2016-08-29  9:32                 ` Takashi Iwai
  0 siblings, 1 reply; 15+ messages in thread
From: Markus Trippelsdorf @ 2016-08-29  9:20 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 2016.08.29 at 11:16 +0200, Takashi Iwai wrote:
> On Mon, 29 Aug 2016 11:05:48 +0200,
> Markus Trippelsdorf wrote:
> > 
> > On 2016.08.29 at 10:56 +0200, Markus Trippelsdorf wrote:
> > > 
> > > Unfortunately running: hda-verb /dev/snd/hwC0D0 0x14 SET_POWER 0x00
> > > has no effect.
> > 
> > OK.
> > Running: hda-verb /dev/snd/hwC0D0 0x15 SET_DIGI_CONVERT_1 0x01
> > fixes the issue.
> > I have now put this into my startup script.
> 
> Oh, then you're using SPDIF output or such?  I missed it from the
> description.

Yes, as I wrote in first mail:
it is a TOSLINK-S/PDIF link to my DAC.

> This should have been set by IEC958 status bits control.  Does the
> problem exist only after a fresh reboot?

Yes. And only for a few minutes. After that it gets finally switched on.

-- 
Markus

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: No sound for several minutes after reboot
  2016-08-29  9:20               ` Markus Trippelsdorf
@ 2016-08-29  9:32                 ` Takashi Iwai
  2016-08-29  9:40                   ` Markus Trippelsdorf
  2016-08-29 12:06                   ` Markus Trippelsdorf
  0 siblings, 2 replies; 15+ messages in thread
From: Takashi Iwai @ 2016-08-29  9:32 UTC (permalink / raw)
  To: Markus Trippelsdorf; +Cc: alsa-devel

On Mon, 29 Aug 2016 11:20:47 +0200,
Markus Trippelsdorf wrote:
> 
> On 2016.08.29 at 11:16 +0200, Takashi Iwai wrote:
> > On Mon, 29 Aug 2016 11:05:48 +0200,
> > Markus Trippelsdorf wrote:
> > > 
> > > On 2016.08.29 at 10:56 +0200, Markus Trippelsdorf wrote:
> > > > 
> > > > Unfortunately running: hda-verb /dev/snd/hwC0D0 0x14 SET_POWER 0x00
> > > > has no effect.
> > > 
> > > OK.
> > > Running: hda-verb /dev/snd/hwC0D0 0x15 SET_DIGI_CONVERT_1 0x01
> > > fixes the issue.
> > > I have now put this into my startup script.
> > 
> > Oh, then you're using SPDIF output or such?  I missed it from the
> > description.
> 
> Yes, as I wrote in first mail:
> it is a TOSLINK-S/PDIF link to my DAC.

Yeah, now I found it.  It's hidden well like Wally, as if it's a part
of the "aplay -l" output...

> > This should have been set by IEC958 status bits control.  Does the
> > problem exist only after a fresh reboot?
> 
> Yes. And only for a few minutes. After that it gets finally switched on.

Hm, it's interesting who sets this bit at all.  Could you track it via
tracing verbs as described in Documentation/sound/alsa/HD-Audio.txt.


thanks,

Takashi

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: No sound for several minutes after reboot
  2016-08-29  9:32                 ` Takashi Iwai
@ 2016-08-29  9:40                   ` Markus Trippelsdorf
  2016-08-29 12:06                   ` Markus Trippelsdorf
  1 sibling, 0 replies; 15+ messages in thread
From: Markus Trippelsdorf @ 2016-08-29  9:40 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 2016.08.29 at 11:32 +0200, Takashi Iwai wrote:
> On Mon, 29 Aug 2016 11:20:47 +0200,
> Markus Trippelsdorf wrote:
> > 
> > On 2016.08.29 at 11:16 +0200, Takashi Iwai wrote:
> > > On Mon, 29 Aug 2016 11:05:48 +0200,
> > > Markus Trippelsdorf wrote:
> > > > 
> > > > On 2016.08.29 at 10:56 +0200, Markus Trippelsdorf wrote:
> > > > > 
> > > > > Unfortunately running: hda-verb /dev/snd/hwC0D0 0x14 SET_POWER 0x00
> > > > > has no effect.
> > > > 
> > > > OK.
> > > > Running: hda-verb /dev/snd/hwC0D0 0x15 SET_DIGI_CONVERT_1 0x01
> > > > fixes the issue.
> > > > I have now put this into my startup script.
> > > 
> > > Oh, then you're using SPDIF output or such?  I missed it from the
> > > description.
> > 
> > Yes, as I wrote in first mail:
> > it is a TOSLINK-S/PDIF link to my DAC.
> 
> Yeah, now I found it.  It's hidden well like Wally, as if it's a part
> of the "aplay -l" output...

Hey, never mind.

> > > This should have been set by IEC958 status bits control.  Does the
> > > problem exist only after a fresh reboot?
> > Yes. And only for a few minutes. After that it gets finally switched on.
> 
> Hm, it's interesting who sets this bit at all.  Could you track it via
> tracing verbs as described in Documentation/sound/alsa/HD-Audio.txt.

I'm not particular motivated now that it is working as expected again.
But if I find time I will do the tracing.

-- 
Markus

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: No sound for several minutes after reboot
  2016-08-29  9:32                 ` Takashi Iwai
  2016-08-29  9:40                   ` Markus Trippelsdorf
@ 2016-08-29 12:06                   ` Markus Trippelsdorf
  2016-08-29 14:02                     ` Markus Trippelsdorf
  1 sibling, 1 reply; 15+ messages in thread
From: Markus Trippelsdorf @ 2016-08-29 12:06 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 2016.08.29 at 11:32 +0200, Takashi Iwai wrote:
> On Mon, 29 Aug 2016 11:20:47 +0200,
> Markus Trippelsdorf wrote:
> > 
> > On 2016.08.29 at 11:16 +0200, Takashi Iwai wrote:
> > > On Mon, 29 Aug 2016 11:05:48 +0200,
> > > Markus Trippelsdorf wrote:
> > > > 
> > > > On 2016.08.29 at 10:56 +0200, Markus Trippelsdorf wrote:
> > > > > 
> > > > > Unfortunately running: hda-verb /dev/snd/hwC0D0 0x14 SET_POWER 0x00
> > > > > has no effect.
> > > > 
> > > > OK.
> > > > Running: hda-verb /dev/snd/hwC0D0 0x15 SET_DIGI_CONVERT_1 0x01
> > > > fixes the issue.
> > > > I have now put this into my startup script.
> > > 
> > > Oh, then you're using SPDIF output or such?  I missed it from the
> > > description.
> > 
> > Yes, as I wrote in first mail:
> > it is a TOSLINK-S/PDIF link to my DAC.
> 
> Yeah, now I found it.  It's hidden well like Wally, as if it's a part
> of the "aplay -l" output...
> 
> > > This should have been set by IEC958 status bits control.  Does the
> > > problem exist only after a fresh reboot?
> > 
> > Yes. And only for a few minutes. After that it gets finally switched on.
> 
> Hm, it's interesting who sets this bit at all.  Could you track it via
> tracing verbs as described in Documentation/sound/alsa/HD-Audio.txt.

Ok here it is:

# tracer: nop
#
# entries-in-buffer/entries-written: 414/414   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
 output:ALSA def-222   [002] d...    60.915790: snd_hdac_stream_stop: stream_tag: 5
 output:ALSA def-222   [002] ....    61.623936: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
 output:ALSA def-222   [002] ....    61.623999: hda_get_response: [0000:00:14.2:0] val=0x00004011
 output:ALSA def-222   [002] d...    61.624097: snd_hdac_stream_start: stream_tag: 5
 output:ALSA def-222   [002] d...    62.274462: snd_hdac_stream_stop: stream_tag: 5
     kworker/1:5-72    [001] ....    64.698914: hda_send_cmd: [0000:01:05.1:0] val=0x00170503
     kworker/1:5-72    [001] ....    64.698935: hda_get_response: [0000:01:05.1:0] val=0x00000000
     kworker/1:5-72    [001] ....    64.698938: hda_send_cmd: [0000:01:05.1:0] val=0x001f0500
     kworker/1:5-72    [001] ....    64.698951: hda_get_response: [0000:01:05.1:0] val=0x00000033

(Here I start and stop my media player a few times, but there is no sound)

 output:ALSA def-222   [002] ....    92.664711: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
 output:ALSA def-222   [002] ....    92.664778: hda_get_response: [0000:00:14.2:0] val=0x00004011
 output:ALSA def-222   [002] d...    92.664821: snd_hdac_stream_start: stream_tag: 5
 output:ALSA def-222   [003] d...   101.396054: snd_hdac_stream_stop: stream_tag: 5
 output:ALSA def-222   [003] ....   135.699370: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
 output:ALSA def-222   [003] ....   135.699431: hda_get_response: [0000:00:14.2:0] val=0x00004011
 output:ALSA def-222   [003] d...   135.699545: snd_hdac_stream_start: stream_tag: 5
 output:ALSA def-222   [003] d...   136.442798: snd_hdac_stream_stop: stream_tag: 5
 output:ALSA def-222   [003] ....   169.685030: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
 output:ALSA def-222   [003] ....   169.685092: hda_get_response: [0000:00:14.2:0] val=0x00004011
 output:ALSA def-222   [003] d...   169.685226: snd_hdac_stream_start: stream_tag: 5
 output:ALSA def-222   [003] d...   170.521321: snd_hdac_stream_stop: stream_tag: 5
 output:ALSA def-222   [003] ....   212.502634: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
 output:ALSA def-222   [003] ....   212.502694: hda_get_response: [0000:00:14.2:0] val=0x00004011
 output:ALSA def-222   [003] d...   212.502807: snd_hdac_stream_start: stream_tag: 5
 output:ALSA def-222   [002] d...   214.360648: snd_hdac_stream_stop: stream_tag: 5
 output:ALSA def-222   [002] ....   252.760870: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
 output:ALSA def-222   [002] ....   252.760933: hda_get_response: [0000:00:14.2:0] val=0x00004011
 output:ALSA def-222   [002] d...   252.761035: snd_hdac_stream_start: stream_tag: 5
 output:ALSA def-222   [003] d...   254.525994: snd_hdac_stream_stop: stream_tag: 5
 output:ALSA def-222   [000] ....   273.202336: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
 output:ALSA def-222   [000] ....   273.202400: hda_get_response: [0000:00:14.2:0] val=0x00004011
 output:ALSA def-222   [000] d...   273.202499: snd_hdac_stream_start: stream_tag: 5
 output:ALSA def-222   [003] d...   273.945690: snd_hdac_stream_stop: stream_tag: 5
 
 (After the kworker is finished, sound is OK again)

     kworker/1:5-72    [001] ....   335.961882: hda_send_cmd: [0000:00:14.2:0] val=0x01270600
     kworker/1:5-72    [001] ....   335.961946: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   335.961948: hda_send_cmd: [0000:00:14.2:0] val=0x01220000
     kworker/1:5-72    [001] ....   335.962007: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   335.962009: hda_send_cmd: [0000:00:14.2:0] val=0x01570600
     kworker/1:5-72    [001] ....   335.962065: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   335.962067: hda_send_cmd: [0000:00:14.2:0] val=0x01520000
     kworker/1:5-72    [001] ....   335.962128: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.068516: hda_send_cmd: [0000:00:14.2:0] val=0x00170503
     kworker/1:5-72    [001] ....   336.068577: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.068581: hda_send_cmd: [0000:00:14.2:0] val=0x01070503
     kworker/1:5-72    [001] ....   336.068633: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.068635: hda_send_cmd: [0000:00:14.2:0] val=0x01170503
     kworker/1:5-72    [001] ....   336.068695: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.068697: hda_send_cmd: [0000:00:14.2:0] val=0x01270503
     kworker/1:5-72    [001] ....   336.068758: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.068759: hda_send_cmd: [0000:00:14.2:0] val=0x01370503
     kworker/1:5-72    [001] ....   336.068821: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.068822: hda_send_cmd: [0000:00:14.2:0] val=0x01470503
     kworker/1:5-72    [001] ....   336.068883: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.068884: hda_send_cmd: [0000:00:14.2:0] val=0x01570503
     kworker/1:5-72    [001] ....   336.068945: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.068947: hda_send_cmd: [0000:00:14.2:0] val=0x01670503
     kworker/1:5-72    [001] ....   336.069008: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.069010: hda_send_cmd: [0000:00:14.2:0] val=0x01770503
     kworker/1:5-72    [001] ....   336.069070: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.069072: hda_send_cmd: [0000:00:14.2:0] val=0x01870503
     kworker/1:5-72    [001] ....   336.069133: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.069134: hda_send_cmd: [0000:00:14.2:0] val=0x01970503
     kworker/1:5-72    [001] ....   336.069195: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.069197: hda_send_cmd: [0000:00:14.2:0] val=0x01a70503
     kworker/1:5-72    [001] ....   336.069259: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.069260: hda_send_cmd: [0000:00:14.2:0] val=0x01b70503
     kworker/1:5-72    [001] ....   336.069320: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.069322: hda_send_cmd: [0000:00:14.2:0] val=0x01c70503
     kworker/1:5-72    [001] ....   336.069383: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.069384: hda_send_cmd: [0000:00:14.2:0] val=0x01d70503
     kworker/1:5-72    [001] ....   336.069445: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.069447: hda_send_cmd: [0000:00:14.2:0] val=0x01e70503
     kworker/1:5-72    [001] ....   336.069508: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.069509: hda_send_cmd: [0000:00:14.2:0] val=0x01f70503
     kworker/1:5-72    [001] ....   336.069570: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.069572: hda_send_cmd: [0000:00:14.2:0] val=0x02070503
     kworker/1:5-72    [001] ....   336.069633: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.069634: hda_send_cmd: [0000:00:14.2:0] val=0x02170503
     kworker/1:5-72    [001] ....   336.069696: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.069697: hda_send_cmd: [0000:00:14.2:0] val=0x02270503
     kworker/1:5-72    [001] ....   336.069758: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.069759: hda_send_cmd: [0000:00:14.2:0] val=0x02370503
     kworker/1:5-72    [001] ....   336.069821: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.069822: hda_send_cmd: [0000:00:14.2:0] val=0x02470503
     kworker/1:5-72    [001] ....   336.069883: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.069885: hda_send_cmd: [0000:00:14.2:0] val=0x02570503
     kworker/1:5-72    [001] ....   336.069945: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.069947: hda_send_cmd: [0000:00:14.2:0] val=0x02670503
     kworker/1:5-72    [001] ....   336.070008: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.070009: hda_send_cmd: [0000:00:14.2:0] val=0x02770503
     kworker/1:5-72    [001] ....   336.070070: hda_get_response: [0000:00:14.2:0] val=0x00000000
     kworker/1:5-72    [001] ....   336.070072: hda_send_cmd: [0000:00:14.2:0] val=0x001f0500
     kworker/1:5-72    [001] ....   336.070133: hda_get_response: [0000:00:14.2:0] val=0x00000033
 output:ALSA def-222   [003] ....   422.015818: hda_send_cmd: [0000:00:14.2:0] val=0x00170500
 output:ALSA def-222   [003] ....   422.015877: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.015892: hda_send_cmd: [0000:00:14.2:0] val=0x01070500
 output:ALSA def-222   [003] ....   422.015935: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.015937: hda_send_cmd: [0000:00:14.2:0] val=0x01170500
 output:ALSA def-222   [003] ....   422.015997: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016000: hda_send_cmd: [0000:00:14.2:0] val=0x01270500
 output:ALSA def-222   [003] ....   422.016060: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016062: hda_send_cmd: [0000:00:14.2:0] val=0x01370500
 output:ALSA def-222   [003] ....   422.016122: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016124: hda_send_cmd: [0000:00:14.2:0] val=0x01470503
 output:ALSA def-222   [003] ....   422.016164: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016166: hda_send_cmd: [0000:00:14.2:0] val=0x01570500
 output:ALSA def-222   [003] ....   422.016206: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016207: hda_send_cmd: [0000:00:14.2:0] val=0x01670500
 output:ALSA def-222   [003] ....   422.016248: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016250: hda_send_cmd: [0000:00:14.2:0] val=0x01770500
 output:ALSA def-222   [003] ....   422.016310: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016311: hda_send_cmd: [0000:00:14.2:0] val=0x01870500
 output:ALSA def-222   [003] ....   422.016352: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016353: hda_send_cmd: [0000:00:14.2:0] val=0x01970500
 output:ALSA def-222   [003] ....   422.016393: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016395: hda_send_cmd: [0000:00:14.2:0] val=0x01a70500
 output:ALSA def-222   [003] ....   422.016456: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016458: hda_send_cmd: [0000:00:14.2:0] val=0x01b70500
 output:ALSA def-222   [003] ....   422.016497: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016499: hda_send_cmd: [0000:00:14.2:0] val=0x01c70500
 output:ALSA def-222   [003] ....   422.016539: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016540: hda_send_cmd: [0000:00:14.2:0] val=0x01d70500
 output:ALSA def-222   [003] ....   422.016581: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016583: hda_send_cmd: [0000:00:14.2:0] val=0x01e70500
 output:ALSA def-222   [003] ....   422.016643: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016645: hda_send_cmd: [0000:00:14.2:0] val=0x01f70500
 output:ALSA def-222   [003] ....   422.016685: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016687: hda_send_cmd: [0000:00:14.2:0] val=0x02070500
 output:ALSA def-222   [003] ....   422.016727: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016729: hda_send_cmd: [0000:00:14.2:0] val=0x02170500
 output:ALSA def-222   [003] ....   422.016789: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016791: hda_send_cmd: [0000:00:14.2:0] val=0x02270500
 output:ALSA def-222   [003] ....   422.016831: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016832: hda_send_cmd: [0000:00:14.2:0] val=0x02370500
 output:ALSA def-222   [003] ....   422.016872: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016874: hda_send_cmd: [0000:00:14.2:0] val=0x02470500
 output:ALSA def-222   [003] ....   422.016914: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016916: hda_send_cmd: [0000:00:14.2:0] val=0x02570500
 output:ALSA def-222   [003] ....   422.016956: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016957: hda_send_cmd: [0000:00:14.2:0] val=0x02670500
 output:ALSA def-222   [003] ....   422.016998: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.016999: hda_send_cmd: [0000:00:14.2:0] val=0x02770500
 output:ALSA def-222   [003] ....   422.017039: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.017041: hda_send_cmd: [0000:00:14.2:0] val=0x001f0500
 output:ALSA def-222   [003] ....   422.017081: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.031386: hda_send_cmd: [0000:00:14.2:0] val=0x001f9801
 output:ALSA def-222   [003] ....   422.031437: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.031438: hda_send_cmd: [0000:00:14.2:0] val=0x001f88c0
 output:ALSA def-222   [003] ....   422.031498: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.031500: hda_send_cmd: [0000:00:14.2:0] val=0x001f73e1
 output:ALSA def-222   [003] ....   422.031561: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.031568: hda_send_cmd: [0000:00:14.2:0] val=0x01c70740
 output:ALSA def-222   [003] ....   422.031623: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.031626: hda_send_cmd: [0000:00:14.2:0] val=0x010f0500
 output:ALSA def-222   [003] ....   422.031686: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.031687: hda_send_cmd: [0000:00:14.2:0] val=0x016f0500
 output:ALSA def-222   [003] ....   422.031727: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.031729: hda_send_cmd: [0000:00:14.2:0] val=0x01cf0500
 output:ALSA def-222   [003] ....   422.031769: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.031808: hda_send_cmd: [0000:00:14.2:0] val=0x01c70c02
 output:ALSA def-222   [003] ....   422.031852: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.031855: hda_send_cmd: [0000:00:14.2:0] val=0x01970740
 output:ALSA def-222   [003] ....   422.031915: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.031916: hda_send_cmd: [0000:00:14.2:0] val=0x011f0500
 output:ALSA def-222   [003] ....   422.031957: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.031958: hda_send_cmd: [0000:00:14.2:0] val=0x018f0500
 output:ALSA def-222   [003] ....   422.031998: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032000: hda_send_cmd: [0000:00:14.2:0] val=0x019f0500
 output:ALSA def-222   [003] ....   422.032040: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032061: hda_send_cmd: [0000:00:14.2:0] val=0x02270740
 output:ALSA def-222   [003] ....   422.032102: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032104: hda_send_cmd: [0000:00:14.2:0] val=0x024f0500
 output:ALSA def-222   [003] ....   422.032144: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032146: hda_send_cmd: [0000:00:14.2:0] val=0x026f0500
 output:ALSA def-222   [003] ....   422.032186: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032187: hda_send_cmd: [0000:00:14.2:0] val=0x022f0500
 output:ALSA def-222   [003] ....   422.032228: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032248: hda_send_cmd: [0000:00:14.2:0] val=0x02370740
 output:ALSA def-222   [003] ....   422.032290: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032292: hda_send_cmd: [0000:00:14.2:0] val=0x025f0500
 output:ALSA def-222   [003] ....   422.032352: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032354: hda_send_cmd: [0000:00:14.2:0] val=0x027f0500
 output:ALSA def-222   [003] ....   422.032394: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032395: hda_send_cmd: [0000:00:14.2:0] val=0x023f0500
 output:ALSA def-222   [003] ....   422.032436: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032457: hda_send_cmd: [0000:00:14.2:0] val=0x01d707c0
 output:ALSA def-222   [003] ....   422.032498: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032500: hda_send_cmd: [0000:00:14.2:0] val=0x010f0500
 output:ALSA def-222   [003] ....   422.032540: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032541: hda_send_cmd: [0000:00:14.2:0] val=0x016f0500
 output:ALSA def-222   [003] ....   422.032581: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032583: hda_send_cmd: [0000:00:14.2:0] val=0x01df0500
 output:ALSA def-222   [003] ....   422.032624: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032626: hda_send_cmd: [0000:00:14.2:0] val=0x01d70100
 output:ALSA def-222   [003] ....   422.032686: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032718: hda_send_cmd: [0000:00:14.2:0] val=0x01a70721
 output:ALSA def-222   [003] ....   422.032769: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032771: hda_send_cmd: [0000:00:14.2:0] val=0x01af0500
 output:ALSA def-222   [003] ....   422.032832: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032834: hda_send_cmd: [0000:00:14.2:0] val=0x016f0500
 output:ALSA def-222   [003] ....   422.032894: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032920: hda_send_cmd: [0000:00:14.2:0] val=0x01e70721
 output:ALSA def-222   [003] ....   422.032978: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.032979: hda_send_cmd: [0000:00:14.2:0] val=0x01ef0500
 output:ALSA def-222   [003] ....   422.033019: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033020: hda_send_cmd: [0000:00:14.2:0] val=0x016f0500
 output:ALSA def-222   [003] ....   422.033061: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033088: hda_send_cmd: [0000:00:14.2:0] val=0x01b70720
 output:ALSA def-222   [003] ....   422.033144: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033146: hda_send_cmd: [0000:00:14.2:0] val=0x01bf0500
 output:ALSA def-222   [003] ....   422.033186: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033187: hda_send_cmd: [0000:00:14.2:0] val=0x016f0500
 output:ALSA def-222   [003] ....   422.033227: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033250: hda_send_cmd: [0000:00:14.2:0] val=0x01f70720
 output:ALSA def-222   [003] ....   422.033290: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033292: hda_send_cmd: [0000:00:14.2:0] val=0x01ff0500
 output:ALSA def-222   [003] ....   422.033332: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033333: hda_send_cmd: [0000:00:14.2:0] val=0x016f0500
 output:ALSA def-222   [003] ....   422.033373: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033395: hda_send_cmd: [0000:00:14.2:0] val=0x01af0500
 output:ALSA def-222   [003] ....   422.033436: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033438: hda_send_cmd: [0000:00:14.2:0] val=0x017f0500
 output:ALSA def-222   [003] ....   422.033477: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033479: hda_send_cmd: [0000:00:14.2:0] val=0x013f0500
 output:ALSA def-222   [003] ....   422.033519: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033524: hda_send_cmd: [0000:00:14.2:0] val=0x01770101
 output:ALSA def-222   [003] ....   422.033582: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033616: hda_send_cmd: [0000:00:14.2:0] val=0x02070740
 output:ALSA def-222   [003] ....   422.033665: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033667: hda_send_cmd: [0000:00:14.2:0] val=0x012f0500
 output:ALSA def-222   [003] ....   422.033707: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033708: hda_send_cmd: [0000:00:14.2:0] val=0x020f0500
 output:ALSA def-222   [003] ....   422.033748: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033751: hda_send_cmd: [0000:00:14.2:0] val=0x02170740
 output:ALSA def-222   [003] ....   422.033811: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033813: hda_send_cmd: [0000:00:14.2:0] val=0x015f0500
 output:ALSA def-222   [003] ....   422.033852: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033854: hda_send_cmd: [0000:00:14.2:0] val=0x021f0500
 output:ALSA def-222   [003] ....   422.033894: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033914: hda_send_cmd: [0000:00:14.2:0] val=0x01df0900
 output:ALSA def-222   [003] ....   422.033956: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.033960: hda_send_cmd: [0000:00:14.2:0] val=0x01d707c0
 output:ALSA def-222   [003] ....   422.034019: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034022: hda_send_cmd: [0000:00:14.2:0] val=0x01c70740
 output:ALSA def-222   [003] ....   422.034082: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034084: hda_send_cmd: [0000:00:14.2:0] val=0x01c70c02
 output:ALSA def-222   [003] ....   422.034144: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034146: hda_send_cmd: [0000:00:14.2:0] val=0x01970740
 output:ALSA def-222   [003] ....   422.034186: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034189: hda_send_cmd: [0000:00:14.2:0] val=0x02270740
 output:ALSA def-222   [003] ....   422.034249: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034251: hda_send_cmd: [0000:00:14.2:0] val=0x02370740
 output:ALSA def-222   [003] ....   422.034311: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034314: hda_send_cmd: [0000:00:14.2:0] val=0x01cf0900
 output:ALSA def-222   [003] ....   422.034373: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034376: hda_send_cmd: [0000:00:14.2:0] val=0x019f0900
 output:ALSA def-222   [003] ....   422.034436: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034438: hda_send_cmd: [0000:00:14.2:0] val=0x022f0900
 output:ALSA def-222   [003] ....   422.034498: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034500: hda_send_cmd: [0000:00:14.2:0] val=0x023f0900
 output:ALSA def-222   [003] ....   422.034561: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034564: hda_send_cmd: [0000:00:14.2:0] val=0x01039000
 output:ALSA def-222   [003] ....   422.034624: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034626: hda_send_cmd: [0000:00:14.2:0] val=0x0103a000
 output:ALSA def-222   [003] ....   422.034686: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034688: hda_send_cmd: [0000:00:14.2:0] val=0x01139026
 output:ALSA def-222   [003] ....   422.034748: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034750: hda_send_cmd: [0000:00:14.2:0] val=0x0113a026
 output:ALSA def-222   [003] ....   422.034790: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034793: hda_send_cmd: [0000:00:14.2:0] val=0x01270d01
 output:ALSA def-222   [003] ....   422.034853: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034854: hda_send_cmd: [0000:00:14.2:0] val=0x01270e00
 output:ALSA def-222   [003] ....   422.034894: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034896: hda_send_cmd: [0000:00:14.2:0] val=0x01335000
 output:ALSA def-222   [003] ....   422.034956: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.034958: hda_send_cmd: [0000:00:14.2:0] val=0x01336000
 output:ALSA def-222   [003] ....   422.034999: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035002: hda_send_cmd: [0000:00:14.2:0] val=0x01570d01
 output:ALSA def-222   [003] ....   422.035061: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035062: hda_send_cmd: [0000:00:14.2:0] val=0x01570e00
 output:ALSA def-222   [003] ....   422.035102: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035104: hda_send_cmd: [0000:00:14.2:0] val=0x01635017
 output:ALSA def-222   [003] ....   422.035144: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035147: hda_send_cmd: [0000:00:14.2:0] val=0x01635199
 output:ALSA def-222   [003] ....   422.035207: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035209: hda_send_cmd: [0000:00:14.2:0] val=0x01635280
 output:ALSA def-222   [003] ....   422.035249: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035251: hda_send_cmd: [0000:00:14.2:0] val=0x01635380
 output:ALSA def-222   [003] ....   422.035311: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035313: hda_send_cmd: [0000:00:14.2:0] val=0x01635480
 output:ALSA def-222   [003] ....   422.035353: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035355: hda_send_cmd: [0000:00:14.2:0] val=0x01635580
 output:ALSA def-222   [003] ....   422.035415: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035417: hda_send_cmd: [0000:00:14.2:0] val=0x01635680
 output:ALSA def-222   [003] ....   422.035460: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035462: hda_send_cmd: [0000:00:14.2:0] val=0x01636017
 output:ALSA def-222   [003] ....   422.035519: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035521: hda_send_cmd: [0000:00:14.2:0] val=0x01636199
 output:ALSA def-222   [003] ....   422.035582: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035583: hda_send_cmd: [0000:00:14.2:0] val=0x01636280
 output:ALSA def-222   [003] ....   422.035623: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035625: hda_send_cmd: [0000:00:14.2:0] val=0x01636380
 output:ALSA def-222   [003] ....   422.035665: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035667: hda_send_cmd: [0000:00:14.2:0] val=0x01636480
 output:ALSA def-222   [003] ....   422.035707: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035709: hda_send_cmd: [0000:00:14.2:0] val=0x01636580
 output:ALSA def-222   [003] ....   422.035769: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035771: hda_send_cmd: [0000:00:14.2:0] val=0x01636680
 output:ALSA def-222   [003] ....   422.035811: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035813: hda_send_cmd: [0000:00:14.2:0] val=0x01770101
 output:ALSA def-222   [003] ....   422.035874: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035876: hda_send_cmd: [0000:00:14.2:0] val=0x01839080
 output:ALSA def-222   [003] ....   422.035936: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.035938: hda_send_cmd: [0000:00:14.2:0] val=0x0183a080
 output:ALSA def-222   [003] ....   422.035998: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036001: hda_send_cmd: [0000:00:14.2:0] val=0x01970740
 output:ALSA def-222   [003] ....   422.036061: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036063: hda_send_cmd: [0000:00:14.2:0] val=0x01970882
 output:ALSA def-222   [003] ....   422.036103: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036104: hda_send_cmd: [0000:00:14.2:0] val=0x01a35000
 output:ALSA def-222   [003] ....   422.036144: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036146: hda_send_cmd: [0000:00:14.2:0] val=0x01a36000
 output:ALSA def-222   [003] ....   422.036186: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036188: hda_send_cmd: [0000:00:14.2:0] val=0x01a70721
 output:ALSA def-222   [003] ....   422.036248: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036251: hda_send_cmd: [0000:00:14.2:0] val=0x01a70886
 output:ALSA def-222   [003] ....   422.036311: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036313: hda_send_cmd: [0000:00:14.2:0] val=0x01b70720
 output:ALSA def-222   [003] ....   422.036352: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036354: hda_send_cmd: [0000:00:14.2:0] val=0x01b70888
 output:ALSA def-222   [003] ....   422.036394: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036396: hda_send_cmd: [0000:00:14.2:0] val=0x01c39080
 output:ALSA def-222   [003] ....   422.036436: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036438: hda_send_cmd: [0000:00:14.2:0] val=0x01c3a080
 output:ALSA def-222   [003] ....   422.036498: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036501: hda_send_cmd: [0000:00:14.2:0] val=0x01c70740
 output:ALSA def-222   [003] ....   422.036561: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036563: hda_send_cmd: [0000:00:14.2:0] val=0x01c70881
 output:ALSA def-222   [003] ....   422.036602: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036605: hda_send_cmd: [0000:00:14.2:0] val=0x01c70c02
 output:ALSA def-222   [003] ....   422.036665: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036667: hda_send_cmd: [0000:00:14.2:0] val=0x01d39080
 output:ALSA def-222   [003] ....   422.036707: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036708: hda_send_cmd: [0000:00:14.2:0] val=0x01d3a080
 output:ALSA def-222   [003] ....   422.036748: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036751: hda_send_cmd: [0000:00:14.2:0] val=0x01d70100
 output:ALSA def-222   [003] ....   422.036811: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036813: hda_send_cmd: [0000:00:14.2:0] val=0x01d707c0
 output:ALSA def-222   [003] ....   422.036873: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036875: hda_send_cmd: [0000:00:14.2:0] val=0x01d70885
 output:ALSA def-222   [003] ....   422.036915: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036917: hda_send_cmd: [0000:00:14.2:0] val=0x01e35000
 output:ALSA def-222   [003] ....   422.036957: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.036959: hda_send_cmd: [0000:00:14.2:0] val=0x01e36000
 output:ALSA def-222   [003] ....   422.037019: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037021: hda_send_cmd: [0000:00:14.2:0] val=0x01e70721
 output:ALSA def-222   [003] ....   422.037082: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037083: hda_send_cmd: [0000:00:14.2:0] val=0x01e70887
 output:ALSA def-222   [003] ....   422.037123: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037125: hda_send_cmd: [0000:00:14.2:0] val=0x01f70720
 output:ALSA def-222   [003] ....   422.037165: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037168: hda_send_cmd: [0000:00:14.2:0] val=0x02070740
 output:ALSA def-222   [003] ....   422.037228: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037230: hda_send_cmd: [0000:00:14.2:0] val=0x02170740
 output:ALSA def-222   [003] ....   422.037290: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037292: hda_send_cmd: [0000:00:14.2:0] val=0x02270740
 output:ALSA def-222   [003] ....   422.037353: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037355: hda_send_cmd: [0000:00:14.2:0] val=0x02270883
 output:ALSA def-222   [003] ....   422.037415: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037417: hda_send_cmd: [0000:00:14.2:0] val=0x02370740
 output:ALSA def-222   [003] ....   422.037478: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037479: hda_send_cmd: [0000:00:14.2:0] val=0x02370884
 output:ALSA def-222   [003] ....   422.037519: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037521: hda_send_cmd: [0000:00:14.2:0] val=0x02439026
 output:ALSA def-222   [003] ....   422.037561: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037563: hda_send_cmd: [0000:00:14.2:0] val=0x0243a026
 output:ALSA def-222   [003] ....   422.037624: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037626: hda_send_cmd: [0000:00:14.2:0] val=0x02539026
 output:ALSA def-222   [003] ....   422.037686: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037688: hda_send_cmd: [0000:00:14.2:0] val=0x0253a026
 output:ALSA def-222   [003] ....   422.037727: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037730: hda_send_cmd: [0000:00:14.2:0] val=0x02639080
 output:ALSA def-222   [003] ....   422.037790: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037792: hda_send_cmd: [0000:00:14.2:0] val=0x0263a080
 output:ALSA def-222   [003] ....   422.037832: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037834: hda_send_cmd: [0000:00:14.2:0] val=0x02739080
 output:ALSA def-222   [003] ....   422.037894: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037896: hda_send_cmd: [0000:00:14.2:0] val=0x0273a080
 output:ALSA def-222   [003] ....   422.037936: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.037941: hda_send_cmd: [0000:00:14.2:0] val=0x01af0900
 output:ALSA def-222   [003] ....   422.037998: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.038000: hda_send_cmd: [0000:00:14.2:0] val=0x01ef0900
 output:ALSA def-222   [003] ....   422.038040: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.038042: hda_send_cmd: [0000:00:14.2:0] val=0x01bf0900
 output:ALSA def-222   [003] ....   422.038082: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.038376: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
 output:ALSA def-222   [003] ....   422.038437: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.038440: hda_send_cmd: [0000:00:14.2:0] val=0x012f0600
 output:ALSA def-222   [003] ....   422.038499: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.038500: hda_send_cmd: [0000:00:14.2:0] val=0x01270650
 output:ALSA def-222   [003] ....   422.038540: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.038542: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
 output:ALSA def-222   [003] ....   422.038582: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.048012: hda_send_cmd: [0000:00:14.2:0] val=0x01224011
 output:ALSA def-222   [003] ....   422.048061: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.048061: hda_send_cmd: [0000:00:14.2:0] val=0x015f0600
 output:ALSA def-222   [003] ....   422.048102: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.048103: hda_send_cmd: [0000:00:14.2:0] val=0x01570650
 output:ALSA def-222   [003] ....   422.048143: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.048144: hda_send_cmd: [0000:00:14.2:0] val=0x015a0000
 output:ALSA def-222   [003] ....   422.048185: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] ....   422.058042: hda_send_cmd: [0000:00:14.2:0] val=0x01524011
 output:ALSA def-222   [003] ....   422.058104: hda_get_response: [0000:00:14.2:0] val=0x00000000
 output:ALSA def-222   [003] d...   422.058244: snd_hdac_stream_start: stream_tag: 5

-- 
Markus

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: No sound for several minutes after reboot
  2016-08-29 12:06                   ` Markus Trippelsdorf
@ 2016-08-29 14:02                     ` Markus Trippelsdorf
  2016-08-30  8:04                       ` Takashi Iwai
  0 siblings, 1 reply; 15+ messages in thread
From: Markus Trippelsdorf @ 2016-08-29 14:02 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 2016.08.29 at 14:06 +0200, Markus Trippelsdorf wrote:
> On 2016.08.29 at 11:32 +0200, Takashi Iwai wrote:
> > On Mon, 29 Aug 2016 11:20:47 +0200,
> > Markus Trippelsdorf wrote:
> > > 
> > > On 2016.08.29 at 11:16 +0200, Takashi Iwai wrote:
> > > > On Mon, 29 Aug 2016 11:05:48 +0200,
> > > > Markus Trippelsdorf wrote:
> > > > > 
> > > > > On 2016.08.29 at 10:56 +0200, Markus Trippelsdorf wrote:
> > > > > > 
> > > > > > Unfortunately running: hda-verb /dev/snd/hwC0D0 0x14 SET_POWER 0x00
> > > > > > has no effect.
> > > > > 
> > > > > OK.
> > > > > Running: hda-verb /dev/snd/hwC0D0 0x15 SET_DIGI_CONVERT_1 0x01
> > > > > fixes the issue.
> > > > > I have now put this into my startup script.
> > > > 
> > > > Oh, then you're using SPDIF output or such?  I missed it from the
> > > > description.
> > > 
> > > Yes, as I wrote in first mail:
> > > it is a TOSLINK-S/PDIF link to my DAC.
> > 
> > Yeah, now I found it.  It's hidden well like Wally, as if it's a part
> > of the "aplay -l" output...
> > 
> > > > This should have been set by IEC958 status bits control.  Does the
> > > > problem exist only after a fresh reboot?
> > > 
> > > Yes. And only for a few minutes. After that it gets finally switched on.
> > 
> > Hm, it's interesting who sets this bit at all.  Could you track it via
> > tracing verbs as described in Documentation/sound/alsa/HD-Audio.txt.
> 
> Ok here it is:
> 
> # tracer: nop
> #
> # entries-in-buffer/entries-written: 414/414   #P:4
> #
> #                              _-----=> irqs-off
> #                             / _----=> need-resched
> #                            | / _---=> hardirq/softirq
> #                            || / _--=> preempt-depth
> #                            ||| /     delay
> #           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
> #              | |       |   ||||       |         |
>  output:ALSA def-222   [002] d...    60.915790: snd_hdac_stream_stop: stream_tag: 5
>  output:ALSA def-222   [002] ....    61.623936: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
>  output:ALSA def-222   [002] ....    61.623999: hda_get_response: [0000:00:14.2:0] val=0x00004011
>  output:ALSA def-222   [002] d...    61.624097: snd_hdac_stream_start: stream_tag: 5
>  output:ALSA def-222   [002] d...    62.274462: snd_hdac_stream_stop: stream_tag: 5
>      kworker/1:5-72    [001] ....    64.698914: hda_send_cmd: [0000:01:05.1:0] val=0x00170503
>      kworker/1:5-72    [001] ....    64.698935: hda_get_response: [0000:01:05.1:0] val=0x00000000
>      kworker/1:5-72    [001] ....    64.698938: hda_send_cmd: [0000:01:05.1:0] val=0x001f0500
>      kworker/1:5-72    [001] ....    64.698951: hda_get_response: [0000:01:05.1:0] val=0x00000033
> 
> (Here I start and stop my media player a few times, but there is no sound)
> 
>  output:ALSA def-222   [002] ....    92.664711: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
>  output:ALSA def-222   [002] ....    92.664778: hda_get_response: [0000:00:14.2:0] val=0x00004011
>  output:ALSA def-222   [002] d...    92.664821: snd_hdac_stream_start: stream_tag: 5
>  output:ALSA def-222   [003] d...   101.396054: snd_hdac_stream_stop: stream_tag: 5
>  output:ALSA def-222   [003] ....   135.699370: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
>  output:ALSA def-222   [003] ....   135.699431: hda_get_response: [0000:00:14.2:0] val=0x00004011
>  output:ALSA def-222   [003] d...   135.699545: snd_hdac_stream_start: stream_tag: 5
>  output:ALSA def-222   [003] d...   136.442798: snd_hdac_stream_stop: stream_tag: 5
>  output:ALSA def-222   [003] ....   169.685030: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
>  output:ALSA def-222   [003] ....   169.685092: hda_get_response: [0000:00:14.2:0] val=0x00004011
>  output:ALSA def-222   [003] d...   169.685226: snd_hdac_stream_start: stream_tag: 5
>  output:ALSA def-222   [003] d...   170.521321: snd_hdac_stream_stop: stream_tag: 5
>  output:ALSA def-222   [003] ....   212.502634: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
>  output:ALSA def-222   [003] ....   212.502694: hda_get_response: [0000:00:14.2:0] val=0x00004011
>  output:ALSA def-222   [003] d...   212.502807: snd_hdac_stream_start: stream_tag: 5
>  output:ALSA def-222   [002] d...   214.360648: snd_hdac_stream_stop: stream_tag: 5
>  output:ALSA def-222   [002] ....   252.760870: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
>  output:ALSA def-222   [002] ....   252.760933: hda_get_response: [0000:00:14.2:0] val=0x00004011
>  output:ALSA def-222   [002] d...   252.761035: snd_hdac_stream_start: stream_tag: 5
>  output:ALSA def-222   [003] d...   254.525994: snd_hdac_stream_stop: stream_tag: 5
>  output:ALSA def-222   [000] ....   273.202336: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
>  output:ALSA def-222   [000] ....   273.202400: hda_get_response: [0000:00:14.2:0] val=0x00004011
>  output:ALSA def-222   [000] d...   273.202499: snd_hdac_stream_start: stream_tag: 5
>  output:ALSA def-222   [003] d...   273.945690: snd_hdac_stream_stop: stream_tag: 5
>  
>  (After the kworker is finished, sound is OK again)
> 
>      kworker/1:5-72    [001] ....   335.961882: hda_send_cmd: [0000:00:14.2:0] val=0x01270600
>      kworker/1:5-72    [001] ....   335.961946: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   335.961948: hda_send_cmd: [0000:00:14.2:0] val=0x01220000
>      kworker/1:5-72    [001] ....   335.962007: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   335.962009: hda_send_cmd: [0000:00:14.2:0] val=0x01570600
>      kworker/1:5-72    [001] ....   335.962065: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   335.962067: hda_send_cmd: [0000:00:14.2:0] val=0x01520000
>      kworker/1:5-72    [001] ....   335.962128: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.068516: hda_send_cmd: [0000:00:14.2:0] val=0x00170503
>      kworker/1:5-72    [001] ....   336.068577: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.068581: hda_send_cmd: [0000:00:14.2:0] val=0x01070503
>      kworker/1:5-72    [001] ....   336.068633: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.068635: hda_send_cmd: [0000:00:14.2:0] val=0x01170503
>      kworker/1:5-72    [001] ....   336.068695: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.068697: hda_send_cmd: [0000:00:14.2:0] val=0x01270503
>      kworker/1:5-72    [001] ....   336.068758: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.068759: hda_send_cmd: [0000:00:14.2:0] val=0x01370503
>      kworker/1:5-72    [001] ....   336.068821: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.068822: hda_send_cmd: [0000:00:14.2:0] val=0x01470503
>      kworker/1:5-72    [001] ....   336.068883: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.068884: hda_send_cmd: [0000:00:14.2:0] val=0x01570503
>      kworker/1:5-72    [001] ....   336.068945: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.068947: hda_send_cmd: [0000:00:14.2:0] val=0x01670503
>      kworker/1:5-72    [001] ....   336.069008: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.069010: hda_send_cmd: [0000:00:14.2:0] val=0x01770503
>      kworker/1:5-72    [001] ....   336.069070: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.069072: hda_send_cmd: [0000:00:14.2:0] val=0x01870503
>      kworker/1:5-72    [001] ....   336.069133: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.069134: hda_send_cmd: [0000:00:14.2:0] val=0x01970503
>      kworker/1:5-72    [001] ....   336.069195: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.069197: hda_send_cmd: [0000:00:14.2:0] val=0x01a70503
>      kworker/1:5-72    [001] ....   336.069259: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.069260: hda_send_cmd: [0000:00:14.2:0] val=0x01b70503
>      kworker/1:5-72    [001] ....   336.069320: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.069322: hda_send_cmd: [0000:00:14.2:0] val=0x01c70503
>      kworker/1:5-72    [001] ....   336.069383: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.069384: hda_send_cmd: [0000:00:14.2:0] val=0x01d70503
>      kworker/1:5-72    [001] ....   336.069445: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.069447: hda_send_cmd: [0000:00:14.2:0] val=0x01e70503
>      kworker/1:5-72    [001] ....   336.069508: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.069509: hda_send_cmd: [0000:00:14.2:0] val=0x01f70503
>      kworker/1:5-72    [001] ....   336.069570: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.069572: hda_send_cmd: [0000:00:14.2:0] val=0x02070503
>      kworker/1:5-72    [001] ....   336.069633: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.069634: hda_send_cmd: [0000:00:14.2:0] val=0x02170503
>      kworker/1:5-72    [001] ....   336.069696: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.069697: hda_send_cmd: [0000:00:14.2:0] val=0x02270503
>      kworker/1:5-72    [001] ....   336.069758: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.069759: hda_send_cmd: [0000:00:14.2:0] val=0x02370503
>      kworker/1:5-72    [001] ....   336.069821: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.069822: hda_send_cmd: [0000:00:14.2:0] val=0x02470503
>      kworker/1:5-72    [001] ....   336.069883: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.069885: hda_send_cmd: [0000:00:14.2:0] val=0x02570503
>      kworker/1:5-72    [001] ....   336.069945: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.069947: hda_send_cmd: [0000:00:14.2:0] val=0x02670503
>      kworker/1:5-72    [001] ....   336.070008: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.070009: hda_send_cmd: [0000:00:14.2:0] val=0x02770503
>      kworker/1:5-72    [001] ....   336.070070: hda_get_response: [0000:00:14.2:0] val=0x00000000
>      kworker/1:5-72    [001] ....   336.070072: hda_send_cmd: [0000:00:14.2:0] val=0x001f0500
>      kworker/1:5-72    [001] ....   336.070133: hda_get_response: [0000:00:14.2:0] val=0x00000033
>  output:ALSA def-222   [003] ....   422.015818: hda_send_cmd: [0000:00:14.2:0] val=0x00170500
>  output:ALSA def-222   [003] ....   422.015877: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.015892: hda_send_cmd: [0000:00:14.2:0] val=0x01070500
>  output:ALSA def-222   [003] ....   422.015935: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.015937: hda_send_cmd: [0000:00:14.2:0] val=0x01170500
>  output:ALSA def-222   [003] ....   422.015997: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016000: hda_send_cmd: [0000:00:14.2:0] val=0x01270500
>  output:ALSA def-222   [003] ....   422.016060: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016062: hda_send_cmd: [0000:00:14.2:0] val=0x01370500
>  output:ALSA def-222   [003] ....   422.016122: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016124: hda_send_cmd: [0000:00:14.2:0] val=0x01470503
>  output:ALSA def-222   [003] ....   422.016164: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016166: hda_send_cmd: [0000:00:14.2:0] val=0x01570500
>  output:ALSA def-222   [003] ....   422.016206: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016207: hda_send_cmd: [0000:00:14.2:0] val=0x01670500
>  output:ALSA def-222   [003] ....   422.016248: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016250: hda_send_cmd: [0000:00:14.2:0] val=0x01770500
>  output:ALSA def-222   [003] ....   422.016310: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016311: hda_send_cmd: [0000:00:14.2:0] val=0x01870500
>  output:ALSA def-222   [003] ....   422.016352: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016353: hda_send_cmd: [0000:00:14.2:0] val=0x01970500
>  output:ALSA def-222   [003] ....   422.016393: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016395: hda_send_cmd: [0000:00:14.2:0] val=0x01a70500
>  output:ALSA def-222   [003] ....   422.016456: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016458: hda_send_cmd: [0000:00:14.2:0] val=0x01b70500
>  output:ALSA def-222   [003] ....   422.016497: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016499: hda_send_cmd: [0000:00:14.2:0] val=0x01c70500
>  output:ALSA def-222   [003] ....   422.016539: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016540: hda_send_cmd: [0000:00:14.2:0] val=0x01d70500
>  output:ALSA def-222   [003] ....   422.016581: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016583: hda_send_cmd: [0000:00:14.2:0] val=0x01e70500
>  output:ALSA def-222   [003] ....   422.016643: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016645: hda_send_cmd: [0000:00:14.2:0] val=0x01f70500
>  output:ALSA def-222   [003] ....   422.016685: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016687: hda_send_cmd: [0000:00:14.2:0] val=0x02070500
>  output:ALSA def-222   [003] ....   422.016727: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016729: hda_send_cmd: [0000:00:14.2:0] val=0x02170500
>  output:ALSA def-222   [003] ....   422.016789: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016791: hda_send_cmd: [0000:00:14.2:0] val=0x02270500
>  output:ALSA def-222   [003] ....   422.016831: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016832: hda_send_cmd: [0000:00:14.2:0] val=0x02370500
>  output:ALSA def-222   [003] ....   422.016872: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016874: hda_send_cmd: [0000:00:14.2:0] val=0x02470500
>  output:ALSA def-222   [003] ....   422.016914: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016916: hda_send_cmd: [0000:00:14.2:0] val=0x02570500
>  output:ALSA def-222   [003] ....   422.016956: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016957: hda_send_cmd: [0000:00:14.2:0] val=0x02670500
>  output:ALSA def-222   [003] ....   422.016998: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.016999: hda_send_cmd: [0000:00:14.2:0] val=0x02770500
>  output:ALSA def-222   [003] ....   422.017039: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.017041: hda_send_cmd: [0000:00:14.2:0] val=0x001f0500
>  output:ALSA def-222   [003] ....   422.017081: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.031386: hda_send_cmd: [0000:00:14.2:0] val=0x001f9801
>  output:ALSA def-222   [003] ....   422.031437: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.031438: hda_send_cmd: [0000:00:14.2:0] val=0x001f88c0
>  output:ALSA def-222   [003] ....   422.031498: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.031500: hda_send_cmd: [0000:00:14.2:0] val=0x001f73e1
>  output:ALSA def-222   [003] ....   422.031561: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.031568: hda_send_cmd: [0000:00:14.2:0] val=0x01c70740
>  output:ALSA def-222   [003] ....   422.031623: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.031626: hda_send_cmd: [0000:00:14.2:0] val=0x010f0500
>  output:ALSA def-222   [003] ....   422.031686: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.031687: hda_send_cmd: [0000:00:14.2:0] val=0x016f0500
>  output:ALSA def-222   [003] ....   422.031727: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.031729: hda_send_cmd: [0000:00:14.2:0] val=0x01cf0500
>  output:ALSA def-222   [003] ....   422.031769: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.031808: hda_send_cmd: [0000:00:14.2:0] val=0x01c70c02
>  output:ALSA def-222   [003] ....   422.031852: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.031855: hda_send_cmd: [0000:00:14.2:0] val=0x01970740
>  output:ALSA def-222   [003] ....   422.031915: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.031916: hda_send_cmd: [0000:00:14.2:0] val=0x011f0500
>  output:ALSA def-222   [003] ....   422.031957: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.031958: hda_send_cmd: [0000:00:14.2:0] val=0x018f0500
>  output:ALSA def-222   [003] ....   422.031998: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032000: hda_send_cmd: [0000:00:14.2:0] val=0x019f0500
>  output:ALSA def-222   [003] ....   422.032040: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032061: hda_send_cmd: [0000:00:14.2:0] val=0x02270740
>  output:ALSA def-222   [003] ....   422.032102: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032104: hda_send_cmd: [0000:00:14.2:0] val=0x024f0500
>  output:ALSA def-222   [003] ....   422.032144: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032146: hda_send_cmd: [0000:00:14.2:0] val=0x026f0500
>  output:ALSA def-222   [003] ....   422.032186: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032187: hda_send_cmd: [0000:00:14.2:0] val=0x022f0500
>  output:ALSA def-222   [003] ....   422.032228: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032248: hda_send_cmd: [0000:00:14.2:0] val=0x02370740
>  output:ALSA def-222   [003] ....   422.032290: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032292: hda_send_cmd: [0000:00:14.2:0] val=0x025f0500
>  output:ALSA def-222   [003] ....   422.032352: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032354: hda_send_cmd: [0000:00:14.2:0] val=0x027f0500
>  output:ALSA def-222   [003] ....   422.032394: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032395: hda_send_cmd: [0000:00:14.2:0] val=0x023f0500
>  output:ALSA def-222   [003] ....   422.032436: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032457: hda_send_cmd: [0000:00:14.2:0] val=0x01d707c0
>  output:ALSA def-222   [003] ....   422.032498: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032500: hda_send_cmd: [0000:00:14.2:0] val=0x010f0500
>  output:ALSA def-222   [003] ....   422.032540: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032541: hda_send_cmd: [0000:00:14.2:0] val=0x016f0500
>  output:ALSA def-222   [003] ....   422.032581: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032583: hda_send_cmd: [0000:00:14.2:0] val=0x01df0500
>  output:ALSA def-222   [003] ....   422.032624: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032626: hda_send_cmd: [0000:00:14.2:0] val=0x01d70100
>  output:ALSA def-222   [003] ....   422.032686: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032718: hda_send_cmd: [0000:00:14.2:0] val=0x01a70721
>  output:ALSA def-222   [003] ....   422.032769: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032771: hda_send_cmd: [0000:00:14.2:0] val=0x01af0500
>  output:ALSA def-222   [003] ....   422.032832: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032834: hda_send_cmd: [0000:00:14.2:0] val=0x016f0500
>  output:ALSA def-222   [003] ....   422.032894: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032920: hda_send_cmd: [0000:00:14.2:0] val=0x01e70721
>  output:ALSA def-222   [003] ....   422.032978: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.032979: hda_send_cmd: [0000:00:14.2:0] val=0x01ef0500
>  output:ALSA def-222   [003] ....   422.033019: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033020: hda_send_cmd: [0000:00:14.2:0] val=0x016f0500
>  output:ALSA def-222   [003] ....   422.033061: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033088: hda_send_cmd: [0000:00:14.2:0] val=0x01b70720
>  output:ALSA def-222   [003] ....   422.033144: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033146: hda_send_cmd: [0000:00:14.2:0] val=0x01bf0500
>  output:ALSA def-222   [003] ....   422.033186: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033187: hda_send_cmd: [0000:00:14.2:0] val=0x016f0500
>  output:ALSA def-222   [003] ....   422.033227: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033250: hda_send_cmd: [0000:00:14.2:0] val=0x01f70720
>  output:ALSA def-222   [003] ....   422.033290: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033292: hda_send_cmd: [0000:00:14.2:0] val=0x01ff0500
>  output:ALSA def-222   [003] ....   422.033332: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033333: hda_send_cmd: [0000:00:14.2:0] val=0x016f0500
>  output:ALSA def-222   [003] ....   422.033373: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033395: hda_send_cmd: [0000:00:14.2:0] val=0x01af0500
>  output:ALSA def-222   [003] ....   422.033436: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033438: hda_send_cmd: [0000:00:14.2:0] val=0x017f0500
>  output:ALSA def-222   [003] ....   422.033477: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033479: hda_send_cmd: [0000:00:14.2:0] val=0x013f0500
>  output:ALSA def-222   [003] ....   422.033519: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033524: hda_send_cmd: [0000:00:14.2:0] val=0x01770101
>  output:ALSA def-222   [003] ....   422.033582: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033616: hda_send_cmd: [0000:00:14.2:0] val=0x02070740
>  output:ALSA def-222   [003] ....   422.033665: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033667: hda_send_cmd: [0000:00:14.2:0] val=0x012f0500
>  output:ALSA def-222   [003] ....   422.033707: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033708: hda_send_cmd: [0000:00:14.2:0] val=0x020f0500
>  output:ALSA def-222   [003] ....   422.033748: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033751: hda_send_cmd: [0000:00:14.2:0] val=0x02170740
>  output:ALSA def-222   [003] ....   422.033811: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033813: hda_send_cmd: [0000:00:14.2:0] val=0x015f0500
>  output:ALSA def-222   [003] ....   422.033852: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033854: hda_send_cmd: [0000:00:14.2:0] val=0x021f0500
>  output:ALSA def-222   [003] ....   422.033894: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033914: hda_send_cmd: [0000:00:14.2:0] val=0x01df0900
>  output:ALSA def-222   [003] ....   422.033956: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.033960: hda_send_cmd: [0000:00:14.2:0] val=0x01d707c0
>  output:ALSA def-222   [003] ....   422.034019: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034022: hda_send_cmd: [0000:00:14.2:0] val=0x01c70740
>  output:ALSA def-222   [003] ....   422.034082: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034084: hda_send_cmd: [0000:00:14.2:0] val=0x01c70c02
>  output:ALSA def-222   [003] ....   422.034144: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034146: hda_send_cmd: [0000:00:14.2:0] val=0x01970740
>  output:ALSA def-222   [003] ....   422.034186: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034189: hda_send_cmd: [0000:00:14.2:0] val=0x02270740
>  output:ALSA def-222   [003] ....   422.034249: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034251: hda_send_cmd: [0000:00:14.2:0] val=0x02370740
>  output:ALSA def-222   [003] ....   422.034311: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034314: hda_send_cmd: [0000:00:14.2:0] val=0x01cf0900
>  output:ALSA def-222   [003] ....   422.034373: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034376: hda_send_cmd: [0000:00:14.2:0] val=0x019f0900
>  output:ALSA def-222   [003] ....   422.034436: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034438: hda_send_cmd: [0000:00:14.2:0] val=0x022f0900
>  output:ALSA def-222   [003] ....   422.034498: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034500: hda_send_cmd: [0000:00:14.2:0] val=0x023f0900
>  output:ALSA def-222   [003] ....   422.034561: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034564: hda_send_cmd: [0000:00:14.2:0] val=0x01039000
>  output:ALSA def-222   [003] ....   422.034624: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034626: hda_send_cmd: [0000:00:14.2:0] val=0x0103a000
>  output:ALSA def-222   [003] ....   422.034686: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034688: hda_send_cmd: [0000:00:14.2:0] val=0x01139026
>  output:ALSA def-222   [003] ....   422.034748: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034750: hda_send_cmd: [0000:00:14.2:0] val=0x0113a026
>  output:ALSA def-222   [003] ....   422.034790: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034793: hda_send_cmd: [0000:00:14.2:0] val=0x01270d01
>  output:ALSA def-222   [003] ....   422.034853: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034854: hda_send_cmd: [0000:00:14.2:0] val=0x01270e00
>  output:ALSA def-222   [003] ....   422.034894: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034896: hda_send_cmd: [0000:00:14.2:0] val=0x01335000
>  output:ALSA def-222   [003] ....   422.034956: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.034958: hda_send_cmd: [0000:00:14.2:0] val=0x01336000
>  output:ALSA def-222   [003] ....   422.034999: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035002: hda_send_cmd: [0000:00:14.2:0] val=0x01570d01
>  output:ALSA def-222   [003] ....   422.035061: hda_get_response: [0000:00:14.2:0] val=0x00000000

Actually it right here that sound starts again:

markus@x4 hda-emu % ./a.out 0x01570d01
raw value = 0x01570d01
cid = 0, nid = 0x15, verb = 0x70d, parm = 0x01
raw value: verb = 0x70d, parm = 0x1
verbname = set_digi_cvt_1

>  output:ALSA def-222   [003] ....   422.035062: hda_send_cmd: [0000:00:14.2:0] val=0x01570e00
>  output:ALSA def-222   [003] ....   422.035102: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035104: hda_send_cmd: [0000:00:14.2:0] val=0x01635017
>  output:ALSA def-222   [003] ....   422.035144: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035147: hda_send_cmd: [0000:00:14.2:0] val=0x01635199
>  output:ALSA def-222   [003] ....   422.035207: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035209: hda_send_cmd: [0000:00:14.2:0] val=0x01635280
>  output:ALSA def-222   [003] ....   422.035249: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035251: hda_send_cmd: [0000:00:14.2:0] val=0x01635380
>  output:ALSA def-222   [003] ....   422.035311: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035313: hda_send_cmd: [0000:00:14.2:0] val=0x01635480
>  output:ALSA def-222   [003] ....   422.035353: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035355: hda_send_cmd: [0000:00:14.2:0] val=0x01635580
>  output:ALSA def-222   [003] ....   422.035415: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035417: hda_send_cmd: [0000:00:14.2:0] val=0x01635680
>  output:ALSA def-222   [003] ....   422.035460: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035462: hda_send_cmd: [0000:00:14.2:0] val=0x01636017
>  output:ALSA def-222   [003] ....   422.035519: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035521: hda_send_cmd: [0000:00:14.2:0] val=0x01636199
>  output:ALSA def-222   [003] ....   422.035582: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035583: hda_send_cmd: [0000:00:14.2:0] val=0x01636280
>  output:ALSA def-222   [003] ....   422.035623: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035625: hda_send_cmd: [0000:00:14.2:0] val=0x01636380
>  output:ALSA def-222   [003] ....   422.035665: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035667: hda_send_cmd: [0000:00:14.2:0] val=0x01636480
>  output:ALSA def-222   [003] ....   422.035707: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035709: hda_send_cmd: [0000:00:14.2:0] val=0x01636580
>  output:ALSA def-222   [003] ....   422.035769: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035771: hda_send_cmd: [0000:00:14.2:0] val=0x01636680
>  output:ALSA def-222   [003] ....   422.035811: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035813: hda_send_cmd: [0000:00:14.2:0] val=0x01770101
>  output:ALSA def-222   [003] ....   422.035874: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035876: hda_send_cmd: [0000:00:14.2:0] val=0x01839080
>  output:ALSA def-222   [003] ....   422.035936: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.035938: hda_send_cmd: [0000:00:14.2:0] val=0x0183a080
>  output:ALSA def-222   [003] ....   422.035998: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036001: hda_send_cmd: [0000:00:14.2:0] val=0x01970740
>  output:ALSA def-222   [003] ....   422.036061: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036063: hda_send_cmd: [0000:00:14.2:0] val=0x01970882
>  output:ALSA def-222   [003] ....   422.036103: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036104: hda_send_cmd: [0000:00:14.2:0] val=0x01a35000
>  output:ALSA def-222   [003] ....   422.036144: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036146: hda_send_cmd: [0000:00:14.2:0] val=0x01a36000
>  output:ALSA def-222   [003] ....   422.036186: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036188: hda_send_cmd: [0000:00:14.2:0] val=0x01a70721
>  output:ALSA def-222   [003] ....   422.036248: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036251: hda_send_cmd: [0000:00:14.2:0] val=0x01a70886
>  output:ALSA def-222   [003] ....   422.036311: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036313: hda_send_cmd: [0000:00:14.2:0] val=0x01b70720
>  output:ALSA def-222   [003] ....   422.036352: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036354: hda_send_cmd: [0000:00:14.2:0] val=0x01b70888
>  output:ALSA def-222   [003] ....   422.036394: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036396: hda_send_cmd: [0000:00:14.2:0] val=0x01c39080
>  output:ALSA def-222   [003] ....   422.036436: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036438: hda_send_cmd: [0000:00:14.2:0] val=0x01c3a080
>  output:ALSA def-222   [003] ....   422.036498: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036501: hda_send_cmd: [0000:00:14.2:0] val=0x01c70740
>  output:ALSA def-222   [003] ....   422.036561: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036563: hda_send_cmd: [0000:00:14.2:0] val=0x01c70881
>  output:ALSA def-222   [003] ....   422.036602: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036605: hda_send_cmd: [0000:00:14.2:0] val=0x01c70c02
>  output:ALSA def-222   [003] ....   422.036665: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036667: hda_send_cmd: [0000:00:14.2:0] val=0x01d39080
>  output:ALSA def-222   [003] ....   422.036707: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036708: hda_send_cmd: [0000:00:14.2:0] val=0x01d3a080
>  output:ALSA def-222   [003] ....   422.036748: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036751: hda_send_cmd: [0000:00:14.2:0] val=0x01d70100
>  output:ALSA def-222   [003] ....   422.036811: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036813: hda_send_cmd: [0000:00:14.2:0] val=0x01d707c0
>  output:ALSA def-222   [003] ....   422.036873: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036875: hda_send_cmd: [0000:00:14.2:0] val=0x01d70885
>  output:ALSA def-222   [003] ....   422.036915: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036917: hda_send_cmd: [0000:00:14.2:0] val=0x01e35000
>  output:ALSA def-222   [003] ....   422.036957: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.036959: hda_send_cmd: [0000:00:14.2:0] val=0x01e36000
>  output:ALSA def-222   [003] ....   422.037019: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037021: hda_send_cmd: [0000:00:14.2:0] val=0x01e70721
>  output:ALSA def-222   [003] ....   422.037082: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037083: hda_send_cmd: [0000:00:14.2:0] val=0x01e70887
>  output:ALSA def-222   [003] ....   422.037123: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037125: hda_send_cmd: [0000:00:14.2:0] val=0x01f70720
>  output:ALSA def-222   [003] ....   422.037165: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037168: hda_send_cmd: [0000:00:14.2:0] val=0x02070740
>  output:ALSA def-222   [003] ....   422.037228: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037230: hda_send_cmd: [0000:00:14.2:0] val=0x02170740
>  output:ALSA def-222   [003] ....   422.037290: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037292: hda_send_cmd: [0000:00:14.2:0] val=0x02270740
>  output:ALSA def-222   [003] ....   422.037353: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037355: hda_send_cmd: [0000:00:14.2:0] val=0x02270883
>  output:ALSA def-222   [003] ....   422.037415: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037417: hda_send_cmd: [0000:00:14.2:0] val=0x02370740
>  output:ALSA def-222   [003] ....   422.037478: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037479: hda_send_cmd: [0000:00:14.2:0] val=0x02370884
>  output:ALSA def-222   [003] ....   422.037519: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037521: hda_send_cmd: [0000:00:14.2:0] val=0x02439026
>  output:ALSA def-222   [003] ....   422.037561: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037563: hda_send_cmd: [0000:00:14.2:0] val=0x0243a026
>  output:ALSA def-222   [003] ....   422.037624: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037626: hda_send_cmd: [0000:00:14.2:0] val=0x02539026
>  output:ALSA def-222   [003] ....   422.037686: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037688: hda_send_cmd: [0000:00:14.2:0] val=0x0253a026
>  output:ALSA def-222   [003] ....   422.037727: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037730: hda_send_cmd: [0000:00:14.2:0] val=0x02639080
>  output:ALSA def-222   [003] ....   422.037790: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037792: hda_send_cmd: [0000:00:14.2:0] val=0x0263a080
>  output:ALSA def-222   [003] ....   422.037832: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037834: hda_send_cmd: [0000:00:14.2:0] val=0x02739080
>  output:ALSA def-222   [003] ....   422.037894: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037896: hda_send_cmd: [0000:00:14.2:0] val=0x0273a080
>  output:ALSA def-222   [003] ....   422.037936: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.037941: hda_send_cmd: [0000:00:14.2:0] val=0x01af0900
>  output:ALSA def-222   [003] ....   422.037998: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.038000: hda_send_cmd: [0000:00:14.2:0] val=0x01ef0900
>  output:ALSA def-222   [003] ....   422.038040: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.038042: hda_send_cmd: [0000:00:14.2:0] val=0x01bf0900
>  output:ALSA def-222   [003] ....   422.038082: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.038376: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
>  output:ALSA def-222   [003] ....   422.038437: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.038440: hda_send_cmd: [0000:00:14.2:0] val=0x012f0600
>  output:ALSA def-222   [003] ....   422.038499: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.038500: hda_send_cmd: [0000:00:14.2:0] val=0x01270650
>  output:ALSA def-222   [003] ....   422.038540: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.038542: hda_send_cmd: [0000:00:14.2:0] val=0x012a0000
>  output:ALSA def-222   [003] ....   422.038582: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.048012: hda_send_cmd: [0000:00:14.2:0] val=0x01224011
>  output:ALSA def-222   [003] ....   422.048061: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.048061: hda_send_cmd: [0000:00:14.2:0] val=0x015f0600
>  output:ALSA def-222   [003] ....   422.048102: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.048103: hda_send_cmd: [0000:00:14.2:0] val=0x01570650
>  output:ALSA def-222   [003] ....   422.048143: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.048144: hda_send_cmd: [0000:00:14.2:0] val=0x015a0000
>  output:ALSA def-222   [003] ....   422.048185: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] ....   422.058042: hda_send_cmd: [0000:00:14.2:0] val=0x01524011
>  output:ALSA def-222   [003] ....   422.058104: hda_get_response: [0000:00:14.2:0] val=0x00000000
>  output:ALSA def-222   [003] d...   422.058244: snd_hdac_stream_start: stream_tag: 5
> 
> -- 
> Markus

-- 
Markus

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: No sound for several minutes after reboot
  2016-08-29 14:02                     ` Markus Trippelsdorf
@ 2016-08-30  8:04                       ` Takashi Iwai
  2016-08-30  8:32                         ` Markus Trippelsdorf
  0 siblings, 1 reply; 15+ messages in thread
From: Takashi Iwai @ 2016-08-30  8:04 UTC (permalink / raw)
  To: Markus Trippelsdorf; +Cc: alsa-devel

On Mon, 29 Aug 2016 16:02:33 +0200,
Markus Trippelsdorf wrote:
> 
> On 2016.08.29 at 14:06 +0200, Markus Trippelsdorf wrote:
> > On 2016.08.29 at 11:32 +0200, Takashi Iwai wrote:
> > > On Mon, 29 Aug 2016 11:20:47 +0200,
> > > Markus Trippelsdorf wrote:
> >  output:ALSA def-222   [003] ....   422.035002: hda_send_cmd: [0000:00:14.2:0] val=0x01570d01
> >  output:ALSA def-222   [003] ....   422.035061: hda_get_response: [0000:00:14.2:0] val=0x00000000
> 
> Actually it right here that sound starts again:
> 
> markus@x4 hda-emu % ./a.out 0x01570d01
> raw value = 0x01570d01
> cid = 0, nid = 0x15, verb = 0x70d, parm = 0x01
> raw value: verb = 0x70d, parm = 0x1
> verbname = set_digi_cvt_1

So, the program itself sets the value.  Which sound backend are you
using?  PulseAudio, whatever?

Basically you need to track the verb 0x01570dXX that changes the
digital converter parameter.

When the driver was loaded and initialized, what value does the node
have?  Also check the raw ctl elements, too.  The value is controlled
via "IEC958 Status" controls.  If the value at the init time is wrong,
you may set the initial value via "iecset" program included in
alsa-utils.


Takashi

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: No sound for several minutes after reboot
  2016-08-30  8:04                       ` Takashi Iwai
@ 2016-08-30  8:32                         ` Markus Trippelsdorf
  2016-08-30  9:03                           ` Takashi Iwai
  0 siblings, 1 reply; 15+ messages in thread
From: Markus Trippelsdorf @ 2016-08-30  8:32 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 2016.08.30 at 10:04 +0200, Takashi Iwai wrote:
> On Mon, 29 Aug 2016 16:02:33 +0200,
> Markus Trippelsdorf wrote:
> > 
> > On 2016.08.29 at 14:06 +0200, Markus Trippelsdorf wrote:
> > > On 2016.08.29 at 11:32 +0200, Takashi Iwai wrote:
> > > > On Mon, 29 Aug 2016 11:20:47 +0200,
> > > > Markus Trippelsdorf wrote:
> > >  output:ALSA def-222   [003] ....   422.035002: hda_send_cmd: [0000:00:14.2:0] val=0x01570d01
> > >  output:ALSA def-222   [003] ....   422.035061: hda_get_response: [0000:00:14.2:0] val=0x00000000
> > 
> > Actually it right here that sound starts again:
> > 
> > markus@x4 hda-emu % ./a.out 0x01570d01
> > raw value = 0x01570d01
> > cid = 0, nid = 0x15, verb = 0x70d, parm = 0x01
> > raw value: verb = 0x70d, parm = 0x1
> > verbname = set_digi_cvt_1
> 
> So, the program itself sets the value.  Which sound backend are you
> using?  PulseAudio, whatever?

No backend at all. I use mpd directly on type hw:

pcm.!default {
  type hw
  card 0
  device 3
}

> Basically you need to track the verb 0x01570dXX that changes the
> digital converter parameter.
> 
> When the driver was loaded and initialized, what value does the node
> have?  Also check the raw ctl elements, too.  The value is controlled
> via "IEC958 Status" controls.  If the value at the init time is wrong,
> you may set the initial value via "iecset" program included in
> alsa-utils.

The driver is build directly into my monolithic kernel (I don't have
modules enabled at all).
At boot time I run "alsactl restore" in an init script.
alsamixer shows that S/PDIF is unmuted, but as I wrote it doesn't work
for several minutes. If I toggle the S/PDIF setting in alsamixer from
unmuted to muted to unmuted then sounds starts working.

Anyway:
 /usr/bin/hda-verb /dev/snd/hwC0D0 0x15 SET_DIGI_CONVERT_1 0x01 &> /dev/null
works fine in my init script, so the issue is solved for me.

Thanks.

-- 
Markus

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: No sound for several minutes after reboot
  2016-08-30  8:32                         ` Markus Trippelsdorf
@ 2016-08-30  9:03                           ` Takashi Iwai
  2016-08-30  9:20                             ` Markus Trippelsdorf
  0 siblings, 1 reply; 15+ messages in thread
From: Takashi Iwai @ 2016-08-30  9:03 UTC (permalink / raw)
  To: Markus Trippelsdorf; +Cc: alsa-devel

On Tue, 30 Aug 2016 10:32:01 +0200,
Markus Trippelsdorf wrote:
> 
> On 2016.08.30 at 10:04 +0200, Takashi Iwai wrote:
> > On Mon, 29 Aug 2016 16:02:33 +0200,
> > Markus Trippelsdorf wrote:
> > > 
> > > On 2016.08.29 at 14:06 +0200, Markus Trippelsdorf wrote:
> > > > On 2016.08.29 at 11:32 +0200, Takashi Iwai wrote:
> > > > > On Mon, 29 Aug 2016 11:20:47 +0200,
> > > > > Markus Trippelsdorf wrote:
> > > >  output:ALSA def-222   [003] ....   422.035002: hda_send_cmd: [0000:00:14.2:0] val=0x01570d01
> > > >  output:ALSA def-222   [003] ....   422.035061: hda_get_response: [0000:00:14.2:0] val=0x00000000
> > > 
> > > Actually it right here that sound starts again:
> > > 
> > > markus@x4 hda-emu % ./a.out 0x01570d01
> > > raw value = 0x01570d01
> > > cid = 0, nid = 0x15, verb = 0x70d, parm = 0x01
> > > raw value: verb = 0x70d, parm = 0x1
> > > verbname = set_digi_cvt_1
> > 
> > So, the program itself sets the value.  Which sound backend are you
> > using?  PulseAudio, whatever?
> 
> No backend at all. I use mpd directly on type hw:
> 
> pcm.!default {
>   type hw
>   card 0
>   device 3
> }

Hmm, it's assigned to device 3?
This was supposed to be assigned to HDMI/DP.

In anyway, for device 3, you can use

  pcm.!default "hdmi:0"

Then the IEC958 status parameter is set via alsa-lib properly.


Takashi

> 
> > Basically you need to track the verb 0x01570dXX that changes the
> > digital converter parameter.
> > 
> > When the driver was loaded and initialized, what value does the node
> > have?  Also check the raw ctl elements, too.  The value is controlled
> > via "IEC958 Status" controls.  If the value at the init time is wrong,
> > you may set the initial value via "iecset" program included in
> > alsa-utils.
> 
> The driver is build directly into my monolithic kernel (I don't have
> modules enabled at all).
> At boot time I run "alsactl restore" in an init script.
> alsamixer shows that S/PDIF is unmuted, but as I wrote it doesn't work
> for several minutes. If I toggle the S/PDIF setting in alsamixer from
> unmuted to muted to unmuted then sounds starts working.
> 
> Anyway:
>  /usr/bin/hda-verb /dev/snd/hwC0D0 0x15 SET_DIGI_CONVERT_1 0x01 &> /dev/null
> works fine in my init script, so the issue is solved for me.
> 
> Thanks.
> 
> -- 
> Markus
> 

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: No sound for several minutes after reboot
  2016-08-30  9:03                           ` Takashi Iwai
@ 2016-08-30  9:20                             ` Markus Trippelsdorf
  0 siblings, 0 replies; 15+ messages in thread
From: Markus Trippelsdorf @ 2016-08-30  9:20 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 2016.08.30 at 11:03 +0200, Takashi Iwai wrote:
> On Tue, 30 Aug 2016 10:32:01 +0200,
> Markus Trippelsdorf wrote:
> > 
> > On 2016.08.30 at 10:04 +0200, Takashi Iwai wrote:
> > > On Mon, 29 Aug 2016 16:02:33 +0200,
> > > Markus Trippelsdorf wrote:
> > > > 
> > > > On 2016.08.29 at 14:06 +0200, Markus Trippelsdorf wrote:
> > > > > On 2016.08.29 at 11:32 +0200, Takashi Iwai wrote:
> > > > > > On Mon, 29 Aug 2016 11:20:47 +0200,
> > > > > > Markus Trippelsdorf wrote:
> > > > >  output:ALSA def-222   [003] ....   422.035002: hda_send_cmd: [0000:00:14.2:0] val=0x01570d01
> > > > >  output:ALSA def-222   [003] ....   422.035061: hda_get_response: [0000:00:14.2:0] val=0x00000000
> > > > 
> > > > Actually it right here that sound starts again:
> > > > 
> > > > markus@x4 hda-emu % ./a.out 0x01570d01
> > > > raw value = 0x01570d01
> > > > cid = 0, nid = 0x15, verb = 0x70d, parm = 0x01
> > > > raw value: verb = 0x70d, parm = 0x1
> > > > verbname = set_digi_cvt_1
> > > 
> > > So, the program itself sets the value.  Which sound backend are you
> > > using?  PulseAudio, whatever?
> > 
> > No backend at all. I use mpd directly on type hw:
> > 
> > pcm.!default {
> >   type hw
> >   card 0
> >   device 3
> > }
> 
> Hmm, it's assigned to device 3?
> This was supposed to be assigned to HDMI/DP.
> 
> In anyway, for device 3, you can use
> 
>   pcm.!default "hdmi:0"
> 
> Then the IEC958 status parameter is set via alsa-lib properly.

Many thanks. This works fine.

-- 
Markus

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-08-30  9:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20160827095018.GA309@x4>
     [not found] ` <20160827113908.GA312@x4>
2016-08-29  8:15   ` No sound for several minutes after reboot Takashi Iwai
2016-08-29  8:33     ` Markus Trippelsdorf
2016-08-29  8:39       ` Takashi Iwai
2016-08-29  8:56         ` Markus Trippelsdorf
2016-08-29  9:05           ` Markus Trippelsdorf
2016-08-29  9:16             ` Takashi Iwai
2016-08-29  9:20               ` Markus Trippelsdorf
2016-08-29  9:32                 ` Takashi Iwai
2016-08-29  9:40                   ` Markus Trippelsdorf
2016-08-29 12:06                   ` Markus Trippelsdorf
2016-08-29 14:02                     ` Markus Trippelsdorf
2016-08-30  8:04                       ` Takashi Iwai
2016-08-30  8:32                         ` Markus Trippelsdorf
2016-08-30  9:03                           ` Takashi Iwai
2016-08-30  9:20                             ` Markus Trippelsdorf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.