Skip to content

Instantly share code, notes, and snippets.

@plembo
Last active April 29, 2024 16:18
Show Gist options
  • Save plembo/b1d564a3140bb2784d35f5e8e0d5b661 to your computer and use it in GitHub Desktop.
Save plembo/b1d564a3140bb2784d35f5e8e0d5b661 to your computer and use it in GitHub Desktop.
Gigabyte GA-A320M-S2H motherboard and lm_sensors

Gigabyte GA-A320M-S2H motherboard and lm_sensors

This motherboard appears to use the ITE IT8686E super I/O controller for temperature and other sensors.

"Out of the box", lm_sensors on Ubuntu 18.04.4 LTS does not detect any sensors.

While the it87 driver required to address ITE controllers is included in the latest kernels, the version shipped for Ubuntu does not support the IT8686.

But forcing modprobe to use the id 0x8628 does return results, albeit mislabeled (none of the temps reported are labelled as cpu, but it it looks like temp1 is a match for the overall CPU temp).

Therefore, to enable support on Ubuntu 18.04.4 LTS:

  1. Add kernel parameter acpi_enforce_resources=lax and reboot [1].
  2. Add it87 to /etc/modules.
  3. Create it87.conf under /etc/modprobe.d with this line:
options it87 force_id=0x8628
  1. Run sudo modprobe it87 force_id=0x8628.
  2. Reboot.
  3. Try sensors.

Resources:

NOTE: While the lm_sensors project is still alive and kicking, according to its maintainer work on the open source it87 driver has been stalled for years because the manufacturers' (Gigabyte and ITE) won't share relevant technical information. UPDATE on 29 April 2024: This procedure still works on the same old motherboard, now running Ubuntu Server 22.04 LTS.

[1] Edit /etc/default/grub and add to GRUB_CMDLINE_LINUX, like this:

GRUB_CMDLINE_LINUX="acpi_enforce_resources=lax"

Then run update-grub and reboot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment