electrified / asus-wmi-sensors

Linux HWMON (lmsensors) sensors driver for various ASUS Ryzen and Threadripper motherboards
GNU General Public License v2.0
251 stars 30 forks source link

Strix B450-F might not be supported #1

Closed jasondaigo closed 5 years ago

jasondaigo commented 5 years ago

I cannot get a output like u on my Strix motherboard. Might be not suitable for that model. this is before the install and after removal of it87

asus-isa-0000
Adapter: ISA adapter
cpu_fan:        0 RPM

amdgpu-pci-0b00
Adapter: PCI adapter
vddgfx:       +0.75 V  
fan1:        1027 RPM
temp1:        +33.0°C  (crit = +91.0°C, hyst = -273.1°C)
power1:        3.00 W  (cap = 180.00 W)

k10temp-pci-00c3
Adapter: PCI adapter
Tdie:         +41.0°C  (high = +70.0°C)
Tctl:         +41.0°C  

then i installed the aur package

Reading repository package databases...
Reading local package database...
Resolving AUR dependencies...

:: AUR package will be installed:
 asus-wmi-sensors-dkms-git                                  -> 6.04e5cc0-1

:: Proceed with installation? [Y/n] 
:: [v]iew package details   [m]anually select packages
>> 
looking for conflicting AUR packages...
:: warning: Not showing diff for asus-wmi-sensors-dkms-git package (already reviewed)
Do you want to edit PKGBUILD for asus-wmi-sensors-dkms-git package? [y/N] N

:: Downloading the latest sources for a devel package asus-wmi-sensors-dkms-git...

:: Starting the build:
==> Making package: asus-wmi-sensors-dkms-git 13.0b9285a-1 (Wed Dec 19 17:52:57 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating asus-wmi-sensors git repo...
Fetching origin
  -> Found asus-wmi-sensors.conf
  -> Found dkms.conf
  -> Found module-load.conf
==> Validating source files with sha256sums...
    asus-wmi-sensors ... Skipped
    asus-wmi-sensors.conf ... Passed
    dkms.conf ... Passed
    module-load.conf ... Passed
==> Extracting sources...
  -> Creating working copy of asus-wmi-sensors git repo...
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "asus-wmi-sensors-dkms-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: asus-wmi-sensors-dkms-git 13.0b9285a-1 (Wed Dec 19 17:52:58 2018)

loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) asus-wmi-sensors-dkms-git-13.0b9285a-1

Total Installed Size:  0.07 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                                               [############################################] 100%
(1/1) checking package integrity                                             [############################################] 100%
(1/1) loading package files                                                  [############################################] 100%
(1/1) checking for file conflicts                                            [############################################] 100%
(1/1) checking available disk space                                          [############################################] 100%
:: Processing package changes...
(1/1) installing asus-wmi-sensors-dkms-git                                   [############################################] 100%
:: Running post-transaction hooks...
(1/2) Install DKMS modules
==> dkms install asus-wmi-sensors/13.0b9285a -k 4.19.9-arch1-1-ARCH
(2/2) Arming ConditionNeedsUpdate...
[jason@behemoth ~]$ 

and after a reboot i get this output (the asus one now at 3rd position.

k10temp-pci-00c3
Adapter: PCI adapter
Tdie:         +31.8°C  (high = +70.0°C)
Tctl:         +31.8°C  

amdgpu-pci-0b00
Adapter: PCI adapter
vddgfx:       +0.75 V  
fan1:        1032 RPM
temp1:        +36.0°C  (crit = +91.0°C, hyst = -273.1°C)
power1:        3.00 W  (cap = 180.00 W)

asus-isa-0000
Adapter: ISA adapter
cpu_fan:        0 RPM

modinfo

filename:       /lib/modules/4.19.9-arch1-1-ARCH/extramodules/kernel/drivers/hwmon/asus-wmi-sensors.ko
license:        GPL
description:    Asus WMI Sensors Driver
author:         Ed Brindley <kernel@maidavale.org>
srcversion:     99760DC6A51239BE5C30419
depends:        wmi
name:           asus_wmi_sensors
vermagic:       4.19.9-arch1-1-ARCH SMP preempt mod_unload modversions 

i have no access to a windows os. not even pirated one :-) cant confirm whether its WMI or not but thanks for the effort anyway. good idea. it87 will not be touched anymore. lets be real. EDIT:it does also not work with 4.19.4 which is the last kernel version with worrking it87 module for me which gives me this (better than nothing)

Adapter: ISA adapter
in0:          +1.40 V  (min =  +2.73 V, max =  +2.28 V)  ALARM
in1:          +2.51 V  (min =  +2.38 V, max =  +0.51 V)  ALARM
in2:          +2.01 V  (min =  +1.84 V, max =  +2.59 V)
in3:          +2.00 V  (min =  +2.77 V, max =  +2.07 V)  ALARM
in4:          +0.03 V  (min =  +2.60 V, max =  +2.39 V)  ALARM
in5:          +0.03 V  (min =  +2.19 V, max =  +1.46 V)  ALARM
in6:          +0.03 V  (min =  +2.06 V, max =  +0.51 V)  ALARM
3VSB:         +3.36 V  (min =  +0.41 V, max =  +0.68 V)  ALARM
Vbat:         +3.23 V  
+3.3V:        +3.36 V  
fan1:         467 RPM  (min =   33 RPM)
fan2:         438 RPM  (min =   11 RPM)
fan3:         329 RPM  (min =   11 RPM)
fan4:         346 RPM  (min =   -1 RPM)
fan6:           0 RPM  (min =   -1 RPM)
temp1:        +33.0°C  (low  = +37.0°C, high = -33.0°C)  ALARM
temp2:        +33.0°C  (low  =  -1.0°C, high = -10.0°C)  ALARM  sensor = thermistor
temp3:        +34.0°C  (low  = -26.0°C, high = -26.0°C)  ALARM  sensor = thermistor
temp4:        +34.0°C  (low  =  -2.0°C, high = -98.0°C)  ALARM  sensor = thermistor
temp5:        +34.0°C  (low  = +82.0°C, high = -87.0°C)  ALARM  sensor = thermistor
temp6:        +34.0°C  (low  = -32.0°C, high = +78.0°C)  sensor = thermistor
intrusion0:  ALARM
electrified commented 5 years ago

Hi Jason.

Thanks for trying the driver. I think the Strix B450-F does have WMI sensors, but I have read in a couple of places that the implementation is buggy.

See this Reddit post: https://www.reddit.com/r/Amd/comments/a3bayv/rog_strix_x470f_gaming_bios_4204_released_with/eb5fhs6/ "This Board has a broken WMI implementation, meaning it doesn't play nicely with any monitoring software except GPU-Z and HWInfo. Even their own ASUS AI Suite causes problems. HWInfo also warns you about it and disables the sensors on the the first time you run it. Should be fixed in a future BIOS release."

Also the HWiNFO changelog: https://www.hwinfo.com/version-history/ "Added workaround for ASUS ROG STRIX B450/X470 boards with buggy WMI implementation."

I would like to try and support it (although it may be we have to wait for ASUS to release a fixed BIOS).

I have added some additional logging to the driver.

If you reinstall the driver, you should get some output in the dmesg output similar to the following

[ 1865.631046] asuswmisensors: Supported board [ 1892.806338] asuswmisensors: WMI GUID matched - probing [ 1892.806640] asuswmisensors: Vendor: ASUSTeK COMPUTER INC. Board: ROG CROSSHAIR VII HERO (WI-FI) BIOS version: 1103 WMI version: 2

If you could send me that output please.

Thanks

jasondaigo commented 5 years ago

If you could send me that output please.

i will.ty edit: will also install the newer bios from 2018/11/30 beforehand

jasondaigo commented 5 years ago

this is the output

[    3.878086] asus_wmi_sensors: loading out-of-tree module taints kernel.
[    3.878099] asus_wmi_sensors: module verification failed: signature and/or required key missing - tainting kernel
[    3.878222] asuswmisensors: WMI GUID matched - probing
[    3.878369] asuswmisensors: Vendor: ASUSTeK COMPUTER INC. Board: ROG STRIX B450-F GAMING BIOS version: 1103 WMI version: 0
[    3.878369] asuswmisensors: Unsupported board
[    3.977261] asus_wmi: ASUS WMI generic driver loaded
[    3.978425] asus_wmi: Initialization: 0x0
[    3.978453] asus_wmi: BIOS WMI version: 0.9
[    3.978498] asus_wmi: SFUN value: 0x0
[    3.979033] asus_wmi: Number of fans: 1
electrified commented 5 years ago

Many thanks for the output. My driver only supports ASUSHW WMI versions 2 and 3 due to locking issues with earlier versions, and your board is reporting version 0.

For the time being I will update the README to indicate that your board isn't supported, and I will try and find out what workarounds HWiNFO is using to get round the locking issues.

jasondaigo commented 5 years ago

since then i enjoy the old stuff. :-) happy holidays