You are not logged in.

#1 2018-01-20 20:33:22

$nake
Member
Registered: 2014-10-18
Posts: 30

Laptop's speakers stopped emitting sound

Hello

My laptop's speakers stopped working suddenly, while sound plays fine through headphones when they are plugged-in.
I have only one sound card

$ aplay -l
**** Liste des Périphériques Matériels PLAYBACK ****
carte 0: PCH [HDA Intel PCH], périphérique 0: ALC233 Analog [ALC233 Analog]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: PCH [HDA Intel PCH], périphérique 3: HDMI 0 [HDMI 0]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: PCH [HDA Intel PCH], périphérique 7: HDMI 1 [HDMI 1]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: PCH [HDA Intel PCH], périphérique 8: HDMI 2 [HDMI 2]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: PCH [HDA Intel PCH], périphérique 9: HDMI 3 [HDMI 3]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: PCH [HDA Intel PCH], périphérique 10: HDMI 4 [HDMI 4]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0 

which operates with ALSA only (no annoying pulseaudio). The 'Speaker' channel in alsamixer is unmuted. When I run speaker-test, it executes without errors but nothing comes out of the speakers.
I recall playing music through my speakers yesterday. Since then I changed nothing on my system, the only thing I can think of is that I booted Windows 10 (dual boot) in-between.

Any idea?

Offline

#2 2018-01-21 10:20:53

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: Laptop's speakers stopped emitting sound

Does this help?

Offline

#3 2018-01-21 11:36:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Laptop's speakers stopped emitting sound

Post

amixer -c0
dmesg | grep -iE 'snd|hda|alsa'

@lo1 it shouldn't there's only one card and the analog port is already on subdevice  0.

Last edited by V1del (2018-01-21 13:45:55)

Offline

#4 2018-01-21 15:37:38

$nake
Member
Registered: 2014-10-18
Posts: 30

Re: Laptop's speakers stopped emitting sound

Indeed, lo1, I already went through this.

After more thorough testing, I can report that

  • rebooting the system does not change the problem

  • suspending and waking it up does solve the problem
    (I use the power button with HandlePowerKey=suspend in logind.conf, I can only guess that it is the same as systemctl suspend)

  • this is consistently reproducible by booting Windows 10 and rebooting in Arch

V1del, I can also report that for both commands you suggest, the outputs before and after I suspend the system to get my speakers back are rigorously identical .

$ amixer -c0
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 44 [51%] [-32.25dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 16 [52%] [-10.50dB] [on]
  Front Right: Playback 16 [52%] [-10.50dB] [on]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 2 [67%] [20.00dB]
  Front Right: 2 [67%] [20.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',4
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 32 [51%] [6.75dB] [on]
  Front Right: Capture 32 [51%] [6.75dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 90 [75%] [15.00dB]
  Front Right: Capture 90 [75%] [15.00dB]
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
$ dmesg | grep -iE 'snd|hda|alsa'
[   11.803981] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[   13.214467] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   14.601279] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC233: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   14.601283] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   14.601286] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[   14.601289] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[   14.601290] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[   14.601295] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x1b
[   14.722008] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input14
[   14.722201] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input15
[   14.722353] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
[   14.722535] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17
[   14.722786] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18
[   14.722947] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input19

Not sure if I should mark the thread as SOLVED, since I have a cure, but no explanation.

Last edited by $nake (2018-01-21 15:44:43)

Offline

#5 2018-01-23 10:16:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Laptop's speakers stopped emitting sound

So cold booting linux to linux works, only if you switch between windows and linux you can observe this? Fastboot and friends on the Windows side are disabled? If they are it seems that your BIOS doesn't properly initialize after having been in windows and a suspend cycle from linux reverts that. Likely the best chance here would be to hope for a BIOS/UEFI update which properly reinitializes the system state even on reboot.

Offline

#6 2018-01-23 12:05:20

vitaliy.kuzmich
Member
Registered: 2015-11-29
Posts: 64

Re: Laptop's speakers stopped emitting sound

same with my laptop(acer), when it wakeup, sound get muted.

Offline

#7 2018-01-27 22:00:10

$nake
Member
Registered: 2014-10-18
Posts: 30

Re: Laptop's speakers stopped emitting sound

Yes V1del, I confirm. I do not know about Fastboot, I'll have a look into that. Thanks for your explanation, at least I can hold onto something!

Offline

Board footer

Powered by FluxBB