diff mbox series

Sensor for Asus Pro A520M-C II/CSM

Message ID 389043e8-b523-cd89-b4da-83acea01521@praktifix.dwd.de (mailing list archive)
State Changes Requested
Headers show
Series Sensor for Asus Pro A520M-C II/CSM | expand

Commit Message

Holger Kiehl March 12, 2023, 1:06 p.m. UTC
Hello,

with the attached patch some sensor information is shown
with Asus Pro A520M-C II/CSM:

    dmesg |grep nct6775
    [   23.765392] nct6775: Found NCT6798D or compatible chip at 0x2e:0x290

And sensors now shows:

    nct6798-isa-0290
    Adapter: ISA adapter
    in0:                      312.00 mV (min =  +0.00 V, max =  +1.74 V)
    in1:                        1.02 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
    in2:                        3.42 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
    in3:                        3.38 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
    in4:                        1.03 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
    in5:                        1.02 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
    in6:                      200.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
    in7:                        3.42 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
    in8:                        3.28 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
    in9:                      920.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
    in10:                     512.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
    in11:                     504.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
    in12:                       1.03 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
    in13:                     256.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
    in14:                       1.47 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
    fan1:                        0 RPM  (min =    0 RPM)
    fan2:                        0 RPM  (min =    0 RPM)
    fan3:                      355 RPM  (min =    0 RPM)
    fan7:                        0 RPM  (min =    0 RPM)
    SYSTIN:                    +25.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor
    CPUTIN:                    +26.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor
    AUXTIN0:                   +97.0°C    sensor = thermistor
    AUXTIN1:                   +25.0°C    sensor = thermistor
    AUXTIN2:                   +25.0°C    sensor = thermistor
    AUXTIN3:                    +1.0°C    sensor = thermistor
    PECI Agent 0 Calibration:  +26.0°C
    PCH_CHIP_CPU_MAX_TEMP:      +0.0°C
    PCH_CHIP_TEMP:              +0.0°C
    PCH_CPU_TEMP:               +0.0°C
    TSI0_TEMP:                 +27.9°C
    intrusion0:               ALARM
    intrusion1:               OK
    beep_enable:              disabled

The patch is against 6.2.5.

Thank you very much for all the hwmon work!

Regards,
Holger

Comments

Guenter Roeck March 12, 2023, 5:58 p.m. UTC | #1
On 3/12/23 06:06, Holger Kiehl wrote:
> Hello,
> 
> with the attached patch some sensor information is shown
> with Asus Pro A520M-C II/CSM:
> 
>     dmesg |grep nct6775
>     [   23.765392] nct6775: Found NCT6798D or compatible chip at 0x2e:0x290
> 
> And sensors now shows:
> 
>     nct6798-isa-0290
>     Adapter: ISA adapter
>     in0:                      312.00 mV (min =  +0.00 V, max =  +1.74 V)
>     in1:                        1.02 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
>     in2:                        3.42 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
>     in3:                        3.38 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
>     in4:                        1.03 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
>     in5:                        1.02 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
>     in6:                      200.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
>     in7:                        3.42 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
>     in8:                        3.28 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
>     in9:                      920.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
>     in10:                     512.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
>     in11:                     504.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
>     in12:                       1.03 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
>     in13:                     256.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
>     in14:                       1.47 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
>     fan1:                        0 RPM  (min =    0 RPM)
>     fan2:                        0 RPM  (min =    0 RPM)
>     fan3:                      355 RPM  (min =    0 RPM)
>     fan7:                        0 RPM  (min =    0 RPM)
>     SYSTIN:                    +25.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor
>     CPUTIN:                    +26.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor
>     AUXTIN0:                   +97.0°C    sensor = thermistor
>     AUXTIN1:                   +25.0°C    sensor = thermistor
>     AUXTIN2:                   +25.0°C    sensor = thermistor
>     AUXTIN3:                    +1.0°C    sensor = thermistor
>     PECI Agent 0 Calibration:  +26.0°C
>     PCH_CHIP_CPU_MAX_TEMP:      +0.0°C
>     PCH_CHIP_TEMP:              +0.0°C
>     PCH_CPU_TEMP:               +0.0°C
>     TSI0_TEMP:                 +27.9°C
>     intrusion0:               ALARM
>     intrusion1:               OK
>     beep_enable:              disabled
> 
> The patch is against 6.2.5.
> 
> Thank you very much for all the hwmon work!
> 
> Regards,
> Holger

Please see

Documentation/process/submitting-patches.rst
Documentation/process/submit-checklist.rst

for information on how to submit patches into the upstream Linux kernel.

Thanks,
Guenter
diff mbox series

Patch

--- linux-6.2.5/drivers/hwmon/nct6775-platform.c.orig	2023-03-11 13:50:50.000000000 +0100
+++ linux-6.2.5/drivers/hwmon/nct6775-platform.c	2023-03-11 20:46:02.898764320 +0100
@@ -1052,6 +1052,7 @@ 
 static struct platform_device *pdev[2];
 
 static const char * const asus_wmi_boards[] = {
+	"Pro A520M-C II",
 	"PRO H410T",
 	"ProArt B550-CREATOR",
 	"ProArt X570-CREATOR WIFI",