No audio output or input

I am not even sure where to begin troubleshooting this, but I have no audio outputs or inputs at all

would you mind giving us some more details? (ex: are you using a laptop? desktop? if you have external speakers, are they connected with a cable or bluetooth? do you know brand and model?)

Welcome to the :enos:-Forum

Would you give us output of

inxi -A

?

Laptop, Asus cx5501fe. I’ve got internal speakers and connected headphones. Previously it would only play through external speakers when headphones were connected, but now it’s stopped working entirely

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_ADDRESS = "en_AU.UTF-8",
        LC_NAME = "en_AU.UTF-8",
        LC_MONETARY = "en_AU.UTF-8",
        LC_PAPER = "en_AU.UTF-8",
        LC_IDENTIFICATION = "en_AU.UTF-8",
        LC_TELEPHONE = "en_AU.UTF-8",
        LC_MEASUREMENT = "en_AU.UTF-8",
        LC_TIME = "en_SE.UTF-8",
        LC_NUMERIC = "en_AU.UTF-8",
        LANG = "en_AU.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_AU.UTF-8").
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio
    driver: sof-audio-pci-intel-tgl
  API: ALSA v: k6.10.5-arch1-1 status: kernel-api
  Server-1: PipeWire v: 1.2.2 status: active

okay there are a few things you could try:

1. Check Audio Settings

PipeWire and ALSA Configuration:

  • Open your audio settings: You can do this through the system settings or by using tools like pavucontrol or helvum (for PipeWire).
  • Verify the audio output: Ensure that the correct output device is selected (headphones when plugged in).
  • Check if the audio output is muted: Sometimes the audio might be muted or turned down in the settings.

Using alsamixer:

  • Open a terminal and run alsamixer.
  • Use the arrow keys to navigate and ensure that your headphones and speakers are not muted. Look for the correct device under the F6 key (select sound card).
  • Press Esc to exit.

2. Check if the Headphones are Detected

Run the following command to see if your headphones are being detected (if they are also connected, ofc):

cat /proc/asound/card*/codec* | grep -i -e "Headphone"

3. Reload Audio Modules

Try reloading the audio modules to reset the audio system. Run:

sudo alsa force-reload

4. Update and Install Missing Packages

Ensure your system is up to date and that all necessary packages are installed:

sudo pacman -Syu
sudo pacman -S alsa-utils pipewire pipewire-alsa pipewire-pulse

5. Check PipeWire Configuration

PipeWire might need reconfiguration. Ensure that PipeWire is correctly set up for handling audio:

pactl list sinks

Verify if the sinks (audio outputs) are listed properly and check if you can select the appropriate one.

6. Test with a Different Kernel

Sometimes kernel updates can impact hardware functionality. If you recently updated your kernel, try booting into an older kernel from your bootloader menu to see if the issue persists.
You may even want to consider a low-latency kernel as they, typically, are more oriented to “audio enthusiasts”

7. Check for Driver Issues

Ensure that the sof-audio-pci-intel-tgl driver is properly installed and up to date. Sometimes kernel updates or driver updates can affect hardware and it wouldn’t be surprising if one is botched:

dmesg | grep sof

Look for any error messages related to the driver.

8. Check Logs

Check system logs for any related errors:

journalctl -xe

Look for any error messages related to audio or PipeWire.

** FINALLY: Consider Reinstalling Audio Components**

If none of the above steps work, you might consider reinstalling audio-related packages:

sudo pacman -Rns pipewire pipewire-alsa pipewire-pulse alsa-utils
sudo pacman -S pipewire pipewire-alsa pipewire-pulse alsa-utils

After performing these steps, reboot your system and check if the issue has been resolved. If you still face problems, providing additional details from logs or any error messages might help in further diagnosis. At the moment this is all I can think of and would do in the same situation.

Best of luck!

I did a full system reinstall (I was trying some things for something else) and it semi fixed my issue. Now when I have no headphones plugged in, it will play no audio and detect no outputs, but if I plug in my headphones it exclusively plays through the internal speakers and registers them as the headphones

I stumbled across this https://github.com/WeirdTreeThing/chromebook-linux-audio
this solved my issue

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