From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [REGRESSION] 4.1-rc4: Sound muted after boot Date: Thu, 21 May 2015 11:16:24 +0200 Message-ID: References: <1902192.Ae1uPbIBnJ@merkaba> <1688502.MOfemOJOb1@merkaba> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1688502.MOfemOJOb1@merkaba> Sender: linux-kernel-owner@vger.kernel.org To: Martin Steigerwald Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 21 May 2015 10:53:46 +0200, Martin Steigerwald wrote: >=20 > Am Donnerstag, 21. Mai 2015, 06:28:24 schrieb Takashi Iwai: > > At Wed, 20 May 2015 16:31:55 +0200, > >=20 > > Martin Steigerwald wrote: > > > Hello! > > >=20 > > > On ThinkPad T520 (Intel Sandybridge) with 4.14-rc4 + two BTRFS pa= tches > > > and one Intel P-State debug patch I have no sound output on inter= nal > > > Intel HD audio codec. > > >=20 > > > According to ThinkPad T520 LED with striked-through speaker the l= oud > > > speaker is in disabled state. Also KDE=C2=B4s Phonon says a sound= card is > > > missing. In alsa-mixer I see nothing as MM for muted. If I press = the > > > key next to the LED I get a notification on the desktop that loud > > > speaker has been enabled / disabled, but the LED still is on for = it > > > being disabled. > > >=20 > > > I do not hear anything in Amarok or with aplay. alsa-mixer sound = volumes > > > are 100 for master and PCM. I also tried with disabling "Auto-Mut= e > > > Mod", but still no sound. > > >=20 > > > When I reboot and in BIOS or GRUB press the key then the LED togg= les > > > state. > > >=20 > > > When I reboot into Linux 4.0.1 sound is working fine and loud spe= aker > > > disabled LED is toggled off, so I bet this is a regression 4.1-rc= 4 > > > compared to 4.0.1. > >=20 > > Please run alsa-info.sh at both working and non-working cases (with > > old and new kernels), and attach the outputs. Run the script with > > --no-upload option. >=20 > All attached. >=20 > I also have full dmesg outputs available in case it is needed. > =20 > > Also, such a problem is rather the device permissions problem. > > Check the device permissions of /dev/snd/* files (also check getfac= l > > /dev/snd/*, too). >=20 > If its a permissions problem, why does it happen with 4.1-rc4, but no= t with=20 > 4.0.1 oder any earlier kernels? I wanted to mean it's rather "often" a permission problem. Not necessarily your case, but still worth to check. The mute LED behavior change is because of the new control added recently. You seem to have changed the value to "On" while the default should be "Follow Master". This explains the difference of behavior from 4.0. It's no regression but manual misconfiguration by user. In this mode, LED has no connection with the sound output at all. Other than that, no different is seen in the hardware level. The codec registers show all same values. That is, from the driver POV, the sound should work. (Though, you set "Disabled" to "Auto-Mute Mode" control which looks rather weird.)=20 So, revert "Mute-LED Mode" control to "Follow Master". It can be done via alsamixer, amixer or whatever. Then check whether the sound works again. Check also from the headphone, too. Takashi