No sound on Asus e200ha, intel sst with cx2072x codec

Bug #1563110 reported by Gianmaria Scorza
310
This bug affects 56 people
Affects Status Importance Assigned to Milestone
ALSA driver
Fix Released
Unknown
alsa-driver (Ubuntu)
Fix Released
High
Unassigned
linux (Ubuntu)
Fix Released
High
Unassigned

Bug Description

I've recently bought an Asus e200ha.
Sound in this laptop doesn't work.
The sound card is an intel sst with codec conexant cx2072x

aplay -l:
aplay: device_list:268: no soundcard found...
in the sound setting there is a "Dummy output"
---
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CurrentDesktop: XFCE
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=7b77dc46-7d5b-4869-83dd-739980736c3a
InstallationDate: Installed on 2016-03-28 (0 days ago)
InstallationMedia: Linux Mint 17.3 "Rosa" - Release amd64 20160105
Lsusb:
 Bus 002 Device 002: ID 0781:5583 SanDisk Corp.
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 13d3:3496 IMC Networks
 Bus 001 Device 002: ID 04f2:b54b Chicony Electronics Co., Ltd
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: ASUSTeK COMPUTER INC. E200HA
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-32-generic root=UUID=50fb13c0-a8cd-441d-a38b-c0295c1b9a15 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.19.0-32.37~14.04.1-generic 3.19.8-ckt7
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-32-generic N/A
 linux-backports-modules-3.19.0-32-generic N/A
 linux-firmware 1.127.16
Tags: rosa
Uname: Linux 3.19.0-32-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 11/26/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: E200HA.203
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: E200HA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: ATN12345678901234567
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrE200HA.203:bd11/26/2015:svnASUSTeKCOMPUTERINC.:pnE200HA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnE200HA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: E200HA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

affects: launchpad → ubuntu
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1563110

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Gianmaria Scorza (scogiam95) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected rosa
description: updated
Revision history for this message
Gianmaria Scorza (scogiam95) wrote : BootDmesg.txt

apport information

Revision history for this message
Gianmaria Scorza (scogiam95) wrote : CRDA.txt

apport information

Revision history for this message
Gianmaria Scorza (scogiam95) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Gianmaria Scorza (scogiam95) wrote : IwConfig.txt

apport information

Revision history for this message
Gianmaria Scorza (scogiam95) wrote : Lspci.txt

apport information

Revision history for this message
Gianmaria Scorza (scogiam95) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Gianmaria Scorza (scogiam95) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Gianmaria Scorza (scogiam95) wrote : ProcModules.txt

apport information

Revision history for this message
Gianmaria Scorza (scogiam95) wrote : PulseList.txt

apport information

Revision history for this message
Gianmaria Scorza (scogiam95) wrote : RfKill.txt

apport information

Revision history for this message
Gianmaria Scorza (scogiam95) wrote : UdevDb.txt

apport information

Revision history for this message
Gianmaria Scorza (scogiam95) wrote : UdevLog.txt

apport information

Revision history for this message
Gianmaria Scorza (scogiam95) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
Raymond (superquad-vortex2) wrote :
Changed in alsa-driver (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Gianmaria Scorza (scogiam95) wrote :

The sst platform in use is the SND_SOC_INTEL_CHT_BSW, but there isn't a module compatible with the Conexant cx2072x codec

Changed in alsa-driver (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Gianmaria Scorza (scogiam95) wrote :

The sound card in this laptop is the Intel sst cherry trail, the codec is the cx2072x

Revision history for this message
Raymond (superquad-vortex2) wrote :
Revision history for this message
Gianmaria Scorza (scogiam95) wrote :

I had already seen that patch, but unfortunately is for intel HD audio (hda) not for intel sst. in sound/soc/codec is missing the codec cx2072x:
https://github.com/torvalds/linux/tree/master/sound/soc/codecs

in sound /soc/intel/boards there are only cht_bsw_max98090_ti.c, cht_bsw_rt5645.c, cht_bsw_rt5672.c, is missing an eventual cht_bsw_cx2072x.c:
https://github.com/torvalds/linux/tree/master/sound/soc/intel/boards

Revision history for this message
Raymond (superquad-vortex2) wrote :
Revision history for this message
Gianmaria Scorza (scogiam95) wrote :

dmesg say :
[ 12.270548] intel_sst_acpi 808622A8:00: No matching machine driver found

there is 0x808622a8, but there isn't a driver for it

Revision history for this message
Gianmaria Scorza (scogiam95) wrote :

This is a tree of module on the latest kernel on my pc

/lib/modules/4.6.0-040600rc1-generic/kernel/sound/soc/intel $ tree
.
├── atom
│   ├── snd-soc-sst-mfld-platform.ko
│   └── sst
│   ├── snd-intel-sst-acpi.ko
│   ├── snd-intel-sst-core.ko
│   └── snd-intel-sst-pci.ko
├── boards
│   ├── snd-soc-skl_rt286.ko
│   ├── snd-soc-sst-bytcr-rt5640.ko
│   ├── snd-soc-sst-cht-bsw-max98090_ti.ko
│   ├── snd-soc-sst-cht-bsw-rt5645.ko
│   └── snd-soc-sst-cht-bsw-rt5672.ko
├── common
│   ├── snd-soc-sst-acpi.ko
│   ├── snd-soc-sst-dsp.ko
│   ├── snd-soc-sst-ipc.ko
│   └── snd-soc-sst-match.ko
└── skylake
    ├── snd-soc-skl-ipc.ko
    └── snd-soc-skl.ko

5 directories, 15 files

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
In , scogiam95 (scogiam95-linux-kernel-bugs) wrote :

I've recently bought an Asus e200ha.
Sound in this laptop doesn't work.
The sound card is an intel sst with codec conexant cx2072x

aplay -l:
aplay: device_list:268: no soundcard found...
in the sound setting there is a "Dummy output"

dmesg say :
[ 12.270548] intel_sst_acpi 808622A8:00: No matching machine driver found

Revision history for this message
In , pierre-louis.bossart (pierre-louis.bossart-linux-kernel-bugs) wrote :

can you please share the DSDT table to help dig deeper?
see https://01.org/linux-acpi/documentation/overriding-dsdt for pointers

It's not clear if there is a driver for this codec and clearly the intel drivers don't know which HID they should look for.

Revision history for this message
In , scogiam95 (scogiam95-linux-kernel-bugs) wrote :

Created attachment 211121
DSDT table of asus e200ha

Revision history for this message
In , pierre-louis.bossart (pierre-louis.bossart-linux-kernel-bugs) wrote :

You have 2 devices listed in the BIOS under I2C2:
Name (_HID, "14F10720") : connexant
Name (_HID, "10EC5648") : realtek

Can you look at /sys/bus/acpi/devices/<HID>:<xx>/status to see which one is actually activated? if the value of status is not 0xf the device is not used

Revision history for this message
In , scogiam95 (scogiam95-linux-kernel-bugs) wrote :

giamma1295@Power-Netbook / $ cat /sys/bus/acpi/devices/14F10720\:00/status 15

giamma1295@Power-Netbook / $ cat /sys/bus/acpi/devices/10EC5648\:00/status 0

is used the conexant

Revision history for this message
In , pierre-louis.bossart (pierre-louis.bossart-linux-kernel-bugs) wrote :

thanks for confirming. to the best of my knowledge there is no codec driver for this device in the mainline kernel. it's complicated enough when we have codec drivers, this may take a while to get support for this platform unfortunately.

Revision history for this message
In , scogiam95 (scogiam95-linux-kernel-bugs) wrote :

Created attachment 211141
Found windows driver of this codec

I do not know if it helps, but I found the inf of the codec driver for windows

Revision history for this message
Gianmaria Scorza (scogiam95) wrote :

Any news about this bug?

Revision history for this message
vittorio (vittoriourbani) wrote :

hi gianmaria, are you italian? if so ciao hai il mio stesso problema, io con pavilion x2 10n105nl con atom z8300!
your trouble is mine too, i also tried kernel 4.4 4.5 4.6 and ubuntu mate 16.04 but no any improvements. let's hope a kernel patch or a new kernel release to fix it.
my spec: hp pavilion x2 10n105nl, atom z8300 on board.

Revision history for this message
Gianmaria Scorza (scogiam95) wrote :

hi vittorio! Si sono italiano!
Purtroppo da quanto mi ha detto uno sviluppatore ASoC manca proprio il driver per questo codec, il supporto non arriverà tanto presto, se mai arriverà.
Dato che ero in tempo ho fatto il reso su amazon, meno male!
English translation: An ASoC develor said that is missing the driver for this chipset, this may take a while to get support for this platform unfortunately.
I sent back the pc to Amazon,I was fortunately in time to do it!

Revision history for this message
vittorio (vittoriourbani) wrote :

brutta notizia, son costretto a tornare su windows..grazie della risposta e buona giornata.
thanks for reply, i'm forced to go back on windows..

Revision history for this message
Dani (danimixsenses) wrote :

anything new on this? =(

Revision history for this message
vittorio (vittoriourbani) wrote :

any good news. I tried to recompile dsdt table, to enable snd_hda_intel and snd_hda_codecs_conexant disabling intel_sst: no improvements, also restoring alsactl.
my workaround was..buying a bluetooth mini speakers..
..hoping for hotfixes.
What a pity!

Revision history for this message
Rubens (rubensdeveloper) wrote :

Any news? Arghh, I've bought it few weeks ago and the first thing I did was install Ubuntu 14.04. No wifi, no sound, no "touchpad" and no card reader, but the rest is working flawless. I am a web developer and I found this little thing awesome for continue my work at home. I got the wifi working now and for the sound I'm using a bluetooth headset device, but it hasn't got much sound quality... I hope they find a solution for the audio at least.....

Revision history for this message
vittorio (vittoriourbani) wrote :

hi rubens, for your touchpad issue: what kernel have you? ('uname -a' comand in terminal). Some have resolved by updating the kernel to xenial-release one.

Revision history for this message
Rubens (rubensdeveloper) wrote :

Hi Vittorio, the touchpad is working, but not the gestures. Sorry for the misunderstanding :-).

Revision history for this message
Rubens (rubensdeveloper) wrote :

Any news on this? I miss the terminal so much :S:S:S....

Revision history for this message
Barry (b-kooij) wrote :

Any update on this? I'd love the get the touchpad working properly.

Revision history for this message
Ștefănescu Cristian (howerkraft) wrote :
Download full text (3.4 KiB)

Hello,

The touchpad is working fine with 4.4.0-23-generic, but the sound problem
persists.

On Mon, Jun 6, 2016 at 4:16 PM, Barry <email address hidden> wrote:

> Any update on this? I'd love the get the touchpad working properly.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1563110
>
> Title:
> No sound on Asus e200ha, intel sst with cx2072x codec
>
> Status in ALSA driver:
> Unknown
> Status in alsa-driver package in Ubuntu:
> Confirmed
> Status in linux package in Ubuntu:
> Confirmed
>
> Bug description:
> I've recently bought an Asus e200ha.
> Sound in this laptop doesn't work.
> The sound card is an intel sst with codec conexant cx2072x
>
> aplay -l:
> aplay: device_list:268: no soundcard found...
> in the sound setting there is a "Dummy output"
> ---
> ApportVersion: 2.14.1-0ubuntu3.19
> Architecture: amd64
> AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq',
> '/dev/snd/timer'] failed with exit code 1:
> CurrentDesktop: XFCE
> DistroRelease: Ubuntu 14.04
> HibernationDevice: RESUME=UUID=7b77dc46-7d5b-4869-83dd-739980736c3a
> InstallationDate: Installed on 2016-03-28 (0 days ago)
> InstallationMedia: Linux Mint 17.3 "Rosa" - Release amd64 20160105
> Lsusb:
> Bus 002 Device 002: ID 0781:5583 SanDisk Corp.
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 003: ID 13d3:3496 IMC Networks
> Bus 001 Device 002: ID 04f2:b54b Chicony Electronics Co., Ltd
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> MachineType: ASUSTeK COMPUTER INC. E200HA
> Package: linux (not installed)
> ProcEnviron:
> TERM=xterm
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=it_IT.UTF-8
> SHELL=/bin/bash
> ProcFB: 0 inteldrmfb
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-32-generic
> root=UUID=50fb13c0-a8cd-441d-a38b-c0295c1b9a15 ro quiet splash vt.handoff=7
> ProcVersionSignature: Ubuntu 3.19.0-32.37~14.04.1-generic 3.19.8-ckt7
> RelatedPackageVersions:
> linux-restricted-modules-3.19.0-32-generic N/A
> linux-backports-modules-3.19.0-32-generic N/A
> linux-firmware 1.127.16
> Tags: rosa
> Uname: Linux 3.19.0-32-generic x86_64
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
> _MarkForUpload: True
> dmi.bios.date: 11/26/2015
> dmi.bios.vendor: American Megatrends Inc.
> dmi.bios.version: E200HA.203
> dmi.board.asset.tag: ATN12345678901234567
> dmi.board.name: E200HA
> dmi.board.vendor: ASUSTeK COMPUTER INC.
> dmi.board.version: 1.0
> dmi.chassis.asset.tag: ATN12345678901234567
> dmi.chassis.type: 10
> dmi.chassis.vendor: ASUSTeK COMPUTER INC.
> dmi.chassis.version: 1.0
> dmi.modalias:
> dmi:bvnAmericanMegatrendsInc.:bvrE200HA.203:bd11/26/2015:svnASUSTeKCOMPUTERINC.:pnE200HA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnE200HA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
> dmi.product.name: E200HA
> dmi.product.version: 1.0
> dmi.sys.vendor: ASUSTeK COMPUTER INC.
>
> To manage notifications abo...

Read more...

Revision history for this message
vittorio (vittoriourbani) wrote :

not yet working issues: audio, integrated camera, microsd card reader, battery recognizing; with kernel 4.6 and 4.7rc1 also.

Revision history for this message
carlix (carlixlinux) wrote :

Same problem with Acer Aspire Switch 10 "intel sst audio device (wdm)"

Revision history for this message
cmmndrkn (tihomir-tsvetcov) wrote :

I just got my E200HA and faced these problems. Does anyone found a solution for the sound and the card reader already?

Revision history for this message
Jose Luis (xoserabade) wrote :

I think for this device was the same problem because they have the same Intel Atom processor Z8300. Here they solved the problem, I don't know if this solution can be ported for ASUS Vivobook E200AH.
http://forum.kodi.tv/showthread.php?tid=261371&page=3

Regards.

Revision history for this message
In , xose.rabade (xose.rabade-linux-kernel-bugs) wrote :

I think here this people solve the same problem but I don't know how to do it:
http://forum.kodi.tv/showthread.php?tid=261371&page=4

Regards.

Revision history for this message
Jose Luis (xoserabade) wrote :
Revision history for this message
Etienne Van Bogaert (r-etienne) wrote :

Jose Luis, that's the HDA driver for the same codecs, AFAIK these don't port to the sst driver for socs.

Revision history for this message
vittorio (vittoriourbani) wrote :

missing asus support to linux, maybe it always will..
by the time I'm using bluetooth speakers.

Revision history for this message
In , russianneuromancer (russianneuromancer-linux-kernel-bugs) wrote :

No, this thread about HDMI audio.

Revision history for this message
In , thomasnak (thomasnak-linux-kernel-bugs) wrote :

I have this same device. Anything I can do to help?

It's a really nice little on-the-road laptop, so I'll still use it even without sound, but it would be the perfect lightweight cheap machine if it had working sound.

Revision history for this message
ThomasN (thomasn-35) wrote :

There are Android tablets available using these same SoC's. Any chance there's a driver to be found there?

Revision history for this message
In , thomasnak (thomasnak-linux-kernel-bugs) wrote :

There are Android tablets available using these same SoC's. Any chance there's a driver to be found there?

Revision history for this message
In , gav (gav-linux-kernel-bugs) wrote :

I can confirm that I am also experiencing the same problem with my ASUS E200HA Laptop.

dmesg reports:
[ 6.822519] intel_sst_acpi 808622A8:00: No matching machine driver found

This results in no audio being available. I understand from the above thread that this is due to a missing codec for the Conexant cx2072x.

It would be great to get support for this in the kernel. This is the only device on my laptop that is missing support.

Can I do anything further to help? Should I provide further information here, if so please do let me know.

Thanks in advance!

Revision history for this message
Gavin Dandridge (gav) wrote :

I am also experiencing the same problem with my ASUS E200HA Laptop.

dmesg reports:
[ 6.822519] intel_sst_acpi 808622A8:00: No matching machine driver found

This results in no audio being available. I understand that this is due to a missing codec for the Conexant cx2072x.

It would be great to get support for this device as it is the only hardware that is not working on this laptop.

Can I do anything further to help? Should I provide further information here, if so please do let me know.

Revision history for this message
Canale Grande (canalegrande) wrote :

Same here. Fn keys show functionality for sound (F10, F11, F12) but no sound at all
aplay -l
aplay: device_list:268 keine Klangkarten gefunden ... (no soundcards found)

Revision history for this message
In , heliotrop (heliotrop-linux-kernel-bugs) wrote :

Same here.
FN-keys F10, F11, F12 show audio functionality but the audio device is not found

Revision history for this message
In , heliotrop (heliotrop-linux-kernel-bugs) wrote :

(In reply to Heliotrop from comment #12)
> Same here.
> FN-keys F10, F11, F12 show audio functionality but the audio device is not
> found

Don't know if it helps but there is a Windows 10 audio driver:
http://www.asus.com/Notebooks/ASUS-Vivobook-E200HA/HelpDesk_Download/

called Audio_Conexant_Win10_64_VER162058.zip It contains 11 files called

cx2072x.cat
cx2072x.inf
cx2072x.sys
CXAPOAgent64.exe
inst_sa3.ini
SA3.cab
Setup.bat
Setup.exe
UCI64A101.dll
UIUs.exe
WdfCoinstaller01011.dll

Is there a way to make use of this?

Revision history for this message
Gavin Dandridge (gav) wrote :

There is a patch that seems to reference the device id of intel sst audio delive in the Asus e200ha.

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/soc/intel?id=bd01fdc3aa63b7ba0b035f9196d80551ad03f5d4

If i execute dmesg I can see:
[ 6.822519] intel_sst_acpi 808622A8:00: No matching machine driver found

id 808622A8 seems to be handled by this patch?

Revision history for this message
Luke Yelavich (themuso) wrote :

You could try updating the drivers, as outlined here: https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS.

Revision history for this message
Gavin Dandridge (gav) wrote :

Thanks Luke! I followed your suggestion but sadly the kernel still reports:

[ 6.822519] intel_sst_acpi 808622A8:00: No matching machine driver found

But thanks anyway, I really appreciate your help.

Revision history for this message
Gavin Dandridge (gav) wrote :

POST EDIT:

An edit to my post #48 as I made a typo, delive = device

Revision history for this message
In , gav (gav-linux-kernel-bugs) wrote :

There is a patch that seems to reference the device id of the intel sst audio found in the Asus e200ha.

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/soc/intel?id=bd01fdc3aa63b7ba0b035f9196d80551ad03f5d4

If i execute dmesg I can see:
[ 6.822519] intel_sst_acpi 808622A8:00: No matching machine driver found ...

... and id 808622A8 seems to be handled by this patch?

Revision history for this message
Alexander (sabotaged) wrote :

The same issue with asus r209h.
aplay: device_list:268: no soundcards found...

Revision history for this message
Jimmy (jimmypb) wrote :

Anything new on this?
I've read somewhere (don't remember where :D) that bugs like this won't be fixed 'til Kernel 4.10.

Revision history for this message
Alessio (becksa) wrote :

Seriously? :D
It would be a great thing!

Revision history for this message
vittorio (vittoriourbani) wrote :

I tried the 4.8 rc1 kernel with fedora 25 beta2 and no improvement. I'll expect for 4.8 stable kernel in a few days...

Revision history for this message
vittorio (vittoriourbani) wrote :

with ubuntu mate 16.10 and 4.8.0 kernel no improvement, too.

Revision history for this message
In , jeremiah.summers (jeremiah.summers-linux-kernel-bugs) wrote :

Multiple Cherry Trail based devices have need this codec for sound to work at all.

So far I know of 3.
1. ASUS A200HA
2. ASUS T100HA
3. HP Pavilion X2 10-N109

I am sure there is more, or at least will be more. These little Cherry Trail latops though poorly supported hardware. Make great little Linux Laptops. It would be great if we could get them to work. What more would be needed to help? Thanks

Revision history for this message
Hayashi (synzl) wrote : apport information

ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CurrentDesktop: Unity
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=66d8ee84-0b79-48ab-9985-b0fc747a8a8a
InstallationDate: Installed on 2016-11-06 (0 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 13d3:3496 IMC Networks
 Bus 001 Device 002: ID 04f2:b54b Chicony Electronics Co., Ltd
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: ASUSTeK COMPUTER INC. E200HA
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=38f20265-ef24-48db-84e7-8615ec9be554 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-31-generic N/A
 linux-backports-modules-4.4.0-31-generic N/A
 linux-firmware 1.157.2
Tags: xenial xenial
Uname: Linux 4.4.0-31-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 11/26/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: E200HA.203
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: E200HA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: ATN12345678901234567
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrE200HA.203:bd11/26/2015:svnASUSTeKCOMPUTERINC.:pnE200HA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnE200HA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: E200HA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

tags: added: xenial
Revision history for this message
Hayashi (synzl) wrote : AlsaInfo.txt

apport information

Revision history for this message
Hayashi (synzl) wrote : CRDA.txt

apport information

Revision history for this message
Hayashi (synzl) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Hayashi (synzl) wrote : IwConfig.txt

apport information

Revision history for this message
Hayashi (synzl) wrote : JournalErrors.txt

apport information

Revision history for this message
Hayashi (synzl) wrote : Lspci.txt

apport information

Revision history for this message
Hayashi (synzl) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Hayashi (synzl) wrote : ProcEnviron.txt

apport information

Revision history for this message
Hayashi (synzl) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Hayashi (synzl) wrote : ProcModules.txt

apport information

Revision history for this message
Hayashi (synzl) wrote : PulseList.txt

apport information

Revision history for this message
Hayashi (synzl) wrote : RfKill.txt

apport information

Revision history for this message
Hayashi (synzl) wrote : UdevDb.txt

apport information

Revision history for this message
Hayashi (synzl) wrote : WifiSyslog.txt

apport information

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Since this affects all audio, and not only a specific output, I think this bug should have a higher importance.

Changed in linux (Ubuntu):
importance: Medium → High
Changed in alsa-driver (Ubuntu):
importance: Undecided → High
Revision history for this message
Caitlyn Martin (caitlynmmartin) wrote :

The problem also exists on an HP x2 Detachable 10-p010nr. I am running Yakkety with the latest linuxium (Ian Morrison) patched kernel for the Cherry Trail SODC: 4.8.0-26-linuxium HDMI audio does work, but using the internal speakers, headphones, etc... does not.

Revision history for this message
In , caitlynmmartin (caitlynmmartin-linux-kernel-bugs) wrote :

I can confirm that the HP x2 Detachable 10-p010nr is also affected. No sound output device is recognized using a 4.8.0 kernel. I'm running Ubuntu and the build I am using is Ian Morrison's (linuxium) patched for the Cherry Trail SOC. I also see the following in dmesg:

[ 5.432616] intel_sst_acpi 808622A8:00: No matching machine driver found ...

same device id gav*flydando referenced back in September.

Revision history for this message
In , combeynot (combeynot-linux-kernel-bugs) wrote :

HP Pro 608 G1 is also affected. (Cherry trail tablet)
Same conexant codec on intel sst is missing.

Revision history for this message
In , reghe (reghe-linux-kernel-bugs) wrote :

Affects also ASUS X206HA. No sound card detected.

Revision history for this message
jagdtigger (gearsofwarhu) wrote :

I have an HP x2 210 detachable, the problem is still there with the 4.8.12-040812-generic kernel :/ (im running kubuntu).

Revision history for this message
In , pierre-louis.bossart (pierre-louis.bossart-linux-kernel-bugs) wrote :

(In reply to Jeremiah from comment #15)
> Multiple Cherry Trail based devices have need this codec for sound to work
> at all.
>
> So far I know of 3.
> 1. ASUS A200HA
> 2. ASUS T100HA
> 3. HP Pavilion X2 10-N109

T100HA does not use this codec, I have one and it uses the ALC3270 which is compatible with RT5645.

Revision history for this message
luca (prtlcu) wrote :

apport information

Revision history for this message
luca (prtlcu) wrote :

è possibile che verrà risolto questo bug o no?. chi si può contattare?

Revision history for this message
luca (prtlcu) wrote :

it is possible that this bug will be fixed or not ?. Who can you contact?

Revision history for this message
jagdtigger (gearsofwarhu) wrote :

Who knows, the detachable tablet thingy i have has another issue beside this, it has a micros SD slot but for some reason kubuntu wont read any card i put in it. Just throws out some error in dmesg. I submitted a bug report but that was a month ago(plus it was sitting on the forums for a very long time until i had enough and submitted the bug report) and there is still no solution for it :/ ...

Revision history for this message
In , pierre-louis.bossart (pierre-louis.bossart-linux-kernel-bugs) wrote :

Simon Ho from Conexant released a first codec driver on the ALSA mailing list today. Expect an update soonish and a follow-up machine driver soon from Intel.
Merry Xmas.

Revision history for this message
Caitlyn Martin (caitlynmmartin) wrote :

Pierre Bossart posted the following to the kernel Bugzilla bug tracker today:

"Simon Ho from Conexant released a first codec driver on the ALSA mailing list today. Expect an update soonish and a follow-up machine driver soon from Intel.
Merry Xmas."

Revision history for this message
luca (prtlcu) wrote :

hopefully really soon, I can not wait

Revision history for this message
In , gav (gav-linux-kernel-bugs) wrote :

That's amazing news. Merry Xmas indeed!

Thank you for the update Pierre, it's most appreciated.

Revision history for this message
Mohamed A. (demonftillusioon) wrote :

I updated to 4.9.0 kernel. Bug still persisting.

Revision history for this message
In , combeynot (combeynot-linux-kernel-bugs) wrote :

Yes, that's really great, thanks a lot for this work !

A few days ago, someone published some of your preliminary work here:
https://github.com/openlab-aux/vuizvui/blob/master/modules/hardware/t100ha/sound.patch

I made some little try on android x86 with k4.9.
Card detected without problem but of course no sound, as I need asound.state file. Anyway i suppose it's at a very early stage and it's better to wait...

Thanks again !

Joyeux Noël !

Revision history for this message
In , jiapulidoar (jiapulidoar-linux-kernel-bugs) wrote :

That's really awesome! Also, The ASUS HID devices' problem with touch pad has been fixed by Victor Vlasenko and his ASUS HID DKMS driver, more info here:

https://github.com/vlasenko/hid-asus-dkms

I proved it, and I'm using it. It works really good on my e200ha Asus.

The Cherry Trail based devices are really great running GNU/Linux. And now they'll be the best cheap and portable devices that can run Linux !

Thanks all of you!!

¡¡Gracias a todos!!

Revision history for this message
In , xose.rabade (xose.rabade-linux-kernel-bugs) wrote :

Is it working with multitouch?

Revision history for this message
In , jiapulidoar (jiapulidoar-linux-kernel-bugs) wrote :

Yes, it is working with multitouch. 2,3,4... fingers.

Revision history for this message
Rubens (rubensdeveloper) wrote :

Good news, everyone!

With this script, you'll get the trackpad gestures and sleep/hibernation working :-).

https://github.com/Grippentech/Asus-E200HA-Linux-Post-Install-Script

Hope we get news about the sound soon.

Revision history for this message
In , v (v-linux-kernel-bugs) wrote :

The 4.10-rc3 kernel has support for the touchpad.

Revision history for this message
laurent (ganesa) wrote :

I am also interested in any news about the sound.

Revision history for this message
In , lcdatti (lcdatti-linux-kernel-bugs) wrote :

Does audio work via headphones?

Revision history for this message
In , pierre-louis.bossart (pierre-louis.bossart-linux-kernel-bugs) wrote :

(In reply to Luca Datti from comment #27)
> Does audio work via headphones?

not yet, still issues with jack detection and routing.

Revision history for this message
In , laurentcharles (laurentcharles-linux-kernel-bugs) wrote :

Hi,

I'm interested in this patch...

(In reply to combeynot from comment #22)
> Yes, that's really great, thanks a lot for this work !
> A few days ago, someone published some of your preliminary work here:
> https://github.com/openlab-aux/vuizvui/blob/master/modules/hardware/t100ha/
> sound.patch
> (...)

...but I'm not familiar with the way to proceed.

- Is there any kernel delivery including the patch?
- If not, any workaround/alternative?
- I'm planning to use Mint or Ubuntu. Do you know how do I properly compile the kernel with respect to the environment?

Thanks a lot for your help

NB: I am able to compile de kernel. Not expert, but skilled enough to have it running.

-- Laurent

Revision history for this message
In , combeynot (combeynot-linux-kernel-bugs) wrote :

(In reply to Laurent from comment #29)
> Hi,
>
> I'm interested in this patch...
>
Hi Laurent,

I'll reply to you directly by email, in order not to be off topic.
Anyhow, it's probably better to wait as audio routing is not working for the moment...

Combeynot

Revision history for this message
vittorio (vittoriourbani) wrote :

with kernel 4.10-rc3 no audio improvements.

Revision history for this message
In , Franmaxpoke (franmaxpoke-linux-kernel-bugs) wrote :

Hi there,

Do you have any update on the codec driver for conexant cx2072x, please? I'd love to get the sound working on my little Asus x206ha :-)

Revision history for this message
luca (prtlcu) wrote :

any news?

Revision history for this message
elene bh (elene.bh) wrote :

Same problem with my asus E200HA
I've tried Ubuntu both 16.10 and 16.04
Also i've tried Lubuntu ans Xubuntu
No sound

Revision history for this message
In , sournois (sournois-linux-kernel-bugs) wrote :

This is also an issue on my Asus E200HA. I'm running Elementary OS, generic x64 Linux version 4.4.0-62. Eager to know of a solution.

Revision history for this message
In , combeynot (combeynot-linux-kernel-bugs) wrote :

Created attachment 254715
dmesg extract HP608

On HP 608, I can't get latest version (Ubuntu experimental codecs from P.L. Bossart) working. Still have:

Audio Port: ASoC: no backend DAIs enabled for Audio Port

Attached an extract from dmesg
I'm not skilled to go further...

Revision history for this message
In , pierre-louis.bossart (pierre-louis.bossart-linux-kernel-bugs) wrote :

it's on the todo list, Conexant submitted a first version of their driver on alsa-devel and are working on corrections while I also fix stuff on the Intel side. There are still some issues with more common platforms that we want to fix first so it's not my immediate priority and it's not going to land in the kernel before 4.12

Revision history for this message
In , yevgeniy.melnichuk (yevgeniy.melnichuk-linux-kernel-bugs) wrote :

> it's on the todo list
glat to hear that!

> it's not my immediate priority and it's not going to land in the kernel
> before 4.12
that is a pity. Thank you anyway for the effort.

Revision history for this message
In , combeynot (combeynot-linux-kernel-bugs) wrote :

Ok, thanks a lot for the work.

Revision history for this message
In , billehhg1 (billehhg1-linux-kernel-bugs) wrote :

I just stumbles upon this wiki page on how to patch your kernel and make sound work until it can be build into kernel. (or by downloading a package from aur on arch distros) https://aur.archlinux.org/packages/linux-ct/

Revision history for this message
In , billehhg1 (billehhg1-linux-kernel-bugs) wrote :

I just stumbled upon this wiki page on how to patch your kernel and make sound work until it can be build into kernel. (or by downloading a package from aur on arch distros) https://aur.archlinux.org/packages/linux-ct/

Revision history for this message
In , combeynot (combeynot-linux-kernel-bugs) wrote :

(In reply to billehhg1 from comment #38)
> I just stumbled upon this wiki page on how to patch your kernel and make
> sound work until it can be build into kernel. (or by downloading a package
> from aur on arch distros) https://aur.archlinux.org/packages/linux-ct/

This seems to be HDMI sound. USB or Bluetooth sound already works too. Most of our devices are compact (tablet/laptop) so we really need internal asoc sound...

Revision history for this message
In , billehhg1 (billehhg1-linux-kernel-bugs) wrote :

Aha. I am a complete newb to linux and completely missed that... Mine is also a tablet/laptop and I was trying to figure out why even after that patch it still didn't work... I guess that explains it

Revision history for this message
In , tiwai (tiwai-linux-kernel-bugs) wrote :

I got an ASUS E200H now, and played a bit. With Simon's two patches and Pierre's two SST patches, and with two MCLK patches -- now I could hear and record. Not a bad start :)

However, the audio quality is bad: it plays almost only from the left channel, and at the end of playback it gradually to the right. Also a lot of crackling noise, especially at recording. Pierre, do you have any hint?
I'm looking at the clocking stuff, and CX codec driver looks a bit different from others...

Another issue is that a loud pop noise at the start of the playback. I'm not sure whether it's the same problem as the above, or a different issue.

And, a good news is: I hacked quickly the jack detection, and it seems working. The only problem with the jack detection is that PA doesn't mute the speaker when I boot with the headphone plugged. The ALSA jack element shows the correct value, so I suppose it rather a PA issue with UCM.

Revision history for this message
In , tiwai (tiwai-linux-kernel-bugs) wrote :

I put my test branch to topic/asus-e100h-4.10 of sound git tree.
  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
It's based on v4.10.

There you can find a few more fixes:

ef88a22f6f56132275f437df06e9c1532104ba31
    ASoC: cx2072x: Fix printf int argument

0868279a1361676bd99a17dd11a1aa6005a86643
    ASoC: cx2072x: Fix unexpected error code at no MCLK fallback

f3fa30fa2615c7fd2d3e4650f6b378d70b15e797
    ASoC: intel: Don't print FW version repeatedly

aee0489bfd9622543fa9cea95d29df174df9e8bf
    ASoC: intel: Fix kconfig dependency

97539f56e8c917c8b50004bb27159a80722a9469
    ASoC: intel: Add headset jack support to cht-cx2072x

... and another bonus for E200H(A) user :)

c86c0067e6111324a39f523c250c8b1089b1d822
    HID: asus: Add missing Fn key maps on ASUS E200H

Revision history for this message
In , tiwai (tiwai-linux-kernel-bugs) wrote :

Created attachment 254903
UCM config files

Extract this under /usr/share/alsa/ucm/chtcx2072x/ directory.

Revision history for this message
Youssef ESSOUBHY (youssef08) wrote :

The Same problem with my new asus E200HA, no sound and sdcard not working.
I saw that this bug is confirmed since 2016-03-29 but still not resolved.
the investigation is still in progress?

Revision history for this message
In , tiwai (tiwai-linux-kernel-bugs) wrote :

I change the branch management a bit. From now on,

- topic/soc-cx2072x branch contains the ASoC codecs and SST patches.
- topic/clk-cherrytrail branch contains two MCLK patches the CX codec requires.
- topic/i2c-cherrytrail branch contains the patches for i2c designware, required for Cherrytrail-based machines.

And,
- topic/asus-e100h-4.10 branch merges the changes from various branches.

Revision history for this message
In , pierre-louis.bossart (pierre-louis.bossart-linux-kernel-bugs) wrote :

Nice work Takashi.
I see that you took the machine driver from my experimental/codecs branch, which controls the mclk as in all previous cases.
From email discussions with Simon Ho, it appears problematic, Simon wanted to control the clock from his codec driver based on the codec state, not the stream state and that's the reason why I recently submitted the patch to create an "mclk" alias. This disconnect is likely the reason for the quality issue.
While I think of it, the codec driver may need to set the mclk rate as well, if we want to reuse the machine driver on baytrail platforms then it has to be explicitly configured to 19.2MHz (default is 25).

Revision history for this message
Arcan Andrei (arcanandrei) wrote :

Just made an account to post here. The fact that this bug is known for ALMOST a year irritates me the most, I can't enjoy ubuntu or any linux distribution in my E200HA.

On-topic: Some guy announced on other forum that they work at this bug but it's not prioritized and it will be fixed in kernel 4.12, not before, that's sad. I can't find the link to the forum anymore, I think they deleted it..

Revision history for this message
vittorio (vittoriourbani) wrote :

what a sin! i sell the laptop.

Revision history for this message
Juan Jesús García de Soria (skandalfo) wrote :

For people "irritated", please take into account that there's no point in complaining here at the moment.

There's a driver for this particular hardware in the making from people associated to Conexant. Patches were posted to the alsa devel mailing list on December 2016:

http://mailman.alsa-project.org/pipermail/alsa-devel/2016-December/115899.html

Unfortunately reviews of the code brought up a number of issues and it looks like there's been little visible progress since then.

If/when this makes it to the kernel/alsa upstream, Ubuntu will eventually pick it up.

But when no driver is available at all, there's no point in blaming Ubuntu. There's no way they'll be able to dedicate developers to write drivers for every random piece of hardware that's thrown at the PC market. Particularly if detailed hardware technical manuals are not published by the vendor.

Hint: Complaining won't help the developer at Conexant either.

Revision history for this message
In , combeynot (combeynot-linux-kernel-bugs) wrote :

Thanks a lot Pierre and Takashi.
Tested topic/asus-e100h-4.10 today on HP608

Got saturated sound on the tablet speakers. But I didn't test a lot on tablet speakers...

On headphones, got good sound on left speaker and very noisy on right speaker.
I had to lower a lot "codec_out0 Gain 0" from 25 to 2 or 3 to have some even better sound. But right speaker is always louder. And I still have some white noise on both speakers.

Thanks again.

Revision history for this message
In , tiwai (tiwai-linux-kernel-bugs) wrote :

(In reply to combeynot from comment #46)
> Got saturated sound on the tablet speakers. But I didn't test a lot on
> tablet speakers...
>
> On headphones, got good sound on left speaker and very noisy on right
> speaker.
> I had to lower a lot "codec_out0 Gain 0" from 25 to 2 or 3 to have some even
> better sound. But right speaker is always louder. And I still have some
> white noise on both speakers.

Yeah, these are the very same behavior on my ASUS E200H, too. So you're on the right track :)

Revision history for this message
In , combeynot (combeynot-linux-kernel-bugs) wrote :

Latest codec version and some useful doc here:
https://github.com/Conexant-SW/CX2072X

Revision history for this message
In , tiwai (tiwai-linux-kernel-bugs) wrote :

(In reply to combeynot from comment #48)
> Latest codec version and some useful doc here:
> https://github.com/Conexant-SW/CX2072X

Thanks, I took a look at it and compared the source, but there is no significant part. I modified the code to follow to this one, but it's still failing.

Revision history for this message
In , billehhg1 (billehhg1-linux-kernel-bugs) wrote :

Thank you so much for putting this together. I am so excited to get sound on my laptop. Unfortunately I'm in a bit over my head. I have been attempting to install the patch using Arch Build System using various Arch-Wiki entries but feel I am floundering. Is there any tutorial you could point to that explains how to incorporate your patch and set up the kernel or is there any way you could give a step by step? Thank you so much for any help anyone can offer.

Revision history for this message
In , js (js-linux-kernel-bugs) wrote :

@Takashi: Thanks for working on it, I tried topic/asus-e100h-4.10
on Asus E200HA:
- firmware load fails when driver is built-in,
  need to set CONFIG_SND_SOC=m to get CONFIG_SND_SOC_INTEL_SST=m
  so it is loaded after / is mounted
- looks good in /proc/asound
- tried to play a wav file with aplay and an mp3 with mpg321
  and both failed
- alsamixer looks pretty confusing to me (many controls, but
  only two are visible in one screen so lots of scrolling needed)

some dmesg FWIW:

[ 28.308150] intel_sst_acpi 808622A8:00: LPE base: 0x91000000 size:0x200000
[ 28.308153] intel_sst_acpi 808622A8:00: IRAM base: 0x910c0000
[ 28.308200] intel_sst_acpi 808622A8:00: DRAM base: 0x91100000
[ 28.308208] intel_sst_acpi 808622A8:00: SHIM base: 0x91140000
[ 28.308216] intel_sst_acpi 808622A8:00: Mailbox base: 0x91144000
[ 28.308223] intel_sst_acpi 808622A8:00: DDR base: 0x20000000
[ 28.311543] intel_sst_acpi 808622A8:00: Got drv data max stream 25
[ 28.544881] cht-cx2072x cht-cx2072x: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
[ 28.547758] cht-cx2072x cht-cx2072x: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
[ 28.550493] compress asoc: snd-soc-dummy-dai <-> compress-cpu-dai mapping ok
[ 28.553339] cherryview-pinctrl INT33FF:01: request pin 6 (GPIO_DFX_8) for INT33FF:01:403
[ 28.553559] cht-cx2072x cht-cx2072x: cx2072x-hifi <-> ssp2-port mapping ok
[ 28.553743] cx2072x i2c-14F10720:00: ASoC: Failed to create PortG debugfs file
[ 28.553803] cx2072x i2c-14F10720:00: ASoC: Failed to create Playback debugfs file
[ 28.558649] input: chtcx2072x Headset as /devices/pci0000:00/808622A8:00/cht-cx2072x/sound/card0/input9
[ 705.057216] intel_sst_acpi 808622A8:00: FW Version 01.0b.02.02
[ 705.058513] Audio Port: ASoC: no backend DAIs enabled for Audio Port
[ 1065.872750] Audio Port: ASoC: no backend DAIs enabled for Audio Port

Not sure if any of this is useful to you but I just wanted to let you know.

Revision history for this message
Konstantinos Marinopoulos (dinhos) wrote :

i have the same problem with the sound but also my keyboard at my e200ha is not working at all any solution?

Revision history for this message
Juan Jesús García de Soria (skandalfo) wrote :

About problems with the keyboard and/or touchpad, try disabling fast boot in the BIOS, or passing the "i8042.reset" parameter to the kernel command line.

It looks like the fast boot option won't initialize the keyboard controller (http://wiki.osdev.org/%228042%22_PS/2_Controller) into a state that the Linux kernel will be able to use by default.

Revision history for this message
Konstantinos Marinopoulos (dinhos) wrote :

I disable fast boot still nothing...
Can u help me do the other cause im new at linux world??

Revision history for this message
Andrei Aldea (andrei1998) wrote :

Konstantinos what flavor and version of Linux are you using? Ubuntu and derivatives from 16.04 and newer should detect the keyboard by default with no issue.

Audio News: I have e-mailed the developer working on the connexant driver that pertains to the E200HA and he said they are making progress and he will send me some code to test by next week when he returns to the office. I will do my best to update you guys and try to provide some working code if I can.

In the mean-time you can follow this github page where I try to fix as many of the issues on the E200HA as possible, I'm more likely to keep that up to date than this forum.

https://github.com/Grippentech/Asus-E200HA-Linux-Post-Install-Script

Revision history for this message
In , pierre-louis.bossart (pierre-louis.bossart-linux-kernel-bugs) wrote :

to solve the "Audio Port: ASoC: no backend DAIs enabled for Audio Port" issue you need to set the mixers for the Intel DSP, which are unfortunately not set by default. You can take a look at my UCM files at https://github.com/plbossart/UCM and start building one for cx1072, or just use a script such as https://bugzilla.kernel.org/attachment.cgi?id=246651 (only the Intel part matters)

Revision history for this message
Konstantinos Marinopoulos (dinhos) wrote :

I am using ubuntu 16.04.02 i try to reinstall but still keyboard no works :/

Revision history for this message
Juan Jesús García de Soria (skandalfo) wrote :

Konstantinos: Try http://askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter or https://help.ubuntu.com/community/BootOptions#Changing_the_CD.27s_Default_Boot_Options

The actual way to get to the kernel command line (the one looking like "linux /boot/vmlinuz-linux root=UUID=978e3e81-8048-4ae1-8a06-aa727458e8ff quiet splash
") might vary depending on whether you booted in BIOS or UEFI mode.

Revision history for this message
Marcin Net (marcin19883) wrote :

ubuntu 16.10 keyboard working. Not working audio. :(

Revision history for this message
Marcin Net (marcin19883) wrote :

ps. Ubuntu 17.04 audio again not working

Revision history for this message
In , billehhg1 (billehhg1-linux-kernel-bugs) wrote :

(In reply to Takashi Iwai from comment #44)
> - topic/asus-e100h-4.10 branch merges the changes from various branches.

I downloaded this as tarball from https://kernel.googlesource.com/pub/scm/linux/kernel/git/tiwai/sound/+/topic/asus-e100h-4.10 I wasn't entirely sure how to install just one topic from kernel.org. I am not successfully running this on my computer (tried one as is and one with 4.10.1 patched in) and dmesg doesn't list any missing sound firmware however aplay -l still does not detect any sound card.
Sorry to use you guys for what I'm sure is basic stuff but, what am I doing wrong? Should I get the firmware from kernel.org?
Does it not work to directly make firmware and should i instead create patch with diff then install the firmware?

Revision history for this message
In , billehhg1 (billehhg1-linux-kernel-bugs) wrote :

could the problem be that I used a default arch config file?

zcat /proc/config.gz > .config

Revision history for this message
In , js (js-linux-kernel-bugs) wrote :

You certainly need to enable kernel config options related to
INTEL_SST and the CX2072X codec. If your dmesg doesn't have
messages related to sst you failed. The sst firmware should be
in the distribution's linux-firmware package, if not you
can get it here:
https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/intel
You don't mention your hardware platform, for my Asus E200HA
it is fw_sst_22a8.bin.

Revision history for this message
In , billehhg1 (billehhg1-linux-kernel-bugs) wrote :

I am also running Asus E200HA. Thank you, I generated another kernel .config file and enabled all options mentioning INTEL_SST that I saw. CX2072X was not there in the config for but I added a line based on the ones next to it. I am compiling now. Thank you for the help, I am slowly learning

Revision history for this message
In , billehhg1 (billehhg1-linux-kernel-bugs) wrote :

So this time I have compiled the "linux-4.10" firmware from kernel.org. I then patched with this:
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/patch/?id=cdab466510de978221804b65b32ff7a58624186d
I also patched it to 4.10.1
I then changed n to y in .config for all mentions of INTEL_SST.
There was no mention however of CX2072X in .config at all

[ 10.444148] intel_sst_acpi 808622A8:00: LPE base: 0x91000000 size:0x200000
[ 10.444153] intel_sst_acpi 808622A8:00: IRAM base: 0x910c0000
[ 10.444218] intel_sst_acpi 808622A8:00: DRAM base: 0x91100000
[ 10.444227] intel_sst_acpi 808622A8:00: SHIM base: 0x91140000
[ 10.444236] intel_sst_acpi 808622A8:00: Mailbox base: 0x91144000
[ 10.444243] intel_sst_acpi 808622A8:00: DDR base: 0x20000000
[ 10.446790] intel_sst_acpi 808622A8:00: Got drv data max stream 25
[ 10.447113] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 10.447444] lpc_ich 0000:00:1f.0: No MFD cells added
[ 10.447795] proc_thermal 0000:00:0b.0: enabling device (0000 -> 0002)

nor is there one in dmesg
My computer is ASUS E200HA

Revision history for this message
In , js (js-linux-kernel-bugs) wrote :

I'd recommend you use the search function in menuconfig (/ key).
You need
CONFIG_SND_SOC_INTEL_CHT_CX2072X_MACH=m
CONFIG_SND_SOC_CX2072X=m

@Pierre: The reason I tried is Takashi saying "now the audio works
more or less" in Bug 193891, but I guess it is a bit too early
for general consumption so I'll just wait for Takashi to be back,
no need to hurry it.
One question though about the SST controls visible in alsamixer:
From a user perspective, does it make sense to expose these and
require UCM to configure it, wouldn't it be better if e.g.
sound/soc/intel/boards/cht_cx2072x.c would handle the internal
settings and only expose the usual "Master Volume" etc.
(My knowledge about sound/soc is pretty low, obviously.)

Revision history for this message
In , billehhg1 (billehhg1-linux-kernel-bugs) wrote :

Thank you, I have managed to properly generate the config file. I now am detecting my sound card and have all relevant dmesg output.
after running the script that pierre mentioned there is no "no backend DAI" message.
The only difference is I hear no sound even after playing with the alsamixer
I hate to be a nuisance but the problem is so specific I am hardpressed to find any pointers anywhere else

Revision history for this message
Jose Luis (xoserabade) wrote :

konstantinos: in official updates the keyboard stop working after 4.8.22 kernel. It is the latest which works fine in Ubuntu. With kernels 4.9 or newer I know it works in Fedora. You can choose the kernel in grub menu.

Revision history for this message
Jose Luis (xoserabade) wrote :

4.8.0-22 not 4.8.22 Sorry

Revision history for this message
In , combeynot (combeynot-linux-kernel-bugs) wrote :

Hi,

I tested today last topic/asus-e100h-4.10 from Takashi, with bclk_ratio commit from Pierre Louis.
Sound seems to work perfect now ! Perfect on headphones on HP608 (Ubuntu), both right and left ! On my speakers it's a bit low volume, but I'll play with alsamixer, it's a tablet...
Thanks a lot Pierre Louis and Takashi for this work !

Revision history for this message
In , pierre-louis.bossart (pierre-louis.bossart-linux-kernel-bugs) wrote :

nice. If you can create a UCM file it'd be great. Just clone my UCM repository on Github (plbossart) and add the relevant settings and share it back.

Revision history for this message
In , combeynot (combeynot-linux-kernel-bugs) wrote :

May be I spoke too fast. Sound is really perfect on headphones, but on speakers, I can only hear right channel, not left. (Speakers are ok, I could check both right and left on Windows...) Playing with alsamixer makes me able to hear left but then I can't hear right. Quite strange...

Revision history for this message
In , rubensdeveloper (rubensdeveloper-linux-kernel-bugs) wrote :

I have an e200ha and I wonder if you could help me to get the sound working, at least by the headphones. I'm using an audio bluetooth device for now, but it would be nice if I can get the sound working with the headphones.

I'm running the 4.11-rc5 kernel on ubuntu 16.04 and everything is working fine except the audio.

Keep the good work and thank you!

Revision history for this message
In , combeynot (combeynot-linux-kernel-bugs) wrote :

Hi Rubens,

The shortest way could be:

(You should do 1 and 2 on a faster computer because it could take a lot of time on asus e200ha...)

1- Download Takashi's kernel (see Comment 42):
git clone git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git -b topic/asus-e100h-4.10

2- Build this kernel with a cx2072x enabled defconfig:
https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel

3- Install .deb created files on your e200ha (see wiki)

4- Install UCM files from Takashi (see attached in Comment 43) in
/usr/share/alsa/ucm/chtcx2072x/

5- Boot on new kernel and test

Hope it will help.

Revision history for this message
In , rubensdeveloper (rubensdeveloper-linux-kernel-bugs) wrote :

Thank you combeynot ;-). I will try!

Revision history for this message
In , rubensdeveloper (rubensdeveloper-linux-kernel-bugs) wrote :

Awwwww, yes, guys!

Speakers and headphones working! Sound quality is good (in my opinion). Finally I can get rid of the audio bluetooth device! Thank you so much!

The headphone detection is not working, I have to change it manually, but... I can't be more thankful!

Revision history for this message
In , tiwai (tiwai-linux-kernel-bugs) wrote :

FWIW, I updated my branches for 4.10 and 4.11 in topic/asus-e100h-4.10 and topic/asus-e100h-4.11 branches, respectively, based on the latest driver code from Simon (with a few fixes).

(Note that topic/asus-* branches are the results of merges from some branches. The branches dedicated for Conexant codec changes are in topic/soc-cx2072x-4.10 and topic/soc-cx2072x branches.)

This update requires also the update of UCM profile. The revised profile is attached below.

Revision history for this message
In , tiwai (tiwai-linux-kernel-bugs) wrote :

Created attachment 255861
Revised UCM profile

Revision history for this message
Andrei Aldea (andrei1998) wrote :

Got sound working folks. See the repository for the new updated install script (it's at the top of the description).

Only things not working perfectly now are Sleep (my script makes it so the screen just shuts down to save some power) and SD card. Cheers!

https://github.com/Grippentech/Asus-E200HA-Linux-Post-Install-Script

Revision history for this message
Heins Schmidt (donotcare) wrote :

Well, thanks a lot!
I do not get it working, but i dont know, what i am doing wrong. I followed your description, but still no sound. Audiocard seems to be installed:

cat /proc/asound/cards
 0 [Audio ]: HdmiLpeAudio - Intel HDMI/DP LPE Audio
                      Intel HDMI/DP LPE Audio
 1 [chtcx2072x ]: chtcx2072x - chtcx2072x
                      chtcx2072x

But i do not getting any sound, neither from the speakers, or from headphones. Alsamixer did not help, i cannot change the volume from the headphone. I am using lubuntu 16.04 2. Any idea, what i can do?

Revision history for this message
Venkat Bala (venkatbala34) wrote :

Thanks for the effort! Followed the mentioned steps on github, unfortunately still no luck with sound :(

Revision history for this message
Venkat Bala (venkatbala34) wrote :

Few more details about my system, I am using Kubuntu 16.04 2 LTS

Revision history for this message
Andrei Aldea (andrei1998) wrote :

Can you provide the output from "uname -r"? The kernel patch should have worked fine. I fixed a bug in the script late last night if you cloned it then.

Right now this is only confirmed to work flawlessly (within reason) with Ubuntu 16.10. Ubuntu 16.04 seems to have an issue with intermitent sound cutting out, might have to do with the version of Pulseaudio installed. As of 16.10 the version installed is 9.

I really recommend for now to run Ubuntu 16.10 and patch that. You can get your desktop environment set up fairly easily if you prefer KDE or Lubuntu by "sudo apt-get install lubuntu-desktop" or similar commands.

Revision history for this message
In , sournois (sournois-linux-kernel-bugs) wrote :

Update: I have sound working on Elementary OS 0.4 with PulseAudio 8.0. I upgraded from the stock kernel to 4.10 and did not need to upgrade PulseAudio despite a bug warning suggesting I do. I can confirm sound works consistently through the laptop speakers and can test the headphone jack as soon as I am home. The sound is coming through at adequate levels and is not dropping off or having any issues as of writing this.

For the less-technical among us, install the patch through Grippentech's excellent scripts here: https://github.com/Grippentech/Asus-E200HA-Linux-Post-Install-Script

This is a much simpler, more automated method which will upgrade your kernel and install the sound driver in one step. A HUGE thank you to Takashi, Pierre-Louis, and Grippentech for the dedication and hard work getting this driver out to everyone. Excellent work.

Revision history for this message
Venkat Bala (venkatbala34) wrote :

Many thanks to andrei1998, got sound working!! even with kubuntu 16.04 LTS.

Did a clean install, the distro ships with kernel 4.8, the first issue was that keyboard was not working at all, had to use an external usb keyboard to do everything necessary.

Second I installed a mainline kernel, 4.10 using ukuu (great app!) which got the keyboard and touchpad both working (but still no sound :/). Next with the kernel 4.10 installed, followed the steps outlined on github, got sound + micro sd card reader working!!

Thanks for the help!

Revision history for this message
Marco Venturini (marco-venturini-1982) wrote :

Thanks a lot Andrei,

Tested on a lubuntu 17:04 fresh install.
It almost works, the audio plays nicely, but only when the pulseaudio volume control is open, as soon as it's closed it looks like the default audio device is switched to another device.
Added this line to /etc/pulse/default.pa

set-default-sink alsa_output.platform-cht-cx2072x.HiFi__hw_chtcx2072x_0__sink

The kernel is not selected by default since the version supplied with ubuntu is more recent.

Touchscreen is not working, but maybe is Lubuntu to blame, since in my previuos Xubuntu install i got it working.

Thanks Again,

Marco

Revision history for this message
Andrei Aldea (andrei1998) wrote :

You're welcome guys, glad to be of help.

@Venkat How exactly did you get microsd to work? Is this on the Asus E200HA? I don't believe mine works as of now.

@Marco Indeed 17.04 requires you to remove the default kernel after the install. Does the line you added fix your sound issue?

Cheers,
Andrei

Changed in alsa-driver (Ubuntu):
status: Confirmed → Fix Committed
Changed in linux (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Marco Venturini (marco-venturini-1982) wrote :

@Andrei

Yes it does, thanks a lot.

Still there is some strange behavior that may be due to this driver.

For instance if follow those steps the audio stops playing until the system is rebooted
1) Open a flac or mp3 with vlc
2) ... audio plays nicely
3) Open PulseAudio volume control
4) wait 10-20 s
5) ... audio stops playing

To me the current behavior it's not a big deal, but if it can be useful to debug the driver i can provide additional information.

Thanks Again,
Marco

Revision history for this message
Akli LE COQ (akli84) wrote :

Thanks Andrei.

However, I can't run the script. I get the following on the terminal :

akli@asus:~$ cd /home/akli/
akli@asus:~$ sudo chmod u+x e200ha_with_sound.sh
[sudo] Mot de passe de akli :
akli@asus:~$ sudo ./e200ha_with_sound.sh
./e200ha_with_sound.sh: 8: ./e200ha_with_sound.sh: Syntax error: newline unexpected
akli@asus:~$

I read and followed the github instructions. Did I miss something to run the script ?

Thanks for your help.

Revision history for this message
In , rjhowardmiller (rjhowardmiller-linux-kernel-bugs) wrote :

Hi all,

I'm new to Linux and have installed the latest Lubuntu on my E200HA. I have followed through the thread and decided to try the "idiot-proof" method as in the last post at this link (https://github.com/Grippentech/Asus-E200HA-Linux-Post-Install-Script).

I have gone through the installation package and still no sound will work. No card is showing as recognised in PulseAudio. Which package should I be trying as I have done them all. None would work for me.

Thanks,

Rob.

Revision history for this message
Andrei Aldea (andrei1998) wrote :

Hey Akli, please try to run it again, should work now. Sorry for the delay but I had to have another user report this for me to see it. In the future please e-mail me or send an issue request on the Github repo.

Also, nice username ;)

Revision history for this message
In , billehhg1 (billehhg1-linux-kernel-bugs) wrote :

> I have gone through the installation package and still no sound will work.
> No card is showing as recognised in PulseAudio. Which package should I be
> trying as I have done them all. None would work for me.

What distro of linux are you using? if you look at the script itself it has commands specific to distros using apt-get which i believe is only debian and debian-based distros. If you're running something with a different package manager those commands will not work

Revision history for this message
Jose Luis (xoserabade) wrote :

had somebody tryed sound with kernel 4.12?

Revision history for this message
Marek (yesion) wrote :

had somebody tryed sound with kernel 4.12 ??

Marek (yesion)
Changed in linux (Ubuntu):
status: Fix Committed → Confirmed
status: Confirmed → Fix Committed
Revision history for this message
Venkat Bala (venkatbala34) wrote :

@Marek, I couldn't get sound working with kernel 4.12 on my laptop.

@Andrei, my sd card reader worked intermittently but since then I haven't had any success. Switched back to windows for a while...but came back to try out the latest kernel, but got no success with sound or SD card reader.

any fixes available so far?

Revision history for this message
In , js (js-linux-kernel-bugs) wrote :

Hi Takashi,

it seeems your topic/soc-cx2072x branch still isn't on its way
into upstream kernel, is there anything still missing that is
keeping you from pushing it forward?

FWIW, I now got it working and the issue I had was that I had
no clue about UCM and was just assuming libasound and/or aplay
would handle it automatically. But not so. Since I don't use
pulseaudio or anything else that would call snd_use_case_mgr_open() etc.,
the UCM config wasn't applied.
Eventually I found out I could do it manually using
"alsaucm -c chtcx2072x set _verb HiFi".

Thanks,
Johannes

Revision history for this message
In , tiwai (tiwai-linux-kernel-bugs) wrote :

We've been waiting for the re-submission of the revised patch(es) from Conexant, as the current patch has a few minor issues.

Please try to ping the original author.

Revision history for this message
Andrei Aldea (andrei1998) wrote :

SD Card hasn't been fixed yet but sound works after you use the kernel I have compiled:
https://github.com/Grippentech/Asus-E200HA-Linux-Post-Install-Script

I'm working on making a smaller version of the kernel as the one I have right now is quite bloated (has support for almost every device that can be supported) but that's 2+ weeks away as I'm on vacation without the E200ha.

Hopefully the changes that Takashi Iwai made with the rest of the guys working on the Sound side will get merged into mainstream kernel 4.13 but that's just speculation, not based on anything. I know they're trying to get it into mainstream tho, if Linus and the devs approve it is another issue entirely.

I'm not aware on anybody working on the SD card side of things, I'm not sure where I'd start either. If someone has some insight feel free to chip in.

Miroslaw (m.stepanenko)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Miroslaw (m.stepanenko) wrote :

How awkward ...
I ask you to remove the new status. Randomness.

Revision history for this message
In , tiwai (tiwai-linux-kernel-bugs) wrote :

I noticed that the headset jack detection got broken on 4.13-rc.
After bisection, it's spotted at:
  commit f10e4bf6632b5be11cea875b66ba959833a69258
    gpio: acpi: Even more tighten up ACPI GPIO lookups

Indeed, reverting this commit made it working again.

Andy, this looks like a regression. Could you check it?
DSDT found in this bugzilla.

Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

Yeah, it requires GPIO ACPI mapping table to be present. I missed this driver by some reason. Basically what you need is something like https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/commit/?h=for-next&id=7c197881e163f34679b941c75500a6c85560b7c9

Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

Also, why on the earth the codec refers to Merrifield (MERR_* definitions) when it's clearly for CherryTrail?

Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

Sorry, s/codec/board/ in previous comment.
So, I have looked to DSDT, what you basically need is to add a GPIO binding with correct name (hp-gpios, for example) and append GPIO ACPI mapping table as I pointed in example patch for byt-max98090.

Revision history for this message
In , tiwai (tiwai-linux-kernel-bugs) wrote :

(In reply to Andy Shevchenko from comment #75)
> Yeah, it requires GPIO ACPI mapping table to be present. I missed this
> driver by some reason.

Maybe just because the driver hasn't been merged to upstream yet :)

> Basically what you need is something like
> https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/commit/
> ?h=for-next&id=7c197881e163f34679b941c75500a6c85560b7c9

OK, I'll check that. Thanks!

Revision history for this message
In , tiwai (tiwai-linux-kernel-bugs) wrote :

(In reply to Andy Shevchenko from comment #76)
> Also, why on the earth the codec refers to Merrifield (MERR_* definitions)
> when it's clearly for CherryTrail?

Just because the common code was written for older Atom chips.
Can be corrected later.

Revision history for this message
In , tiwai (tiwai-linux-kernel-bugs) wrote :

(In reply to Takashi Iwai from comment #78)
> > Basically what you need is something like
> > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/commit/
> > ?h=for-next&id=7c197881e163f34679b941c75500a6c85560b7c9
>
> OK, I'll check that. Thanks!

Now fixed in topic/soc-cx2072x-4.13 branch.

Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

Takashi, thanks! That's exactly what was needed. Feel free to add my Reviewed-by tag for that patch whenever you will send it upstream.

Revision history for this message
In , pierre-louis.bossart (pierre-louis.bossart-linux-kernel-bugs) wrote :

Interesting, I also saw some GPIO issues with a rt5670 device using the latest broonie/for-next kernel. Wondering if I was missing a Kconfig or if the gpio support did change.

Revision history for this message
In , js (js-linux-kernel-bugs) wrote :

I tried topic/soc-cx2072x-4.13, sound works well for me on
speaker and headphones. However, plugging in headphones does
not turn off the speaker, is this supposed to be handled by PA
or other userspace?

Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

(In reply to Pierre Bossart from comment #82)
> Interesting, I also saw some GPIO issues with a rt5670 device using the
> latest broonie/for-next kernel. Wondering if I was missing a Kconfig or if
> the gpio support did change.

GPIO ACPI lib has been changed, now we require to either use _CRS indexes only (no GPIO names allowed) or use GPIO with name and _DSD or hard coded mapping table provided.

I just looked to rt5670.c and noticed an ugly is_valleyview() function. Can you utilize power resources instead if they are available? For example in DSDT attached to this bug we see

Name (_PR0, Package (0x01) // _PR0: Power Resources for D0
{
    CLK3
})

I'm pretty sure it's about the same PMC PLT clock. I think entire approach with clocks might be revisited after reading ACPI DSDT tables carefully.

Care to check?

(In reply to Johannes Stezenbach from comment #83)
> I tried topic/soc-cx2072x-4.13, sound works well for me on
> speaker and headphones. However, plugging in headphones does
> not turn off the speaker, is this supposed to be handled by PA
> or other userspace?

You may check how pin is utilized. Mount debugfs and check status of pin in /sys/kernel/debug/gpio and /sys/kernel/debug/pinctrl/<HID:UID>/pins, where <HID> is a HID of pin control device. From DSDT it looks like it should be under INT33FF:02.

Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

(In reply to Johannes Stezenbach from comment #83)
> I tried topic/soc-cx2072x-4.13, sound works well for me on
> speaker and headphones. However, plugging in headphones does
> not turn off the speaker, is this supposed to be handled by PA
> or other userspace?

Forgot to say that pin number is 6 (in pins file) and GPIO pin is mapped accordingly to /sys/kernel/debug/pinctrl/gpio-ranges file.

Also, you may check output of
 % cat /proc/interrupts
since pin should be a wake source, and thus should have been able generate an event (interrupt).

Revision history for this message
In , pierre-louis.bossart (pierre-louis.bossart-linux-kernel-bugs) wrote :

(In reply to Andy Shevchenko from comment #84)
> (In reply to Pierre Bossart from comment #82)
> > Interesting, I also saw some GPIO issues with a rt5670 device using the
> > latest broonie/for-next kernel. Wondering if I was missing a Kconfig or if
> > the gpio support did change.
>
> GPIO ACPI lib has been changed, now we require to either use _CRS indexes
> only (no GPIO names allowed) or use GPIO with name and _DSD or hard coded
> mapping table provided.

in sound/soc/codecs/rt5670.c there is GPIO name:

rt5670.c:570: rt5670->hp_gpio.name = "headphone detect";

Are you saying this needs to be replaced by something else?

>
> I just looked to rt5670.c and noticed an ugly is_valleyview() function. Can
> you utilize power resources instead if they are available? For example in
> DSDT attached to this bug we see
>
> Name (_PR0, Package (0x01) // _PR0: Power Resources for D0
> {
> CLK3
> })
>
> I'm pretty sure it's about the same PMC PLT clock. I think entire approach
> with clocks might be revisited after reading ACPI DSDT tables carefully.
>
> Care to check?

I have no idea what you're asking for, it's probably a different point anyways unrelated to GPIOs. There is no is_valleyview() in the codec driver, but there are some in the machine drivers. if you check your email, you'll see a question from me last week asking how I am supposed to know if the firmware manages the clock or not. I ended-up calling devm_clk_get() unconditionally, assuming that there is no harm and that if the clock is firmware controlled it will not be gated on clk_disable/unprepare. see https://github.com/plbossart/sound/commit/233602172d97270dfc47222fa5805b8dabd4b1ce

>
> (In reply to Johannes Stezenbach from comment #83)
> > I tried topic/soc-cx2072x-4.13, sound works well for me on
> > speaker and headphones. However, plugging in headphones does
> > not turn off the speaker, is this supposed to be handled by PA
> > or other userspace?
>
> You may check how pin is utilized. Mount debugfs and check status of pin in
> /sys/kernel/debug/gpio and /sys/kernel/debug/pinctrl/<HID:UID>/pins, where
> <HID> is a HID of pin control device. From DSDT it looks like it should be
> under INT33FF:02.

Revision history for this message
In , js (js-linux-kernel-bugs) wrote :

Hi Andy,

gpio seems to work, the question was more if I should expect
the sound driver to switch off the speaker when headphones
are connected, or if I need a userspace daemon like PA for that.
So it's a question for Takashi about policy.

/sys/kernel/debug/gpio
gpiochip1: GPIOs 397-455, parent: platform/INT33FF:01, INT33FF:01:
 gpio-403 ( |headset ) in lo IRQ

/sys/kernel/debug/pinctrl/INT33FF\:01/gpio-ranges
0: INT33FF:01 GPIOS [397 - 405] PINS [0 - 8]

grep head | /proc/interrupts
 177: 12 0 0 0 chv-gpio 6 headset

/sys/kernel/debug/pinctrl/INT33FF\:01/pins
pin 6 (GPIO_DFX_8) GPIO 0x40108202 0x04c00003

And also:

input-events 13
/dev/input/event13
   bustype : (null)
   vendor : 0x0
   product : 0x0
   version : 0
   name : "chtcx2072x Headset"
   phys : "ALSA"
   bits ev : (null) (null) (null)

waiting for events
21:34:51.111138: (null) ??? 1
21:34:51.111138: (null) ??? 1
21:34:51.111138: (null) code=0 value=0
21:34:54.542011: (null) ??? 0
21:34:54.542011: (null) ??? 0
21:34:54.542011: (null) code=0 value=0
timeout, quitting

Looks a bit strange ??? but the event fires.

I noticed no event happens when the button on the headset
is pressed, is it supposed to work?

I also checked output of "amixer contents" and diffed
unplugged with headphones and headset plugged, it recognizes
both headphones (no mic) and headset (with mic).

Didn't check if recording works.

Revision history for this message
In , tiwai (tiwai-linux-kernel-bugs) wrote :

(In reply to Johannes Stezenbach from comment #83)
> I tried topic/soc-cx2072x-4.13, sound works well for me on
> speaker and headphones. However, plugging in headphones does
> not turn off the speaker, is this supposed to be handled by PA
> or other userspace?
Right, it's PA's task. The ASoC kernel driver doesn't do anything automatic by itself unlike HD-audio driver (the latter has its own auto-mute handling).

Revision history for this message
In , tiwai (tiwai-linux-kernel-bugs) wrote :

... or, did you mean that it's a regression? There shouldn't be difference in (user-space) behavior of the sound driver between topic/soc-cx2072x-4.12 and *-4.13 branches.

Revision history for this message
In , js (js-linux-kernel-bugs) wrote :

I didn't test headphones before, so no regression, I just wanted
clarification if this is how it's supposed to be.

Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

(In reply to Pierre Bossart from comment #86)
> (In reply to Andy Shevchenko from comment #84)
> > (In reply to Pierre Bossart from comment #82)

> > I just looked to rt5670.c and noticed an ugly is_valleyview() function. Can
> > you utilize power resources instead if they are available? For example in
> > DSDT attached to this bug we see
> >
> > Name (_PR0, Package (0x01) // _PR0: Power Resources for D0
> > {
> > CLK3
> > })
> >
> > I'm pretty sure it's about the same PMC PLT clock. I think entire approach
> > with clocks might be revisited after reading ACPI DSDT tables carefully.
> >
> > Care to check?
>
> I have no idea what you're asking for, it's probably a different point
> anyways unrelated to GPIOs.

Yes, it's an offtopic here.

> There is no is_valleyview() in the codec driver,
> but there are some in the machine drivers. if you check your email, you'll
> see a question from me last week asking how I am supposed to know if the
> firmware manages the clock or not. I ended-up calling devm_clk_get()
> unconditionally, assuming that there is no harm and that if the clock is
> firmware controlled it will not be gated on clk_disable/unprepare. see
> https://github.com/plbossart/sound/commit/
> 233602172d97270dfc47222fa5805b8dabd4b1ce

That's good stuff! Thanks.

Revision history for this message
Steven6817 (steven6817) wrote :

Tried to install new version of Ubuntu still no sound and miscosd card not working. Everything else is working great except for these two

Revision history for this message
Devin Petroff (devinpetroff) wrote :

Just wanted to follow up on the status of this? It says fix committed and released, however speakers/headphone jack still not supported in 16.04.4 and 17.10.1

Revision history for this message
luca (prtlcu) wrote : Re: [Bug 1563110] Re: No sound on Asus e200ha, intel sst with cx2072x codec
Download full text (3.6 KiB)

in17.04 sound work with the patch, but my 64Gb microSD does not, nor the
inernation.
In addition if the notebook is closed, the sound is removed and does not
return if the computer is not turned off and sometimes does not load
correctly during boot. Unfortunately, this PC, even it's perfect with
linux, was not born for this and even for windows that takes up all the
memory... you have to adapt or sell it.

Il gio 5 apr 2018 22:06 Devin Petroff <email address hidden> ha
scritto:

> Just wanted to follow up on the status of this? It says fix committed
> and released, however speakers/headphone jack still not supported in
> 16.04.4 and 17.10.1
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1563110
>
> Title:
> No sound on Asus e200ha, intel sst with cx2072x codec
>
> Status in ALSA driver:
> Unknown
> Status in alsa-driver package in Ubuntu:
> Fix Committed
> Status in linux package in Ubuntu:
> Fix Released
>
> Bug description:
> I've recently bought an Asus e200ha.
> Sound in this laptop doesn't work.
> The sound card is an intel sst with codec conexant cx2072x
>
> aplay -l:
> aplay: device_list:268: no soundcard found...
> in the sound setting there is a "Dummy output"
> ---
> ApportVersion: 2.14.1-0ubuntu3.19
> Architecture: amd64
> AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq',
> '/dev/snd/timer'] failed with exit code 1:
> CurrentDesktop: XFCE
> DistroRelease: Ubuntu 14.04
> HibernationDevice: RESUME=UUID=7b77dc46-7d5b-4869-83dd-739980736c3a
> InstallationDate: Installed on 2016-03-28 (0 days ago)
> InstallationMedia: Linux Mint 17.3 "Rosa" - Release amd64 20160105
> Lsusb:
> Bus 002 Device 002: ID 0781:5583 SanDisk Corp.
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 003: ID 13d3:3496 IMC Networks
> Bus 001 Device 002: ID 04f2:b54b Chicony Electronics Co., Ltd
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> MachineType: ASUSTeK COMPUTER INC. E200HA
> Package: linux (not installed)
> ProcEnviron:
> TERM=xterm
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=it_IT.UTF-8
> SHELL=/bin/bash
> ProcFB: 0 inteldrmfb
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-32-generic
> root=UUID=50fb13c0-a8cd-441d-a38b-c0295c1b9a15 ro quiet splash vt.handoff=7
> ProcVersionSignature: Ubuntu 3.19.0-32.37~14.04.1-generic 3.19.8-ckt7
> RelatedPackageVersions:
> linux-restricted-modules-3.19.0-32-generic N/A
> linux-backports-modules-3.19.0-32-generic N/A
> linux-firmware 1.127.16
> Tags: rosa
> Uname: Linux 3.19.0-32-generic x86_64
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
> _MarkForUpload: True
> dmi.bios.date: 11/26/2015
> dmi.bios.vendor: American Megatrends Inc.
> dmi.bios.version: E200HA.203
> dmi.board.asset.tag: ATN12345678901234567
> dmi.board.name: E200HA
> dmi.board.vendor: ASUSTeK COMPUTER INC.
> dmi.board.version: 1.0
> dmi.chassis.asset.tag: ATN123456...

Read more...

Revision history for this message
In , galyo (galyo-linux-kernel-bugs) wrote :

Hi, I have the same problem with Kernel 4.16.0 in hp pavilion x2 detachable.
What is the state of bugs?
Thanks.
Have a nice day.

Revision history for this message
In , caitlynmmartin (caitlynmmartin-linux-kernel-bugs) wrote :

It is working perfectly well in Ubuntu 18.04 beta 2. Please remember that it's not just a newer kernel that's needed. ALSA may need to be upgraded as well and the required codec has to be present.

Revision history for this message
In , galyo (galyo-linux-kernel-bugs) wrote :

Yes, it is working in Ubuntu 18.04. Thanks you.
Have a nice day

Revision history for this message
In , lcdatti (lcdatti-linux-kernel-bugs) wrote :

(In reply to Jakub K. from comment #94)
> Yes, it is working in Ubuntu 18.04. Thanks you.
> Have a nice day

(In reply to Caitlyn Martin from comment #93)
> It is working perfectly well in Ubuntu 18.04 beta 2. Please remember that
> it's not just a newer kernel that's needed. ALSA may need to be upgraded as
> well and the required codec has to be present.

Do you mean that it works "out of the box"? The bug has been fixed in the new version of Ubuntu?

Revision history for this message
In , caitlynmmartin (caitlynmmartin-linux-kernel-bugs) wrote :

> Do you mean that it works "out of the box"? The bug has been fixed in the
> new version of Ubuntu?

Yes, that is exactly what I mean. It just works immediately after installation. Having said that, you still have to use the Linuxium image or remaster the iso to get the installer to work, unlike Fedora and SUSE which have installers that support Atom and Apollo Lake devices. A working iso is at: http://linuxiumcomau.blogspot.com/2018/04/fourth-look-at-ubuntu-1804-lts-bionic.html

Revision history for this message
Marco Venturini (mar-v-ccap) wrote :

Xubuntu 18.04 lts, it looks like it's still not fixed

cat /proc/asound/cards

 0 [Audio ]: HdmiLpeAudio - Intel HDMI/DP LPE Audio
                      Intel HDMI/DP LPE Audio

uname -a

Linux marco-E200HA 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Thanks

Revision history for this message
In , bill.666 (bill.666-linux-kernel-bugs) wrote :

Hi,

But not work on manjaro 17.1.11 !
The bug is not fixed is not integrated to kernel no ?
Have possibility to merge driver on kernel 4.18 ?

https://www.manjaro.fr/forum/viewtopic.php?f=19&t=8812&hilit=asus
https://forum.manjaro.org/t/asus-e200ha-no-sound/44205/7
https://bugzilla.kernel.org/show_bug.cgi?id=200491

Cordialy

Revision history for this message
In , caitlynmmartin (caitlynmmartin-linux-kernel-bugs) wrote :

It is fixed in the 4.18 kernel but more than an updated kerne is
required. You also need an up to date version of alsa and the new
codec to be included when the kernel is compiled. The problem with
Manjaro is almost certainly a Manjaro problem, not an upstream
problem.

On Sat, Jul 14, 2018 at 4:15 AM, <email address hidden> wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=115531
>
> liberodark (<email address hidden>) changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |<email address hidden>
>
> --- Comment #97 from liberodark (<email address hidden>) ---
> Hi,
>
> But not work on manjaro 17.1.11 !
> The bug is not fixed is not integrated to kernel no ?
> Have possibility to merge driver on kernel 4.18 ?
>
> https://www.manjaro.fr/forum/viewtopic.php?f=19&t=8812&hilit=asus
> https://forum.manjaro.org/t/asus-e200ha-no-sound/44205/7
> https://bugzilla.kernel.org/show_bug.cgi?id=200491
>
> Cordialy
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.

Changed in alsa-driver:
status: Unknown → Confirmed
Revision history for this message
In , Chandan Koppula (sachinn) wrote :

Is it fixed or not?

If fixed, where is the update patch?

Chris Hand (oompa)
Changed in alsa-driver (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
In , mirh (mirh-linux-kernel-bugs) wrote :

(In reply to Caitlyn Martin from comment #98)
> It is fixed in the 4.18 kernel but more than an updated kerne is
> required. You also need an up to date version of alsa and the new
> codec to be included when the kernel is compiled. The problem with
> Manjaro is almost certainly a Manjaro problem, not an upstream
> problem.

I'm not sure what you are talking about, I also checked ubuntu source but there's really no sign of the driver having ever landed farther than the majestic tree by Heiko
https://github.com/heikomat/linux/tree/cx2072x
(in the Asus-E200HA specific repo in fact, they mention xubuntu 18.04 still require patching and all)

The 808622A8 id you reported above is the just the Intel "Smart Sound Technology" device.
But the actual audio codec is another thing. In fact windows driver pack just has an AudioRealtek folder.

Nothing to do with this issue.

https://support.hp.com/us-en/drivers/selfservice/swdetails/hp-x2-10-p000-notebook-pc/12499232/model/13443302/swItemId/ob-201938-1
https://wiki.debian.org/InstallingDebianOn/HP/Pavilion%20x2%2010%20(2015%20model)/Jessie

Revision history for this message
In , js (js-linux-kernel-bugs) wrote :

See comment #73. FWIW I pinged someone at Conexant one year ago,
the answer was essentially "no time, but soon". I guess it will
never happen. IMHO Takeshi should just submit his version even if it
has minor issues.

Revision history for this message
In , mirh (mirh-linux-kernel-bugs) wrote :

Well, that explains the pitiful situation. Let's see if CCing the conexant author solves anything.

It did actually improve something on their own repo.. Not sure why he never got back
https://github.com/conexant/codec_drivers/commits/rpi-4.4.y

Revision history for this message
In , bill.666 (bill.666-linux-kernel-bugs) wrote :

Hi is not merged on 4.16 / 4.17 / 4.18 / 4.19 for what ?

https://forum.manjaro.org/t/asus-e200ha-no-sound/44205/17
marcin19883 say : Kernel 4.19 RC1 Audio not working. No codec include. :(

Revision history for this message
In , bill.666 (bill.666-linux-kernel-bugs) wrote :

(In reply to Caitlyn Martin from comment #98)
> It is fixed in the 4.18 kernel but more than an updated kerne is
> required. You also need an up to date version of alsa and the new
> codec to be included when the kernel is compiled. The problem with
> Manjaro is almost certainly a Manjaro problem, not an upstream
> problem.
>
> On Sat, Jul 14, 2018 at 4:15 AM, <email address hidden>
> wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=115531
> >
> > liberodark (<email address hidden>) changed:
> >
> > What |Removed |Added
> >
> ----------------------------------------------------------------------------
> > CC| |<email address hidden>
> >
> > --- Comment #97 from liberodark (<email address hidden>) ---
> > Hi,
> >
> > But not work on manjaro 17.1.11 !
> > The bug is not fixed is not integrated to kernel no ?
> > Have possibility to merge driver on kernel 4.18 ?
> >
> > https://www.manjaro.fr/forum/viewtopic.php?f=19&t=8812&hilit=asus
> > https://forum.manjaro.org/t/asus-e200ha-no-sound/44205/7
> > https://bugzilla.kernel.org/show_bug.cgi?id=200491
> >
> > Cordialy
> >
> > --
> > You are receiving this mail because:
> > You are on the CC list for the bug.

And have view is not officialy merged arch and majanro is not implicated for this problem.

Please make a official merge to add audio codec.

Cordialy

Revision history for this message
In , marcin.net (marcin.net-linux-kernel-bugs) wrote :

https://github.com/conexant/codec_drivers/commits/rpi-4.4.y

Autor adding support linux kernel 4.18.

Revision history for this message
In , jacek.jagosz (jacek.jagosz-linux-kernel-bugs) wrote :

(In reply to marcin19883 from comment #104)
> https://github.com/conexant/codec_drivers/commits/rpi-4.4.y
>
> Autor adding support linux kernel 4.18.

Sorry for bothering, but did he try to merge it to the main kernel? Or do we have to compile it ourselves from this branch?

Revision history for this message
In , marcin.net (marcin.net-linux-kernel-bugs) wrote :

(In reply to Jacek Jagosz from comment #105)
> (In reply to marcin19883 from comment #104)
> > https://github.com/conexant/codec_drivers/commits/rpi-4.4.y
> >
> > Autor adding support linux kernel 4.18.
>
> Sorry for bothering, but did he try to merge it to the main kernel? Or do we
> have to compile it ourselves from this branch?

I have no idea. I'm a beginning linux user. I am currently using Arch Linux and the cx2072x kernel from AUR. It works great. Everything works, even better than on ubuntu 18.04.

Revision history for this message
In , russianneuromancer (russianneuromancer-linux-kernel-bugs) wrote :

> Or do we have to compile it ourselves from this branch?

There is prebuilt packages, if you need them: https://github.com/heikomat/linux/releases

By the way, is UCM from Comment 68 is recent, or there is newer version somewhere?

Revision history for this message
In , poprocks (poprocks-linux-kernel-bugs) wrote :

Created attachment 280807
Takashi cx2072x patch against 4.20

I've had a bit of trouble following this discussion in terms of what has been added by Takashi et al's patches. So here is a diff against vanilla kernel 4.20.0 to see what the changes and additions are, for ease of reference.

Revision history for this message
In , howerkraft (howerkraft-linux-kernel-bugs) wrote :

> Or do we have to compile it ourselves from this branch?

If you use debian or derivatives, you can find the releases in Heikomat's repo.

If you use ArchLinux or derivitives, you can use AUR (https://aur.archlinux.org/packages/linux-cx2072x/) to build your own packages, or you can use my prebuilt packages (built from AUR) from here: https://files.linux365.ro/linux-cx2072x/

Revision history for this message
In , poprocks (poprocks-linux-kernel-bugs) wrote :

In case anyone is searching the web to seek solutions, I'll put on the record that 4.20.4, with the patch as generated above, along with the UCM files that have been posted on git at https://github.com/heikomat/linux/tree/cx2072x/cx2072x_fixes_and_manual/chtcx2072x - sound is now functioning on my Asus Transformer Mini T103HA.

Shouldn't really matter as I am using an updated but otherwise vanilla kernel from ftp.kernel.org, but again, for the record, this is under Slackware Current (live ISO from alienBob 1.3.0.2, 20190117).

Thanks all. I hope these efforts can be merged into mainline Linux and ALSA, but I'm sure there are reasons above my head as to why they have not.

Revision history for this message
In , mitmtestandroid (mitmtestandroid-linux-kernel-bugs) wrote :

*** Bug 200431 has been marked as a duplicate of this bug. ***

Revision history for this message
In , ric-82 (ric-82-linux-kernel-bugs) wrote :

> I hope these efforts can be merged into mainline Linux and ALSA.

Me too: I lack the know-how to fix the kernel myself, unfortunately...

Revision history for this message
In , mirh (mirh-linux-kernel-bugs) wrote :
Revision history for this message
In , ric-82 (ric-82-linux-kernel-bugs) wrote :

(In reply to mirh from comment #113)
> https://mailman.alsa-project.org/pipermail/alsa-devel/2019-May/149706.html
>
> CX2072X is landing in 5.3.

That's good news! I'll look forward to it, thanks :)

Brad Figg (brad-figg)
tags: added: cscc
Revision history for this message
In , poprocks (poprocks-linux-kernel-bugs) wrote :

This driver (along with necessary alsa ucm files) as now included with 5.3.x is working on my system (vanilla 5.3.4). I'd recommend closing this bug as FIXED.

Revision history for this message
TC (zenoarrow) wrote :
Download full text (5.9 KiB)

I'm running Ubuntu 19.10 on an Asus E200H laptop. I'm getting no sound output. CX2027x kernel modules seem to be available but there appear to be issues during boot.

Including the following information to help track down the issue (if there's anything else that I should provide please let me know):

(base) zenoarrow@zenoarrow-E200HA:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.10
Release: 19.10
Codename: eoan

uname -a
Linux zenoarrow-E200HA 5.3.0-23-generic #25-Ubuntu SMP Tue Nov 12 09:22:33 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

dmesg | grep cx2072x
[ 9.287864] cx2072x i2c-14F10720:00: codec version: 14f150f2,00100101
[ 11.889796] bytcht_cx2072x bytcht_cx2072x: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
[ 11.890348] bytcht_cx2072x bytcht_cx2072x: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
[ 11.895693] bytcht_cx2072x bytcht_cx2072x: cx2072x-hifi <-> ssp2-port mapping ok
[ 11.895903] bytcht_cx2072x bytcht_cx2072x: ASoC: sink widget Playback overwritten
[ 11.895928] bytcht_cx2072x bytcht_cx2072x: ASoC: source widget Capture overwritten
[ 11.896417] cx2072x i2c-14F10720:00: ASoC: Failed to create Playback debugfs file: -17
[ 11.896425] cx2072x i2c-14F10720:00: ASoC: Failed to create Capture debugfs file: -17
[ 11.915242] input: bytcht-cx2072x Headset as /devices/pci0000:00/808622A8:00/bytcht_cx2072x/sound/card1/input14
[ 124.561900] Modules linked in: rfcomm twofish_generic twofish_x86_64_3way twofish_x86_64 twofish_common serpent_sse2_x86_64 serpent_generic blowfish_generic blowfish_x86_64 blowfish_common cast5_generic cast_common des_generic algif_skcipher camellia_generic camellia_x86_64 xcbc md4 pci_stub algif_hash vboxpci(OE) af_alg vboxnetadp(OE) vboxnetflt(OE) xfrm_user xfrm4_tunnel tunnel4 ipcomp xfrm_ipcomp esp4 vboxdrv(OE) ah4 l2tp_ppp l2tp_netlink l2tp_core ip6_udp_tunnel udp_tunnel af_key xfrm_algo pppox ccm bnep ip6table_filter ip6_tables iptable_filter bpfilter binfmt_misc nls_iso8859_1 snd_soc_sst_byt_cht_cx2072x joydev snd_hdmi_lpe_audio mei_hdcp intel_rapl_msr intel_powerclamp coretemp kvm_intel kvm irqbypass punit_atom_debug crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 crypto_simd cryptd glue_helper asus_nb_wmi intel_cstate uvcvideo btusb videobuf2_vmalloc btrtl videobuf2_memops btbcm videobuf2_v4l2 btintel videobuf2_common bluetooth videodev
[ 124.561970] intel_chtdc_ti_pwrbtn input_leds mc ecdh_generic ecc ath10k_pci ath10k_core ath mac80211 cfg80211 libarc4 intel_xhci_usb_role_switch roles sof_acpi_dev snd_sof_intel_byt snd_sof_intel_bdw snd_sof_intel_ipc snd_sof snd_sof_xtensa_dsp snd_intel_sst_acpi snd_intel_sst_core snd_soc_sst_atom_hifi2_platform snd_soc_cx2072x snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_pcm snd_seq_midi snd_seq_midi_event i915 snd_rawmidi snd_seq snd_seq_device snd_timer drm_kms_helper drm snd i2c_algo_bit fb_sys_fops syscopyarea mei_txe sysfillrect soundcore sysimgblt mei processor_thermal_device elan_i2c intel_rapl_common int3400_thermal int3403_thermal intel_soc_dts_iosf acpi_thermal_rel int340x_thermal_zone int3406_thermal intel_int00...

Read more...

Revision history for this message
TC (zenoarrow) wrote :

Following on from the comment above, if I look for "Audio" with a capital A in the dmesg output, this is a shortened version of what I get (the backend DAIs message is repeated multiple times in the real output)...

dmesg | grep Audio
[ 0.159834] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 9.038350] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=0 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input11
[ 9.038558] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=1 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input12
[ 9.038738] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=2 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input13
[ 16.076038] Audio Port: ASoC: no backend DAIs enabled for Audio Port

Revision history for this message
TC (zenoarrow) wrote :

Also continuing from my messages earlier today, I had some promising looking output from the following two commands...

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 2: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: bytchtcx2072x [bytcht-cx2072x], device 0: Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: bytchtcx2072x [bytcht-cx2072x], device 1: Deep-Buffer Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

cat /proc/asound/cards
 0 [Audio ]: HdmiLpeAudio - Intel HDMI/DP LPE Audio
                      Intel HDMI/DP LPE Audio
 1 [bytchtcx2072x ]: bytcht-cx2072x - bytcht-cx2072x
                      ASUSTeKCOMPUTERINC.-E200HA-1.0-E200HA

Does this help at all? Is there a reason the HDMI/DP LPE audio output would be picked as the default? Any advice on testing this further?

Revision history for this message
sultan (sultanqasim) wrote :

Looks like you are missing UCM config files (due to an outdated ALSA UCM package that's not in sync with the kernel). This is what causes the "Audio Port: ASoC: no backend DAIs enabled for Audio Port" messages. See this thread: https://bugzilla.kernel.org/show_bug.cgi?id=115531#c43

Revision history for this message
TC (zenoarrow) wrote :

Thanks for this sultan, this is useful information. Forgot to mention that I was able to get help in fixing the bug, turns out I needed a newer version of alsa-lib, had to switch to Fedora to get a packaged version but I can confirm audio on my laptop is working now...

https://bugzilla.redhat.com/show_bug.cgi?id=1775732

Revision history for this message
In , ric-82 (ric-82-linux-kernel-bugs) wrote :

Why the latest Androidx86 release (9.0-rc1) it's still based on kernel 4.19.80 (https://www.android-x86.org/releases/releasenote-9-0-rc1.html)?

How am I supposed to upgrade to v 5.3.x?

Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

(In reply to Riccardo from comment #116)
> Why the latest Androidx86 release (9.0-rc1) it's still based on kernel
> 4.19.80 (https://www.android-x86.org/releases/releasenote-9-0-rc1.html)?
>
> How am I supposed to upgrade to v 5.3.x?

Riccardo, this bug tracker is related to upstream developing of Linux kernel. Perhaps you have to ask this via Android issue tracker.

Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

Close as fixed based on comment #115.

Revision history for this message
BeBa (bbara93) wrote :

Hey all,

got it working on my Asus E200HA @ Xubuntu 19.10.
As already mentioned, the installed kernel (currently 5.3.0-24) already brings the driver.

What I had to do was uninstalling libasound2 (currently 1.1.9-1),
as the sound card is not supported in this version.

After uninstalling, I installed the latest alsa-lib [1] (1.2.1.2).
Note, that the default installation of the alsa-lib takes place in "/usr/lib",
but it should be placed in "/usr/lib/x86_64-linux-gnu/".
This can be done by running "./configure --libdir=/usr/lib/x86_64-linux-gnu/".

After installing it, I downloaded the latest alsa-ucm-config [2] (1.2.1.2).
The content of the ucm2 folder must be stored in "/usr/share/alsa/ucm2/".

After a reboot, the sound works :)

So, installing the latest libasound2 (= alsa-lib) on the right place and
placing the UCM files in the right directory did the trick for me.

[1] https://github.com/alsa-project/alsa-lib
[2] https://github.com/alsa-project/alsa-ucm-conf/

Changed in alsa-driver:
status: Confirmed → Fix Released
Revision history for this message
In , chericpraise (chericpraise-linux-kernel-bugs) wrote :

World Vision India is focused on exclusive expectations of responsibility and straightforwardness which is a statement of our guiding principle on ''how to sponsor a child in another country”. This is on the grounds that we intensely accept that we work successfully for the prosperity of kids. World Vision India ceaselessly endeavors to keep up high national and global models of expert capability and is responsible through proper structures for accomplishing these norms. https://www.worldvision.in

Revision history for this message
In , newman1097 (newman1097-linux-kernel-bugs) wrote :

Our vision for every child, life in all its fullness. Our prayer for every heart, the will to make it so.We work toward a nation and a world where every child experiences life in all its fullness. Where they are protected, cared for how to sponsor a child in another country and given the opportunities to become everything they’re meant to be. https://www.hopetoshine.in

Revision history for this message
In , monkeygre7 (monkeygre7-linux-kernel-bugs) wrote :

Cannabidiol (CBD) has been as of late shrouded in the media, and you may have even considered it to be an include sponsor to your post-exercise smoothie or morning espresso. What precisely is CBD? For what reason is it out of nowhere so famous?
https://cforcbd.com/products/cbd-oil/

Revision history for this message
In , phasesweeper (phasesweeper-linux-kernel-bugs) wrote :

Sponsoring a child through World Vision India is one of the best, motivating and compensating approaches to support youngsters. You'll be doing significantly more than assisting with meeting youngsters' fundamental needs – you'll be assisting with equiping them forever. By achieving enduring change in your supported kid's locale, you'll likewise be improving the lives of numerous other defenseless youngsters to Child Ngos child sponsorship is probably the most ideal approaches to give kids better lives and prospects of. At the point when you support a youngster, you will get photo of your supported kid, data about your kid, kid's family and network, yearly report showing the advancement of your kid, World Vision India's magazine Jeevan Sparsh and a chance to blessing, compose or visit your supported kid. https://www.worldvision.in

Revision history for this message
In , nicholrusan (nicholrusan-linux-kernel-bugs) wrote :

Our vision for every child, life in all its fullness. Our prayer for every heart, the will to make it so.We work toward a nation and a world where every child experiences life in all its fullness. Where they are protected, cared for to and given the opportunities to become everything they’re Child Ngos
 meant to be. https://www.hopetoshine.in

Revision history for this message
In , lionelmiquel (lionelmiquel-linux-kernel-bugs) wrote :

Hello,
  I know this issue is closed, but should I post
in this thread if I got a problem with my microp
hone on a E200HA, Ubuntu 18.04, custom kernel bas
ed on 5.6.3 with cx2072x support compiled in and
right UCM files ?
Or should I create a bug report ?

Thanks.

Revision history for this message
In , lionelmiquel (lionelmiquel-linux-kernel-bugs) wrote :

Hello,

  I fixed my problem from last comment, here's how I did it:
For the backstory, I have a E200HA Asus Notebook/EEePC.

1. Get kernel with cx2072x support, enable it and update grub to boot into it.
2. Get alsa-lib-1.2.2 (or any stable release I guess) from https://github.com/alsa-project/alsa-lib
3. ./gitcompile --libdir=/usr/lib/x86_64-linux-gnu (or ./configure --libdir=/usr/lib/x86_64-linux-gnu if it didn't work) followed by make && make install
4. Get alsa-ucm-conf from https://github.com/alsa-project/alsa-ucm-conf (again, matching the release number of alsa-lib you compiled, in our case it's 1.2.2)
5. Rename your /usr/share/alsa/ucm into ucm.old directory and create /usr/share/alsa/ucm2 directory
6. Copy ucm2 directory from cloned alsa-ucm-conf git repo into /usr/share/alsa/
7. Reboot

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.