zeule / asus-wmi-ec-sensors Goto Github PK
View Code? Open in Web Editor NEWLinux HWMON sensors driver for ASUS motherboards to get sensor readings from the embedded controller
Linux HWMON sensors driver for ASUS motherboards to get sensor readings from the embedded controller
Hi,
For the Crosshair VIII Formula I get the following, which looks a bit off, I guess.. I don't think any fan is at 3.2k RPMs, nor anything should be reported as 216°C ?
asuswmisensorsamd500-isa-0000
Adapter: ISA adapter
CPU_Opt: 0 RPM
Chipset: 3290 RPM
Water: 0 RPM
Chipset: +72.0°C
CPU: +39.0°C
Motherboard: +36.0°C
T_Sensor: +216.0°C
VRM: +35.0°C
Water_In: +216.0°C
Water_Out: +216.0°C
CPU: 5.00 A
Below are nct6789 vals taken at the same time
nct6798-isa-0290
Adapter: ISA adapter
in0: 1.02 V (min = +0.00 V, max = +1.74 V)
in1: 1.01 V (min = +0.00 V, max = +0.00 V) ALARM
in2: 3.39 V (min = +0.00 V, max = +0.00 V) ALARM
in3: 3.31 V (min = +0.00 V, max = +0.00 V) ALARM
in4: 1.74 V (min = +0.00 V, max = +0.00 V) ALARM
in5: 592.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in6: 1.08 V (min = +0.00 V, max = +0.00 V) ALARM
in7: 3.39 V (min = +0.00 V, max = +0.00 V) ALARM
in8: 3.31 V (min = +0.00 V, max = +0.00 V) ALARM
in9: 912.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in10: 88.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in11: 104.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in12: 1.02 V (min = +0.00 V, max = +0.00 V) ALARM
in13: 1.34 V (min = +0.00 V, max = +0.00 V) ALARM
in14: 904.00 mV (min = +0.00 V, max = +0.00 V) ALARM
fan1: 422 RPM (min = 0 RPM)
fan2: 981 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
fan4: 0 RPM (min = 0 RPM)
fan5: 618 RPM (min = 0 RPM)
fan6: 0 RPM (min = 0 RPM)
fan7: 0 RPM (min = 0 RPM)
SYSTIN: +36.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
CPUTIN: +39.5°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
AUXTIN0: +22.0°C sensor = thermistor
AUXTIN1: +103.0°C sensor = thermistor
AUXTIN2: +97.0°C sensor = thermistor
AUXTIN3: +31.0°C sensor = thermistor
PECI Agent 0 Calibration: +39.0°C
PCH_CHIP_CPU_MAX_TEMP: +0.0°C
PCH_CHIP_TEMP: +0.0°C
PCH_CPU_TEMP: +0.0°C
intrusion0: ALARM
intrusion1: ALARM
beep_enable: disabled
Not really an issue but I made a simple PKGBUILD file based on zenpower3-dkms's PKGBUILD :
PKGBUILD
_pkgname=asus-wmi-ec-sensors
pkgname=asus-wmi-ec-sensors-dkms
pkgver=0.1
pkgrel=1
pkgdesc='Linux kernel driver for reading ec sensors on ASUS motherboards'
arch=('x86_64' 'i686')
url='https://github.com/zeule/asus-wmi-ec-sensors'
depends=('dkms')
provides=('asus-wmi-ec-sensors')
conflicts=('asus-wmi-ec-sensors')
source=("Makefile" "asus-wmi-ec-sensors.c" "dkms.conf")
sha256sums=('SKIP' 'SKIP' 'SKIP')
prepare() {
sed -e "s/@CFLGS@//" \
-e "s/@VERSION@/$pkgver/" \
-i "$srcdir/dkms.conf"
}
build () {
make
}
package() {
install -Dm644 "$srcdir/dkms.conf" "$pkgdir/usr/src/$_pkgname-$pkgver/dkms.conf"
install -Dm644 "$srcdir/Makefile" "$pkgdir/usr/src/$_pkgname-$pkgver/Makefile"
install -Dm644 "$srcdir/asus-wmi-ec-sensors.c" "$pkgdir/usr/src/$_pkgname-$pkgver/asus-wmi-ec-sensors.c"
}
dkms.conf
MAKE="make TARGET=${kernelver} CFLAGS_MODULE+=@CFLGS@"
CLEAN="make clean"
PACKAGE_NAME="asus-wmi-ec-sensors"
PACKAGE_VERSION="@VERSION@"
BUILT_MODULE_NAME[0]="asus-wmi-ec-sensors"
DEST_MODULE_LOCATION[0]="/kernel/drivers/hwmon/asus-wmi-ec-sensors"
AUTOINSTALL="yes"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.