Comment 239 for bug 1563110

Revision history for this message
TC (zenoarrow) wrote :

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_int0002_vgpio soc_button_array asus_wireless spi_pxa2xx_platform acpi_pad 8250_dw dw_dmac mac_hid dw_dmac_core sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 mmc_block hid_asus asus_wmi sparse_keymap

dmesg | grep audio
[ 9.191038] [drm] HDaudio controller not detected, using LPE audio instead
[ 11.794904] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=0 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input11
[ 11.795188] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=1 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input12
[ 11.795434] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=2 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input13
[ 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

find /lib/modules/$(uname -r) -type f -name '*.ko' | grep cx2072x
/lib/modules/5.3.0-23-generic/kernel/sound/soc/codecs/snd-soc-cx2072x.ko
/lib/modules/5.3.0-23-generic/kernel/sound/soc/intel/boards/snd-soc-sst-byt-cht-cx2072x.ko

sudo modprobe snd-soc-cx2072x
[No output]

sudo modprobe snd-soc-sst-byt-cht-cx2072x
[No output]

lsmod | grep cx2072x
snd_soc_sst_byt_cht_cx2072x 16384 0
snd_soc_cx2072x 61440 1
snd_soc_core 241664 4 snd_soc_cx2072x,snd_sof,snd_soc_sst_byt_cht_cx2072x,snd_soc_sst_atom_hifi2_platform
snd_pcm 106496 7 snd_soc_cx2072x,snd_sof,snd_soc_sst_byt_cht_cx2072x,snd_hdmi_lpe_audio,snd_soc_sst_atom_hifi2_platform,snd_soc_core,snd_pcm_dmaengine

Of all of the above, the most interesting to me is the dmesg output indicating that the HDaudio controller wasn't detected, but perhaps there's something else that's relevant buried in that output. Any help/advice welcome.

N.B. I originally asked about this on Ask Ubuntu, if this isn't a Ubuntu bug then advice shared there would also be welcome...
https://askubuntu.com/questions/1189233/audio-driver-should-be-present-in-linux-kernel-but-device-isnt-recognised