Created attachment 257459 [details] working config script for kernel 4.4 I've got a CHT Z8350 device with a 4.4 kernel (binary). Sound do work there with some amixer settings. But it has other issues on display. For that, I'm trying to upgrade the kernel and the display issue is gone. But the sound is broken. I've read through several bugs related to rt56xx sound, and guess mine falls into the configuration issue. But I really have no idear what to adjust. cat /sys/bus/acpi/devices/10EC*/status confirm it's rt5645. With kernel 4.11, the rt5645 is detected successful, and volume is configurable in pavucontrol, but the headphone is silent. I achieve this by disable the snd_hdmi_lpe_audio. Before that HDMI was always the default card. I'll attach both alsa-info and dmesg form the 2 kernel. I'll also attach the working amixer setting script with the 4.4 kernel. BTW, the firmware come with the 4.4 kernel is different with the one in linux-firmware 1.167. I've tried both firmware with 4.11, but none have sound.
Created attachment 257461 [details] alsa info on kernel 4.4.0
Created attachment 257463 [details] alsa info on kernel 4.11.0 with old firmware
Created attachment 257465 [details] alsa info on kernel 4.11.0 with new firmware 1.167
Created attachment 257467 [details] dmesg on kernel 4.4.0
Created attachment 257469 [details] dmesg on kernel 4.11.0
Please let me know if any more info is needed or I'm posting under wrong category.
I've upgrade the libasound2 to 1.1.3-5, which contains a ucm file for chtrt5645. There's still no sound.
Created attachment 257511 [details] alsa info on kernel 4.11.0 with libasound2 1.1.3-5
Just in case my bug description became "attachment description", re-post once here. I've got a CHT Z8350 device with a 4.4 kernel (binary). Sound do work there with some amixer settings. But it has other issues on display. For that, I'm trying to upgrade the kernel and the display issue is gone. But the sound is broken. With kernel 4.11, the rt5645 is detected successful, and volume is configurable in pavucontrol, but the headphone is silent. I achieve this by disable the snd_hdmi_lpe_audio. Before that HDMI was always the default card. cat /sys/bus/acpi/devices/10EC*/status confirm it's rt5645. I'll attach both alsa-info and dmesg form the 2 kernel. I'll also attach the working amixer setting script with the 4.4 kernel. BTW, the firmware come with the 4.4 kernel is different with the one in linux-firmware 1.167. I've tried both firmware with 4.11, but none have sound.
Please let me know if I'm should post on other place, or more info is needed.