Speakers not working even though headphones work

Hello everyone !
I’ve started using EndeavourOS this weekend and I can’t seem to make my speakers produce any sound… I have an Nvidia sound controller but i only want to use the built in intel controller. I use pipewire and Gnome if that’s useful…
I’ve tried multiple things :
alsamixer :


volume control :



inxi -Aa result :
Screenshot from 2024-01-09 22-19-28
I’ve also tried the “Linux lts” booting option and it changed nothing…

We need a lot more details in order to help you.

For example. What makes you believe your built-in controller is capable of producing sound to your speakers? Have you done so on a different distro or OS, like windows? My device doesn’t so I had to buy an external sound card, specifically the Soundblaster X4.

Is this a laptop? A desktop? A mini-pc like a NUC?

Also, what connection do your speakers use? Is it an analog 3.5mm port? Did you use your headphones and speakers in the same port, but it only works with headphones and not the speakers?

Do you see where I’m getting at? Read your post back to yourself, and imagine you read your post as a stranger. There’s just not enough information here to get a clear picture in my mind to properly help you.

Edit: If mainline kernel doesn’t support a driver, the odds of LTS supporting it is practically zero.

I realize my post wasn’t detailed enough. My computer is a laptop: Asus ROG Strix G512LV_G512LV. I know that my speakers can produce sound because this PC had Windows before and the speakers worked perfectly. I don’t know which connection my speakers use, but I know that my headphones are connected with a 3.5mm Combo Audio Jack port. Also when I play a video : easy effects detects the sound so i guess it’s not a problem with firefox…


1 Like

I suspect that you are referring to the internal laptop speakers which is connected to the mother board.

yes

Thanks for understanding and sharing that crucial info.

To be very frank, it’s usually a poor sign if the audio doesn’t work out of the box on newer kernels such as the one Arch uses. Especially for a built-in audio device.

Have you tried any other Linux distros with success?

1 Like

i’ll try to install debian on dual boot and test the speakers

1 Like

Worth a try. Once you load into Debian Stable, do a full system update. If the audio still doesn’t work, I recommend changing your sources list file to the config pasted below. This will allow you to upgrade to Debian Sid and have a better idea if it’s just a driver issue with the kernels. Debian Sid uses the same kernel as Arch. Be sure to run apt update and then apt upgrade once the sources list is updated.

#------------------------------------------------------------------------------#
#                   OFFICIAL DEBIAN REPOS                    
#------------------------------------------------------------------------------#

###### Debian Main Repos
deb http://deb.debian.org/debian/ unstable main contrib non-free
deb-src http://deb.debian.org/debian/ unstable main contrib non-free

Well i’m starting to think that the problem comes from my hardware…
I installed debian on my machine, booted, no sound. Full system update, no sound…
I modified sources.list file and i did apt update, apt upgrade. I reboot, still no sound…

1 Like

That paints a clearer picture.

Not necessarily your hardware considering you said it works on windows. It very well could just lack proper support with the Linux kernels at the moment.

Not sure what solution works best for you but I would suggest an external sound card such as the Soundblaster X4. This card is fully supported by the Linux kernel and produces a very enjoyable audio quality especially if you have quality speakers. I own it and I couldn’t imagine my system without it.

This is a “well-known” issue on ASUS laptop sound hardware, in short there is a GPIO pin that needs to be toggled that activates the sound driver in sof. I had the same issue on my Asus Zenbook and Vivobook machines.

Try this solution from here (you will need to install hda-verb first it should be in alsa-tools or alsa-utils package IIRC)

2 Likes

Okay so i did this, installed alsa-tools cuz it wasn’t installed, executed the commands and it changed nothing…

If a solution can’t be found or provided in this thread, the following is a very low-cost solution that is supported by the kernel and will allow you to use your speakers. It’s a USB DAC. Good luck.

1 Like

Well, tough luck I guess, but it should work because its the same sound chip/codec ALC294.
Can you show us the output of the commands you executed?

Also maybe this can help you, this is my sound quirks “script” for my machine(s)

You can notice the subtle differences with sound devices/gpio flags used, you just need to chase the correct stuff.

On the other hand, I agree with Nomad, if you don’t want to spend too much time on this, buy the sound adapter.

1 Like

Well i think i won’t buy the adapter because i can already plug in my headphones and listen without usb… I think i’ll wait for a future fix, it’s not that important anyway. And for the outputs :
Zenbook 1

nid = 0x1, verb = 0x715, param = 0x0
value = 0x0
nid = 0x1, verb = 0x717, param = 0x1
value = 0x0
open: No such file or directory
nid = 0x1, verb = 0x715, param = 0x1
value = 0x0
nid = 0x1, verb = 0x715, param = 0x0
value = 0x0

Vivobook :

nid = 0x1, verb = 0x715, param = 0x0
value = 0x0
nid = 0x1, verb = 0x717, param = 0x1
value = 0x0
nid = 0x1, verb = 0x716, param = 0x1
value = 0x0
nid = 0x1, verb = 0x715, param = 0x1
value = 0x0
nid = 0x1, verb = 0x715, param = 0x0
value = 0x0

and the Zenbook2 :

nid = 0x1, verb = 0x715, param = 0xb
value = 0x0
nid = 0x1, verb = 0x717, param = 0x1
value = 0x0
nid = 0x1, verb = 0x716, param = 0x4f
value = 0x0
nid = 0x1, verb = 0x715, param = 0xf
value = 0x0
nid = 0x1, verb = 0x715, param = 0x0
value = 0x0
1 Like

That’s fair. Just note that it could be several months or longer before that happens and even then there’s still no guarantees.

https://bbs.archlinux.org/viewtopic.php?id=261306

well thanks but it didn’t work… i wrote to the /etc/modprobe.d/alsa-base.conf, but i can’t seem to find the model corresponding to my computer (asus rog strix g512LV). I tried with hda jack retask (changed pin 0x1b and 0x1e to “internal speaker” and it didn’t change… I also changed from pipewire to pulseaudio and it still doesn’t work. I installed a windows11 dual boot, it works on windows. I really like linux and i recently discovered endeavouros, which i also really like… i’ll stick to linux for now but if i really need to hear something, i’ll either take my headphones, or i’ll switch to windows just to listen to it… anyway thx a lot everybody !

@Windokk

Maybe this helps?