View previous topic :: View next topic |
Author |
Message |
AlexanderKh n00b
Joined: 21 Nov 2014 Posts: 23 Location: Ukraine
|
Posted: Sun Apr 18, 2021 5:34 pm Post subject: [SOLVED] No sound with alsa after kernel update |
|
|
I have updated kernel from 5.4.97 to 5.10.27 on my laptop and sound (alsa) disappeared. I'm not using pulseaudio at all.
Quote: | $ grep SND_HDA /usr/src/linux/.config
CONFIG_SND_HDA=y
CONFIG_SND_HDA_GENERIC_LEDS=y
CONFIG_SND_HDA_INTEL=y
# CONFIG_SND_HDA_HWDEP is not set
# CONFIG_SND_HDA_RECONFIG is not set
# CONFIG_SND_HDA_INPUT_BEEP is not set
# CONFIG_SND_HDA_PATCH_LOADER is not set
CONFIG_SND_HDA_CODEC_REALTEK=y
# CONFIG_SND_HDA_CODEC_ANALOG is not set
# CONFIG_SND_HDA_CODEC_SIGMATEL is not set
# CONFIG_SND_HDA_CODEC_VIA is not set
# CONFIG_SND_HDA_CODEC_HDMI is not set
# CONFIG_SND_HDA_CODEC_CIRRUS is not set
# CONFIG_SND_HDA_CODEC_CONEXANT is not set
# CONFIG_SND_HDA_CODEC_CA0110 is not set
# CONFIG_SND_HDA_CODEC_CA0132 is not set
# CONFIG_SND_HDA_CODEC_CMEDIA is not set
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
# CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM is not set
CONFIG_SND_HDA_CORE=y
CONFIG_SND_HDA_COMPONENT=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=64 |
Quote: | $ cat /proc/asound/cards
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xe1230000 irq 49
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xe1234000 irq 48
$ head -1 /proc/asound/card1/codec#0
Codec: Realtek ALC3232 |
Quote: | $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: Generic Digital [Generic Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC3232 Analog [ALC3232 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0 |
Speaker and mic buttons start glowing once desktop environment appears on boot, pressing on them just shows notifications on screen, no effect on LEDs or sound at all. Found that in previous version of kernel CONFIG_LEDS_TRIGGER_AUDIO=m while now it's CONFIG_LEDS_TRIGGER_AUDIO=y and this value cannot be changed or turned off. From kernel help: "This allows LEDs to be controlled by audio drivers for following the audio mute and mic-mute changes. If unsure, say N". I'm not sure if it's related, but nothing strange was found in diff of kernel configs.
Full diff: https://pastebin.com/raw/vxGfZsF0
Last edited by AlexanderKh on Mon Aug 30, 2021 1:47 pm; edited 1 time in total |
|
Back to top |
|
|
CrankyPenguin Apprentice
Joined: 19 Jun 2003 Posts: 283
|
Posted: Wed Apr 21, 2021 7:20 pm Post subject: |
|
|
This may be a silly question but did you check if the kernel driver for your hardware or some other feature was moved or renamed? I have experienced this with prior updates where an organizational change tripped up make oldconfig. _________________ Linux, the OS for the obsessive-compulsive speed freak in all of us. |
|
Back to top |
|
|
l3u Advocate
Joined: 26 Jan 2005 Posts: 2537 Location: Konradsreuth (Germany)
|
Posted: Sun Jun 20, 2021 8:01 pm Post subject: |
|
|
Hey, did you solve this?
I'm facing the very same problem with my Lenovo E480. With kernel 5.4.97, everything works. But with all newer kernels I tried, the sound is muted. The "Mute" function button's led is on, an I can't unmute the card, the button doesn't work. According to alsamixer, nothing is muted.
Thanks for all help on how to fix this!!!
EDIT:
After some investigation, I think I know a bit more: With Kernel 5.4.109 (most probably Kernel 5.4.*), everthing works.
Starting with Kernel 5.10, The mute LED is off during boot, and turns on, and switches off again when "Restoring mixer levels" is started. As long as I'm not logged in graphically, I can play sound (on the console, using mplayer).
As soon as I log in (on KDE), the mute LED lights up again, and then, no sound is working anymore. I can't unmute the card, and I can't turn off the LED.
BUT: When I disable
Code: |
Device Drivers --->
X86 Platform Specific Device Drivers --->
ThinkPad ACPI Laptop Extras
|
No LED lights up, nothing is muted, and I can both play sound before and after a graphical login.
Seems to be a Kernel bug, no?! |
|
Back to top |
|
|
AlexanderKh n00b
Joined: 21 Nov 2014 Posts: 23 Location: Ukraine
|
Posted: Mon Aug 30, 2021 1:47 pm Post subject: |
|
|
Finally fixed the issue via alsamixer: switched Mic Mute-LED Mode to Follow Mute and Mute-LED Mode to Follow Master. After that
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|