Troubles with Calculator key on HP notebook

Solution 1:

Finally it has been fixed! Thanks to someone on Github!

The issue was in udev database, PR fixing it is merged, hopefully, it will work after one of next updates.

Solution is here

https://github.com/pelrun/hp-omen-linux-module/issues/9#issuecomment-936474113

One needs to add following lines to the file /usr/lib/udev/hwdb.d/60-keyboard.hwdb

# HP Omen 15
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP:pnOMENLaptop15*:pvr*
 KEYBOARD_KEY_a1=!calc

Update

Better solution until fresh version of HWDB appears in the packages is to put those lines in the file /etc/udev/hwdb.d/70-keyboard.hwdb

Then run sudo systemd-hwdb update

These lines have been included in systemd v250.

Currently (05 Jan 2022) version of systemd on my KUbuntu 20.04 is 245.