Speakers not working on HP spectre x360

Hello,

I am running Fedora 36 with kernel 5.17.7-300.fc36.x86_64 on a new HP Spectre x360. After a fresh install, headphones are working, but speakers are not.

I am running pipewire (pipewire-pulseaudio). The ‘Sound’ settings seem to recognize the card as ‘Speaker - Tiger Lake-LP Smart Sounds Technology Audio Controller’.

I ensure that when I run alsamixer, all channels are unmuted (there is the only one soundcard).

Is there any direction on what I can do next to further diagnose the problem?
Thank you

This is the output of pactl list cards

Card #0
	Name: alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic
	Driver: module-alsa-card.c
	Owner Module: 6
	Properties:
		alsa.card = "0"
		alsa.card_name = "sof-hda-dsp"
		alsa.long_card_name = "HP-HPSpectrex360Convertible14_ea1xxx--89DB"
		alsa.driver_name = "snd_soc_skl_hda_dsp"
		device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a0c8"
		device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
		device.string = "0"
		device.description = "Tiger Lake-LP Smart Sound Technology Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		HiFi: Play HiFi quality Music (sinks: 4, sources: 2, priority: 40768, available: yes)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: HiFi
	Ports:
		[Out] HDMI3: HDMI / DisplayPort 3 Output (type: HDMI, priority: 700, latency offset: 0 usec, not available)
			Part of profile(s): HiFi
		[Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 600, latency offset: 0 usec, not available)
			Part of profile(s): HiFi
		[Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 500, latency offset: 0 usec, not available)
			Part of profile(s): HiFi
		[Out] Speaker: Speaker (type: Speaker, priority: 100, latency offset: 0 usec, availability unknown)
			Part of profile(s): HiFi
		[Out] Headphones: Headphones (type: Headphones, priority: 200, latency offset: 0 usec, not available)
			Part of profile(s): HiFi
		[In] Mic2: Headphones Stereo Microphone (type: Mic, priority: 200, latency offset: 0 usec, not available)
			Part of profile(s): HiFi
		[In] Mic1: Digital Microphone (type: Mic, priority: 100, latency offset: 0 usec, availability unknown)
			Part of profile(s): HiFi

In case anyone is wondering, this was resolved with a band-aid fix below

sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x01 && sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x01 && sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x01 && sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00

Hello,
I’m still facing some problems…
This solution works as long as I’m playing audio.
If I stop the reproduction for some seconds and then I resume it, the issue comes back.

Any suggestions?