public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Martin Steigerwald <martin@lichtvoll.de>
To: Takashi Iwai <tiwai@suse.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:08:36 +0200	[thread overview]
Message-ID: <2273195.tahhRQoM4G@merkaba> (raw)
In-Reply-To: <s5hfv6q5zbr.wl-tiwai@suse.de>

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.

One clarification: Phonon still seems to see a sound card… but it reports a 
change to the list of soundcards.

And another observation: The speaker disable LED is switched on KDE/Plasma 
4.14.2 session startup, I just rebooted to 4.1-rc4 after I gathered debug 
output of 4.0.1, and there on boot the speaker disable LED was off during 
boot.

So there seems Phonon is confused about some difference in ALSA between these 
two kernel versions and probably doesn´t fully find the sound card or mutes 
it, but on the other hand I can´t see it in alsa-mixer as muted.

And alsa-mixer still finds the internal sound.

Also this does not happen for external USB JBL Pebbles speakers (excellent 
ones!) at home, sound just works with 4.1-rc4 with these.

I am now on 4.1-rc4 again so could try to dig out more what KDE Phonon sees 
as a difference. In trainings breaks. Now need to continue with the course I 
hold.

Phonon runs without PulseAudio here, cause PulseAudio creates additional 
issues with sound. Okay, this is the message I get:

KDE hat festgestellt, dass eines oder mehrere interne Geräte entfernt 
wurden.
Soll KDE die Informationen zu diesen Geräten dauerhaft löschen?
Dies ist die Liste der Geräte, die entfernt werden können:
Aufnahme: HDA Intel PCH (CX20590 Analog)
Wiedergabe: HDA Intel PCH (CX20590 Analog)

Which means: KDE has found that one or more internal devices were removed.

So it seems KDE really does not find the sound card anymore, while alsa-mixer 
finds it, yet, also aplay does not produce any sound.

But then I still have a "HDA Intel PCH (CX20590 Analog)" in systemsettings 
for Phonon. There is one greyed out and another one which is not greyed out, 
but does not produce any sound on clicking the test button either.

> > 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.

I sent a separate mail with these already.

> Also, such a problem is rather the device permissions problem.
> Check the device permissions of /dev/snd/* files (also check getfacl
> /dev/snd/*, too).

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

  parent reply	other threads:[~2015-05-21  9:08 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
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 [this message]
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=2273195.tahhRQoM4G@merkaba \
    --to=martin@lichtvoll.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tiwai@suse.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