alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Markus Trippelsdorf <markus@trippelsdorf.de>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: No sound for several minutes after reboot
Date: Mon, 29 Aug 2016 10:56:53 +0200	[thread overview]
Message-ID: <20160829085653.GA306@x4> (raw)
In-Reply-To: <s5hshtot1e2.wl-tiwai@suse.de>

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

  reply	other threads:[~2016-08-29 17:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160829085653.GA306@x4 \
    --to=markus@trippelsdorf.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).