From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: No sound after suspend-to-ram Date: Sat, 24 Oct 2015 09:38:24 +0200 Message-ID: References: <6FAB7C47BCF00940BB0999A99BE3547A17A236B9@RTITMBSV09.realtek.com.tw> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 612C5265716 for ; Sat, 24 Oct 2015 09:38:25 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: George Gugulea Cc: "alsa-devel@alsa-project.org" , Kailang List-Id: alsa-devel@alsa-project.org 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