I'm glad it helped.
Still finding out why speakers doesn't work, I'm sure people are still doing anything they can to make the speaker work.
But still it works.
And Thanks.
I'm glad it helped.
Still finding out why speakers doesn't work, I'm sure people are still doing anything they can to make the speaker work.
But still it works.
And Thanks.
Is your sound card, like mine, bytcr-rt5651?
If yes, there seems to have a conflict with the HDMI port (wrongly treated as sound card). Sorry, it's french: https://forum.ubuntu-fr.org/viewtopi...4250#p21874250
I tried what's written in there, no success so far. I'll let you know if I find a solution that works for me.
As you look closely in my script, I have already blacklisted HDMI Audio(echo "blacklist snd_hdmi_lpe_audio" > /etc/modprobe.d/blacklist_hdmi.conf).
And yes i have the rt5651 and also the es8316 Audio Codec. I already have the folder called bytcr-rt5651 in /usr/share/alsa/ucm/ still no signs of audio in speaker and i also tried updating alsa-driver still doesn't work though but im actually trying my best to do so any way how do i contact you? You have facebook or something? I'll just update you when audio is working. and which distro are you using?
Even after months of research, still can't get the speakers to work.
Hi everyone,
I have a Mediacom Flexbook 13.3 and I'm trying to make sound work too.
I executed all the steps described by nicofossa but it didn't work.
Then I ran shuncey's script, but it didn't work either, there's no sound even with headphones.
This is my output from dmesg | grep 8316:
Can anybody help me solve this problem?Code:[ 38.076261] bytcht_es8316 bytcht_es8316: ASoC: CODEC DAI ES8316 HiFi not registered [ 38.076275] bytcht_es8316 bytcht_es8316: snd_soc_register_card failed -517 [ 38.160378] bytcht_es8316 bytcht_es8316: ASoC: CODEC DAI ES8316 HiFi not registered [ 38.160390] bytcht_es8316 bytcht_es8316: snd_soc_register_card failed -517 [ 38.161049] bytcht_es8316 bytcht_es8316: ASoC: CODEC DAI ES8316 HiFi not registered [ 38.161064] bytcht_es8316 bytcht_es8316: snd_soc_register_card failed -517 [ 38.612379] bytcht_es8316 bytcht_es8316: ASoC: CODEC DAI ES8316 HiFi not registered [ 38.612522] bytcht_es8316 bytcht_es8316: snd_soc_register_card failed -517
I had no sound until I installed pulse audio control. I think it should come by default on Linux systems. Had the same problem with Mint. No problems now.
If you don't know how i have a tutorial on YouTube
https://youtu.be/DDSyeEMHKvM
Got speakers to work by replace sound/soc/codecs/es8316.c with this - https://github.com/kernins/linux-chw...odecs/es8316.c
But now both speakers and headphones works at same time.
After trying this modified driver that writes to the gpio. Found that driver turn off/on speakers, but to the first change of sound volume or other switch.
So I get the gpio number from /sys/kernel/debug/gpio with this modified driver.
Then return the original snd-soc-es8316.ko module and write to gpio manually.
I added this systemd unit - /etc/systemd/system/speaker.service
Where /etc/systemd/speakers.shCode:[Unit] Description = Speakers After = NetworkManager-wait-online.service network.target network-online.target dbus.service Wants = NetworkManager-wait-online.service network-online.target Requires = dbus.service [Service] Type = oneshot ExecStart = /etc/systemd/speakers.sh [Install] WantedBy = multi-user.target
thenCode:#!/bin/bash echo 444 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio444/direction echo 1 > /sys/class/gpio/gpio444/value
Turn on / off the speakers.Code:sudo bash echo 1 > /sys/class/gpio/gpio444/value echo 0 > /sys/class/gpio/gpio444/value
Bookmarks