I installed alsa-tools:
pamac install alsa-tools
Then I run:
hdajackretask
There I can overwrite pins.
- Choose
Intel Kabylake HDMI
in the dropdown menu. - Overwrite all pins which are not registered. There is normally a dropdown menu for every Pin. Choose “DisplayPort” or similar.
- Click on
Apply boot override
and type in your user password to confirm.
Now there are 2 files written:
/usr/lib/firmware/hda-jack-retask.fw
and /etc/modprobe.d/hda-jack-retask.conf
$ cat /usr/lib/firmware/hda-jack-retask.fw
[codec]
0x8086280b 0x80860101 2
[pincfg]
0x05 0x18560070
0x06 0x18560070
0x07 0x18560070
$ cat /etc/modprobe.d/hda-jack-retask.conf
# This file was added by the program 'hda-jack-retask'.
# If you want to revert the changes made by this program, you can simply erase this file and reboot your computer.
options snd-hda-intel patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw
After a reboot, it works again normally, since the pins are patched.
Guess you could also downgrade HP’s UEFI firmware, but that is also a solution.