HP Z240 SFF / sound


The system uses a Realtek ALC221 chipset, but with some HP-specific changes. To get it to behave properly, the following configuration must be applied.

files to add / edit


# /etc/modprobe.d/snd_hda_intel.conf

options snd_hda_intel beep_mode=0
options snd_hda_intel enable_msi=1
options snd_hda_intel model=alc221-hp-mic
options snd_hda_intel patch=snd_hda_intel.fw
options snd_hda_intel power_save=0
options snd_hda_intel power_save_controller=N
options snd_hda_intel probe_only=0,1


# /lib/firmware/snd_hda_intel.fw

0x10ec0221 0x103c802e 0

0x12 0x403c0000
0x14 0x01014020
0x17 0x411111f0
0x18 0x411111f0
0x19 0x03a19020
0x1a 0x02a11030
0x1b 0x0181303f
0x1d 0x40500001
0x1e 0x411111f0
0x21 0x0221102f

With the above in place:

  • the front microphone jack is active
  • both the front and rear headphone / line out jacks are active.

setting up

use alsamixer to disable “Auto-Mute Mode”

Leave a Reply

Your email address will not be published. Required fields are marked *