LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-09-2023, 02:10 PM   #1
ScaredConfusedandDeaf
LQ Newbie
 
Registered: Feb 2023
Posts: 1

Rep: Reputation: 0
Speakers on "HP Envy x360 2-in-1 Laptop 15-ew0013dx" seem to do absolutely nothing despite indications of audio playing on Arch Linux


I'm trying to get audio working (preferably with Pipewire, but not even actual Pulseaudio seems to work) on Arch Linux.

However, even after confirming I have drivers, it's silent.

(Output of aplay -l)

**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 31: HDA Analog Deep Buffer (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0

(In order to see this, I had installed drivers via sof-firmware and alsa-ucm-conf (that last one I question the necessity of but I got it anyway).)

Both pavucontrol and qpwgraph indicate that sound is playing out of the intended speaker...but nothing seems to be audible.

The main way I test audio is by playing something with MPV or trying to load an application (typically Super Tux Kart, but I haven't really had much luck with getting anything but the first loading screen to actually appear, if I don't just get a black screen anyway) (neither of which has wielded any successful results yet).

Currently, I'm using Wireplumber for a session manager.

Literally the only things I can think of as being the cause of the problem (besides some variable I literally know nothing about) is either I'm missing something else (related to my GPU, I seem to have issues with video (specifically when not in fullscreen (such as playing a video in MPV or running select screensavers for xscreensaver (some screensavers work without trouble while others either have elements that seem to be frozen, if not just everything in the screensaver being still for whatever reason) that seem to remain still like an image (when it isn't supposed to, as well as I know the particular screensavers anyway)), support is missing, or it has something to do with the only two profiles under Configuration in pavucontrol being "Play Hifi quality Music" and "Off".

The Sound Device is identified as "Alder Lake PCH-P High Definition Audio Controller" in pavucontrol and qpwgraph.

I've gotten help from other places. However, it still seems that no matter what I do, the best that ever happens is that it pretends to play sound and never gives real output, even when I use a command like aplay or speaker-test.

To make matters worse, even configuring things with alsactl and alsamixer hasn't wielded any results.

The machine is a "HP Envy x360 2-in-1 Laptop 15-ew0013dx", at least according to the bottom of it.

The physical volume keys (using the "Fn" Key with the respective keys at the top of the keyboard) seem to work, despite nothing actually being heard.

I know for a fact the actual speakers work, since I heard them make noise during the Windows 11 installation when I first booted up the machine.

(I will say that I'm somewhat new to Arch (not GNU/Linux in general, though) so if I'm missing something stupidly obvious to everyone else, then I apologize in advance.)
 
Old 02-13-2023, 06:54 AM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,977
Blog Entries: 33

Rep: Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467
ScaredConfusedandDeaf,

Welcome to LQ.

A fellow HP Envy x360 15-ew0013dx user appears to have solved the problem here:
https://unix.stackexchange.com/quest...rs-not-working

"Even after the release of Linux 6.1, the problem is not solved yet. But I solved it by applying this patch and recompiling the kernel".

Code:
diff --git a/sound/pci/hda/cs35l41_hda.c b/sound/pci/hda/cs35l41_hda.c
index 129bffb431c22..21d8c2de128ff 100644
--- a/sound/pci/hda/cs35l41_hda.c
+++ b/sound/pci/hda/cs35l41_hda.c
@@ -1156,7 +1156,8 @@ static int cs35l41_no_acpi_dsd(struct cs35l41_hda *cs35l41, struct device *physd
    hw_cfg->valid = true;
    put_device(physdev);
 
-   if (strncmp(hid, "CLSA0100", 8) == 0) {
+   if ((strncmp(hid, "CLSA0100", 8) == 0) ||
+       (strncmp(hid, "CSC3551", 7) == 0)) {
        hw_cfg->bst_type = CS35L41_EXT_BOOST_NO_VSPK_SWITCH;
    } else if (strncmp(hid, "CLSA0101", 8) == 0) {
        hw_cfg->bst_type = CS35L41_EXT_BOOST;
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 8a57636f622e9..e7053cbc6bb6e 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9179,6 +9179,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
    SND_PCI_QUIRK(0x103c, 0x83b9, "HP Spectre x360", ALC269_FIXUP_HP_MUTE_LED_MIC3),
    SND_PCI_QUIRK(0x103c, 0x841c, "HP Pavilion 15-CK0xx", ALC269_FIXUP_HP_MUTE_LED_MIC3),
    SND_PCI_QUIRK(0x103c, 0x8497, "HP Envy x360", ALC269_FIXUP_HP_MUTE_LED_MIC3),
+   SND_PCI_QUIRK(0x103c, 0x8a31, "HP ENVY x360 2-in-1 Laptop 15-ey0xxx", ALC287_FIXUP_CS35L41_I2C_2),
    SND_PCI_QUIRK(0x103c, 0x84da, "HP OMEN dc0019-ur", ALC295_FIXUP_HP_OMEN),
    SND_PCI_QUIRK(0x103c, 0x84e7, "HP Pavilion 15", ALC269_FIXUP_HP_MUTE_LED_MIC3),
    SND_PCI_QUIRK(0x103c, 0x8519, "HP Spectre x360 15-df0xxx", ALC285_FIXUP_HP_SPECTRE_X360),

Last edited by beachboy2; 02-13-2023 at 09:08 AM.
 
Old 02-13-2023, 08:26 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
If the above doesn't help and if you have an audio jack, you might try testing with external speakers. You might also try booting to a Live CD/USB of some not Arch related and testing the with it.

That might help narrow down the issue.
 
Old 02-13-2023, 09:09 PM   #4
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,125

Rep: Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297
Is this a similar problem?
https://www.linuxquestions.org/quest...ml#post6410804
 
Old 01-25-2024, 07:59 AM   #5
McFixxx
LQ Newbie
 
Registered: Jan 2024
Posts: 1

Rep: Reputation: 0
I know this is an older thread, but I have the same issue (and am brand new to linux)

I decided to jump into the deep end and spent all day getting arch running with plasma on an HP x360 I had laying around. I have the same speaker issue. However, I don't have the slightest idea of how to apply these patches to the system. I tried running that first line but "--git" is not recognized after diff. Is this something I need to install, or am I reading correctly elsewhere that I need to modify the kernel and re-compile it?

Thank you for any help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Indications about buying a TV tuner that works with Fedora 12 mythcat Linux - Hardware 2 11-07-2010 09:05 AM
mplayer says it's playing the sound but nothing from speakers? lugoteehalt Linux - Software 2 01-11-2009 06:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration