Enabling Sensors on ASUS motherboards

Message
Author
User avatar
Eadwine Rose
Administrator
Posts: 15290
Joined: Wed Jul 12, 2006 2:10 am

Re: Enabling Sensors on ASUS motherboards

#41 Post by Eadwine Rose »

I don't use either in my conky.
Then again, I don't use the MX provided conkies but my own.
MX-23.6_x64 July 31 2023 * 6.1.0-39amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
KoO
Posts: 491
Joined: Fri Feb 10, 2017 12:21 am

Re: Enabling Sensors on ASUS motherboards

#42 Post by KoO »

I ended up dumping the it87 module driver for my B450-I and when with the asuswmi driver which is better suited to it8665 in fact it is written for this chip.
I also have started using bumblebee-status instead of my conkybar. With Linux debian-10-testing 5.4.0-4-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13) x86_64 GNU/Linux Nvidia 440.64

Code: Select all

 debian-10-testing * 15 files = 304K ~ >$sensors
asuswmisensors-isa-0000
Adapter: ISA adapter
CPU Core Voltage:        905.00 mV 
VPP MEM Voltage:           2.48 V  
+12V Voltage:             10.14 V  
+5V Voltage:               4.96 V  
3VSB Voltage:              3.33 V  
VBAT Voltage:              3.23 V  
AVCC3 Voltage:             3.33 V  
SB 1.05V Voltage:          1.07 V  
CPU Core Voltage:        917.00 mV 
CPU SOC Voltage:           1.09 V  
CPU Fan:                 1134 RPM
Chassis Fan 1:            713 RPM   <<<< note it reads the fan sensors right now
AIO Pump:                1153 RPM   <<<< note it reads the fan sensors right now Which i use as a second cpu fan on Noctua NH-U9S CPU Cooler. Just needed to change a bios setting.
CPU OPT:                    0 RPM
CPU Temperature:          +46.0°C  
CPU Socket Temperature:   +43.0°C <<<< plus socket temp
Motherboard Temperature:  +45.0°C  <<<< and motherboard temp
Chipset Temperature:      +59.0°C  
CPU VRM Temperature:      +43.0°C  
CPU VRM Output Current:    5.00 A  

k10temp-pci-00c3
Adapter: PCI adapter
Tdie:         +46.5°C  (high = +70.0°C)
Tctl:         +46.5°C  
Last edited by KoO on Fri Mar 13, 2020 12:58 am, edited 2 times in total.
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . :linuxlove:
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

SwampRabbit
Posts: 3602
Joined: Tue Jun 14, 2016 2:02 pm

Re: Enabling Sensors on ASUS motherboards

#43 Post by SwampRabbit »

KoO wrote: Fri Mar 13, 2020 12:22 am I ended up dumping the it87 module driver for my B450-I and when with the asuswmi driver which is better suited to it8665 in fact it written for this chip.
thanks KoO for following up on your progress, did you mention in this thread anywhere about the asuswmi driver... I have a B350 and B450
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.

User avatar
KoO
Posts: 491
Joined: Fri Feb 10, 2017 12:21 am

Re: Enabling Sensors on ASUS motherboards

#44 Post by KoO »

Link to the driver itself https://github.com/electrified/asus-wmi-sensors

To download the driver you have two choices.
git clone https://github.com/electrified/asus-wmi-sensors.git
OR download the zip file
asus-wmi-sensors-master.zip (make sure to extract the file first)

To install the asuswmi.
After changing to the downloaded directory

Code: Select all

sudo make dkms
sudo make modules
sudo make install
sudo modprobe asus-wmi-sensors
I also added this line asus-wmi-sensors to /etc/modules-load.d/modules.conf so it loaded at startup.

On the electrified git he has a list of suited motherboards and some more info too. Works just fine here.

P.S. If you were adding acpi_enforce_resources=lax to your grub line as below. Which was the case with it87 driver This is no longer needed with asus-wmi-sensors and can be removed. Remember to sudo update-grub if you remove the line.

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_enforce_resources=lax" << You must add this to your grub line ( acpi_enforce_resources=lax ) then sudo update-grub No longer needed

I hope this helps people with Asus boards and the it8665 chip.
Last edited by KoO on Fri Mar 13, 2020 3:34 am, edited 7 times in total.
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . :linuxlove:
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

SwampRabbit
Posts: 3602
Joined: Tue Jun 14, 2016 2:02 pm

Re: Enabling Sensors on ASUS motherboards

#45 Post by SwampRabbit »

KoO wrote: Fri Mar 13, 2020 12:51 am To install the asuswmi.

Code: Select all

sudo make dkms
sudo make modules
sudo make install
sudo modprobe asus-wmi-sensors
Link to the driver itself https://github.com/electrified/asus-wmi-sensors To install the driver I did it the above way a little different then on the git page. Also so added this line asus-wmi-sensors to /etc/modules-load.d/modules.conf so it loaded at startup.

On the electrified git he has a list of suited motherboards and some more info too. Works just fine here.
Thanks! Really appreciate it, I'll double back on this soon, makes it easier when we have some smart folks helping and sharing.
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.

User avatar
Eadwine Rose
Administrator
Posts: 15290
Joined: Wed Jul 12, 2006 2:10 am

Re: Enabling Sensors on ASUS motherboards

#46 Post by Eadwine Rose »

Thanks!! I will bookmark and test on a separate clean install sometime :)
MX-23.6_x64 July 31 2023 * 6.1.0-39amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

alexjack
Posts: 129
Joined: Wed May 02, 2018 3:11 pm

Re: Enabling Sensors on ASUS motherboards

#47 Post by alexjack »

Hi all. I get some errors when I try to add the asus-wmi-sensors. Any ideas what I could try? BTW, I also tried with the 4.19 kernel but got the same thing.

=================================
$ sudo make dkms

Creating symlink /var/lib/dkms/asus-wmi-sensors/d3b68db/source ->
/usr/src/asus-wmi-sensors-d3b68db

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j12 KERNELRELEASE=5.6.0-2-amd64 TARGET=5.6.0-2-amd64...
cleaning build area...

DKMS: build completed.

asus-wmi-sensors.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.6.0-2-amd64/kernel/drivers/hwmon/asus-wmi-sensors/

depmod...
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

DKMS: install completed.
modprobe: ERROR: could not insert 'asus_wmi_sensors': No such device
make: *** [Makefile:102: dkms] Error 1

User avatar
Eadwine Rose
Administrator
Posts: 15290
Joined: Wed Jul 12, 2006 2:10 am

Re: Enabling Sensors on ASUS motherboards

#48 Post by Eadwine Rose »

Looks like I never got around to that one.


Please post your Quick System Info, thanks :)
MX-23.6_x64 July 31 2023 * 6.1.0-39amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

alexjack
Posts: 129
Joined: Wed May 02, 2018 3:11 pm

Re: Enabling Sensors on ASUS motherboards

#49 Post by alexjack »

Sure (but now with the 4.19 Kernel back):

Code: Select all

System:    Host: <filter> Kernel: 4.19.0-6-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 
           parameters: BOOT_IMAGE=/vmlinuz-4.19.0-6-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0 
           Distro: MX-19.2_x64 patito feo February 15  2020 base: Debian GNU/Linux 10 (buster) 
Machine:   Type: Desktop Mobo: ASUSTeK model: TUF B450M-PRO GAMING v: Rev X.0x serial: <filter> 
           UEFI [Legacy]: American Megatrends v: 0312 date: 09/18/2018 
CPU:       Topology: 6-Core model: AMD Ryzen 5 2600 bits: 64 type: MT MCP arch: Zen+ 
           family: 17 (23) model-id: 8 stepping: 2 microcode: 800820B L2 cache: 3072 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 92213 
           Speed: 1869 MHz min/max: 1550/3850 MHz boost: disabled Core speeds (MHz): 1: 1869 
           2: 1537 3: 2596 4: 2316 5: 1855 6: 2009 7: 1920 8: 2422 9: 2704 10: 3199 11: 1751 
           12: 2020 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA GM107 [GeForce GTX 750 Ti] vendor: ASUSTeK driver: nvidia 
           v: 418.152.00 bus ID: 07:00.0 chip ID: 10de:1380 
           Display: x11 server: X.Org 1.20.4 driver: nvidia 
           unloaded: fbdev,modesetting,nouveau,vesa alternate: nv resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 750 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 418.152.00 
           direct render: Yes 
Audio:     Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 07:00.1 
           chip ID: 10de:0fbc 
           Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 09:00.3 chip ID: 1022:1457 
           Sound Server: ALSA v: k4.19.0-6-amd64 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK 
           driver: r8169 v: kernel port: f000 bus ID: 05:00.0 chip ID: 10ec:8168 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 1.47 TiB used: 1.00 TiB (68.1%) 
           ID-1: /dev/nvme0n1 vendor: Corsair model: Force MP300 size: 111.79 GiB block size: 
           physical: 512 B logical: 512 B speed: 15.8 Gb/s lanes: 2 serial: <filter> 
           rev: E8FM11.7 scheme: MBR 
           ID-2: /dev/sda vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB block size: 
           physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 3B6Q scheme: GPT 
           ID-3: /dev/sdb vendor: HGST (Hitachi) model: HTS541010A9E680 size: 931.51 GiB 
           block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm 
           serial: <filter> rev: A710 scheme: GPT 
Partition: ID-1: / raw size: 109.24 GiB size: 107.03 GiB (97.97%) used: 61.30 GiB (57.3%) 
           fs: ext4 dev: /dev/dm-0 
           ID-2: /boot raw size: 512.0 MiB size: 487.9 MiB (95.30%) used: 85.7 MiB (17.6%) 
           fs: ext4 dev: /dev/nvme0n1p1 
           ID-3: swap-1 size: 1.98 GiB used: 0 KiB (0.0%) fs: swap swappiness: 15 (default 60) 
           cache pressure: 100 (default) dev: /dev/dm-1 
Sensors:   System Temperatures: cpu: 32.4 C mobo: N/A gpu: nvidia temp: 34 C 
           Fan Speeds (RPM): cpu: 0 gpu: nvidia fan: 25% 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian buster-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian buster main contrib non-free
           2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxlinux.mirrors.uk2.net/packages/mx/repo/ buster main non-free
           Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 
           1: deb http://linux.teamviewer.com/deb stable main
           No active apt repos in: /etc/apt/sources.list.d/various.list 
           No active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
Info:      Processes: 398 Uptime: 54m Memory: 15.66 GiB used: 1.33 GiB (8.5%) Init: SysVinit 
           v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 Shell: quick-system-in 
           running in: quick-system-in inxi: 3.0.36 

Helen-Earth
Posts: 59
Joined: Sat May 23, 2020 8:17 pm

Re: Enabling Sensors on ASUS motherboards

#50 Post by Helen-Earth »

@alexjack

I would start on this page https://www.asus.com/Motherboards/TUF-B ... esk_BIOS/
This is the first bios for you board. American Megatrends v: 0312 date: 09/18/2018

Have you run (sudo sensors-detect) first ?

It also depends on what sensor chip your motherboard is using.
As you can see from the list below TUF boards may or may not be supported ?. From https://github.com/electrified/asus-wmi-sensors

Code: Select all

Supported hardware
Board 	Minimum BIOS Version
Asus ROG Crosshair Hero VII (WiFi) 	1002
Asus ROG Crosshair Hero VII 	1002
Asus ROG Crosshair Hero VI 	6301
Asus ROG Crosshair Hero VI (WiFi) 	6302
Asus ROG Crosshair Hero VI Extreme 	?
ROG STRIX B450-E GAMING 	2406
ROG STRIX B450-F GAMING 	2406
ROG STRIX B450-I GAMING 	2406
ROG STRIX X470-F GAMING 	5007
ROG STRIX X470-I GAMING 	?
ROG STRIX X399-E GAMING 	
ASUS Zenith Extreme 	1607/1701
ASUS Zenith Extreme Alpha 	0207
Prime X399-A 	1002
Prime X470-Pro 	4602

Currently don't work / unknown Board  <<<<<

X570 boards (no WMI interface - use nct6775 driver instead)
B550 boards (no WMI interface - use nct6775 driver instead)
TRX40 boards (no WMI interface - use nct6775 driver instead)
Prime B450-Plus
Prime X370-Pro
TUF B450-PLUS GAMING
TUF X470-PLUS GAMING 

Post Reply

Return to “General”