From: Takashi Iwai Subject: Re: No sound for several minutes after reboot Date: Tue, 30 Aug 2016 10:04:15 +0200 Message-ID: References: <20160827113908.GA312@x4> <20160829083334.GA309@x4> <20160829085653.GA306@x4> <20160829090548.GA314@x4> <20160829092047.GB314@x4> <20160829120659.GA305@x4> <20160829140233.GA857@x4> 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 EC37F2666E4 for ; Tue, 30 Aug 2016 10:04:15 +0200 (CEST) In-Reply-To: <20160829140233.GA857@x4> 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: Markus Trippelsdorf Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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