Bug 200491 - No sound on Asus E200HA
Summary: No sound on Asus E200HA
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-14 07:57 UTC by liberodark
Modified: 2018-07-30 18:52 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.17
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description liberodark 2018-07-14 07:57:53 UTC
Hello,

I have a pc asus e200ha who has no sound and it’s really not great not to have sound I waited for the kernel 4.12 for sound but it has not changed anything.

Here is my material:

inxi -F
System: Host: asus-e200h Kernel: 4.12.1-1-MANJARO x86_64 (64 bit)
Desktop: Xfce 4.12.4 Distro: Manjaro Linux
Machine: Device: laptop System: ASUSTeK product: E200HA v: 1.0
Mobo: ASUSTeK model: E200HA v: 1.0
UEFI: American Megatrends v: E200HA.303 date: 12/21/2016
Battery BATC: charge: 6.9 Wh 14.3% condition: 48.4/50.0 Wh (97%)
CPU: Quad core Intel Atom x5-Z8350 (-MCP-) cache: 1024 KB
clock speeds: max: 1920 MHz 1: 1456 MHz 2: 1652 MHz 3: 1672 MHz
4: 1679 MHz
Graphics: Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers
Display Server: x11 (X.Org 1.19.3) driver: intel
Resolution: 1366x768@60.01hz
OpenGL: renderer: Mesa DRI Intel HD Graphics (Cherrytrail)
version: 4.5 Mesa 17.1.4
Audio: Card-1 bytcht-nocodec driver: bytcht-nocodec
Card-2 Intel HDMI/DP LPE Audio driver: HdmiLpeAudio
Sound: Advanced Linux Sound Architecture v: k4.12.1-1-MANJARO
Network: Card: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
driver: ath10k_pci
IF: wlp1s0 state: down mac: 52:94:bd:7a:ca:09
Drives: HDD Total Size: NA (-)
ID-1: /dev/mmcblk0 model: N/A size: 31.3GB
Partition: ID-1: / size: 21G used: 15G (74%) fs: ext4 dev: /dev/mmcblk0p2
ID-2: swap-1 size: 8.88GB used: 0.00GB (0%) fs: swap dev: /dev/mmcblk0p3
Sensors: System Temperatures: cpu: 45.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 198 Uptime: 1:52 Memory: 1778.7/3850.5MB
Client: Shell (bash) inxi: 2.3.23

Here are some references:

https://bbs.archlinux.org/viewtopic.php?id=210415 6
https://forum.manjaro.org/t/asus-e200h- 2 … ed / 14573/5
https://www.forum-des-portables-asus.fr 2 … 0ha.16083 /
https://github.com/Grippentech/Asus-E20 6 … all-Script

PS:

I also followed the procedure:

By downloading the file: chtcx2072x.tar

sudo mkdir / usr / share / alsa / ucm / chtcx2072x /
sudo mv chtcx2072x.conf / usr / share / alsa / ucm / chtcx2072x /
sudo mv HiFi.conf / usr / share / alsa / ucm / chtcx2072x /

I reboot but it has not done anything yet:

I also tested the kernels: 4.9 / 4.10 / 4.11 / 4.12 / 4.14 / 4.17

Actually im on 4.17 Kernel but is same

cordially

Link in english : https://forum.manjaro.org/t/asus-e200ha-no-sound/44205
Link in french : https://www.manjaro.fr/forum/viewtopic.php?f=19&t=8812&hilit=asus
Comment 1 liberodark 2018-07-14 08:55:17 UTC
https://github.com/heikomat/linux/tree/cx2072x/cx2072x_fixes_and_manual

Make audio work on cx2072x devices like the Asus E200HA
TL;DR

If You're on Debian or Ubuntu, run this (at your own risk!!)

wget -qO- https://gist.github.com/heikomat/3fe272431b44b580c933bfb901a92257/raw | bash

General sound setup:

Most of the following information are from these sources:

    Kernel Bug #115531
    Repository with the Fixes for an older kernel
    Asus E200HA fix-script-Repo by Grippentech

This manual is for debain and derivates of it, though it can probably be adapted for any linux system. Debian and Ubuntu users can use the script provided above. Its goal is to do the steps described here:

    Get the Kernel with the cx2072x codec driver and the cx2072x machine driver from releases, or build it yourself (see building the kernel)

    This tells the Linux how to talk to the hardware.

    Install the kernel

    sudo dpkg --install LINUX_IMAGE_DEB_PACKAGE.deb
    sudo dpkg --install LINUX_HEADERS_DEB_PACKAGE.deb

    Have pulseaudio installed

    sudo apt install pulseaudio

    Have firmware-intel-sound (for debian) or linux-firmware (for ubuntu) installed.

    This contains the firmware for intels sst audio device (/lib/firmware/intel/fw_sst_22a8.bin). The firmware is the proprietary software that runs within the chip.

    # debian
    sudo apt install firmware-intel-sound

    # ubuntu
    sudo apt install linux-firmware

    Copy the configuration files for alsa (chtcx2072x.conf and HiFi.conf from the chtcx2072x folder) to /usr/share/alsa/ucm/chtcx2072x (creating the folder first).

    These tell alsa what driver and codec to use, and how to use them

    sudo mkdir --parents /usr/share/alsa/ucm/chtcx2072x
    cd /usr/share/alsa/ucm/chtcx2072x
    sudo wget "https://raw.githubusercontent.com/heikomat/linux/cx2072x/cx2072x_fixes_and_manual/chtcx2072x/HiFi.conf"
    sudo wget "https://raw.githubusercontent.com/heikomat/linux/cx2072x/cx2072x_fixes_and_manual/chtcx2072x/chtcx2072x.conf"

    Set realtime-scheduling = no in /etc/pulse/daemon.conf (see this issue-comment).

    This makes the pulseaudio daemon not die if the audio device is not found instantly

    via script

    sudo sed --in-place --regexp-extended --expression='s/;?\s*realtime-scheduling\s*=\s*(yes|no)/realtime-scheduling = no/g' /etc/pulse/daemon.conf

    by hand
        Make sure you edit the file as root, for example with sudo nano /etc/pulse/daemon.conf
        Change ; realtime-scheduling = yes to realtime-scheduling = no
        make sure you removed the ; at the beginning of the line, this is important!

    Reboot

Possible fixes if audio is still not working:

    Remove possibly existing user-pulse-config with rm -rf ~/.config/pulse/*
    Set pulseaudios default device:
        Check wich index your non-hdmi audio device has with pactl list short sinks
        pacmd set-default-sink 1 (replacing the 1 with the audio-device-index)

Getting a detailed pulseaudio log, for when debugging is necessary

    Enable debug-messages for pulseaudio by editing /etc/pulse/daemon.conf
        Make sure you edit the file as root, for example with sudo nano /etc/pulse/daemon.conf
        Change ; log-level = notice to log-level = debug
        make sure you removed the ; at the beginning of the line, this is important!
    Reboot
    Put a log on the Desktop with

    sudo cat /var/log/syslog | grep 'intel\|cx2072x\|pulse\|alsa\|cht\|error' > ~/Desktop/pulselog.txt

    Give use the pulselog.txt you now have on your Desktop
Comment 2 howerkraft 2018-07-30 18:52:55 UTC
I think this is a duplicate of https://bugzilla.kernel.org/show_bug.cgi?id=115531

Note You need to log in before you can comment on or make changes to this bug.