HP Spectre x360 15" eb0000 - No sound

The final section ALSA/HDA dmesg is still showing only 1 speaker output detected

[    5.368420] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC285: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker

Data in final section ALSA/HDA dmesg is showing errors loading Sound Open Firmware driver **
sof-audio-pci-intel-cnl** so ALSA is trying to use sof-hda-dsp instead

I suggest you try adding this modprobe option to try to force use of legacy driver snd_hda_intel

sudo tee /etc/modprobe.d/alsa-sof.conf <<<'options snd-intel-dspcfg dsp_driver=1'

and get alsa-info.sh data to check if both speakers are detected with this driver

That works! It sounds as if all four speakers are working correctly. The speakers now appear as ‘Speakers - Built in Audio’ in Gnome Settings. It seems the built in microphone may have been disabled somehow though, but that’s not quite as important to me. I can’t thank you enough!

Here’s the alsa-info.sh data
http://alsa-project.org/db/?f=b4ada3ce521fa0184c6a34a4a6e9eca20e4b5bfb

4.803396] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC285: line_outs=2 (0x14/0x17/0x0/0x0/0x0) type:speaker
1 Like

Sorry if it’s inappropriate to bump this thread, or try to pull your attention back here.

Just wondering if you have an idea on getting the internal mic working again after your fix, in the interest of finding a complete solution to the issue. If you think I should mark this question as answered and open a new thread, I can!

I appreciate all the help you’ve been, it’s been a nice introduction into this forum :smile:

apologies - I lost track of this discussion so a reminder is appreciated

The snd_hda_intel driver does not support internal digital microphone array
But it was the most likely option to allow the modprobe model option to get the speakers working

It might be possible to get internal microphone working by forcing use of the Sound Open Firmware driver (changing final part of the previous command to dsp_driver=3)

sudo tee /etc/modprobe.d/alsa-sof.conf <<<'options snd-intel-dspcfg dsp_driver=3'

But you might end up with a similar situation as before where only the digital devices are detected
(HDMI and Internal DMIC)

check ALSA devices detected after rebooting system

aplay -l && arecord -l

If system detects analog and digital devices correctly the modprobe option for the speakers should also work

If devices are not detected correctly get alsa-info data again
and use command in post#21 to change alsa-sof.conf back to dsp_driver=1 so most of the audio devices are working

It seems things are working similarly to before. No speaker output, but the mic seems functional.
The speakers are labelled as Speaker - Comet Lake PCH cAVS again, as opposed to ‘Speakers - Built in Audio’ when it was working in Gnome Settings

aplay -l && arecord -l:

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

**** List of CAPTURE Hardware Devices ****
card 1: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 6: DMIC (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 7: DMIC16kHz (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

alsa info link

I think I’m just realizing I’m making the mistake of seeing “Reply” when I submit a message and thinking I’ve replied to you directly. I’ll have to double check I’ve actually clicked reply on one of your messages in the future.

I changed notification setting for this discussion from watching to tracking so I did not miss further comments

Comparing the latest ALSA data to the previous data was a bit more complicated because the audio devices are in a different order
But I can see from the latest data that the additional speakers are not detected

[ 6.407398] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC285: line_outs=1 (0x17/0x/0x0/0x0/0x0) type:speaker`

I was hoping that forcing use of SOF driver would allow system to use driver sof-audio-pci-intel-cnl
but still allow the snd_hda_intel for analog devices, so the modprobe option for using speakers would continue working
but skl_hda_dsp_generic is overwriting

And there are 4 controls absent from Mixer controls for card sofhdadsp when compared to Mixer controls for card PCH in earlier data

'Bass Speaker',0
'PCM',0
'IEC958',3
'IEC958',4

I suggest you revert to using snd_hda_intel driver for now

sudo tee /etc/modprobe.d/alsa-sof.conf <<<'options snd-intel-dspcfg dsp_driver=1'

And report the issue with Sound Open Firmware drivers to :

Thank you so much, you’ve been a real blessing! Thanks for the link on where to open an issue, I’ll definitely follow it up soon.
In the meantime, I can make do with an external microphone for the occasional time I need it :smile:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.