linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* hwmon (nct6775): Please fix Invalid temperature source error for NCT6798D
@ 2020-07-03 16:03 Stefan Dietrich
  2020-07-03 17:10 ` Guenter Roeck
  0 siblings, 1 reply; 12+ messages in thread
From: Stefan Dietrich @ 2020-07-03 16:03 UTC (permalink / raw)
  To: linux-hwmon

Hi all,

with my Asus Formula XII Z490 and 5.7.0-7.1-liquorix-amd64 I'm getting
the following error messages during boot:

nct6775: Found NCT6798D or compatible chip at 0x2e:0x290
nct6775 nct6775.656: Invalid temperature source 28 at index 0, source
register 0x100, temp register 0x73
nct6775 nct6775.656: Invalid temperature source 28 at index 1, source
register 0x200, temp register 0x75
nct6775 nct6775.656: Invalid temperature source 28 at index 2, source
register 0x300, temp register 0x77
nct6775 nct6775.656: Invalid temperature source 28 at index 3, source
register 0x800, temp register 0x79
nct6775 nct6775.656: Invalid temperature source 28 at index 4, source
register 0x900, temp register 0x7b
nct6775 nct6775.656: Invalid temperature source 28 at index 5, source
register 0xa00, temp register 0x7d

During sensors-detect, most of the standard temperature, voltage and
rpm sources are recognized, however, some of the values, particularly
voltages, are off quite a bit. In addition, output of additional
temperature sensors (via headers on the mainboard) which are reported
fine in BIOS, are missing.

Booting with acpi_enforce_resources=lax doesn't solve this issue.

I'd be happy if anyone would be able to fix this issue or give any
pointers on how to do so. Unfortunately I only have very basic coding
skills, but I'll be happy to assist in debugging.


Cheers,
Stefan


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: hwmon (nct6775): Please fix Invalid temperature source error for NCT6798D
@ 2020-07-14 23:17 Alexey Galakhov
  2020-07-14 23:58 ` Guenter Roeck
  0 siblings, 1 reply; 12+ messages in thread
From: Alexey Galakhov @ 2020-07-14 23:17 UTC (permalink / raw)
  To: linux-hwmon

Hi,

I'm facing the same problem. I did some research on my machine.

On Fri, 2020-07-03 at 10:10 -0700, Guenter Roeck wrote:

> There is nothing much if anything we can do about that. The NCT6798D
> datasheet reports temperature source 28 as reserved. You could ask
> Asus for support, but their usual response is that they don't support
> Linux.

Looks like there are different versions of the datasheet. The one of
NCT6796D, Revision 0.6 states that 28 (0x1c or 11100) is "Select PECI
Agent 0 Calibration as CPUFAN monitoring source." This seems to be correct
since the fan in question is the CPU one and the value of "PECI Agent 0
Calibration" is actually very similar to the CPU temperature and rises
with CPU load.

Also, looking at the driver code I found no signs of reading so-called
"HM Read-Only Registers". They are described in section 9.481 of the
above datasheet. They are I/O ports (readable with `inb`) with their
base address located in configuration registers 0x64 and 0x65 of the
SuperIO. Some temperatures seem to be directly readable only through
these registers. Looks like the driver monitors all temperatures only
indirectly via switchable channels, is it true?

Regards,
Alexey
  

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-07-15  2:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03 16:03 hwmon (nct6775): Please fix Invalid temperature source error for NCT6798D Stefan Dietrich
2020-07-03 17:10 ` Guenter Roeck
2020-07-05 13:20   ` Stefan Dietrich
     [not found]   ` <48f415c34f4ca3f5239650711daaf1e11342da8e.camel@gmx.de>
     [not found]     ` <d54732db-255c-54be-ab43-997369e0da87@roeck-us.net>
2020-07-05 15:47       ` Stefan Dietrich
     [not found]       ` <e02ef4f8633e035ecf6019abb72e3a22bfc29732.camel@gmx.de>
     [not found]         ` <20200712224620.GA19097@roeck-us.net>
2020-07-13 17:40           ` Stefan Dietrich
2020-07-14  5:18             ` Guenter Roeck
2020-07-14 17:19               ` Stefan Dietrich
2020-07-14 21:29                 ` Guenter Roeck
2020-07-14 23:17 Alexey Galakhov
2020-07-14 23:58 ` Guenter Roeck
2020-07-15  0:19   ` Alexey Galakhov
2020-07-15  2:33     ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).