electrified / asus-wmi-sensors

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

Support Gigabyte Aorus Xtreme TRX40? #68

Closed bertelschmitt closed 4 years ago

bertelschmitt commented 4 years ago

Thank you for this invaluable service. Hopefully, this message can entice you to extend this project to the Gigabyte Aorus Xtreme TRX40. On this top-of the line Threadripper 3 board, LM-sensors finds only the PCI adapter, and it gives only two highly suspicious readings, namely Tdie and Tctl, which are identical (!!!!) I asked Gigabyte repeatedly for technical data on their sensors, but Gigabyte refuses to disclose them, saying “we can’t teach you because specifications have not been published.”

The board responds splendidly to both HWiNFO and SIV, both deliver highly granular data under Windows, so I am hoping the WMI will be accessible to Linux.

Dmidecode baseboard responds as follows:

# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
# SMBIOS implementations newer than version 3.1.1 are not
# fully supported by this version of dmidecode.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
    Manufacturer: Gigabyte Technology Co., Ltd.
    Product Name: TRX40 AORUS XTREME
    Version: x.x
    Serial Number: Default string
    Asset Tag: Default string
    Features:
        Board is a hosting board
        Board is removable
        Board is replaceable
    Location In Chassis: Default string
    Chassis Handle: 0x0003
    Type: Motherboard
    Contained Object Handles: 0

Handle 0x0004, DMI type 10, 6 bytes
On Board Device Information
    Type: Video
    Status: Enabled
    Description:    To Be Filled By O.E.M.

Handle 0x003F, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Onboard LAN RTL8111
    Type: Ethernet
    Status: Enabled
    Type Instance: 1
    Bus Address: 0000:47:00.0

Handle 0x0040, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: X570/590 SATA0
    Type: SATA Controller
    Status: Enabled
    Type Instance: 5
    Bus Address: 0000:4a:00.0

Handle 0x0041, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: X570/590 SATA1
    Type: SATA Controller
    Status: Enabled
    Type Instance: 6
    Bus Address: 0000:4b:00.0 

Here is the full dmidecode output:

# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
# SMBIOS implementations newer than version 3.1.1 are not
# fully supported by this version of dmidecode.
Table at 0x000E8D60.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
    Vendor: American Megatrends Inc.
    Version: F4d
    Release Date: 03/05/2020
    Address: 0xF0000
    Runtime Size: 64 kB
    ROM Size: 16 MB
    Characteristics:
        PCI is supported
        BIOS is upgradeable
        BIOS shadowing is allowed
        Boot from CD is supported
        Selectable boot is supported
        BIOS ROM is socketed
        EDD is supported
        5.25"/1.2 MB floppy services are supported (int 13h)
        3.5"/720 kB floppy services are supported (int 13h)
        3.5"/2.88 MB floppy services are supported (int 13h)
        Print screen service is supported (int 5h)
        Serial services are supported (int 14h)
        Printer services are supported (int 17h)
        ACPI is supported
        USB legacy is supported
        BIOS boot specification is supported
        Targeted content distribution is supported
        UEFI is supported
    BIOS Revision: 5.15

Handle 0x0001, DMI type 1, 27 bytes
System Information
    Manufacturer: Gigabyte Technology Co., Ltd.
    Product Name: TRX40 AORUS XTREME
    Version: -CF
    Serial Number: Default string
    UUID: 032E02B4-0499-053B-5B06-ED0700080009
    Wake-up Type: Power Switch
    SKU Number: Default string
    Family: Default string

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
    Manufacturer: Gigabyte Technology Co., Ltd.
    Product Name: TRX40 AORUS XTREME
    Version: x.x
    Serial Number: Default string
    Asset Tag: Default string
    Features:
        Board is a hosting board
        Board is removable
        Board is replaceable
    Location In Chassis: Default string
    Chassis Handle: 0x0003
    Type: Motherboard
    Contained Object Handles: 0

Handle 0x0003, DMI type 3, 22 bytes
Chassis Information
    Manufacturer: Default string
    Type: Desktop
    Lock: Not Present
    Version: Default string
    Serial Number: Default string
    Asset Tag: Default string
    Boot-up State: Safe
    Power Supply State: Safe
    Thermal State: Safe
    Security Status: None
    OEM Information: 0x00000000
    Height: Unspecified
    Number Of Power Cords: 1
    Contained Elements: 0
    SKU Number: Default string

Handle 0x0004, DMI type 10, 6 bytes
On Board Device Information
    Type: Video
    Status: Enabled
    Description:    To Be Filled By O.E.M.

Handle 0x0005, DMI type 11, 5 bytes
OEM Strings
    String 1: Default string

Handle 0x0006, DMI type 12, 5 bytes
System Configuration Options
    Option 1: Default string

Handle 0x0007, DMI type 32, 20 bytes
System Boot Information
    Status: No errors detected

Handle 0x0008, DMI type 18, 23 bytes
32-bit Memory Error Information
    Type: OK
    Granularity: Unknown
    Operation: Unknown
    Vendor Syndrome: Unknown
    Memory Array Address: Unknown
    Device Address: Unknown
    Resolution: Unknown

Handle 0x0009, DMI type 16, 23 bytes
Physical Memory Array
    Location: System Board Or Motherboard
    Use: System Memory
    Error Correction Type: None
    Maximum Capacity: 512 GB
    Error Information Handle: 0x0008
    Number Of Devices: 8

Handle 0x000A, DMI type 19, 31 bytes
Memory Array Mapped Address
    Starting Address: 0x00000000000
    Ending Address: 0x000BFFFFFFF
    Range Size: 3 GB
    Physical Array Handle: 0x0009
    Partition Width: 4

Handle 0x000B, DMI type 19, 31 bytes
Memory Array Mapped Address
    Starting Address: 0x00100000000
    Ending Address: 0x0203FFFFFFF
    Range Size: 125 GB
    Physical Array Handle: 0x0009
    Partition Width: 4

Handle 0x000C, DMI type 7, 27 bytes
Cache Information
    Socket Designation: L1 - Cache
    Configuration: Enabled, Not Socketed, Level 1
    Operational Mode: Write Back
    Location: Internal
    Installed Size: 2048 kB
    Maximum Size: 2048 kB
    Supported SRAM Types:
        Pipeline Burst
    Installed SRAM Type: Pipeline Burst
    Speed: 1 ns
    Error Correction Type: Multi-bit ECC
    System Type: Unified
    Associativity: 8-way Set-associative

Handle 0x000D, DMI type 7, 27 bytes
Cache Information
    Socket Designation: L2 - Cache
    Configuration: Enabled, Not Socketed, Level 2
    Operational Mode: Write Back
    Location: Internal
    Installed Size: 16384 kB
    Maximum Size: 16384 kB
    Supported SRAM Types:
        Pipeline Burst
    Installed SRAM Type: Pipeline Burst
    Speed: 1 ns
    Error Correction Type: Multi-bit ECC
    System Type: Unified
    Associativity: 8-way Set-associative

Handle 0x000E, DMI type 7, 27 bytes
Cache Information
    Socket Designation: L3 - Cache
    Configuration: Enabled, Not Socketed, Level 3
    Operational Mode: Write Back
    Location: Internal
    Installed Size: 131072 kB
    Maximum Size: 131072 kB
    Supported SRAM Types:
        Pipeline Burst
    Installed SRAM Type: Pipeline Burst
    Speed: 1 ns
    Error Correction Type: Multi-bit ECC
    System Type: Unified
    Associativity: 16-way Set-associative

Handle 0x000F, DMI type 4, 48 bytes
Processor Information
    Socket Designation: SP3r2
    Type: Central Processor
    Family: Zen
    Manufacturer: Advanced Micro Devices, Inc.
    ID: 10 0F 83 00 FF FB 8B 17
    Signature: Family 23, Model 49, Stepping 0
    Flags:
        FPU (Floating-point unit on-chip)
        VME (Virtual mode extension)
        DE (Debugging extension)
        PSE (Page size extension)
        TSC (Time stamp counter)
        MSR (Model specific registers)
        PAE (Physical address extension)
        MCE (Machine check exception)
        CX8 (CMPXCHG8 instruction supported)
        APIC (On-chip APIC hardware supported)
        SEP (Fast system call)
        MTRR (Memory type range registers)
        PGE (Page global enable)
        MCA (Machine check architecture)
        CMOV (Conditional move instruction supported)
        PAT (Page attribute table)
        PSE-36 (36-bit page size extension)
        CLFSH (CLFLUSH instruction supported)
        MMX (MMX technology supported)
        FXSR (FXSAVE and FXSTOR instructions supported)
        SSE (Streaming SIMD extensions)
        SSE2 (Streaming SIMD extensions 2)
        HTT (Multi-threading)
    Version: AMD Ryzen Threadripper 3970X 32-Core Processor 
    Voltage: 1.1 V
    External Clock: 100 MHz
    Max Speed: 4550 MHz
    Current Speed: 3700 MHz
    Status: Populated, Enabled
    Upgrade: Socket SP3r2
    L1 Cache Handle: 0x000C
    L2 Cache Handle: 0x000D
    L3 Cache Handle: 0x000E
    Serial Number: Unknown
    Asset Tag: Unknown
    Part Number: Unknown
    Core Count: 32
    Core Enabled: 32
    Thread Count: 64
    Characteristics:
        64-bit capable
        Multi-Core
        Hardware Thread
        Execute Protection
        Enhanced Virtualization
        Power/Performance Control

Handle 0x0010, DMI type 18, 23 bytes
32-bit Memory Error Information
    Type: OK
    Granularity: Unknown
    Operation: Unknown
    Vendor Syndrome: Unknown
    Memory Array Address: Unknown
    Device Address: Unknown
    Resolution: Unknown

Handle 0x0011, DMI type 17, 84 bytes
Memory Device
    Array Handle: 0x0009
    Error Information Handle: 0x0010
    Total Width: Unknown
    Data Width: Unknown
    Size: No Module Installed
    Form Factor: Unknown
    Set: None
    Locator: DIMM 0
    Bank Locator: P0 CHANNEL A
    Type: Unknown
    Type Detail: Unknown
    Speed: Unknown
    Manufacturer: Unknown
    Serial Number: Unknown
    Asset Tag: Not Specified
    Part Number: Unknown
    Rank: Unknown
    Configured Clock Speed: Unknown
    Minimum Voltage: Unknown
    Maximum Voltage: Unknown
    Configured Voltage: Unknown

Handle 0x0012, DMI type 18, 23 bytes
32-bit Memory Error Information
    Type: OK
    Granularity: Unknown
    Operation: Unknown
    Vendor Syndrome: Unknown
    Memory Array Address: Unknown
    Device Address: Unknown
    Resolution: Unknown

Handle 0x0013, DMI type 17, 84 bytes
Memory Device
    Array Handle: 0x0009
    Error Information Handle: 0x0012
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 32 GB
    Form Factor: DIMM
    Set: None
    Locator: DIMM 1
    Bank Locator: P0 CHANNEL A
    Type: DDR4
    Type Detail: Synchronous Unbuffered (Unregistered)
    Speed: 3200 MT/s
    Manufacturer: Unknown
    Serial Number: 00000000
    Asset Tag: Not Specified
    Part Number: CMK64GX4M2E3200C16
    Rank: 2
    Configured Clock Speed: 3200 MT/s
    Minimum Voltage: 1.2 V
    Maximum Voltage: 1.2 V
    Configured Voltage: 1.2 V

Handle 0x0014, DMI type 20, 35 bytes
Memory Device Mapped Address
    Starting Address: 0x00000000000
    Ending Address: 0x01FFFFFFFFF
    Range Size: 128 GB
    Physical Device Handle: 0x0013
    Memory Array Mapped Address Handle: 0x000B
    Partition Row Position: Unknown
    Interleave Position: Unknown
    Interleaved Data Depth: Unknown

Handle 0x0015, DMI type 18, 23 bytes
32-bit Memory Error Information
    Type: OK
    Granularity: Unknown
    Operation: Unknown
    Vendor Syndrome: Unknown
    Memory Array Address: Unknown
    Device Address: Unknown
    Resolution: Unknown

Handle 0x0016, DMI type 17, 84 bytes
Memory Device
    Array Handle: 0x0009
    Error Information Handle: 0x0015
    Total Width: Unknown
    Data Width: Unknown
    Size: No Module Installed
    Form Factor: Unknown
    Set: None
    Locator: DIMM 0
    Bank Locator: P0 CHANNEL B
    Type: Unknown
    Type Detail: Unknown
    Speed: Unknown
    Manufacturer: Unknown
    Serial Number: Unknown
    Asset Tag: Not Specified
    Part Number: Unknown
    Rank: Unknown
    Configured Clock Speed: Unknown
    Minimum Voltage: Unknown
    Maximum Voltage: Unknown
    Configured Voltage: Unknown

Handle 0x0017, DMI type 18, 23 bytes
32-bit Memory Error Information
    Type: OK
    Granularity: Unknown
    Operation: Unknown
    Vendor Syndrome: Unknown
    Memory Array Address: Unknown
    Device Address: Unknown
    Resolution: Unknown

Handle 0x0018, DMI type 17, 84 bytes
Memory Device
    Array Handle: 0x0009
    Error Information Handle: 0x0017
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 32 GB
    Form Factor: DIMM
    Set: None
    Locator: DIMM 1
    Bank Locator: P0 CHANNEL B
    Type: DDR4
    Type Detail: Synchronous Unbuffered (Unregistered)
    Speed: 3200 MT/s
    Manufacturer: Unknown
    Serial Number: 00000000
    Asset Tag: Not Specified
    Part Number: CMK64GX4M2E3200C16
    Rank: 2
    Configured Clock Speed: 3200 MT/s
    Minimum Voltage: 1.2 V
    Maximum Voltage: 1.2 V
    Configured Voltage: 1.2 V

Handle 0x0019, DMI type 20, 35 bytes
Memory Device Mapped Address
    Starting Address: 0x00000000000
    Ending Address: 0x01FFFFFFFFF
    Range Size: 128 GB
    Physical Device Handle: 0x0018
    Memory Array Mapped Address Handle: 0x000B
    Partition Row Position: Unknown
    Interleave Position: Unknown
    Interleaved Data Depth: Unknown

Handle 0x001A, DMI type 18, 23 bytes
32-bit Memory Error Information
    Type: OK
    Granularity: Unknown
    Operation: Unknown
    Vendor Syndrome: Unknown
    Memory Array Address: Unknown
    Device Address: Unknown
    Resolution: Unknown

Handle 0x001B, DMI type 17, 84 bytes
Memory Device
    Array Handle: 0x0009
    Error Information Handle: 0x001A
    Total Width: Unknown
    Data Width: Unknown
    Size: No Module Installed
    Form Factor: Unknown
    Set: None
    Locator: DIMM 0
    Bank Locator: P0 CHANNEL C
    Type: Unknown
    Type Detail: Unknown
    Speed: Unknown
    Manufacturer: Unknown
    Serial Number: Unknown
    Asset Tag: Not Specified
    Part Number: Unknown
    Rank: Unknown
    Configured Clock Speed: Unknown
    Minimum Voltage: Unknown
    Maximum Voltage: Unknown
    Configured Voltage: Unknown

Handle 0x001C, DMI type 18, 23 bytes
32-bit Memory Error Information
    Type: OK
    Granularity: Unknown
    Operation: Unknown
    Vendor Syndrome: Unknown
    Memory Array Address: Unknown
    Device Address: Unknown
    Resolution: Unknown

Handle 0x001D, DMI type 17, 84 bytes
Memory Device
    Array Handle: 0x0009
    Error Information Handle: 0x001C
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 32 GB
    Form Factor: DIMM
    Set: None
    Locator: DIMM 1
    Bank Locator: P0 CHANNEL C
    Type: DDR4
    Type Detail: Synchronous Unbuffered (Unregistered)
    Speed: 3200 MT/s
    Manufacturer: Unknown
    Serial Number: 00000000
    Asset Tag: Not Specified
    Part Number: CMK64GX4M2E3200C16
    Rank: 2
    Configured Clock Speed: 3200 MT/s
    Minimum Voltage: 1.2 V
    Maximum Voltage: 1.2 V
    Configured Voltage: 1.2 V

Handle 0x001E, DMI type 20, 35 bytes
Memory Device Mapped Address
    Starting Address: 0x00000000000
    Ending Address: 0x01FFFFFFFFF
    Range Size: 128 GB
    Physical Device Handle: 0x001D
    Memory Array Mapped Address Handle: 0x000B
    Partition Row Position: Unknown
    Interleave Position: Unknown
    Interleaved Data Depth: Unknown

Handle 0x001F, DMI type 18, 23 bytes
32-bit Memory Error Information
    Type: OK
    Granularity: Unknown
    Operation: Unknown
    Vendor Syndrome: Unknown
    Memory Array Address: Unknown
    Device Address: Unknown
    Resolution: Unknown

Handle 0x0020, DMI type 17, 84 bytes
Memory Device
    Array Handle: 0x0009
    Error Information Handle: 0x001F
    Total Width: Unknown
    Data Width: Unknown
    Size: No Module Installed
    Form Factor: Unknown
    Set: None
    Locator: DIMM 0
    Bank Locator: P0 CHANNEL D
    Type: Unknown
    Type Detail: Unknown
    Speed: Unknown
    Manufacturer: Unknown
    Serial Number: Unknown
    Asset Tag: Not Specified
    Part Number: Unknown
    Rank: Unknown
    Configured Clock Speed: Unknown
    Minimum Voltage: Unknown
    Maximum Voltage: Unknown
    Configured Voltage: Unknown

Handle 0x0021, DMI type 18, 23 bytes
32-bit Memory Error Information
    Type: OK
    Granularity: Unknown
    Operation: Unknown
    Vendor Syndrome: Unknown
    Memory Array Address: Unknown
    Device Address: Unknown
    Resolution: Unknown

Handle 0x0022, DMI type 17, 84 bytes
Memory Device
    Array Handle: 0x0009
    Error Information Handle: 0x0021
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 32 GB
    Form Factor: DIMM
    Set: None
    Locator: DIMM 1
    Bank Locator: P0 CHANNEL D
    Type: DDR4
    Type Detail: Synchronous Unbuffered (Unregistered)
    Speed: 3200 MT/s
    Manufacturer: Unknown
    Serial Number: 00000000
    Asset Tag: Not Specified
    Part Number: CMK64GX4M2E3200C16
    Rank: 2
    Configured Clock Speed: 3200 MT/s
    Minimum Voltage: 1.2 V
    Maximum Voltage: 1.2 V
    Configured Voltage: 1.2 V

Handle 0x0023, DMI type 20, 35 bytes
Memory Device Mapped Address
    Starting Address: 0x00000000000
    Ending Address: 0x01FFFFFFFFF
    Range Size: 128 GB
    Physical Device Handle: 0x0022
    Memory Array Mapped Address Handle: 0x000B
    Partition Row Position: Unknown
    Interleave Position: Unknown
    Interleaved Data Depth: Unknown

Handle 0x0024, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J1602
    Internal Connector Type: None
    External Reference Designator: USB3.1 G1 TypeC
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x0025, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J1601
    Internal Connector Type: None
    External Reference Designator: USB3.1 G2 TypeC
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x0026, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J1600
    Internal Connector Type: None
    External Reference Designator: USB3.1 G2 TypeA
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x0027, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J1300
    Internal Connector Type: None
    External Reference Designator: USB3.1 G1
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x0028, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J1300
    Internal Connector Type: None
    External Reference Designator: PT RJ45
    External Connector Type: RJ-45
    Port Type: Network Port

Handle 0x0029, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J2000
    Internal Connector Type: None
    External Reference Designator: USB3.1 G1
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x002A, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J2000
    Internal Connector Type: None
    External Reference Designator: PT RJ45
    External Connector Type: RJ-45
    Port Type: Network Port

Handle 0x002B, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J1503
    Internal Connector Type: None
    External Reference Designator: USB3.1 G1
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x002C, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J1502
    Internal Connector Type: None
    External Reference Designator: USB3.1 G1
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x002D, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J2100
    Internal Connector Type: None
    External Reference Designator: Audio Jack
    External Connector Type: Mini Jack (headphones)
    Port Type: Audio Port

Handle 0x002E, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J4306 - MEM FAN
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: Other

Handle 0x002F, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J3000 - ATX PWR
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: Other

Handle 0x0030, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J4300 - SYSTEM FAN
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: Other

Handle 0x0031, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J4305 - CPU FAN
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: Other

Handle 0x0032, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J3001 - ATX 12V PWR
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: Other

Handle 0x0033, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J4301 - MEM FAN
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: Other

Handle 0x0034, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J3002 - ATX 24PIN PWR
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: Other

Handle 0x0035, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J49 - SATA
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: SATA

Handle 0x0036, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J46 - iSATA
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: SATA

Handle 0x0037, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J38 - iSATA
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: SATA

Handle 0x0038, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J43 - iSATA
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: SATA

Handle 0x0039, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J604 - Sink FAN
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: Other

Handle 0x003A, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J4304 - PT FAN
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: Other

Handle 0x003B, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J202 - LPC HDR
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: Other

Handle 0x003C, DMI type 9, 17 bytes
System Slot Information
    Designation: PCIE3
    Type: x16 PCI Express x16
    Current Usage: In Use
    Length: Short
    ID: 2
    Characteristics:
        3.3 V is provided
        Opening is shared
        PME signal is supported
    Bus Address: 0000:40:03.1

Handle 0x003D, DMI type 9, 17 bytes
System Slot Information
    Designation: PCIE4
    Type: x1 PCI Express x1
    Current Usage: In Use
    Length: Short
    ID: 3
    Characteristics:
        3.3 V is provided
        Opening is shared
        PME signal is supported
    Bus Address: 0000:42:05.0

Handle 0x003E, DMI type 9, 17 bytes
System Slot Information
    Designation: PCIE5
    Type: x8 PCI Express x8
    Current Usage: In Use
    Length: Short
    ID: 4
    Characteristics:
        3.3 V is provided
        Opening is shared
        PME signal is supported
    Bus Address: 0000:00:01.3

Handle 0x003F, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Onboard LAN RTL8111
    Type: Ethernet
    Status: Enabled
    Type Instance: 1
    Bus Address: 0000:47:00.0

Handle 0x0040, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: X570/590 SATA0
    Type: SATA Controller
    Status: Enabled
    Type Instance: 5
    Bus Address: 0000:4a:00.0

Handle 0x0041, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: X570/590 SATA1
    Type: SATA Controller
    Status: Enabled
    Type Instance: 6
    Bus Address: 0000:4b:00.0

Handle 0x0042, DMI type 13, 22 bytes
BIOS Language Information
    Language Description Format: Long
    Installable Languages: 15
        en|US|iso8859-1
        zh|TW|unicode
        zh|CN|unicode
        ru|RU|iso8859-5
        de|DE|iso8859-1
        ja|JP|unicode
        ko|KR|unicode
        es|ES|iso8859-1
        fr|FR|iso8859-1
        it|IT|iso8859-1
        pt|PT|iso8859-1
        vi|VI|iso8859-1
        id|ID|iso8859-1
        tr|TR|iso8859-1
        pl|PL|iso8859-1
    Currently Installed Language: en|US|iso8859-1

Handle 0x0043, DMI type 127, 4 bytes
End Of Table

Thank you!

electrified commented 4 years ago

Hi,

The WMI sensors implementation is an Asus custom API that they've implemented in their firmware - it's not on other manufacturer's boards, so adding support would not be possible.

In terms of what sensors IC you have, it's the ITE IT8688E: https://www.ixbt.com/platform/gigabyte-trx40-aorus-xtreme-review.html

This is the same as used on the Asus boards, and it's troublesome to use directly under linux. (No datasheets mean it's difficult to write a 100% working driver). The unmaintained out of tree it87 driver is your best bet: https://github.com/a1wong/it87

The Tdie/Tctl readings you are seeing are from the k10temp driver I'm guessing? These are read directly from the CPU and would be the same regardless of motherboard. They are the same on some CPUs: https://forums.gentoo.org/viewtopic-p-8347924.html#8347924

bertelschmitt commented 4 years ago

Thank you for your help. As for Tdie/Tctl, these readings are from a Threadripper 3970X, and Tctl should differ from Tdie by an offset, I believe it is 27 degree centigrade

electrified commented 4 years ago

Pass - not sure about offsets!

There is some output from a 3970X here and that is showing the same value for both: https://patchwork.kernel.org/patch/11349263/

Also there is no offset defined in the driver for 3rd gen Threadrippers: https://github.com/torvalds/linux/blob/master/drivers/hwmon/k10temp.c#L119

bertelschmitt commented 4 years ago

As for the offsets, that issue was a source of constant confusion w/ 1st and 2nd gen Threadrippers, and I hope your are right , and the issue is moot. Anyway, with your help I compiled the it87 at https://github.com/a1wong/it87, forced the driver with modprobe to use ID 0x8733, where lm-sensors found a chip id ir didn't recognize. Now, I at least get something (albeit readings for less than half of the sensors available).

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

it8792-isa-0a60
Adapter: ISA adapter
in0:          +0.95 V  (min =  +0.00 V, max =  +2.78 V)
in1:          +1.49 V  (min =  +0.00 V, max =  +2.78 V)
in2:          +0.98 V  (min =  +0.00 V, max =  +2.78 V)
in3:          +0.40 V  (min =  +0.00 V, max =  +2.78 V)
in4:          +1.78 V  (min =  +0.00 V, max =  +2.78 V)
in5:          +1.50 V  (min =  +0.00 V, max =  +2.78 V)
in6:          +2.78 V  (min =  +0.00 V, max =  +2.78 V)  ALARM
3VSB:         +3.33 V  (min =  +0.00 V, max =  +5.56 V)
Vbat:         +3.25 V
fan1:         790 RPM  (min =    0 RPM)
fan2:        1104 RPM  (min =    0 RPM)
fan3:         715 RPM  (min =    0 RPM)
temp1:        +50.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        +40.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp3:        +46.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
intrusion0:  ALARM

Don't know how reliable the info is, but it's a start. The temp1 - temp3 could be the wired probes that came with the mobo, I stuck one one the cold-plate, and the other on the VRM. The third could be the noise sensor they supplied. Again, thank your for showing me the way.