-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center.
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center.
- HP Community
- Notebooks
- Notebook Audio
- audio not working when using any linux distro but works on w...
Create an account on the HP Community to personalize your profile and ask a question
01-13-2024 07:05 PM
Hi all so I basically I have been trying to install Linux on my laptop(link, specs and model number on the link down below) and right now I am currently using windows because whenever I try to install any linux distro the audio does not work I suspect this may be a driver problem since I have a HP laptop and many others have reported this for different models. If someone can give me a patch or fix for this it will really be appreciated 🙂
Link:
specs:
32gb ram @ 3200mhz
Intel core i7-13700H
1tb nvme
sound devices are appended below(uses a B&o speakers if that helps too):
Here is the output from the command "pactl list sinks" (ran on manjaro liveusb and booted with proprietary drivers):
Sink #62
State: SUSPENDED
Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink
Description: Raptor Lake-P/U/H cAVS HDMI / DisplayPort 3 Output
Driver: PipeWire
Sample Specification: s24-32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "0"
alsa.card_name = "sof-hda-dsp"
alsa.class = "generic"
alsa.device = "5"
alsa.driver_name = "snd_soc_skl_hda_dsp"
alsa.id = "HDMI3 (*)"
alsa.long_card_name = "HP-HPEnvyLaptop17t_cw000-Type1ProductConfigId-8BDD"
alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
alsa.name = ""
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HP-HPEnvyLaptop17t_cw000-Type1ProductConfigId-8BDD"
api.alsa.card.name = "sof-hda-dsp"
api.alsa.open.ucm = "true"
api.alsa.path = "hw:sofhdadsp,5"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "0"
device.api = "alsa"
device.class = "sound"
device.id = "49"
device.profile.description = "HDMI / DisplayPort 3 Output"
device.profile.name = "HiFi: hw:sofhdadsp,5: sink"
device.routes = "1"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Raptor Lake-P/U/H cAVS"
node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink"
node.nick = "HDMI / DisplayPort 3 Output"
node.pause-on-idle = "false"
object.path = "alsa:pcm:0:hw:sofhdadsp,5:playback"
priority.driver = "664"
priority.session = "664"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "35"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "62"
object.serial = "62"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio0"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
device.nick = "sof-hda-dsp"
device.plugged.usec = "15109036"
device.product.id = "0x51ca"
device.product.name = "Raptor Lake-P/U/H cAVS"
device.subsystem = "sound"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.string = "0"
Ports:
[Out] HDMI3: HDMI / DisplayPort 3 Output (type: HDMI, priority: 700, availability group: HDMI/DP,pcm=5, not available)
Active Port: [Out] HDMI3
Formats:
pcm
Sink #63
State: SUSPENDED
Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink
Description: Raptor Lake-P/U/H cAVS HDMI / DisplayPort 2 Output
Driver: PipeWire
Sample Specification: s24-32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "0"
alsa.card_name = "sof-hda-dsp"
alsa.class = "generic"
alsa.device = "4"
alsa.driver_name = "snd_soc_skl_hda_dsp"
alsa.id = "HDMI2 (*)"
alsa.long_card_name = "HP-HPEnvyLaptop17t_cw000-Type1ProductConfigId-8BDD"
alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
alsa.name = ""
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HP-HPEnvyLaptop17t_cw000-Type1ProductConfigId-8BDD"
api.alsa.card.name = "sof-hda-dsp"
api.alsa.open.ucm = "true"
api.alsa.path = "hw:sofhdadsp,4"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "1"
device.api = "alsa"
device.class = "sound"
device.id = "49"
device.profile.description = "HDMI / DisplayPort 2 Output"
device.profile.name = "HiFi: hw:sofhdadsp,4: sink"
device.routes = "1"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Raptor Lake-P/U/H cAVS"
node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink"
node.nick = "HDMI / DisplayPort 2 Output"
node.pause-on-idle = "false"
object.path = "alsa:pcm:0:hw:sofhdadsp,4:playback"
priority.driver = "680"
priority.session = "680"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "35"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "63"
object.serial = "63"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio0"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
device.nick = "sof-hda-dsp"
device.plugged.usec = "15109036"
device.product.id = "0x51ca"
device.product.name = "Raptor Lake-P/U/H cAVS"
device.subsystem = "sound"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.string = "0"
Ports:
[Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 600, availability group: HDMI/DP,pcm=4, not available)
Active Port: [Out] HDMI2
Formats:
pcm
Sink #64
State: SUSPENDED
Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink
Description: Raptor Lake-P/U/H cAVS HDMI / DisplayPort 1 Output
Driver: PipeWire
Sample Specification: s24-32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "0"
alsa.card_name = "sof-hda-dsp"
alsa.class = "generic"
alsa.device = "3"
alsa.driver_name = "snd_soc_skl_hda_dsp"
alsa.id = "HDMI1 (*)"
alsa.long_card_name = "HP-HPEnvyLaptop17t_cw000-Type1ProductConfigId-8BDD"
alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
alsa.name = ""
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HP-HPEnvyLaptop17t_cw000-Type1ProductConfigId-8BDD"
api.alsa.card.name = "sof-hda-dsp"
api.alsa.open.ucm = "true"
api.alsa.path = "hw:sofhdadsp,3"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "2"
device.api = "alsa"
device.class = "sound"
device.id = "49"
device.profile.description = "HDMI / DisplayPort 1 Output"
device.profile.name = "HiFi: hw:sofhdadsp,3: sink"
device.routes = "1"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Raptor Lake-P/U/H cAVS"
node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink"
node.nick = "HDMI / DisplayPort 1 Output"
node.pause-on-idle = "false"
object.path = "alsa:pcm:0:hw:sofhdadsp,3:playback"
priority.driver = "696"
priority.session = "696"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "35"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "64"
object.serial = "64"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio0"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
device.nick = "sof-hda-dsp"
device.plugged.usec = "15109036"
device.product.id = "0x51ca"
device.product.name = "Raptor Lake-P/U/H cAVS"
device.subsystem = "sound"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.string = "0"
Ports:
[Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 500, availability group: HDMI/DP,pcm=3, not available)
Active Port: [Out] HDMI1
Formats:
pcm
Sink #65
State: SUSPENDED
Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink
Description: Raptor Lake-P/U/H cAVS Speaker + Headphones
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 26214 / 40% / -23.88 dB, front-right: 26214 / 40% / -23.88 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "0"
alsa.card_name = "sof-hda-dsp"
alsa.class = "generic"
alsa.device = "0"
alsa.driver_name = "snd_soc_skl_hda_dsp"
alsa.id = "HDA Analog (*)"
alsa.long_card_name = "HP-HPEnvyLaptop17t_cw000-Type1ProductConfigId-8BDD"
alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
alsa.name = ""
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HP-HPEnvyLaptop17t_cw000-Type1ProductConfigId-8BDD"
api.alsa.card.name = "sof-hda-dsp"
api.alsa.open.ucm = "true"
api.alsa.path = "hw:sofhdadsp"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "3"
device.api = "alsa"
device.class = "sound"
device.id = "49"
device.profile.description = "Speaker + Headphones"
device.profile.name = "HiFi: hw:sofhdadsp: sink"
device.routes = "2"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Raptor Lake-P/U/H cAVS"
node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink"
node.nick = "Speaker + Headphones"
node.pause-on-idle = "false"
object.path = "alsa:pcm:0:hw:sofhdadsp:playback"
priority.driver = "1000"
priority.session = "1000"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "35"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "65"
object.serial = "65"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio0"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
device.nick = "sof-hda-dsp"
device.plugged.usec = "15109036"
device.product.id = "0x51ca"
device.product.name = "Raptor Lake-P/U/H cAVS"
device.subsystem = "sound"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.string = "0"
Ports:
[Out] Speaker: Speaker (type: Speaker, priority: 100, availability unknown)
[Out] Headphones: Headphones (type: Headphones, priority: 200, availability group: Headphone, not available)
Active Port: [Out] Speaker
Formats:
pcm
Solved! Go to Solution.
Accepted Solutions
03-14-2024 12:53 AM
Yep it should have been fixed when kernel 6.7.4 was released I believe. And you do need to run a script with the link here: https://github.com/xoocoon/hp-15-ew0xxx-snd-fix intructions are on github and don't worry about the model number they have added the model we are using, so hopefully everything runs fine and dandy for you 😉
01-14-2024 03:40 AM
Hello @goatedpenguin ,
Your post was marked as Spam and had to be manually released.
This is usually an automated process based on some content of the post or a manual process when Community rules are violated.
A volunteer may reply but if you need urgent help please work with our support organization in your region. Details on how to contact us are in my signature
Best regards
Steffen Baier
Notice: I am an HP Poly employee but all replies within the community are done as a volunteer outside of my day role. This community forum is not an official HP Poly support resource, thus responses from HP Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge.
If you need immediate and/or official assistance for former Poly\Plantronics\Polycom please open a service ticket through your support channels
For HP products please check HP Support.
Please also ensure you always check the General VoIP , Video Endpoint , UC Platform (Microsoft) , PSTN
03-14-2024 12:53 AM
Yep it should have been fixed when kernel 6.7.4 was released I believe. And you do need to run a script with the link here: https://github.com/xoocoon/hp-15-ew0xxx-snd-fix intructions are on github and don't worry about the model number they have added the model we are using, so hopefully everything runs fine and dandy for you 😉
03-15-2024 05:07 AM
Finally guys!! We are now approaching a working Linux kernel for almost all HP Envy/x360 laptops! Kernel 6.9 that soon will be release as RC1 will have a lot of fixes for the internal speakers. As you can see in this commit https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/sound/pci/hda/patch_realtek....
i have already tried patching the 6.7.9 and 6.8 kernel with my specific quirk for my Hp Envy x360 13-bf000 and it works perfectly!
diff --git sound/pci/hda/patch_realtek.c sound/pci/hda/patch_realtek.c
index a1facdb98d9a..e705334c286d 100644
--- sound/pci/hda/patch_realtek.c
+++ sound/pci/hda/patch_realtek.c
@@ -9950,6 +9950,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x103c, 0x8a0f, "HP Pavilion 14-ec1xxx", ALC287_FIXUP_HP_GPIO_LED),
SND_PCI_QUIRK(0x103c, 0x8a20, "HP Laptop 15s-fq5xxx", ALC236_FIXUP_HP_MUTE_LED_COEFBIT2),
SND_PCI_QUIRK(0x103c, 0x8a25, "HP Victus 16-d1xxx (MB 8A25)", ALC245_FIXUP_HP_MUTE_LED_COEFBIT),
+ SND_PCI_QUIRK(0x103c, 0x8a28, "HP Envy X360 13-bfxxx", ALC287_FIXUP_CS35L41_I2C_2),
SND_PCI_QUIRK(0x103c, 0x8a78, "HP Dev One", ALC285_FIXUP_HP_LIMIT_INT_MIC_BOOST),
SND_PCI_QUIRK(0x103c, 0x8aa0, "HP ProBook 440 G9 (MB 8A9E)", ALC236_FIXUP_HP_GPIO_LED),
SND_PCI_QUIRK(0x103c, 0x8aa3, "HP ProBook 450 G9 (MB 8AA1)", ALC236_FIXUP_HP_GPIO_LED),
So if you don't have the knowledge to patch your own kernel then make sure to get the 6.9 kernel when it gets released!
The guys from the linux community and developers from Cirrus has made an awesome job, and no thanks to HP. This is why OPEN SOURCE RULES!
03-28-2024 04:03 PM
Yes I can confirm that 6.9 rc1 works on my envy 13-bf0 too.
You could use the rc versions, seems pretty stable on my laptop at least. And if you have anything bugging out just reboot to an older kernel and loose the audio 😁