t-8ch / linux-gigabyte-wmi-driver

Linux Driver for WMI on Gigabyte Mainboards. LEGACY. New development happens in mainline Linux.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/platform/x86/gigabyte-wmi.c
30 stars 4 forks source link

Usage reports #1

Closed t-8ch closed 3 years ago

t-8ch commented 3 years ago

Note: The usage reports are not needed anymore.

Add a comment if you tried the driver. Please mention the tested mainboard and the observed results. Also post the output grep . /sys/class/dmi/id/* 2> /dev/null, so your board can be put into the whitelist. For failing results please open a new ticket.

MeisterP commented 3 years ago

Z390 I AORUS PRO WIFI (rev. 1.0)

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +35.0°C  
temp2:        +41.0°C  
temp3:        +21.0°C  
temp4:         +0.0°C  
temp5:        +31.0°C  
temp6:        +32.0°C  
fedoraTim commented 3 years ago

B550 Gaming X V2 (rev.1.x)

gigabyte_wmi-virtual-0 Adapter: Virtual device temp1: +27.0°C
temp2: +30.0°C
temp3: +34.0°C
temp4: +31.0°C
temp5: +39.0°C
temp6: +37.0°C

Detects all 6 sensors, Thank you.

muzena commented 3 years ago

@t-8ch

On X470 AORUS ULTRA GAMING (rev. 1.0) does not work.

gigabyte_wmi-virtual-0 Adapter: Virtual device temp1: +0.0°C
temp2: +0.0°C
temp3: +0.0°C
temp4: +0.0°C
temp5: +0.0°C
temp6: +0.0°C

t-8ch commented 3 years ago

@muzena Can you try to load the normal it87 driver as described in https://github.com/lm-sensors/lm-sensors/issues/154 and compare the results?

muzena commented 3 years ago

@t-8ch This work, I add /etc/modprobe.d/it87.conf options it87 force_id=0x8728

sensors ``` X470-AORUS-ULTRA-GAMING:~$ sensors k10temp-pci-00c3 Adapter: PCI adapter Tctl: +45.5°C Tdie: +45.5°C it8728-isa-0a40 Adapter: ISA adapter in0: 768.00 mV (min = +0.00 V, max = +3.06 V) in1: 2.03 V (min = +0.00 V, max = +3.06 V) in2: 2.03 V (min = +0.00 V, max = +3.06 V) in3: 2.04 V (min = +0.00 V, max = +3.06 V) in4: 1.21 V (min = +0.00 V, max = +3.06 V) in5: 888.00 mV (min = +0.00 V, max = +3.06 V) in6: 1.36 V (min = +0.00 V, max = +3.06 V) 3VSB: 3.26 V (min = +0.00 V, max = +6.12 V) Vbat: 3.00 V fan1: 1125 RPM (min = 0 RPM) fan2: 0 RPM (min = 0 RPM) fan3: 0 RPM (min = 0 RPM) fan4: 957 RPM (min = 0 RPM) fan5: 0 RPM (min = 0 RPM) temp1: +33.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor temp2: +45.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor temp3: +45.0°C (low = +127.0°C, high = +127.0°C) sensor = disabled intrusion0: ALARM nvme-pci-0a00 Adapter: PCI adapter Composite: +46.9°C (low = -273.1°C, high = +84.8°C) (crit = +84.8°C) Sensor 1: +46.9°C (low = -273.1°C, high = +65261.8°C) Sensor 2: +46.9°C (low = -273.1°C, high = +65261.8°C) it8728-isa-0a60 Adapter: ISA adapter in0: 1.51 V (min = +0.00 V, max = +3.06 V) in1: 732.00 mV (min = +0.00 V, max = +3.06 V) in2: 1.15 V (min = +0.00 V, max = +3.06 V) +3.3V: 3.70 V (min = +0.00 V, max = +6.12 V) in4: 1.96 V (min = +0.00 V, max = +3.06 V) in5: 1.64 V (min = +0.00 V, max = +3.06 V) in6: 3.06 V (min = +0.00 V, max = +3.06 V) 3VSB: 3.70 V (min = +0.00 V, max = +6.12 V) Vbat: 3.36 V fan1: 0 RPM (min = 0 RPM) fan2: 2509 RPM (min = 0 RPM) fan3: 0 RPM (min = 0 RPM) fan4: 0 RPM (min = 0 RPM) fan5: 0 RPM (min = 0 RPM) temp1: +34.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor temp2: +28.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor temp3: +32.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor intrusion0: ALARM amdgpu-pci-0b00 Adapter: PCI adapter vddgfx: N/A vddnb: N/A edge: +45.0°C ```
t-8ch commented 3 years ago

Discussion for the X470 Aorus Ultra Gaming is now over at #2

t-8ch commented 3 years ago

@MeisterP @fedoraTim Could you also post the output of grep . /sys/class/dmi/id/* 2> /dev/null, so I can add your boards to the new DMI whitelist?

fedoraTim commented 3 years ago

Sure,

/sys/class/dmi/id/bios_date:03/12/2021 /sys/class/dmi/id/bios_release:5.17 /sys/class/dmi/id/bios_vendor:American Megatrends International, LLC. /sys/class/dmi/id/bios_version:F13e /sys/class/dmi/id/board_asset_tag:Default string /sys/class/dmi/id/board_name:B550 GAMING X V2 /sys/class/dmi/id/board_serial:Default string /sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd. /sys/class/dmi/id/board_version:x.x /sys/class/dmi/id/chassis_asset_tag:Default string /sys/class/dmi/id/chassis_serial:Default string /sys/class/dmi/id/chassis_type:3 /sys/class/dmi/id/chassis_vendor:Default string /sys/class/dmi/id/chassis_version:Default string /sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF13e:bd03/12/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550GAMINGXV2:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550GAMINGXV2:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring: /sys/class/dmi/id/product_family:B550 MB /sys/class/dmi/id/product_name:B550 GAMING X V2 /sys/class/dmi/id/product_serial:Default string /sys/class/dmi/id/product_sku:Default string /sys/class/dmi/id/product_uuid:032e02b4-0499-05f4-f306-1a0700080009 /sys/class/dmi/id/product_version:Default string /sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd. /sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF13e:bd03/12/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550GAMINGXV2:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550GAMINGXV2:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:

MeisterP commented 3 years ago
/sys/class/dmi/id/bios_date:01/19/2021
/sys/class/dmi/id/bios_release:5.13
/sys/class/dmi/id/bios_vendor:American Megatrends Inc.
/sys/class/dmi/id/bios_version:F8i
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:Z390 I AORUS PRO WIFI-CF
/sys/class/dmi/id/board_serial:Default string
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:x.x
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_serial:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInc.:bvrF8i:bd01/19/2021:br5.13:svnGigabyteTechnologyCo.,Ltd.:pnZ390IAORUSPROWIFI:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnZ390IAORUSPROWIFI-CF:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
/sys/class/dmi/id/product_family:Default string
/sys/class/dmi/id/product_name:Z390 I AORUS PRO WIFI
/sys/class/dmi/id/product_serial:Default string
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_uuid:03d502e0-045e-05e7-7006-850700080009
/sys/class/dmi/id/product_version:Default string
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInc.:bvrF8i:bd01/19/2021:br5.13:svnGigabyteTechnologyCo.,Ltd.:pnZ390IAORUSPROWIFI:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnZ390IAORUSPROWIFI-CF:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
philipl commented 3 years ago

Z390 I AORUS PRO WIFI (rev. 1.0)

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +35.0°C  
temp2:        +41.0°C  
temp3:        +21.0°C  
temp4:         +0.0°C  
temp5:        +31.0°C  
temp6:        +32.0°C  

I have the same board and get the same results. Comparing with it87 output, I see the same six temps and values in the same order. temp4 is not connected on this board.

After some back and forth with the BIOS, I believe the sensor mapping is:

  label temp1 "System"
  label temp2 "PCH"
  label temp3 "PECI"
  ignore temp4
  label temp5 "VRM"
  label temp6 "CPU Socket"
ghost commented 3 years ago

B550M DS3H grep . /sys/class/dmi/id/* 2> /dev/null /sys/class/dmi/id/bios_date:09/18/2020 /sys/class/dmi/id/bios_release:5.17 /sys/class/dmi/id/bios_vendor:American Megatrends Inc. /sys/class/dmi/id/bios_version:F10 /sys/class/dmi/id/board_asset_tag:Default string /sys/class/dmi/id/board_name:B550M DS3H /sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd. /sys/class/dmi/id/board_version:Default string /sys/class/dmi/id/chassis_asset_tag:Default string /sys/class/dmi/id/chassis_type:3 /sys/class/dmi/id/chassis_vendor:Default string /sys/class/dmi/id/chassis_version:Default string /sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInc.:bvrF10:bd09/18/2020:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550MDS3H:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550MDS3H:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring: /sys/class/dmi/id/product_family:B550 MB /sys/class/dmi/id/product_name:B550M DS3H /sys/class/dmi/id/product_sku:Default string /sys/class/dmi/id/product_version:Default string /sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd. /sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInc.:bvrF10:bd09/18/2020:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550MDS3H:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550MDS3H:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:

gigabyte_wmi-virtual-0 Adapter: Virtual device temp1: +26.0°C
temp2: +40.0°C
temp3: +32.0°C
temp4: +22.0°C
temp5: +34.0°C
temp6: +40.0°C

All 6 temps are detected, thank you

LuzipherMcLeod commented 3 years ago

First, thanks for working on this!

This is a report for the X570 Aorus Master (rev. 1.0).

I'm not sure it's useful, but I do get a message about an unknown ITE chip with ID 0x8688 when running sensors-detect. Later it successfully finds a "ITE IT8792E Super IO Sensors" chip for the it87 driver.

With kernel 5.12.0-rc6 I get the following messages in dmesg when loading the module:

[  286.925265] gigabyte_wmi: loading out-of-tree module taints kernel.
[  286.925682] gigabyte-wmi DEADBEEF-2001-0000-00A0-C90629100000: Forcing load on unknown platform
[  286.926248] gigabyte-wmi DEADBEEF-2001-0000-00A0-C90629100000: No temperature sensors usable

The it87 module was loaded (without any module parameters) before I loaded the gigabyte-wmi.ko and does apparently detect sensors from the IT8792E chip. Relevant output of the sensors command:

it8792-isa-0a60
Adapter: ISA adapter
in0:           1.78 V  (min =  +0.00 V, max =  +2.78 V)
in1:         665.00 mV (min =  +0.00 V, max =  +2.78 V)
in2:         981.00 mV (min =  +0.00 V, max =  +2.78 V)
+3.3V:         1.66 V  (min =  +0.00 V, max =  +2.78 V)
in4:           1.79 V  (min =  +0.00 V, max =  +2.78 V)
in5:           1.18 V  (min =  +0.00 V, max =  +2.78 V)
in6:           2.78 V  (min =  +0.00 V, max =  +2.78 V)  ALARM
3VSB:          1.65 V  (min =  +0.00 V, max =  +2.78 V)
Vbat:          1.60 V
fan1:        3276 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:         563 RPM  (min =    0 RPM)
temp1:        +34.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        -55.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp3:        +32.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
intrusion0:  ALARM

On boot in dmesg it seems to detect a different chip though:

[    3.143913] it87: Found IT8733E chip at 0xa60, revision 3

Output of grep . /sys/class/dmi/id/* 2> /dev/null

/sys/class/dmi/id/bios_date:02/17/2021
/sys/class/dmi/id/bios_release:5.17
/sys/class/dmi/id/bios_vendor:American Megatrends International, LLC.
/sys/class/dmi/id/bios_version:F33c
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:X570 AORUS MASTER
/sys/class/dmi/id/board_serial:Default string
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:x.x
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_serial:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF33c:bd02/17/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnX570AORUSMASTER:pvr-CF:rvnGigabyteTechnologyCo.,Ltd.:rnX570AORUSMASTER:rvrx.x:cvnDefaultstring:ct3:cvrDefa
ltstring:
/sys/class/dmi/id/product_family:X570 MB
/sys/class/dmi/id/product_name:X570 AORUS MASTER
/sys/class/dmi/id/product_serial:Default string
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_uuid:032e02b4-0499-05a3-8506-6c0700080009
/sys/class/dmi/id/product_version:-CF
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF33c:bd02/17/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnX570AORUSMASTER:pvr-CF:rvnGigabyteTechnologyCo.,Ltd.:rnX570AORUSMASTER:rvrx.x:cvnDefaultstring:ct3:
vrDefaultstring:
t-8ch commented 3 years ago

@LuzipherMcLeod If the gigabyte-wmi module does not detect the sensors then there is not much than can be done about that unfortunately.

gasinvein commented 3 years ago

Gigabyte Z490 UD

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        -92.0°C  
temp2:         +1.0°C  
temp4:       +100.0°C  
temp5:        -35.0°C  
temp6:         -9.0°C
ukcb commented 3 years ago

B550M DS3H (rev. 1.x)

############################################################################ $ uname -r -v 5.10.0-0.bpo.5-amd64 SMP Debian 5.10.24-1~bpo10+1 (2021-03-29)

############################################################################ $ grep . /sys/class/dmi/id/* 2> /dev/null /sys/class/dmi/id/bios_date:03/25/2021 /sys/class/dmi/id/bios_release:5.17 /sys/class/dmi/id/bios_vendor:American Megatrends International, LLC. /sys/class/dmi/id/bios_version:F13g /sys/class/dmi/id/board_asset_tag:Default string /sys/class/dmi/id/board_name:B550M DS3H /sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd. /sys/class/dmi/id/board_version:x.x /sys/class/dmi/id/chassis_asset_tag:Default string /sys/class/dmi/id/chassis_type:3 /sys/class/dmi/id/chassis_vendor:Default string /sys/class/dmi/id/chassis_version:Default string /sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF13g:bd03/25/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550MDS3H:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550MDS3H:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring: /sys/class/dmi/id/product_family:B550 MB /sys/class/dmi/id/product_name:B550M DS3H /sys/class/dmi/id/product_sku:Default string /sys/class/dmi/id/product_version:Default string /sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd. /sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF13g:bd03/25/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550MDS3H:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550MDS3H:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:

############################################################################ (without loading modules) $ sensors acpitz-acpi-0 Adapter: ACPI interface temp1: +16.8°C (crit = +20.8°C)

k10temp-pci-00c3 Adapter: PCI adapter Tctl: +27.4°C
Tdie: +27.4°C

############################################################################ (with module: insmod gigabyte-wmi.ko force_load=1) $ sensors gigabyte_wmi-virtual-0 Adapter: Virtual device temp1: +27.0°C
temp2: +37.0°C
temp3: +27.0°C
temp4: +17.0°C
temp5: +30.0°C
temp6: +44.0°C

acpitz-acpi-0 Adapter: ACPI interface temp1: +16.8°C (crit = +20.8°C)

k10temp-pci-00c3 Adapter: PCI adapter Tctl: +27.1°C
Tdie: +27.1°C

############################################################################ (with module: insmod it87.ko ignore_resource_conflict=1 from https://github.com/gamanakis/it87) $ sensors it8688-isa-0a40 Adapter: ISA adapter in0: +0.96 V (min = +0.00 V, max = +3.06 V) in1: +2.06 V (min = +0.00 V, max = +3.06 V) in2: +2.05 V (min = +0.00 V, max = +3.06 V) in3: +2.03 V (min = +0.00 V, max = +3.06 V) in4: +1.01 V (min = +0.00 V, max = +3.06 V) in5: +0.92 V (min = +0.00 V, max = +3.06 V) in6: +1.38 V (min = +0.00 V, max = +3.06 V) 3VSB: +3.36 V (min = +0.00 V, max = +6.12 V) Vbat: +3.05 V
fan1: 811 RPM (min = 0 RPM) fan2: 508 RPM (min = 0 RPM) fan3: 387 RPM (min = 0 RPM) temp1: +27.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor temp2: +37.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor temp3: +27.0°C (low = +127.0°C, high = +127.0°C) sensor = AMD AMDSI temp4: +17.0°C (low = +0.0°C, high = +127.0°C) sensor = thermistor temp5: +30.0°C (low = +0.0°C, high = -125.0°C) sensor = thermistor temp6: +44.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor intrusion0: ALARM

acpitz-acpi-0 Adapter: ACPI interface temp1: +16.8°C (crit = +20.8°C)

k10temp-pci-00c3 Adapter: PCI adapter Tctl: +27.5°C
Tdie: +27.5°C

############################################################################ (with both modules) $ sensors it8688-isa-0a40 Adapter: ISA adapter in0: +0.96 V (min = +0.00 V, max = +3.06 V) in1: +2.06 V (min = +0.00 V, max = +3.06 V) in2: +2.05 V (min = +0.00 V, max = +3.06 V) in3: +2.03 V (min = +0.00 V, max = +3.06 V) in4: +1.02 V (min = +0.00 V, max = +3.06 V) in5: +0.92 V (min = +0.00 V, max = +3.06 V) in6: +1.38 V (min = +0.00 V, max = +3.06 V) 3VSB: +3.36 V (min = +0.00 V, max = +6.12 V) Vbat: +3.05 V
fan1: 882 RPM (min = 0 RPM) fan2: 509 RPM (min = 0 RPM) fan3: 387 RPM (min = 0 RPM) temp1: +27.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor temp2: +37.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor temp3: +30.0°C (low = +127.0°C, high = +127.0°C) sensor = AMD AMDSI temp4: +17.0°C (low = +0.0°C, high = +127.0°C) sensor = thermistor temp5: +30.0°C (low = +0.0°C, high = -125.0°C) sensor = thermistor temp6: +44.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor intrusion0: ALARM

acpitz-acpi-0 Adapter: ACPI interface temp1: +16.8°C (crit = +20.8°C)

gigabyte_wmi-virtual-0 Adapter: Virtual device temp1: +27.0°C
temp2: +37.0°C
temp3: +30.0°C
temp4: +17.0°C
temp5: +30.0°C
temp6: +44.0°C

k10temp-pci-00c3 Adapter: PCI adapter Tctl: +30.6°C
Tdie: +30.6°C ############################################################################

ppascher commented 3 years ago

Result for the Aorus X570 Xtreme (Rev 1.1) is the same as with the Master posted by @LuzipherMcLeod :

journal:

kernel: gigabyte-wmi DEADBEEF-2001-0000-00A0-C90629100000: Forcing load on unknown platform
kernel: gigabyte-wmi DEADBEEF-2001-0000-00A0-C90629100000: No temperature sensors usable
...
kernel: it87: Found IT8733E chip at 0xa60, revision 3

sensors with it87:

it8792-isa-0a60
Adapter: ISA adapter
in0:           1.79 V  (min =  +0.00 V, max =  +2.78 V)
in1:         589.00 mV (min =  +0.00 V, max =  +2.78 V)
in2:         981.00 mV (min =  +0.00 V, max =  +2.78 V)
in3:          76.00 mV (min =  +0.00 V, max =  +2.78 V)
in4:           1.79 V  (min =  +0.00 V, max =  +2.78 V)
in5:           1.18 V  (min =  +0.00 V, max =  +2.78 V)
in6:           2.78 V  (min =  +0.00 V, max =  +2.78 V)  ALARM
3VSB:          1.66 V  (min =  +0.00 V, max =  +2.78 V)
Vbat:          1.58 V
fan1:           0 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:           0 RPM  (min =    0 RPM)
temp1:        +30.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        -55.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp3:        +35.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
intrusion0:  ALARM

grep . /sys/class/dmi/id/* 2> /dev/null

/sys/class/dmi/id/bios_date:03/25/2021
/sys/class/dmi/id/bios_release:5.17
/sys/class/dmi/id/bios_vendor:American Megatrends International, LLC.
/sys/class/dmi/id/bios_version:F33h
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:X570 AORUS XTREME
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:Default string
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF33h:bd03/25/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnX570AORUSXTREME:pvr-CF:rvnGigabyteTechnologyCo.,Ltd.:rnX570AORUSXTREME:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:
/sys/class/dmi/id/product_family:X570 MB
/sys/class/dmi/id/product_name:X570 AORUS XTREME
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_version:-CF
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF33h:bd03/25/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnX570AORUSXTREME:pvr-CF:rvnGigabyteTechnologyCo.,Ltd.:rnX570AORUSXTREME:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:
mclvren commented 3 years ago

B550 AORUS ELITE (rev. 1.0) sensors

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +33.0°C  
temp2:        +31.0°C  
temp3:        +29.0°C  
temp4:        +35.0°C  
temp5:        +35.0°C  
temp6:        +37.0°C  

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +16.8°C  (crit = +20.8°C)

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:     1.26 V  
SVI2_SoC:      1.09 V  
Tdie:         +36.1°C  (high = +95.0°C)
Tctl:         +36.1°C  
Tccd1:        +38.5°C  
SVI2_P_Core:   3.31 W  
SVI2_P_SoC:    6.44 W  
SVI2_C_Core:   3.29 A  
SVI2_C_SoC:    5.89 A

grep . /sys/class/dmi/id/* 2> /dev/null

/sys/class/dmi/id/bios_date:04/23/2021
/sys/class/dmi/id/bios_release:5.17
/sys/class/dmi/id/bios_vendor:American Megatrends International, LLC.
/sys/class/dmi/id/bios_version:F13h
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:B550 AORUS ELITE
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:x.x
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF13h:bd04/23/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550AORUSELITE:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550AORUSELITE:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
/sys/class/dmi/id/product_family:B550 MB
/sys/class/dmi/id/product_name:B550 AORUS ELITE
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_version:Default string
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF13h:bd04/23/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550AORUSELITE:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550AORUSELITE:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
letsjustfixit commented 3 years ago

Thank you for this!

grep . /sys/class/dmi/id/* 2> /dev/null result:

/sys/class/dmi/id/bios_date:03/18/2021
/sys/class/dmi/id/bios_release:5.17
/sys/class/dmi/id/bios_vendor:American Megatrends Inc.
/sys/class/dmi/id/bios_version:F4b
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:B460 HD3
/sys/class/dmi/id/board_serial:Default string
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:x.x
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_serial:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInc.:bvrF4b:bd03/18/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB460HD3:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB460HD3:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
/sys/class/dmi/id/product_family:B460 MB
/sys/class/dmi/id/product_name:B460HD3
/sys/class/dmi/id/product_serial:Default string
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_version:Default string
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInc.:bvrF4b:bd03/18/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB460HD3:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB460HD3:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:

sensors (relevant part only)

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +33.0°C  
temp2:        +41.0°C  
temp3:        +32.0°C  
temp4:        +32.0°C  
temp5:        +34.0°C  
temp6:        +29.0°C 
wuesti commented 3 years ago

It works. Thank you!

/sys/class/dmi/id/bios_date:01/14/2021
/sys/class/dmi/id/bios_release:5.19
/sys/class/dmi/id/bios_vendor:American Megatrends International, LLC.
/sys/class/dmi/id/bios_version:F1
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:B560M D3H
/sys/class/dmi/id/board_serial:Default string
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:x.x
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_serial:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF1:bd01/14/2021:br5.19:svnGigabyteTechnologyCo.,Ltd.:pnB560MD3H:pvr-CF:rvnGigabyteTechnologyCo.,Ltd.:rnB560MD3H:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
/sys/class/dmi/id/product_family:B560 MB
/sys/class/dmi/id/product_name:B560M D3H
/sys/class/dmi/id/product_serial:Default string
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_uuid:03c00218-044d-059a-2806-730700080009
/sys/class/dmi/id/product_version:-CF
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF1:bd01/14/2021:br5.19:svnGigabyteTechnologyCo.,Ltd.:pnB560MD3H:pvr-CF:rvnGigabyteTechnologyCo.,Ltd.:rnB560MD3H:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
sensors
gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +29.0°C  
temp2:        +41.0°C  
temp3:        +30.0°C  
temp4:        +30.0°C  
temp5:        +35.0°C  
temp6:        +34.0°C 
Dunedan commented 3 years ago

B550I AORUS PRO AX (rev 1.0)

$ grep -s . /sys/class/dmi/id/*
/sys/class/dmi/id/bios_date:01/18/2021
/sys/class/dmi/id/bios_release:5.17
/sys/class/dmi/id/bios_vendor:American Megatrends Inc.
/sys/class/dmi/id/bios_version:F12
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:B550I AORUS PRO AX
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:x.x
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInc.:bvrF12:bd01/18/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550IAORUSPROAX:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550IAORUSPROAX:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
/sys/class/dmi/id/product_family:B550 MB
/sys/class/dmi/id/product_name:B550I AORUS PRO AX
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_version:Default string
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInc.:bvrF12:bd01/18/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550IAORUSPROAX:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550IAORUSPROAX:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
$ cat /sys/class/wmi_bus/wmi_bus-PNP0C14\:00/DEADBEEF-2001-0000-00A0-C90629100000/hwmon/hwmon*/temp?_input
43000
40000
37000
21000
37000
43000
$ sensors
[…]

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +43.0°C  
temp2:        +40.0°C  
temp3:        +37.0°C  
temp4:        +21.0°C  
temp5:        +37.0°C  
temp6:        +43.0°C

[…]

Temperature readings are the same as reported by the it87 driver (running with options it87 force_id=0x8628 and the acpi_enforce_resources=lax kernel command line parameter).

maikelsilv4 commented 3 years ago

GA-AB350M DS3H V2: k10temp-pci-00c3 Adapter: PCI adapter Tdie: +24.5°C (high = +70.0°C) Tctl: +24.5°C

acpitz-acpi-0 Adapter: ACPI interface temp1: +16.8°C (crit = +20.8°C)

gigabyte_wmi-virtual-0 Adapter: Virtual device temp1: +30.0°C
temp2: +57.0°C
temp3: +24.0°C
temp4: +18.0°C
temp5: +54.0°C
temp6: +51.0°C

amdgpu-pci-0600 Adapter: PCI adapter vddgfx: N/A
vddnb: N/A
edge: +24.0°C (crit = +80.0°C, hyst = +0.0°C)

jas4711 commented 3 years ago

Gigabyte X570 I AORUS PRO WIFI with Ryzen 9 5950x. -55°C seems wrong?

root@ryza:~/linux-gigabyte-wmi-driver# sensors
gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +62.0°C  
temp2:        -55.0°C  
temp3:        +66.0°C  
temp4:        +21.0°C  
temp5:        +60.0°C  
temp6:        +66.0°C  

k10temp-pci-00c3
Adapter: PCI adapter
temp1:         +0.0°C  (high = +70.0°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +16.8°C  (crit = +20.8°C)
temp2:        +16.8°C  (crit = +20.8°C)

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:            N/A  

amdgpu-pci-0a00
Adapter: PCI adapter
vddgfx:        1.04 V  
fan1:        2879 RPM  (min =    0 RPM, max = 3850 RPM)
edge:         +79.0°C  (crit = +100.0°C, hyst = -273.1°C)
                       (emerg = +105.0°C)
junction:    +106.0°C  (crit = +110.0°C, hyst = -273.1°C)
                       (emerg = +115.0°C)
mem:          +86.0°C  (crit = +94.0°C, hyst = -273.1°C)
                       (emerg = +99.0°C)
power1:      248.00 W  (cap = 250.00 W)

root@ryza:~/linux-gigabyte-wmi-driver# 
/sys/class/dmi/id/bios_date:04/23/2021
/sys/class/dmi/id/bios_release:5.17
/sys/class/dmi/id/bios_vendor:American Megatrends International, LLC.
/sys/class/dmi/id/bios_version:F33h
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:X570 I AORUS PRO WIFI
/sys/class/dmi/id/board_serial:Default string
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:Default string
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_serial:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF33h:bd04/23/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnX570IAORUSPROWIFI:pvr-CF:rvnGigabyteTechnologyCo.,Ltd.:rnX570IAORUSPROWIFI:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:
/sys/class/dmi/id/product_family:X570 MB
/sys/class/dmi/id/product_name:X570 I AORUS PRO WIFI
/sys/class/dmi/id/product_serial:Default string
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_uuid:032e02b4-0499-05c0-3306-990700080009
/sys/class/dmi/id/product_version:-CF
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF33h:bd04/23/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnX570IAORUSPROWIFI:pvr-CF:rvnGigabyteTechnologyCo.,Ltd.:rnX570IAORUSPROWIFI:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:
Norkolt commented 3 years ago

Gigabyte B550M AORUS PRO-P

sensors:

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +40.0°C  
temp2:        +38.0°C  
temp3:        +36.0°C  
temp4:        +39.0°C  
temp5:        +34.0°C  
temp6:        +44.0°C  

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +16.8°C  (crit = +20.8°C)

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:     1.43 V  
SVI2_SoC:      1.10 V  
Tdie:         +44.4°C  (high = +95.0°C)
Tctl:         +44.4°C  
Tccd1:        +49.0°C  
SVI2_P_Core:   7.51 W  
SVI2_P_SoC:    8.42 W  
SVI2_C_Core:   5.27 A  
SVI2_C_SoC:    7.36 A 

grep . /sys/class/dmi/id/* 2> /dev/null:

/sys/class/dmi/id/bios_date:03/25/2021
/sys/class/dmi/id/bios_release:5.17
/sys/class/dmi/id/bios_vendor:American Megatrends International, LLC.
/sys/class/dmi/id/bios_version:F13h
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:B550M AORUS PRO-P
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:x.x
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF13h:bd03/25/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550MAORUSPRO-P:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550MAORUSPRO-P:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
/sys/class/dmi/id/product_family:B550 MB
/sys/class/dmi/id/product_name:B550M AORUS PRO-P
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_version:Default string
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF13h:bd03/25/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550MAORUSPRO-P:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550MAORUSPRO-P:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
gvolt commented 3 years ago

Gigabyte B550 Aorus Elite V2 - another board working :) Many thanks for your work!

grep . /sys/class/dmi/id/* 2> /dev/null:

/sys/class/dmi/id/bios_date:07/08/2021
/sys/class/dmi/id/bios_release:5.17
/sys/class/dmi/id/bios_vendor:American Megatrends International, LLC.
/sys/class/dmi/id/bios_version:F13
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:B550 AORUS ELITE V2
/sys/class/dmi/id/board_serial:Default string
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:Default string
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_serial:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF13:bd07/08/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550AORUSELITEV2:pvrDefaultstring:skuDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550AORUSELITEV2:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:
/sys/class/dmi/id/product_family:B550 MB
/sys/class/dmi/id/product_name:B550 AORUS ELITE V2
/sys/class/dmi/id/product_serial:Default string
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_uuid:03c00218-044d-05ae-3d06-080700080009
/sys/class/dmi/id/product_version:Default string
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF13:bd07/08/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550AORUSELITEV2:pvrDefaultstring:skuDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550AORUSELITEV2:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:

cat /sys/class/wmi_bus/wmi_bus-PNP0C14\:00/DEADBEEF-2001-0000-00A0-C90629100000/hwmon/hwmon*/temp?_input:

34000
34000
41000
38000
35000
41000

sensors:

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +41.1°C  
Tdie:         +41.1°C  
Tccd1:        +37.8°C  

...

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +34.0°C  
temp2:        +34.0°C  
temp3:        +41.0°C  
temp4:        +38.0°C  
temp5:        +35.0°C  
temp6:        +41.0°C  

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +16.8°C  (crit = +20.8°C)

...
jpsollie commented 3 years ago

sorry, no success here:

[128715.058626] amdgpu 0000:07:00.0: [drm] Cannot find any crtc or sizes
[129373.649994] gigabyte-wmi DEADBEEF-2001-0000-00A0-C90629100000: Forcing load on unknown platform
[129373.650051] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [SMDN] at bit offset/length 32/16 exceeds size of target Buffer (32 bits) (20210331/dsopcode-198)
[129373.650058] ACPI Error: Aborting method \GSA1.WMBB due to previous error (AE_AML_BUFFER_LIMIT) (20210331/psparse-529)
[129373.650101] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [SMDN] at bit offset/length 32/16 exceeds size of target Buffer (32 bits) (20210331/dsopcode-198)
[129373.650105] ACPI Error: Aborting method \GSA1.WMBB due to previous error (AE_AML_BUFFER_LIMIT) (20210331/psparse-529)
[129373.650143] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [SMDN] at bit offset/length 32/16 exceeds size of target Buffer (32 bits) (20210331/dsopcode-198)
[129373.650147] ACPI Error: Aborting method \GSA1.WMBB due to previous error (AE_AML_BUFFER_LIMIT) (20210331/psparse-529)
[129373.650185] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [SMDN] at bit offset/length 32/16 exceeds size of target Buffer (32 bits) (20210331/dsopcode-198)
[129373.650188] ACPI Error: Aborting method \GSA1.WMBB due to previous error (AE_AML_BUFFER_LIMIT) (20210331/psparse-529)
[129373.650225] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [SMDN] at bit offset/length 32/16 exceeds size of target Buffer (32 bits) (20210331/dsopcode-198)
[129373.650229] ACPI Error: Aborting method \GSA1.WMBB due to previous error (AE_AML_BUFFER_LIMIT) (20210331/psparse-529)
[129373.650265] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [SMDN] at bit offset/length 32/16 exceeds size of target Buffer (32 bits) (20210331/dsopcode-198)
[129373.650269] ACPI Error: Aborting method \GSA1.WMBB due to previous error (AE_AML_BUFFER_LIMIT) (20210331/psparse-529)
[129373.650274] gigabyte-wmi DEADBEEF-2001-0000-00A0-C90629100000: No temperature sensors usable

using a gigabyte x399 designare ex mobo

ghostnotepony commented 3 years ago

Nothing in sensors on this board, a B550 Aorus Pro V2:

% uname -r
5.13.4-arch1-1

% grep  . /sys/class/dmi/id/* 2> /dev/null

/sys/class/dmi/id/bios_date:04/23/2021
/sys/class/dmi/id/bios_release:5.17
/sys/class/dmi/id/bios_vendor:American Megatrends International, LLC.
/sys/class/dmi/id/bios_version:F13h
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:B550 AORUS PRO V2
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:x.x
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF13h:bd04/23/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550AORUSPROV2:pvrDefaultstring:skuDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550AORUSPROV2:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
/sys/class/dmi/id/product_family:B550 MB
/sys/class/dmi/id/product_name:B550 AORUS PRO V2
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_version:Default string
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF13h:bd04/23/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550AORUSPROV2:pvrDefaultstring:skuDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550AORUSPROV2:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:

% cat /sys/class/wmi_bus/wmi_bus-PNP0C14\:00/DEADBEEF-2001-0000-00A0-C90629100000/hwmon/hwmon*/temp?_input
cat: '/sys/class/wmi_bus/wmi_bus-PNP0C14:00/DEADBEEF-2001-0000-00A0-C90629100000/hwmon/hwmon*/temp?_input': No such file or directory
priand1 commented 3 years ago

Hello, the driver is working on a Gigabyte X570 UD. Thank you.

` grep . /sys/class/dmi/id/* 2> /dev/null /sys/class/dmi/id/bios_date:03/25/2021 /sys/class/dmi/id/bios_release:5.17 /sys/class/dmi/id/bios_vendor:American Megatrends International, LLC. /sys/class/dmi/id/bios_version:F33g /sys/class/dmi/id/board_asset_tag:Default string /sys/class/dmi/id/board_name:X570 UD /sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd. /sys/class/dmi/id/board_version:Default string /sys/class/dmi/id/chassis_asset_tag:Default string /sys/class/dmi/id/chassis_type:3 /sys/class/dmi/id/chassis_vendor:Default string /sys/class/dmi/id/chassis_version:Default string /sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF33g:bd03/25/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnX570UD:pvrDefaultstring:skuDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnX570UD:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring: /sys/class/dmi/id/product_family:X570 MB /sys/class/dmi/id/product_name:X570 UD /sys/class/dmi/id/product_sku:Default string /sys/class/dmi/id/product_version:Default string /sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd. /sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF33g:bd03/25/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnX570UD:pvrDefaultstring:skuDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnX570UD:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:

`

gigabyte_wmi-virtual-0 Adapter: Virtual device temp1: +28.0°C
temp2: +32.0°C
temp3: +36.0°C
temp4: +30.0°C
temp5: +37.0°C
temp6: +48.0°C

t-8ch commented 3 years ago

Thanks everyone for your usage reports! All current reporting systems should be part of the upstream driver or on their way of getting there.

As this driver has been released as a part of mainline Linux 5.13, I want to move over all development activity to upstream.

You can find the driver here: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/platform/x86/gigabyte-wmi.c

troyrollo commented 3 years ago
troy@enterprise:~/src/linux-gigabyte-wmi-driver$ cat /sys/class/wmi_bus/wmi_bus-PNP0C14\:00/DEADBEEF-2001-0000-00A0-C90629100000/hwmon/hwmon*/temp?_input
25000
31000
33000
26000
33000
49000
troy@enterprise:~/src/linux-gigabyte-wmi-driver$ sensors
acpitz-acpi-0
Adapter: ACPI interface
temp1:        +16.8°C  (crit = +20.8°C)
temp2:        +16.8°C  (crit = +20.8°C)

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +25.0°C  
temp2:        +31.0°C  
temp3:        +32.0°C  
temp4:        +26.0°C  
temp5:        +33.0°C  
temp6:        +49.0°C  

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +32.1°C  
Tdie:         +32.1°C  

troy@enterprise:~/src/linux-gigabyte-wmi-driver$ grep . /sys/class/dmi/id/* 2> /dev/null
/sys/class/dmi/id/bios_date:07/08/2021
/sys/class/dmi/id/bios_release:5.17
/sys/class/dmi/id/bios_vendor:American Megatrends International, LLC.
/sys/class/dmi/id/bios_version:F35
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:X570 GAMING X
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:Default string
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF35:bd07/08/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnX570GAMINGX:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnX570GAMINGX:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:
/sys/class/dmi/id/product_family:X570 MB
/sys/class/dmi/id/product_name:X570 GAMING X
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_version:Default string
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF35:bd07/08/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnX570GAMINGX:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnX570GAMINGX:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:
troy@enterprise:~/src/linux-gigabyte-wmi-driver$ 
ArashiKenzo commented 3 years ago

Hello there !

Tested on B450M S2H V2 (rev. 1.0)

gigabyte_wmi-virtual-0 Adapter: Virtual device temp1: +33.0°C
temp2: +41.0°C
temp3: +50.0°C
temp4: +11.0°C
temp5: +42.0°C
temp6: +42.0°C

amdgpu-pci-0a00 Adapter: PCI adapter vddgfx: N/A
vddnb: N/A
edge: +50.0°C

acpitz-acpi-0 Adapter: ACPI interface temp1: +16.8°C (crit = +20.8°C)

k10temp-pci-00c3 Adapter: PCI adapter Tctl: +50.6°C
Tdie: +50.6°C

nvme-pci-0900 Adapter: PCI adapter Composite: +14.8°C (low = -0.1°C, high = +69.8°C) (crit = +84.8°C) ERROR: Can't get value of subfeature temp2_min: I/O error ERROR: Can't get value of subfeature temp2_max: I/O error Sensor 1: +49.9°C (low = +0.0°C, high = +0.0°C)

Output of grep . /sys/class/dmi/id/* 2> /dev/null

/sys/class/dmi/id/bios_date:08/28/2020 /sys/class/dmi/id/bios_release:5.14 /sys/class/dmi/id/bios_vendor:American Megatrends Inc. /sys/class/dmi/id/bios_version:F1 /sys/class/dmi/id/board_asset_tag:Default string /sys/class/dmi/id/board_name:B450M S2H V2 /sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd. /sys/class/dmi/id/board_version:x.x /sys/class/dmi/id/chassis_asset_tag:Default string /sys/class/dmi/id/chassis_type:3 /sys/class/dmi/id/chassis_vendor:Default string /sys/class/dmi/id/chassis_version:Default string /sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInc.:bvrF1:bd08/28/2020:br5.14:svnGigabyteTechnologyCo.,Ltd.:pnB450MS2HV2:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB450MS2HV2:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring: /sys/class/dmi/id/product_family:B450 MB /sys/class/dmi/id/product_name:B450M S2H V2 /sys/class/dmi/id/product_sku:Default string /sys/class/dmi/id/product_version:Default string /sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd. /sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInc.:bvrF1:bd08/28/2020:br5.14:svnGigabyteTechnologyCo.,Ltd.:pnB450MS2HV2:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB450MS2HV2:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:

616westwarmoth commented 2 years ago

Tested on AB350M-DS3H

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

acpitz-acpi-0 Adapter: ACPI interface temp1: +16.8°C (crit = +20.8°C) temp2: +16.8°C (crit = +20.8°C)

gigabyte_wmi-virtual-0 Adapter: Virtual device temp1: +29.0°C temp2: +47.0°C temp3: +70.0°C temp4: +17.0°C temp5: +119.0°C temp6: +58.0°C

nouveau-pci-0700 Adapter: PCI adapter GPU core: 1.10 V (min = +0.90 V, max = +1.10 V) temp1: +56.0°C (high = +95.0°C, hyst = +3.0°C) (crit = +122.0°C, hyst = +2.0°C) (emerg = +125.0°C, hyst = +10.0°C)

Output of grep . /sys/class/dmi/id/* 2> /dev/null

/sys/class/dmi/id/bios_date:12/13/2021 /sys/class/dmi/id/bios_vendor:American Megatrends International, LLC. /sys/class/dmi/id/bios_version:F51d /sys/class/dmi/id/board_asset_tag:Default string /sys/class/dmi/id/board_name:AB350M-DS3H-CF /sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd. /sys/class/dmi/id/board_version:Default string /sys/class/dmi/id/chassis_asset_tag:Default string /sys/class/dmi/id/chassis_type:3 /sys/class/dmi/id/chassis_vendor:Default string /sys/class/dmi/id/chassis_version:Default string /sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF51d:bd12/13/2021:svnGigabyteTechnologyCo.,Ltd.:pnAB350M-DS3H:pvrDefaultstring rvnGigabyteTechnologyCo.,Ltd.:rnAB350M-DS3H-CF:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring: /sys/class/dmi/id/product_family:Default string /sys/class/dmi/id/product_name:AB350M-DS3H /sys/class/dmi/id/product_sku:Default string /sys/class/dmi/id/product_version:Default string /sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd. /sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF51d:bd12/13/2021:svnGigabyteTechnologyCo.,Ltd.:pnAB350M-DS3H:pvrDefaul string:rvnGigabyteTechnologyCo.,Ltd.:rnAB350M-DS3H-CF:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:

t-8ch commented 2 years ago

@616westwarmoth Thanks! Do you think you can send this as a patch directly to the upstream linux kernel?

616westwarmoth commented 2 years ago

@616westwarmoth Thanks! Do you think you can send this as a patch directly to the upstream linux kernel?

I'd be happy to but I'm not clear on how to do that.

Comparing those numbers I gave I'm reasonably confident the following are true Temp1=System Temp Temp2=Chipset Temp Temp3=CPU Temp Temp4=PCIEX16 Temp Temp5=VRM MOS Temp Temp6=VSOC Temp

t-8ch commented 2 years ago

@616westwarmoth Here is an explanation: https://kernelnewbies.org/FirstKernelPatch It will be abit daunting the first time, but essentially it's fairly easy.

The location you would have to edit would be here: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/platform/x86/gigabyte-wmi.c#n142

If you want you can send a first version of your patch to me directly for review.

jstephenson commented 2 years ago

Tested on C246M-WU4

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +30.0°C
temp2:        +45.0°C
temp3:        +20.0°C
temp4:        +32.0°C
temp5:        +36.0°C
temp6:        +38.0°C

I tried this out in the hope it might provide some fan speed information (which it obviously does not), so whilst it hasn't helped me there I thought I'd at least post the result :)

frankcrawford commented 2 years ago

Works on X570 AORUS ELITE WIFI with force load

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +30.0°C  
temp2:        +35.0°C  
temp3:        +34.0°C  
temp4:        +31.0°C  
temp5:        +30.0°C  
temp6:        +47.0°C  
/sys/class/dmi/id/bios_date:04/23/2021
/sys/class/dmi/id/bios_release:5.17
/sys/class/dmi/id/bios_vendor:American Megatrends International, LLC.
/sys/class/dmi/id/bios_version:F33h
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:X570 AORUS ELITE WIFI
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:x.x
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF33h:bd04/23/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnX570AORUSELITEWIFI:pvr-CF:rvnGigabyteTechnologyCo.,Ltd.:rnX570AORUSELITEWIFI:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
/sys/class/dmi/id/product_family:X570 MB
/sys/class/dmi/id/product_name:X570 AORUS ELITE WIFI
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_version:-CF
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF33h:bd04/23/2021:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnX570AORUSELITEWIFI:pvr-CF:rvnGigabyteTechnologyCo.,Ltd.:rnX570AORUSELITEWIFI:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
frankcrawford commented 2 years ago

Works on Z490 AORUS ELITE AC with force load

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +27.0°C  
temp2:        +36.0°C  
temp3:        +35.0°C  
temp4:        +29.0°C  
temp5:        +30.0°C  
temp6:        +34.0°C  
/sys/class/dmi/id/bios_date:12/14/2020
/sys/class/dmi/id/bios_release:5.17
/sys/class/dmi/id/bios_vendor:American Megatrends Inc.
/sys/class/dmi/id/bios_version:F6c
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:Z490 AORUS ELITE AC
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:x.x
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInc.:bvrF6c:bd12/14/2020:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnZ490AORUSELITEAC:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnZ490AORUSELITEAC:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
/sys/class/dmi/id/product_family:Z490 MB
/sys/class/dmi/id/product_name:Z490 AORUS ELITE AC
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_version:Default string
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInc.:bvrF6c:bd12/14/2020:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnZ490AORUSELITEAC:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnZ490AORUSELITEAC:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
t-8ch commented 2 years ago

Thanks for the tests Frank! Do you think you could submit the hardware IDs to the upstream kernel? If not I will do it.

May 10, 2022 10:58:45 Frank Crawford @.***>:

Works on Z490 AORUS ELITE AC with force load

*gigabyte_wmi-virtual-0

Adapter: Virtual device

temp1: +27.0°C

temp2: +36.0°C

temp3: +35.0°C

temp4: +29.0°C

temp5: +30.0°C

temp6: +34.0°C

**/sys/class/dmi/id/bios_date:12/14/2020

/sys/class/dmi/id/bios_release:5.17

/sys/class/dmi/id/bios_vendor:American Megatrends Inc.

/sys/class/dmi/id/bios_version:F6c

/sys/class/dmi/id/board_asset_tag:Default string

/sys/class/dmi/id/board_name:Z490 AORUS ELITE AC

/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.

/sys/class/dmi/id/board_version:x.x

/sys/class/dmi/id/chassis_asset_tag:Default string

/sys/class/dmi/id/chassis_type:3

/sys/class/dmi/id/chassis_vendor:Default string

/sys/class/dmi/id/chassis_version:Default string

/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInc.:bvrF6c:bd12/14/2020:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnZ490AORUSELITEAC:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnZ490AORUSELITEAC:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:

/sys/class/dmi/id/product_family:Z490 MB

/sys/class/dmi/id/product_name:Z490 AORUS ELITE AC

/sys/class/dmi/id/product_sku:Default string

/sys/class/dmi/id/product_version:Default string

/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.

/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInc.:bvrF6c:bd12/14/2020:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnZ490AORUSELITEAC:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnZ490AORUSELITEAC:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:

* — Reply to this email directly, view it on GitHub[https://github.com/t-8ch/linux-gigabyte-wmi-driver/issues/1#issuecomment-1122056560], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAFPITN6SSHEOMVYPJ372A3VJIJLHANCNFSM42NPBLOQ]. You are receiving this because you modified the open/close state.[Tracking image][https://github.com/notifications/beacon/AAFPITOWKU4GBJCCNBA4RV3VJIJLHA5CNFSM42NPBLO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOILQTS4A.gif]

frankcrawford commented 2 years ago

Thomas, okay, will do so.

ZwyC commented 2 years ago

Works on B550M AORUS PRO /ver. 1.0/ with force_load=1

grep . /sys/class/dmi/id/* 2> /dev/null
/sys/class/dmi/id/bios_date:05/11/2022
/sys/class/dmi/id/bios_release:5.17
/sys/class/dmi/id/bios_vendor:American Megatrends International, LLC.
/sys/class/dmi/id/bios_version:F15c
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:B550M AORUS PRO
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:Default string
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF15c:bd05/11/2022:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550MAORUSPRO:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550MAORUSPRO:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
/sys/class/dmi/id/product_family:B550 MB
/sys/class/dmi/id/product_name:B550M AORUS PRO
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_version:Default string
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF15c:bd05/11/2022:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB550MAORUSPRO:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB550MAORUSPRO:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +31.0°C  
temp2:        +38.0°C  
temp3:        +33.0°C  
temp4:        +30.0°C  
temp5:        +31.0°C  
temp6:        +50.0°C  
cat /sys/class/wmi_bus/wmi_bus-PNP0C14\:00/DEADBEEF-2001-0000-00A0-C90629100000/hwmon/hwmon*/temp?_input
31000
38000
33000
30000
31000
50000
t-8ch commented 2 years ago

@ZwyC Thanks for the report! Do you think you could submit this directly to the upstream kernel as a patch? Here is a similar patch as reference: https://lore.kernel.org/lkml/20220608212028.28307-1-git@augustwikerfors.se/

parherman commented 2 years ago
grep . /sys/class/dmi/id/* 2> /dev/null
/sys/class/dmi/id/bios_date:03/28/2022
/sys/class/dmi/id/bios_release:5.24
/sys/class/dmi/id/bios_vendor:American Megatrends International, LLC.
/sys/class/dmi/id/bios_version:F4b
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:B660I AORUS PRO DDR4
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:x.x
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF4b:bd03/28/2022:br5.24:svnGigabyteTechnologyCo.,Ltd.:pnB660IAORUSPRODDR4:pvr-CF:rvnGigabyteTechnologyCo.,Ltd.:rnB660IAORUSPRODDR4:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
/sys/class/dmi/id/product_family:B660 MB
/sys/class/dmi/id/product_name:B660I AORUS PRO DDR4
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_version:-CF
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF4b:bd03/28/2022:br5.24:svnGigabyteTechnologyCo.,Ltd.:pnB660IAORUSPRODDR4:pvr-CF:rvnGigabyteTechnologyCo.,Ltd.:rnB660IAORUSPRODDR4:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +39.0°C  
temp2:        +40.0°C  
temp3:        +31.0°C  
temp5:        +40.0°C 
cat /sys/class/wmi_bus/wmi_bus-PNP0C14:02/DEADBEEF-2001-0000-00A0-C90629100000/hwmon/hwmon5*/temp?_input

Will try to supply patch

diskree commented 2 years ago

Gigabyte X570 UD (rev. 1.1)

cat /sys/class/wmi_bus/wmi_bus-PNP0C14\:00/DEADBEEF-2001-0000-00A0-C90629100000/hwmon/hwmon*/temp?_input

37000
35000
47000
45000
51000
53000

sensors

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +59.2°C  
Tccd1:        +41.8°C  
Tccd2:        +39.2°C  

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +16.8°C  (crit = +20.8°C)
temp2:        +16.8°C  (crit = +20.8°C)
temp3:        +16.8°C  (crit = +20.8°C)

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +37.0°C  
temp2:        +35.0°C  
temp3:        +59.0°C  
temp4:        +45.0°C  
temp5:        +52.0°C  
temp6:        +53.0°C  

nvme-pci-0100
Adapter: PCI adapter
Composite:    +54.9°C  (low  = -20.1°C, high = +83.8°C)
                       (crit = +88.8°C)
t-8ch commented 2 years ago

@diskriminantWasTaken Could you try to submit a patch?

NazgulCZ commented 2 years ago
acpitz-acpi-0
Adapter: ACPI interface
temp1:        +16.8°C  (crit = +20.8°C)
temp2:        +16.8°C  (crit = +20.8°C)

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +30.0°C  
temp2:        +32.0°C  
temp3:        +34.0°C  
temp4:        +22.0°C  
temp5:        +30.0°C  
temp6:        +40.0°C 

I have GigaByte B550M DS3H.

I don't know what these labels mean. Which one is CPU? temp1?

frankcrawford commented 2 years ago

@NazgulCZ none of them are the specifically labelled CPU temperature, they are various sensors around the motherboard.

For CPU temperature you should also have an entry something like:

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +37.4°C  
Tccd1:        +38.2°C 

However, assuming the your M/B is similar to other models from Gigabyte I have, the order I have (from a different module) is:

System1:        +30.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
EC_TEMP1:       +36.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
CPU:            +37.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = AMD AMDSI
PCIEX16:        +32.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
VRM MOS:        +31.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
PCH:            +48.0°C  (low  = -16.0°C, high = +90.0°C)  sensor = thermistor

From this you will see that it looks like temp3 is the CPU temperature.

calorato commented 1 year ago

Does not work on Gigabyte A520M-DS3H!

frankcrawford commented 1 year ago

It doesn't work with every motherboard, because Gigabyte didn't implement it in all of them, particularly those with more than one IT87 chipset, but what happens when you try:

modprobe gigabyte-wmi force_load=1

Frank

diegovasconcelos commented 1 year ago

It doesn't work with every motherboard, because Gigabyte didn't implement it in all of them, particularly those with more than one IT87 chipset, but what happens when you try:

modprobe gigabyte-wmi force_load=1

Frank

modprobe gigabyte-wmi force_load=1

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +39.0°C  
temp2:        +43.0°C  
temp3:        +42.0°C  
temp4:        +25.0°C  
temp5:        +43.0°C  
temp6:        +51.0°C  

grep . /sys/class/dmi/id/* 2> /dev/null

/sys/class/dmi/id/bios_date:09/15/2022
/sys/class/dmi/id/bios_release:5.17
/sys/class/dmi/id/bios_vendor:American Megatrends International, LLC.
/sys/class/dmi/id/bios_version:F15
/sys/class/dmi/id/board_asset_tag:Default string
/sys/class/dmi/id/board_name:A520M DS3H
/sys/class/dmi/id/board_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/board_version:Default string
/sys/class/dmi/id/chassis_asset_tag:Default string
/sys/class/dmi/id/chassis_type:3
/sys/class/dmi/id/chassis_vendor:Default string
/sys/class/dmi/id/chassis_version:Default string
/sys/class/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF15:bd09/15/2022:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnA520MDS3H:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnA520MDS3H:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
/sys/class/dmi/id/product_family:A520 MB
/sys/class/dmi/id/product_name:A520M DS3H
/sys/class/dmi/id/product_sku:Default string
/sys/class/dmi/id/product_version:Default string
/sys/class/dmi/id/sys_vendor:Gigabyte Technology Co., Ltd.
/sys/class/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF15:bd09/15/2022:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnA520MDS3H:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnA520MDS3H:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
frankcrawford commented 1 year ago

@diegovasconcelos that is good, so it does work on that board (with the current BIOS). I assume you checked the temperature values are sensible and kind of match others on the board and you would see in the BIOS health summary. They do look okay to me.

See the note for #15 above with a couple of notes to get the update into the kernel.