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 You should see something like:
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31) 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 You should see something like:

If you see “no soundcards found”, try:
sudo alsa force-reload then check again.
Step 3: Open sound settings
pavucontrol Install if missing: sudo apt install pavucontrol
Step 4: Reload ALSA and PulseAudio
sudo alsa force-reload systemctl --user restart pulseaudio If you use PipeWire (Ubuntu 24.04 does):
systemctl --user restart pipewire pipewire-pulse Step 5: Check kernel module
Make sure the driver is loaded:
lsmod | grep snd_hda_intel If missing, try loading it:
sudo modprobe snd_hda_intel Then confirm:
dmesg | grep snd_hda_intel Look for errors like:
cannot find codec # or device initialization failed Step 6: Fix possible model issue
Try editing ALSA config:
sudo nano /etc/modprobe.d/alsa-base.conf 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 then reboot
For me, it works
Leave a comment if you have any questions.
===========
Please keep in touch
Portfolio
Linkedin
Github
Youtube

Top comments (0)