alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Kailang <kailang@realtek.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Set eapd to follow stream on or off
Date: Tue, 20 May 2014 09:46:37 +0200	[thread overview]
Message-ID: <s5h8upw6gf6.wl%tiwai@suse.de> (raw)
In-Reply-To: <3143A3763CC94AB9AAD48E43EA2B4DFC@realtek.com.tw>

At Tue, 20 May 2014 15:15:49 +0800,
Kailang wrote:
> 
> Hi Takashi,
> 
> HP machine had pop noise via speaker.
> If EAPD on or off, speaker will have pop noise.
> So, they want to set eapd to follow with stream on or off.

I can apply this as is, but still I wonder whether this results in
other problems.  Doing EAPD on/off there means that it happens far
more often.  For example, what happens if you do like below?

     while true; do
       echo -n > /dev/snd/pcmC0D0p
     done

And, what if the device is resumed from power-saving by an audio
playback?  Immediately after the power up, it'll start the streaming,
so it'll turn on EAPD.

That said, isn't it just a need for some delay before EAPD on/off?


thanks,

Takashi

> 
> Many Thanks.
> 
> BR,
> Kailang
> [2 0000-set-eapd-follow-stream-on-off.patch <application/octet-stream (quoted-printable)>]
> 

  reply	other threads:[~2014-05-20  7:46 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-20  7:15 Set eapd to follow stream on or off Kailang
2014-05-20  7:46 ` Takashi Iwai [this message]
2014-05-20  8:52   ` Kailang
2014-05-20  9:03     ` Takashi Iwai
2014-05-20  9:20       ` Kailang
2014-05-20  9:35         ` Takashi Iwai
2014-05-20 10:05           ` Kailang
2014-05-20 10:10             ` Takashi Iwai
2014-05-21  5:58               ` Kailang
2014-05-21  6:07                 ` Takashi Iwai
2014-05-21  6:28                   ` Kailang
2014-05-21  9:10                     ` Takashi Iwai
2014-05-21  9:24                       ` Kailang
2014-05-21  9:50                         ` Takashi Iwai
2014-05-22  6:26                           ` Kailang
2014-05-22  6:59                             ` Takashi Iwai
2014-05-22  7:26                               ` Kailang
2014-05-21  8:55                   ` Add support headset mode for alc233 Kailang
2014-05-21  9:13                     ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2014-06-04  6:14 Set eapd to follow stream on or off Kailang

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=s5h8upw6gf6.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=kailang@realtek.com \
    /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).