Bug 196147 - No sound on HP Spectre X360 (Kaby Lake)
Summary: No sound on HP Spectre X360 (Kaby Lake)
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-06-21 12:11 UTC by Juan
Modified: 2020-12-11 17:10 UTC (History)
2 users (show)

See Also:
Kernel Version: Linux spectre 4.10.0-22-generic x86_64
Subsystem:
Regression: No
Bisected commit-id:


Attachments
alsa-info.sh results (11.96 KB, text/plain)
2017-06-22 14:42 UTC, Juan
Details
lshw results (19.44 KB, text/plain)
2017-06-22 14:43 UTC, Juan
Details
After-boot dmsg results (66.49 KB, text/plain)
2017-06-22 14:46 UTC, Juan
Details

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.

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