Bug 200491
Summary: | No sound on Asus E200HA | ||
---|---|---|---|
Product: | Drivers | Reporter: | liberodark (bill.666) |
Component: | Sound(ALSA) | Assignee: | Jaroslav Kysela (perex) |
Status: | NEW --- | ||
Severity: | normal | CC: | howerkraft |
Priority: | P1 | ||
Hardware: | Intel | ||
OS: | Linux | ||
Kernel Version: | 4.17 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
liberodark
2018-07-14 07:57:53 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 I think this is a duplicate of https://bugzilla.kernel.org/show_bug.cgi?id=115531 |