Looks like that come from a forum post vs the official guide. For 12th gen with Ubuntu 22.04, please open a terminal and paste as follows:
sudo gedit /etc/default/grub
then on the line with GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash”
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash module_blacklist=hid_sensor_hub"
Save the file. Close the text editor.
Back in a terminal:
sudo update-grub
Then reboot.