Bug 196147

Summary: No sound on HP Spectre X360 (Kaby Lake)
Product: Drivers Reporter: Juan (juanpgenovese)
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: NEW ---    
Severity: normal CC: alan, tiwai
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: Linux spectre 4.10.0-22-generic x86_64 Subsystem:
Regression: No Bisected commit-id:
Attachments: alsa-info.sh results
lshw results
After-boot dmsg results

Description Juan 2017-06-21 12:11:27 UTC
Bought a brand new HP Spectre X360 13-ac023dx.
Installed Linux Mint 18.1, and since I knew I would have some issues, I changed the kernel to **4.10.0.22**.


Now, pretty much everything works except:
1 - Sound (speakers and headphones)
2 - Majority of function keys

For (1), the result of the aplay -l command is:

```
aplay: device_list:268: no soundcards found...
```

I changed my default Grub file to:


```
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor acpi_osi='!Windows 2013' acpi_osi='!Windows 2012'"
```

and updated Grub itself.

So far no luck.
Comment 1 Takashi Iwai 2017-06-21 13:47:17 UTC
At least some HP Spectre X360 Kaylake version is known to work partially, see bug#1389331.

But it's possible that HP refreshed the hardware or the BIOS, and not allowing HD-audio link any longer but only I2S.  In that case, it's supported by Intel SST ASoC driver, but you'd likely need to adjust something in the kernel side and set up the tons of routing and mixer setup for making it actually working.
Comment 2 Juan 2017-06-22 09:33:56 UTC
Hey Takashi

I cannot find the bug ID you mentioned.
Could you please provide a link?

Also, I opened this bug due to my own ignorance and lack of ability to work with Linux internals and so you can provide a solution to everybody that is buying a laptop PC with Kaby Lake architecture. Will it be possible for you to take care of this?
Comment 3 Takashi Iwai 2017-06-22 10:21:55 UTC
Sorry, a typo in the number.
  https://bugzilla.kernel.org/show_bug.cgi?id=189331

Note that there is no "general" solution for Kabylake architecture.  It's no single model, and the hardware implementation varies pretty much, and behavior changes even depending on BIOS version.

The device should be liekly supported by snd-soc-skl, but whether the whole stuff is supported is another question.  For that, the whole detailed hardware information is missing, so no one can answer to it, so far.

So, please give the hardware details.  At least, give alsa-info.sh output.  Run it with --no-upload option and attach (don't paste) to Bugzilla.
Also, give the output of dmesg after boot, too.

Last but not least, test with the latest Linus git tree (4.12-rc6).
Comment 4 Juan 2017-06-22 14:42:56 UTC
Created attachment 257129 [details]
alsa-info.sh results
Comment 5 Juan 2017-06-22 14:43:27 UTC
Created attachment 257131 [details]
lshw results
Comment 6 Juan 2017-06-22 14:46:35 UTC
Created attachment 257133 [details]
After-boot dmsg results
Comment 7 Takashi Iwai 2017-06-22 15:52:46 UTC
It shows no PCI audio device at all, and this already indicates some BIOS issue.
Comment 8 Alan Olsen 2020-12-11 16:58:50 UTC
This may be similar to the problem in bug 210355. (HP Spectre x360 14 with Tiger Lake)

Do you have dual boot? Try booting into windows first and then soft boot into Linux (with a current kernel) and see if the sound works.
Comment 9 Alan Olsen 2020-12-11 17:10:58 UTC
This may be similar to the problem in bug 210633. (HP Spectre x360 14 with Tiger Lake)

Do you have dual boot? Try booting into windows first and then soft boot into Linux (with a current kernel) and see if the sound works.