Code Monkey home page Code Monkey logo

Comments (13)

Fred78290 avatar Fred78290 commented on May 29, 2024 3

Hi sorry for long delay to reply because I have also many private enterprise repositories flooding my mailbox 😂
So, I have never contacted Gunther. May be I must do it….

from nct6687d.

lourdas avatar lourdas commented on May 29, 2024 3

What’s interesting is that your fans are named, mine is not, it's just fan1-fan10, both connected and not.

Yes, you can change that. Inside /etc/sensors.d you create a file with content similar to this:

chip "nct6687-isa-0a20"
    label fan1 "CPU Fan"
    label fan3 "Back Fan"
    label fan7 "Front Upper Fan"
    label fan8 "Front Lower Fan"

Just make sure which fanX corresponds to each actual fan in your case.

from nct6687d.

lourdas avatar lourdas commented on May 29, 2024

Hey @Fred78290, did you have a chance to contact anyone about upstreaming this?

from nct6687d.

Fred78290 avatar Fred78290 commented on May 29, 2024

A chance maybe…
Some official linux distribution already include my work

from nct6687d.

lourdas avatar lourdas commented on May 29, 2024

A chance maybe… Some official linux distribution already include my work

Which one?

from nct6687d.

ImmortAlexGM avatar ImmortAlexGM commented on May 29, 2024

https://www.phoronix.com/news/Linux-6.5-HWMON

Newest HWMON patches to kernel 6.5 bring support for NCT6687D.

from nct6687d.

lourdas avatar lourdas commented on May 29, 2024

The upstream patch is the one from this repository or different code?

from nct6687d.

ImmortAlexGM avatar ImmortAlexGM commented on May 29, 2024

Looks like it is false alert.
I dug into the kernel sources https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git/tree/drivers/hwmon/nct6683.c and found that driver already has support for NCT6687D but with different ID.
Kernel driver sources: #define SIO_NCT6687_ID 0xd590
Fred78290's sources: #define SIO_NCT6687D_ID 0xd592
In-kernel support was added at 2020-12-02.

from nct6687d.

ImmortAlexGM avatar ImmortAlexGM commented on May 29, 2024

It was not a false alert...
Kernel 6.5.2, MSI MAG B560M BAZOOKA, in-kernel driver:

nct6687-isa-0a20
Adapter: ISA adapter
VIN0:             1.02 V  (min =  +0.00 V, max =  +0.00 V)
VIN1:             1.34 V  (min =  +0.00 V, max =  +0.00 V)
VIN2:           624.00 mV (min =  +0.00 V, max =  +0.00 V)
VIN3:           624.00 mV (min =  +0.00 V, max =  +0.00 V)
VIN4:           672.00 mV (min =  +0.00 V, max =  +0.00 V)
VIN5:             1.06 V  (min =  +0.00 V, max =  +0.00 V)
VIN6:             1.02 V  (min =  +0.00 V, max =  +0.00 V)
VIN7:             1.54 V  (min =  +0.00 V, max =  +0.00 V)
VCC:              3.36 V  (min =  +0.00 V, max =  +0.00 V)
VSB:              3.36 V  (min =  +0.00 V, max =  +0.00 V)
AVSB:             3.36 V  (min =  +0.00 V, max =  +0.00 V)
VTT:              1.06 V  (min =  +0.00 V, max =  +0.00 V)
VBAT:             3.18 V  (min =  +0.00 V, max =  +0.00 V)
VREF:             1.82 V  (min =  +0.00 V, max =  +0.00 V)
fan1:            767 RPM  (min =    0 RPM)
fan2:           2752 RPM  (min =    0 RPM)
fan3:           1089 RPM  (min =    0 RPM)
fan4:           1090 RPM  (min =    0 RPM)
fan5:              0 RPM  (min =    0 RPM)
fan6:              0 RPM  (min =    0 RPM)
fan7:              0 RPM  (min =    0 RPM)
fan8:              0 RPM  (min =    0 RPM)
fan9:              0 RPM  (min =    0 RPM)
fan10:             0 RPM  (min =    0 RPM)
PECI 0.0:        +30.5°C  (low  =  +0.0°C)
                          (high =  +0.0°C, hyst =  +0.0°C)
                          (crit =  +0.0°C)  sensor = Intel PECI
Diode 0 (curr):  +35.0°C  (low  =  +0.0°C)
                          (high =  +0.0°C, hyst =  +0.0°C)
                          (crit =  +0.0°C)  sensor = thermal diode
Thermistor 15:   +31.5°C  (low  =  +0.0°C)
                          (high = +127.0°C, hyst = +27.0°C)
                          (crit =  +0.0°C)  sensor = thermistor
PCH CHIP:        +43.0°C  (low  =  +0.0°C)
                          (high =  +0.0°C, hyst =  +0.0°C)
                          (crit =  +0.0°C)
Thermistor 16:   +31.0°C  (low  =  +0.0°C)
                          (high =  +0.0°C, hyst =  +0.0°C)
                          (crit =  +0.0°C)  sensor = thermistor
Thermistor 0:    +23.0°C  (low  =  +0.0°C)
                          (high =  +0.0°C, hyst =  +0.0°C)
                          (crit =  +0.0°C)  sensor = thermistor
Thermistor 1:    +24.5°C  (low  =  +0.0°C)
                          (high =  +0.0°C, hyst =  +0.0°C)
                          (crit =  +0.0°C)  sensor = thermistor
intrusion0:     OK
beep_enable:    disabled

from nct6687d.

lourdas avatar lourdas commented on May 29, 2024

If you compare it to Fred78290' sources, does it output the same (or maybe) similar values?

from nct6687d.

lourdas avatar lourdas commented on May 29, 2024

Ok, running with latest 6.5.5 kernel, I found that enabling nct6683D and nct6675F and compatibles like in the screenshot:

Screenshot_20230929_161936

it detects the sensor chip:

nct6683: Found NCT6687D or compatible chip at 0x4e:0xa20
nct6683 nct6683.2592: NCT6687D EC firmware version 1.0 build 08/16/22

The output from sensors:

nct6687-isa-0a20
Adapter: ISA adapter
VIN0:            992.00 mV (min =  +0.00 V, max =  +0.00 V)
VIN1:            992.00 mV (min =  +0.00 V, max =  +0.00 V)
VIN2:            608.00 mV (min =  +0.00 V, max =  +0.00 V)
VIN3:              1.39 V  (min =  +0.00 V, max =  +0.00 V)
VIN4:            672.00 mV (min =  +0.00 V, max =  +0.00 V)
VIN5:              1.33 V  (min =  +0.00 V, max =  +0.00 V)
VIN6:            880.00 mV (min =  +0.00 V, max =  +0.00 V)
VIN7:              1.52 V  (min =  +0.00 V, max =  +0.00 V)
VCC:               3.33 V  (min =  +0.00 V, max =  +0.00 V)
CPU Fan:            0 RPM  (min =    0 RPM)
fan2:               0 RPM  (min =    0 RPM)
Back Fan:        1477 RPM  (min =    0 RPM)
fan4:               0 RPM  (min =    0 RPM)
fan5:               0 RPM  (min =    0 RPM)
fan6:               0 RPM  (min =    0 RPM)
Front Upper Fan: 1498 RPM  (min =    0 RPM)
Front Lower Fan: 1220 RPM  (min =    0 RPM)
fan9:               0 RPM  (min =    0 RPM)
fan10:              0 RPM  (min =    0 RPM)
PECI 0.0:         +41.5°C  (low  =  +0.0°C)
                        (high =  +0.0°C, hyst =  +0.0°C)
                        (crit =  +0.0°C)  sensor = Intel PECI
Diode 0 (curr):   +36.5°C  (low  =  +0.0°C)
                        (high =  +0.0°C, hyst =  +0.0°C)
                        (crit =  +0.0°C)  sensor = thermal diode
Thermistor 15:    +38.0°C  (low  =  +0.0°C)
                        (high = +127.0°C, hyst = +27.0°C)
                        (crit =  +0.0°C)  sensor = thermistor
PCH CHIP:         +49.0°C  (low  =  +0.0°C)
                        (high =  +0.0°C, hyst =  +0.0°C)
                        (crit =  +0.0°C)
Thermistor 16:    +36.5°C  (low  =  +0.0°C)
                        (high =  +0.0°C, hyst =  +0.0°C)
                        (crit =  +0.0°C)  sensor = thermistor
intrusion0:      OK
beep_enable:     disabled

from nct6687d.

ImmortAlexGM avatar ImmortAlexGM commented on May 29, 2024

What’s interesting is that your fans are named, mine is not, it's just fan1-fan10, both connected and not.

from nct6687d.

Atemu avatar Atemu commented on May 29, 2024

Problems I have with the upstream module that are fixed by this module:

  1. On my machine, I need to force load the module
  2. Sensor and fan names aren't very descriptive by default
  3. You can't set fan speeds

I think it's worth pursuing getting these adjustments into the upstream kernel @Fred78290.

from nct6687d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.