public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Martin Steigerwald <martin@lichtvoll.de>
Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org
Subject: Re: [REGRESSION] 4.1-rc4: Sound muted after boot
Date: Thu, 21 May 2015 11:16:24 +0200	[thread overview]
Message-ID: <s5h382qi93r.wl-tiwai@suse.de> (raw)
In-Reply-To: <1688502.MOfemOJOb1@merkaba>

At Thu, 21 May 2015 10:53:46 +0200,
Martin Steigerwald wrote:
> 
> Am Donnerstag, 21. Mai 2015, 06:28:24 schrieb Takashi Iwai:
> > At Wed, 20 May 2015 16:31:55 +0200,
> > 
> > Martin Steigerwald wrote:
> > > Hello!
> > > 
> > > On ThinkPad T520 (Intel Sandybridge) with 4.14-rc4 + two BTRFS patches
> > > and one Intel P-State debug patch I have no sound output on internal
> > > Intel HD audio codec.
> > > 
> > > According to ThinkPad T520 LED with striked-through speaker the loud
> > > speaker is in disabled state. Also KDE´s Phonon says a soundcard 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.
> > > 
> > > 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-Mute
> > > Mod", but still no sound.
> > > 
> > > When I reboot and in BIOS or GRUB press the key then the LED toggles
> > > state.
> > > 
> > > When I reboot into Linux 4.0.1 sound is working fine and loud speaker
> > > disabled LED is toggled off, so I bet this is a regression 4.1-rc4
> > > compared to 4.0.1.
> > 
> > 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.
> 
> All attached.
> 
> I also have full dmesg outputs available in case it is needed.
>  
> > Also, such a problem is rather the device permissions problem.
> > Check the device permissions of /dev/snd/* files (also check getfacl
> > /dev/snd/*, too).
> 
> If its a permissions problem, why does it happen with 4.1-rc4, but not with 
> 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.) 

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

  reply	other threads:[~2015-05-21  9:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-20 14:31 [REGRESSION] 4.1-rc4: Sound muted after boot Martin Steigerwald
2015-05-21  4:28 ` Takashi Iwai
2015-05-21  8:53   ` Martin Steigerwald
2015-05-21  9:16     ` Takashi Iwai [this message]
2015-05-21  9:52       ` Martin Steigerwald
2015-05-21 10:07         ` Takashi Iwai
2015-05-21 11:23           ` Martin Steigerwald
2015-05-21 12:42             ` Takashi Iwai
2015-05-21  9:08   ` Martin Steigerwald
2015-05-21  9:19     ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5h382qi93r.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin@lichtvoll.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox