Hi!
I am using HP ZBook 15 G4 with Intel i7-7700HQ and I get audio out from HDMI trough Nvidia drivers but not from 3.5mm headphone jack.
EDIT: I can't even see 3.5mm headphone jack in computer settings
I tried to use 3.5mm headphone jack speakers but not working.
Hi and welcome. Zorin is a fork of Ubuntu 24.04 and using Brave A.I. gives:
" The issue is likely caused by the snd_soc_avs kernel module conflicting with your audio hardware in Ubuntu 24.04, or a driver configuration mismatch with your Intel HDA audio controller.
To resolve this, you can try the following two solutions in order:
1. Blacklist the snd_soc_avs Module
Recent Ubuntu 24.04 updates introduced the snd_soc_avs driver (introduced in kernel 6.7) which can interfere with older Intel audio codecs. Blacklisting it forces the system to use the standard snd_hda_intel driver.
- Create a new configuration file:
sudo nano /etc/modprobe.d/blacklist-avs.conf
- Add the following line:
blacklist snd_soc_avs
- Save the file (Ctrl+O, Enter) and exit (Ctrl+X).
- Reboot your system.
2. Force the Legacy HDA Driver
If blacklisting does not work, your system may be using the wrong DSP driver configuration for your Intel 200 Series PCH HD Audio. You can force the use of the legacy HDA driver instead of the newer SOF (Sound Open Firmware) driver.
- Create or edit the sound configuration file:
sudo nano /etc/modprobe.d/soundfix.conf
- Add the following line:
options snd-intel-dspcfg dsp_driver=1
- Update the initramfs to apply the change:
sudo update-initramfs -u -k all
- Reboot your system.
Verification
After rebooting, check if the analog output is recognized by running:
aplay -l
You should see your Intel Corporation 200 Series PCH HD Audio device listed. If it appears, ensure it is selected as the output device in your sound settings or via pavucontrol .
Note: If you are dual-booting with Windows, ensure Fast Startup is disabled in Windows, as this can lock the audio hardware and prevent Linux from initializing it correctly.
AI-generated answer. Please verify critical facts."
Hello and welcome,
could you give us the output of
cat /proc/asound/card*/codec* | grep Codec
Codec: Nvidia GPU 60 HDMI/DP
Codec: Conexant CX8200
EDIT:
Now it works when I started computer strange... I don't have fast boot enabled or anything like that
Step 1: Check actual jack detection with hdajackretask
Install the ALSA tools:
sudo apt install alsa-tools
Launch the jack retasking tool:
sudo hdajackretask
Select the Conexant CX8200 codec from the dropdown. You should see a list of pins. Look for pins that say "Not connected" or "Unknown" — one of these is likely your headphone jack.
Check the "Show unconnected pins" checkbox to see all pins clearly.
Step 2: Identify and enable the headphone jack
In hdajackretask:
- Look for a pin description mentioning "Speaker," "Headphone," or "Line Out" that shows as "Not connected" or has an unknown role.
- Select it and change the role to "Headphone" (or "Line Out").
- Click "Apply Now" to test immediately.
- If it works, click "Install boot override" to make it permanent.
Step 3: If hdajackretask doesn't show it
Run this to see all pin details:
cat /proc/asound/card*/codec*
Look for lines with Pin Default entries. Note the pin number(s) that appear to be your headphone jack (often labeled as 0x19 , 0x1a , or similar in HP machines).
Then create/edit /etc/modprobe.d/alsa-base.conf :
sudo nano /etc/modprobe.d/alsa-base.conf
Add this line (adjust pin numbers if needed):
options snd_hda_intel model=hp-zbook
If that model string doesn't exist, try:
options snd_hda_intel patch=cx8200_hp_zbook15
Reboot and test.
1 Like
cool, don't forget do mark the topic as resolved 
1 Like