Announcement

Collapse
No announcement yet.

Linux 6.3 Supports Sensor Monitoring For Many ASUS B650/B660/X670 Motherboards

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Any day now then .

    Joking aside, I do understand that in Linux you need to put some work in to get stuff in return. I'm not complaining, just saying that I don't care anymore, since it's almost futile. Last time I bothered was with a X370 board. Fun experience to be honest, but not something I want to repeat every time I upgrade my motherboard. Yeah, the sensors thing is a complete mess and pretty much guesswork, and it will continue to be that way.

    Comment


    • #12
      Originally posted by denisdevelops View Post
      Some boards could require addition patch apply for support newer version of chip https://patchwork.kernel.org/[email protected]/

      In such case dmesg should contain some message about wrong chipid.

      what board do you have?
      Thanks,
      I have PRIME B550-PLUS and PRIME B350-PLUS boards.

      Comment


      • #13
        Originally posted by piorunz View Post

        Thanks,
        I have PRIME B550-PLUS and PRIME B350-PLUS boards.
        PRIME B550-PLUS - should be supported v6.0+ kernels, as I remember, may be just missed by some reason or just some unexpected error.

        PRIME B350-PLUS - is unsupported by upstream code, maybe it can be supported by some workaround.

        You can attach exact error to https://bugzilla.kernel.org/show_bug.cgi?id=204807, if it's not simple case like outdated kernel version.

        Comment


        • #14
          Originally posted by denisdevelops View Post

          PRIME B550-PLUS - should be supported v6.0+ kernels, as I remember, may be just missed by some reason or just some unexpected error.

          PRIME B350-PLUS - is unsupported by upstream code, maybe it can be supported by some workaround.

          You can attach exact error to https://bugzilla.kernel.org/show_bug.cgi?id=204807, if it's not simple case like outdated kernel version.
          Exact error of what? I don't have any error. I just don't see any temps from motherboard.

          PRIME B550-PLUS on Debian Testing (kernel 6.1)
          Code:
          $ sensors
          k10temp-pci-00c3
          Adapter: PCI adapter
          Tctl: +37.2°C
          Tccd1: +33.0°C
          
          nvme-pci-0100
          Adapter: PCI adapter
          Composite: +31.9°C (low = -0.1°C, high = +69.8°C)
          (crit = +84.8°C)
          
          amdgpu-pci-0900
          Adapter: PCI adapter
          vddgfx: 856.00 mV
          fan1: 0 RPM (min = 0 RPM, max = 3000 RPM)
          edge: +36.0°C (crit = +100.0°C, hyst = -273.1°C)
          (emerg = +105.0°C)
          junction: +44.0°C (crit = +110.0°C, hyst = -273.1°C)
          (emerg = +115.0°C)
          mem: +40.0°C (crit = +100.0°C, hyst = -273.1°C)
          (emerg = +105.0°C)
          PPT: 38.00 W (cap = 272.00 W)

          PRIME B350-PLUS on Debian Stable (kernel 5.10)
          Code:
          $ sensors
          nouveau-pci-0700
          Adapter: PCI adapter
          GPU core: 912.00 mV (min = +0.80 V, max = +1.19 V)
          temp1: +40.0°C (high = +95.0°C, hyst = +3.0°C)
          (crit = +105.0°C, hyst = +5.0°C)
          (emerg = +135.0°C, hyst = +5.0°C)
          
          k10temp-pci-00c3
          Adapter: PCI adapter
          Tctl: +35.2°C
          Tdie: +35.2°C
          Last edited by piorunz; 28 February 2023, 12:10 AM.

          Comment


          • #15
            Originally posted by piorunz View Post

            Exact error of what? I don't have any error. I just don't see any temps from motherboard.

            PRIME B550-PLUS on Debian Testing (kernel 6.1)
            Code:
            $ sensors
            k10temp-pci-00c3
            Adapter: PCI adapter
            Tctl: +37.2°C
            Tccd1: +33.0°C
            
            nvme-pci-0100
            Adapter: PCI adapter
            Composite: +31.9°C (low = -0.1°C, high = +69.8°C)
            (crit = +84.8°C)
            
            amdgpu-pci-0900
            Adapter: PCI adapter
            vddgfx: 856.00 mV
            fan1: 0 RPM (min = 0 RPM, max = 3000 RPM)
            edge: +36.0°C (crit = +100.0°C, hyst = -273.1°C)
            (emerg = +105.0°C)
            junction: +44.0°C (crit = +110.0°C, hyst = -273.1°C)
            (emerg = +115.0°C)
            mem: +40.0°C (crit = +100.0°C, hyst = -273.1°C)
            (emerg = +105.0°C)
            PPT: 38.00 W (cap = 272.00 W)

            PRIME B350-PLUS on Debian Stable (kernel 5.10)
            Code:
            $ sensors
            nouveau-pci-0700
            Adapter: PCI adapter
            GPU core: 912.00 mV (min = +0.80 V, max = +1.19 V)
            temp1: +40.0°C (high = +95.0°C, hyst = +3.0°C)
            (crit = +105.0°C, hyst = +5.0°C)
            (emerg = +135.0°C, hyst = +5.0°C)
            
            k10temp-pci-00c3
            Adapter: PCI adapter
            Tctl: +35.2°C
            Tdie: +35.2°C
            5.10 kernel does not have support for proxy access to nct6775 sensors on Asus boards.

            ​​​​​​B350 boards are not supported for now, you can try to build with patch from 204807 but no guarantees for now.

            B550 boards are supported by latest kernel. 6.1 with backports also should be.

            Could you please try to run 'sudo modprobe nct6775' and look to outputs of 'sudo dmesg' or run sensors-detect from lm_sensors and than look for what do you have in dmesg and sensors output?

            Patch from https://bugzilla.kernel.org/show_bug.cgi?id=204807#c301 could support B350 board. Patch has several boards with comment "// use custom port definition", such boards are supported in theory, but need to check with real boards and share dmesg messages related to nct6775 module - after such check support of such board could be sent to upstream.
            Last edited by denisdevelops; 28 February 2023, 07:01 PM.

            Comment


            • #16
              Originally posted by denisdevelops View Post

              5.10 kernel does not have support for proxy access to nct6775 sensors on Asus boards.

              ​​​​​​B350 boards are not supported for now, you can try to build with patch from 204807 but no guarantees for now.

              B550 boards are supported by latest kernel. 6.1 with backports also should be.

              Could you please try to run 'sudo modprobe nct6775' and look to outputs of 'sudo dmesg' or run sensors-detect from lm_sensors and than look for what do you have in dmesg and sensors output?

              Patch from https://bugzilla.kernel.org/show_bug.cgi?id=204807#c301 could support B350 board. Patch has several boards with comment "// use custom port definition", such boards are supported in theory, but need to check with real boards and share dmesg messages related to nct6775 module - after such check support of such board could be sent to upstream.
              Fantastic, it worked!
              dmesg:
              [121459.531766] nct6775: Using Asus WMI to access 0xc1 chip.
              [121459.531798] nct6775: Found NCT6798D or compatible chip at 0x2e:0x290


              sensors:
              $ sensors
              nct6798-isa-0290
              Adapter: ISA adapter
              in0: 448.00 mV (min = +0.00 V, max = +1.74 V)
              in1: 1.01 V (min = +0.00 V, max = +0.00 V) ALARM
              in2: 3.39 V (min = +0.00 V, max = +0.00 V) ALARM
              in3: 3.33 V (min = +0.00 V, max = +0.00 V) ALARM
              in4: 1.02 V (min = +0.00 V, max = +0.00 V) ALARM
              in5: 936.00 mV (min = +0.00 V, max = +0.00 V) ALARM
              in6: 272.00 mV (min = +0.00 V, max = +0.00 V) ALARM
              in7: 3.39 V (min = +0.00 V, max = +0.00 V) ALARM
              in8: 3.30 V (min = +0.00 V, max = +0.00 V) ALARM
              in9: 912.00 mV (min = +0.00 V, max = +0.00 V) ALARM
              in10: 328.00 mV (min = +0.00 V, max = +0.00 V) ALARM
              in11: 1.02 V (min = +0.00 V, max = +0.00 V) ALARM
              in12: 1.04 V (min = +0.00 V, max = +0.00 V) ALARM
              in13: 392.00 mV (min = +0.00 V, max = +0.00 V) ALARM
              in14: 296.00 mV (min = +0.00 V, max = +0.00 V) ALARM
              fan1: 0 RPM (min = 0 RPM)
              fan2: 691 RPM (min = 0 RPM)
              fan3: 0 RPM (min = 0 RPM)
              fan4: 0 RPM (min = 0 RPM)
              fan5: 0 RPM (min = 0 RPM)
              fan6: 2368 RPM (min = 0 RPM)
              fan7: 0 RPM (min = 0 RPM)
              SYSTIN: +29.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
              CPUTIN: +36.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
              AUXTIN0: +83.5°C sensor = thermistor
              AUXTIN1: +45.0°C sensor = thermistor
              AUXTIN2: -59.0°C sensor = thermistor
              AUXTIN3: +78.0°C sensor = thermistor
              PECI Agent 0 Calibration: +35.0°C
              PCH_CHIP_CPU_MAX_TEMP: +0.0°C
              PCH_CHIP_TEMP: +0.0°C
              PCH_CPU_TEMP: +0.0°C
              TSI0_TEMP: +42.1°C
              intrusion0: ALARM
              intrusion1: OK
              beep_enable: disabled

              k10temp-pci-00c3
              Adapter: PCI adapter
              Tctl: +42.0°C
              Tccd1: +49.5°C

              nvme-pci-0100
              Adapter: PCI adapter
              Composite: +41.9°C (low = -0.1°C, high = +69.8°C)
              (crit = +84.8°C)

              amdgpu-pci-0900
              Adapter: PCI adapter
              vddgfx: 856.00 mV
              fan1: 0 RPM (min = 0 RPM, max = 3000 RPM)
              edge: +52.0°C (crit = +100.0°C, hyst = -273.1°C)
              (emerg = +105.0°C)
              junction: +59.0°C (crit = +110.0°C, hyst = -273.1°C)
              (emerg = +115.0°C)
              mem: +56.0°C (crit = +100.0°C, hyst = -273.1°C)
              (emerg = +105.0°C)
              PPT: 40.00 W (cap = 272.00 W)




              How can I enable this module permanently, so it loads on every boot?

              Comment


              • #17
                ​​​​​​B350 machine is production-grade homeserver, so I won't be patching that, unfortunately. But once new Debian is out, I will be on 6.1 kernel and I can try things.

                Comment


                • #18
                  Originally posted by piorunz View Post

                  How can I enable this module permanently, so it loads on every boot?
                  Sensors-detect as last question asks about add detected sensors to autoload.

                  Also Arch Linux documentation has instructions for do it manually https://wiki.archlinux.org/title/Kernel_module

                  Comment


                  • #19
                    Originally posted by denisdevelops View Post

                    Sensors-detect as last question asks about add detected sensors to autoload.

                    Also Arch Linux documentation has instructions for do it manually https://wiki.archlinux.org/title/Kernel_module
                    Excellent, thanks! That worked. Sensors-detect has added appropriate line to /etc/modules file.

                    Comment


                    • #20
                      Originally posted by piorunz View Post

                      Excellent, thanks! That worked. Sensors-detect has added appropriate line to /etc/modules file.
                      Thank you! Could you please make one more check on b350 with a currently installed kernel, version doesn't matter, run modprobe nct6775 and check what is the error in dmesg? It should say that sensor is detected, but have conflict with acpi resources.
                      it will be positive case as kernel just need add b350 boards to the accepted boards list to use Asus wmi methods.

                      Otherwise support b350 boards will more complicated story with search correct methods to have access to sensors or use it87 or some other sensors module with additional patches.

                      Comment

                      Working...
                      X