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