Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: ES8316 Audio Driver

  1. #11
    Join Date
    May 2018
    Beans
    10

    Wink Re: ES8316 Audio Driver

    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.

  2. #12
    Join Date
    May 2018
    Beans
    10

    Re: ES8316 Audio Driver

    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.

  3. #13
    Join Date
    May 2018
    Beans
    10

    Re: ES8316 Audio Driver

    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?

  4. #14
    Join Date
    May 2018
    Beans
    10

    Re: ES8316 Audio Driver

    Even after months of research, still can't get the speakers to work.

  5. #15
    Join Date
    Sep 2018
    Beans
    1

    Re: ES8316 Audio Driver

    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:
    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
    Can anybody help me solve this problem?

  6. #16
    Join Date
    Sep 2018
    Beans
    3

    Re: ES8316 Audio Driver

    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.

  7. #17
    Join Date
    May 2018
    Beans
    10

    Re: ES8316 Audio Driver

    Quote Originally Posted by nicolettacau View Post
    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:
    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
    Can anybody help me solve this problem?
    Have you tried running my script?
    After exececuting my script do "sudo apt install alsa-base && sudo alsa reload"

  8. #18
    Join Date
    May 2018
    Beans
    10

    Re: ES8316 Audio Driver

    If you don't know how i have a tutorial on YouTube
    https://youtu.be/DDSyeEMHKvM

  9. #19
    Join Date
    Oct 2018
    Beans
    2

    Re: ES8316 Audio Driver

    Quote Originally Posted by shuncey View Post
    Even after months of research, still can't get the speakers to work.
    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.

  10. #20
    Join Date
    Oct 2018
    Beans
    2

    Re: ES8316 Audio Driver

    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
    Code:
    [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
    Where /etc/systemd/speakers.sh
    Code:
    #!/bin/bash
    echo 444 > /sys/class/gpio/export
    echo out > /sys/class/gpio/gpio444/direction
    echo 1 > /sys/class/gpio/gpio444/value
    then
    Code:
    sudo bash 
    echo 1 > /sys/class/gpio/gpio444/value
    echo 0 > /sys/class/gpio/gpio444/value
    Turn on / off the speakers.

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •