No sound from internal speakers after several resumes on Lenovo L450

Asked by stan383

I use Ubuntu 15.10 on Lenovo L450 laptop. After several suspend/resume cycles there is no sound from internal speakers on Lenovo L450 laptop. I tried restarting pulseaudio, reloading snd_hda_* modules, restarting alsa. Nothing helped. Still no sound from speakers. When the issue is present and I connect the headphones, the sound is present in headphones. Checking alsamixer will reveal nothing suspicious - connecting heaphones will mute/un-mute relevant sources, even changing the volumes there will not solve the issue with no sound from internal speakers.
Reboot will always solve the issue.
Unfortunately I can't reproduce the issue on purpose. The issue is present randomly. Usually after several suspend resume cycles.
Any ideas how to diagnose this issue?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && chmod +x ./alsa-info.sh && ./alsa-info.sh --upload

Thanks

Revision history for this message
stan383 (stan383) said :
#2

Here is the output:

http://www.alsa-project.org/db/?f=285c9b45737f29f98749d2d62fc68d5a6dd2b5d1

Note: while running alsa-info.sh the sound via laptop's speakers worked. Is it ok for you? Or do you need an output generated while the sound does not work?

Revision history for this message
stan383 (stan383) said :
#3

I noticed one thing:
I have 2 sound cards in the laptop - alsamixer reports them as "0 HDA Intel HDMI" and "1 HDA Intel PCH".
When the issue is present and there is no sound from the internal laptop's speakers and I start alsamixer, there are these channels reported for the HDMI sound card:

S/PDIF, S/PDIF 1

After reboot, when the issue is gone, there are 3 channels for the HDMI Soundcard:

S/PDIF, S/PDIF 1, S/PDIF 2

I do not know if it is related to the issue - as I do not use HDMI or S/PDIF for sound and I just use analog output, but at least it is suspicious the channel there "disappears" when the issue is present.

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
stan383 (stan383) said :
#5

Currently I face the problem and there is no sound from internal laptop speakers. I do not know if it help, but here is the current output of the alsa-info.sh script - http://www.alsa-project.org/db/?f=37a754ab19ffbbde1dd80a04692f6daff04c45df

Revision history for this message
stan383 (stan383) said :
#6

I was lucky and I found a way of reproducing the issue. Originally I thought it is related to suspend/resume. I usually just suspend my laptop instead of powering it off. From time to time when there is a kernel upgrade, I have to reboot the laptop. And here the problem is - when I boot the PC with headphones attached, then the sound via headphones will work, but there will be no sound from internal speakers (of course when headphones are detached).

I tested this couple of time. This is the procedure A:

1. When the problem is not present, sound is present in laptop's speakers, connect the headphones
2. initiate reboot
3. once booted, initiate playing of some audio and check the sound from headphones - it will work OK
4. disconnect the headphones - there is no sound from internal speakers

Procedure B:
1. turn off the laptop (power off)
2. connect the headphones to the laptop
3. power on the laptop and boot into Ubuntu 15.04
4. once booted, initiate playing of some audio and check the sound from headphones - it will work OK
5. disconnect the headphones - there is no sound from internal speakers

So from some reason internal speakers will not work when booted to the Ubuntu 15.04 while headphones attached. Should I report this as a bug?

Revision history for this message
Launchpad Janitor (janitor) said :
#7

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Timo (u-launchp0d-s) said :
#8

Hi

I know this is expired. But this is my exact same problem. It seems like the system does not recognise the unplugging of headphone jack. My system information from alsa-info.sh: http://www.alsa-project.org/db/?f=2b7caa3db4277c637f7065a411c8a9c2d9bfc46e

Is there already a bug report? Can I do something to solve this problem?

Thanks and regards

Revision history for this message
stan383 (stan383) said :
#9

Hi Timo!
I already opened a bug - Bug #1533343 - https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1533343
But it was set to incomplete and I did not receive feedback there. You can check the bug's comments.

Revision history for this message
Peter Frandsen (pfrandsen) said :
#10

I have a similar issue. Dell precision 5510 delivered with Ubuntu 14.04 (sound working). Upgraded to 16.04 no sound from internal speakers but sound from headphones working. The internal speakers does no work no matter if I suspen/resume or do a cold boot.

Alsa info: http://www.alsa-project.org/db/?f=20ea053ee6e59cb33ca4815cc830c50ddbfef66c

When running "pactl list sinks" it lists the sink as SUSPENDED

...@Precision-5510:~$ pactl list sinks
Sink #0
 State: SUSPENDED
 Name: alsa_output.pci-0000_00_1f.3.analog-stereo
 Description: Indbygget lyd Analog stereo
 Driver: module-alsa-card.c
 Sample Specification: s16le 2ch 44100Hz
 Channel Map: front-left,front-right
 Owner Module: 6
 Mute: no
 Volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB
         balance 0,00
 Base Volume: 65536 / 100% / 0,00 dB
 Monitor Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
 Latency: 0 usec, configured 0 usec
 Flags: HARDWARE DECIBEL_VOLUME LATENCY
 Properties:
  alsa.resolution_bits = "16"
  device.api = "alsa"
  device.class = "sound"
  alsa.class = "generic"
  alsa.subclass = "generic-mix"
  alsa.name = "ALC3266 Analog"
  alsa.id = "ALC3266 Analog"
  alsa.subdevice = "0"
  alsa.subdevice_name = "subdevice #0"
  alsa.device = "0"
  alsa.card = "0"
  alsa.card_name = "HDA Intel PCH"
  alsa.long_card_name = "HDA Intel PCH at 0xddd28000 irq 136"
  alsa.driver_name = "snd_hda_intel"
  device.bus_path = "pci-0000:00:1f.3"
  sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
  device.bus = "pci"
  device.vendor.id = "8086"
  device.vendor.name = "Intel Corporation"
  device.product.id = "a170"
  device.product.name = "Sunrise Point-H HD Audio"
  device.form_factor = "internal"
  device.string = "front:0"
  device.buffering.buffer_size = "65536"
  device.buffering.fragment_size = "32768"
  device.access_mode = "mmap+timer"
  device.profile.name = "analog-stereo"
  device.profile.description = "Analog stereo"
  device.description = "Indbygget lyd Analog stereo"
  alsa.mixer_name = "Realtek ALC3266"
  alsa.components = "HDA:10ec0298,102806e5,00100103 HDA:80862809,80860101,00100000"
  module-udev-detect.discovered = "1"
  device.icon_name = "audio-card-pci"
 Formats:
  pcm