Bug 208695 - Schenker Dock 15 Clevo N350TW with Intel Corporation Cannon Lake PCH cAVS, no sound from speakers and headphones
Summary: Schenker Dock 15 Clevo N350TW with Intel Corporation Cannon Lake PCH cAVS, no...
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-26 08:57 UTC by bernd
Modified: 2022-11-03 15:48 UTC (History)
2 users (show)

See Also:
Kernel Version: 5.4.0-40
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description bernd 2020-07-26 08:57:12 UTC
First I must say you, my English is not very good. I'm from Germany and I learned English in school, but this was in 1986.
 * 
My notebook:
Product Name: SCHENKER_DOCK_15_SDO15L18_SDO15E19; 
Board Name: Clevo N350TW; 
Dual-boot: "Linux Mint 20 Ulyana (based on Ubuntu 20.04)" and "Windows 10 1909"; 
Architecture: x86_64; 
Kernel release: 5.4.0-40;
Audio device: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10);
Subsystem: CLEVO/KAPOK Computer Cannon Lake PCH cAVS [1558:0351];
 * 
Here is the problem:
When I boot Linux, the notebook have no sound from speakers and headphones.
When I click the speaker-icon in tray, I can only see "Dummy-Output".
Sometimes I hear a crack from the speakers.
Only when I connect the notebook and the TV with a HDMI-cable, I have sound on TV.
When I now click the speaker-icon, I see "HDMI-3".
This problem was also with the Live-CD and also with "Linux Mint 19.3 Tricia (based on Ubuntu 18.04)".
If I boot "Windows", there are no problems with sound.
 * 
Here the ALSA-info file:
http://alsa-project.org/db/?f=47ee648ea6d6f98dcd1284b5d9800aa6b7240e33
 * 
Can someone please help me to solve this problem?
My Linux skills are average (learning by doing).
Thanks in advance for your assistance!
Comment 1 Nico 2020-08-12 15:59:04 UTC
Having the exact same issue.
Notebook is also a Clevo N350TW with an Intel i9-9900T.
Running Arch Linux on Kernel 5.7.12

HDMI outputs are detected and working, analog parts like speaker and audio jacks are not.

aplay -l lists the following:

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Onboard audio jacks are not detected (Mic-In, Onboard Speaker, SPDIF, Stereo out).

Here is the alsa-info file:
http://alsa-project.org/db/?f=e242868271a02d3a5d9a1a322ca56d3b09043b24

I also booted with probe_only=1 and ran alsa-info:
http://alsa-project.org/db/?f=8fb255c91ff25019ee7b5134e77e0a4a0e28d410

I tried playing around with the module options for snd_hda_intel like "model=clevo-p950" which did not help.
snd_hda_intel.dmic_detect=0 did not work.


Output of sudo dmesg | egrep -i 'audio|snd|sound'

[    0.000000] Command line: initrd=\initramfs-linux.img cryptdevice=UUID=b38685cc-6e56-4f15-9e17-33b866a5badb:r00t root=/dev/mapper/r00t rw snd-intel-dspcfg.dsp_driver=1
[    0.190266] Kernel command line: initrd=\initramfs-linux.img cryptdevice=UUID=b38685cc-6e56-4f15-9e17-33b866a5badb:r00t root=/dev/mapper/r00t rw snd-intel-dspcfg.dsp_driver=1
[    0.956971] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[   12.352587] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   12.600802] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input14
[   12.600833] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input15
[   12.600859] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
[   12.600889] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17
[   12.600932] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18


I'm fine with testing whatever needs to be tested.
Comment 2 bernd 2020-08-20 17:59:13 UTC
Hi Nico and everybody else,
I have a new little information about the issue.
 * 
If I boot "Windows 10", the sound-chip is identified as "ALC892".
I hope "Windows" get it right.
 * 
I can't find "ALC892" in "/usr/share/doc/alsa-base/driver/HD-Audio-Models.txt".
 * 
Can someone help us please.
Comment 3 bernd 2020-10-17 09:05:33 UTC
Now I wrote a script like this (short form):

echo auto > /sys/devices/pci0000\:00/0000\:00\:1f.3/power/control
echo 1 > /sys/devices/pci0000\:00/0000\:00\:1f.3/remove
echo 1 > /sys/bus/pci/rescan

When I boot LINUX the script runs as root in a loop until the ALC892 is recognized.

But the ALC892 is only recognized after I hear a crack from the speakers.
Sometimes after 5 loops, sometimes after very many loops, sometimes never. Always after a crack. It doesn't matter whether the laptop runs on a battery or a charger.

Meanwhile, I believe that the problem has nothing to do with ALSA or PULSEAUDIO. I think there is a problem with the pci scanning in conjunction with ACPI or PCI-Power-Management. Maybe PM-UTILS too.

But that's for experts. I am not familiar with kernel drivers.
Comment 4 Bjorn Helgaas 2022-11-03 15:48:22 UTC
If you still see this problem, can you please boot with the "efi=debug" kernel parameter and attach the complete dmesg log here?

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