All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: George Gugulea <gugulea@gmail.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	Kailang <kailang@realtek.com>
Subject: Re: No sound after suspend-to-ram
Date: Sat, 24 Oct 2015 09:38:24 +0200	[thread overview]
Message-ID: <s5hr3kkaf7z.wl-tiwai@suse.de> (raw)
In-Reply-To: <CALcwt_BakjANwqurkEkywkFTiNUd3WcmJFn1tovM5AVnF7XXUA@mail.gmail.com>

On Sat, 24 Oct 2015 00:01:00 +0200,
George Gugulea wrote:
> 
> Sure thing,
> 
> Kailang, yes, there is a side headphones jack and it does work OK
> after PM suspend-to-ram
> 
> I did `echo 1 > /sys/modules/snd_hda_codec/parameters/dump_coef ` and
> I attached the output but you are probably interested in this:
> 
> Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
> .....
> 447c447
> <     Coeff 0x1f: 0x00c0
> ---
> >     Coeff 0x1f: 0x0000
> 464c464
> <     Coeff 0x30: 0x00b1
> ---
> >     Coeff 0x30: 0x0090
> 
> And after I reset the two processing caps, the sound is back again.
> 
> hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x1f
> hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x00c0
> hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x30
> hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x00b1
> 
> I'm not sure that this are the correct parameters of hda-verb (because
> I lack the knowledge of alsa development) but based on the result it
> seems to be correct

Yes, the command sequences are correct (sorry I didn't write it in
details).  Mostly only some of these bits are mandatory, but only
Realtek knows this secret...


Takashi

  reply	other threads:[~2015-10-24  7:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-22  8:38 No sound after suspend-to-ram George Gugulea
2015-10-22 15:15 ` Takashi Iwai
2015-10-22 21:23   ` George Gugulea
2015-10-23  7:30     ` Takashi Iwai
2015-10-23  7:34       ` Takashi Iwai
2015-10-23  8:28       ` Kailang
2015-10-23 22:01         ` George Gugulea
2015-10-24  7:38           ` Takashi Iwai [this message]
2015-10-26  3:20             ` Kailang
2015-10-26  7:00             ` Kailang
2015-10-26  7:13               ` Takashi Iwai
     [not found]                 ` <6FAB7C47BCF00940BB0999A99BE3547A17A237D4@RTITMBSV09.realtek.com.tw>
2015-10-26  9:00                   ` George Gugulea
2015-10-26 11:39                   ` Takashi Iwai
2015-10-26 21:51                     ` George Gugulea
2015-10-27  6:50                       ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2015-10-21 17:29 George Gugulea

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=s5hr3kkaf7z.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=gugulea@gmail.com \
    --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 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.