DEV Community

Cover image for Fix audio not working on Ubuntu 24.04.3 (at least in my case)
Cheulong Sear
Cheulong Sear

Posted on

Fix audio not working on Ubuntu 24.04.3 (at least in my case)

Recently I installed a new Ubuntu, after that my wired earphones didn't work anymore, I spent a lot of time fixing it. Here is the step that I did. It might depend on the device; in my case, it is an Asus ROG Strix.

Step 1: Check if the device is detected

Run

lspci | grep -i audio
Enter fullscreen mode Exit fullscreen mode

You should see something like:

00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
Enter fullscreen mode Exit fullscreen mode

If nothing appears, your kernel might not detect it → you may need firmware support.

If it does appear, continue.

Step 2: Check sound card listing

aplay -l
Enter fullscreen mode Exit fullscreen mode

You should see something like:

soundcard-listing
If you see “no soundcards found”, try:

sudo alsa force-reload
Enter fullscreen mode Exit fullscreen mode

then check again.

Step 3: Open sound settings

pavucontrol
Enter fullscreen mode Exit fullscreen mode

Install if missing: sudo apt install pavucontrol

Step 4: Reload ALSA and PulseAudio

sudo alsa force-reload
systemctl --user restart pulseaudio
Enter fullscreen mode Exit fullscreen mode

If you use PipeWire (Ubuntu 24.04 does):

systemctl --user restart pipewire pipewire-pulse
Enter fullscreen mode Exit fullscreen mode

Step 5: Check kernel module

Make sure the driver is loaded:

lsmod | grep snd_hda_intel
Enter fullscreen mode Exit fullscreen mode

If missing, try loading it:

sudo modprobe snd_hda_intel
Enter fullscreen mode Exit fullscreen mode

Then confirm:

dmesg | grep snd_hda_intel
Enter fullscreen mode Exit fullscreen mode

Look for errors like:

cannot find codec
# or
device initialization failed
Enter fullscreen mode Exit fullscreen mode

Step 6: Fix possible model issue

Try editing ALSA config:

sudo nano /etc/modprobe.d/alsa-base.conf
Enter fullscreen mode Exit fullscreen mode

Add this line at the end

options snd-hda-intel model=alc295
options snd-hda-intel model=auto
options snd-hda-intel model=dell-headset-multi
Enter fullscreen mode Exit fullscreen mode

add-model

then reboot

For me, it works

(back to top)

Leave a comment if you have any questions.

===========
Please keep in touch
Portfolio
Linkedin
Github
Youtube

Top comments (0)