LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 11-13-2023, 11:01 AM   #1
vehendre
LQ Newbie
 
Registered: Nov 2023
Distribution: Debian 12
Posts: 3

Rep: Reputation: 0
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.

Last edited by vehendre; 11-13-2023 at 12:18 PM.
 
Old 11-15-2023, 05:46 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
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
 
1 members found this post helpful.
Old 11-16-2023, 09:05 AM   #3
vehendre
LQ Newbie
 
Registered: Nov 2023
Distribution: Debian 12
Posts: 3

Original Poster
Rep: Reputation: 0
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?
 
Old 11-16-2023, 01:05 PM   #4
vehendre
LQ Newbie
 
Registered: Nov 2023
Distribution: Debian 12
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you

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

Quote:
Originally Posted by aus9 View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tigerlake Sound Card - sof-firmware - Problem srinn Slackware 6 04-01-2022 08:18 PM
[SOLVED] bluetooth dongle + bluetooth speaker but no sound on the bluetooth speaker vonbiber Slackware 4 05-11-2017 09:53 AM
Where do I pick up the SDK for Loki SoF? RHLinuxGUY Programming 2 09-18-2006 10:09 AM
Getting sof 2 server to work the linux or wine version zonemikel Linux - Games 0 04-29-2006 07:31 PM
sof! genghis Linux - Games 1 10-14-2003 06:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 08:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration