From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755449Ab0IVPgP (ORCPT ); Wed, 22 Sep 2010 11:36:15 -0400 Received: from cantor2.suse.de ([195.135.220.15]:50088 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755414Ab0IVPgM (ORCPT ); Wed, 22 Sep 2010 11:36:12 -0400 Date: Wed, 22 Sep 2010 17:36:11 +0200 Message-ID: From: Takashi Iwai To: Aki Parviainen Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, perex@perex.cz Subject: Re: PROBLEM: snd_intel_hda audio regression in 2.6.36-rc5 In-Reply-To: References: <20100921173254.GA3037@ht> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Wed, 22 Sep 2010 18:31:26 +0300, Aki Parviainen wrote: > > > > > So, you are testing only over SPDIF output, right? > > Yes, I'm only using SPDIF output! > > > Looks like the SPDIF status bits has been reset by some reason. > > Try to restore via iecset program included in alsa-utils package, > > e.g. > >    iecset original on > >    iecset category 0x02 > > I tried this and didn't notice any difference. Hm, then you might need to adjust other parameters, too. > > If this doesn't help, try to unload sound driver once, remove (or > > backup) /etc/asound.state (which might be in a different path > > depending on the distro), then load sound modules again. > > This will restore the default SPDIF status.  Unmute / adjust mixer > > setups appropriately after doing this. > > I also tried this but didn't notice a difference but however I noticed > a workaround to this problem that might be related to deleting the > asound.state (debian places it btw to /var/lib/alsa/asound.state): now > the regular audio works via SPDIF once again if I first play a file > with digital preencoded audio. Ie: > > -Boot with 2.6.36-rc5 > -Start kaffeine > -Play mp3 file -> no sound at all via spdif > -Play mkv file with 5.1 sound -> sound ok > -Play mp3 file again -> sound ok! > -Exit kaffeine & restart kaffeine or vlc > -Play mp3 file again -> sound ok! At this state, run "alsactl store", and keep the renewed asound.state file. Once when this happens again, just run like alsactl -f /your/saved/asound.state store to restore the status. > Unfortunately the fix isn't permanent because after reboot I cannot > get regular sound via spdif until I have once played a file with 5.1 > audio track. This is unlikely a kernel issue but the user-space issue. I guess this was triggered because of changes of the id numbers in mixer elements. Some user-space program (e.g. kmix) tend to restore the mixer setup forcibly but often wrongly. Takashi