Bug 196335 - No sound in headphone on Cherry trail with rt5645
Summary: No sound in headphone on Cherry trail with rt5645
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-12 07:14 UTC by Daimon
Modified: 2017-08-17 06:37 UTC (History)
0 users

See Also:
Kernel Version: 4.11.0-9-generic
Subsystem:
Regression: No
Bisected commit-id:


Attachments
working config script for kernel 4.4 (2.24 KB, application/x-shellscript)
2017-07-12 07:14 UTC, Daimon
Details
alsa info on kernel 4.4.0 (91.00 KB, text/plain)
2017-07-12 07:17 UTC, Daimon
Details
alsa info on kernel 4.11.0 with old firmware (98.83 KB, text/plain)
2017-07-12 07:18 UTC, Daimon
Details
alsa info on kernel 4.11.0 with new firmware 1.167 (98.76 KB, text/plain)
2017-07-12 07:19 UTC, Daimon
Details
dmesg on kernel 4.4.0 (48.98 KB, text/plain)
2017-07-12 07:21 UTC, Daimon
Details
dmesg on kernel 4.11.0 (49.87 KB, text/plain)
2017-07-12 07:25 UTC, Daimon
Details
alsa info on kernel 4.11.0 with libasound2 1.1.3-5 (98.78 KB, text/plain)
2017-07-14 08:38 UTC, Daimon
Details

Description Daimon 2017-07-12 07:14:58 UTC
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.
Comment 1 Daimon 2017-07-12 07:17:08 UTC
Created attachment 257461 [details]
alsa info on kernel 4.4.0
Comment 2 Daimon 2017-07-12 07:18:33 UTC
Created attachment 257463 [details]
alsa info on kernel 4.11.0 with old firmware
Comment 3 Daimon 2017-07-12 07:19:25 UTC
Created attachment 257465 [details]
alsa info on kernel 4.11.0 with new firmware 1.167
Comment 4 Daimon 2017-07-12 07:21:09 UTC
Created attachment 257467 [details]
dmesg on kernel 4.4.0
Comment 5 Daimon 2017-07-12 07:25:50 UTC
Created attachment 257469 [details]
dmesg on kernel 4.11.0
Comment 6 Daimon 2017-07-13 06:27:50 UTC
Please let me know if any more info is needed or I'm posting under wrong category.
Comment 7 Daimon 2017-07-14 08:36:53 UTC
I've upgrade the libasound2 to 1.1.3-5, which contains a ucm file for chtrt5645. There's still no sound.
Comment 8 Daimon 2017-07-14 08:38:29 UTC
Created attachment 257511 [details]
alsa info on kernel 4.11.0 with libasound2 1.1.3-5
Comment 9 Daimon 2017-07-17 02:56:35 UTC
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.
Comment 10 Daimon 2017-08-17 06:37:21 UTC
Please let me know if I'm should post on other place, or more info is needed.

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