LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   NO sound on internal speaker (sof-bytcht es8316) (https://www.linuxquestions.org/questions/linux-mint-84/no-sound-on-internal-speaker-sof-bytcht-es8316-4175730836/)

vehendre 11-13-2023 11:01 AM

NO sound on internal speaker (sof-bytcht es8316)
 
I installed Linux Mint 21.2 Cinamon on a Navon Stark NX14 notebook with an Intel Atom Z3735F.
The problem is that for some reason I canot use the internal speakers, even though internal mic seems to work fine. Here are some PrtSc-s of alsamixer:
https://i.imgur.com/vqhzneo.png
https://i.imgur.com/Kg7AfX5.png
If I turn on the speaker pressing M it starts working but after a reboot it is disabled again.

aus9 11-15-2023 05:46 AM

the second image shows device order is hdmi then es8316.
I suggest your mixer levels attempt to restore over reboot hdmi.

please post on reboot without changing to es8316 the full output of
Code:

aplay -l
inxi -Axxx

it is highly likely hdmi is card=0 and es8316 is card=1

2) I am not sure what your kernel module of hdmi is at this stage....the internet suggests your es8316 might be snd_soc_es8316
but the inxi command will confirm its snd-hda-intel

Then we can disable the sound part of the hdmi eg but lets confirm first
a root powered created file lets call it /etc/modprobe.d/sound.conf
Quote:

blacklist snd-hda-intel
but if both drivers from inxi show the same module name....maybe snd-hda-intel then the sound.conf might change to
Quote:

options snd-hda-intel enable=0
and only for that config it says....disable first detected card hdmi....but then finds second card and enable that.

#############

We still would then need to save your mixer levels.....but they need to be mixer levels for your es8316 after disabling hdmi

If you understood this on reboot if aplay -l gives you only the es8316 device then set your mixer levels by unmuting and adjusting volumes in alsamixer then save those settings with
Code:

sudo alsactl store

vehendre 11-16-2023 09:05 AM

Did further research
 
It looks like the problem is that alsa could not restore on startup, because the sound card is not UCM compatible.
When I use alsactl restore
it comes out with this error message:
alsa-lib main.c:1541 (snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2

So I guess that is why it canot recover on bootup to

I figured out if I use the command: alsactl --no-ucm restore
It works without any error, and the sound works too

Is there any way to teach alsa to do it like this by itself on every startup?

vehendre 11-16-2023 01:05 PM

Thank you
 
These are the results of the asked commands:
https://i.imgur.com/8kEebG1.png

Quote:

Originally Posted by aus9 (Post 6464796)
the second image shows device order is hdmi then es8316.
I suggest your mixer levels attempt to restore over reboot hdmi.

please post on reboot without changing to es8316 the full output of
Code:

aplay -l
inxi -Axxx

it is highly likely hdmi is card=0 and es8316 is card=1

2) I am not sure what your kernel module of hdmi is at this stage....the internet suggests your es8316 might be snd_soc_es8316
but the inxi command will confirm its snd-hda-intel

Then we can disable the sound part of the hdmi eg but lets confirm first
a root powered created file lets call it /etc/modprobe.d/sound.conf


but if both drivers from inxi show the same module name....maybe snd-hda-intel then the sound.conf might change to


and only for that config it says....disable first detected card hdmi....but then finds second card and enable that.

#############

We still would then need to save your mixer levels.....but they need to be mixer levels for your es8316 after disabling hdmi

If you understood this on reboot if aplay -l gives you only the es8316 device then set your mixer levels by unmuting and adjusting volumes in alsamixer then save those settings with
Code:

sudo alsactl store



All times are GMT -5. The time now is 03:20 PM.