New ASUS Sensor Driver For Linux Aims For Greater Flexibility & Faster Sensor Reading

Written by Michael Larabel in Hardware on 24 January 2022 at 05:50 AM EST. 5 Comments
HARDWARE
It's just with the in-development Linux 5.17 kernel that the "asus_wmi_ec_sensors" is making its debut for greatly expanded sensor support for modern ASUS desktop motherboards. However, there is already a new driver that has been in development that ultimately aims to be superior to this still-new driver.

The "asus_wmi_ec_sensors" driver relies upon the WMI interface (Windows Management Instrumentation) for sensor reading on a wide-range of modern ASUS motherboards. As with most desktop sensor drivers, this code was developed by the community.

Eugene Shalygin who co-developed the ASUS WMI sensor driver has been working on "asus-ec-sensors" as a newer and yet-to-be-merged ASUS sensor driver. The benefit of this new driver is that it interfaces with the embedded controller (EC) directly and not reliant upon the WMI interface.

By querying the embedded controller directly, sensor reads are much faster. Additionally, there is greater flexibility with this asus-ec-sensors driver in tapping the EC directly. Linux 5.17's ASUS WMI driver meanwhile can take "almost a full second to read all the snesors, that transfers less than 15 bytes of data" while poking the EC directly will yield much more timely readings.


After years of neglect but still without the official support of ASUS, modern ASUS desktop motherboards have finally begun seeing better sensor support on Linux.


At the moment this ASUS EC Sensors driver is targeting newer B550 and X570 ASUS motherboards and can support reading all available temperatures, fan speeds, and CPU current.

The ASUS EC Sensors Linux driver has been quick to develop and is already up to its v8 patches. We'll see if it gets buttoned up for a quick introduction in the 5.18 kernel or will take further time to mature for quicker and more flexible ASUS sensor reading on Linux.

As part of the driver patch series, the plan is to deprecate the 5.17-introduced asus_wmi_ec_sensors once this ASUS EC Sensors driver is merged. After proving itself and a period of deprecation, the asus_wmi_ec_sensors would then ultimately be removed from the kernel as a short-lived driver for ASUS sensor reading on Linux.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week