Hi, On Sun, Nov 13, 2022 at 12:36 AM Guenter Roeck <linux@xxxxxxxxxxxx> wrote: > > On Sat, Nov 12, 2022 at 09:56:40PM +0100, Christian Lamparter wrote: > > found on the ASRock X670E PG Lightning (and possibly others). > > > > the userspace sensors-detect utiliy found "a" chip right away: > > |Probing for Super-I/O at 0x2e/0x2f > > |[...] > > |Trying family `VIA/Winbond/Nuvoton/Fintek'... Yes > > |Found unknown chip with ID 0xd802 > > | (logical device B has address 0x290, could be sensors) > > > > Looking at the documentation: ASRock was nice enough to point > > the exact chip out in the mainboard's "English User Manual" [0]. > > In section "1.5 Block Diagram" on page 10 it says "SIO NCT6796D-S". > > It is also mentioned that it uses eSPI to interface with the CPU. > > > Who knows, maybe the "-S" is for "eSPI". Apparently, eSPI has been around for a while. Didn't know that, it's been quietly replacing LPC starting from 2015. I've been doing even more digging, this time on github. Should have done this sooner. What I found is that for the LibreHardwareMonitor Project that 0xd802 ID is a new chip! <https://github.com/LibreHardwareMonitor/LibreHardwareMonitor/pull/846> They call it "NCT6799D". I guess, I'll ask there, because I do have photos of the chip on the mainboard with the "NCT6796D-S" label on it. (The SuperIO is located behind the GPU). > > > > [0] https://download.asrock.com/Manual/X670E%20PG%20Lightning_English.pdf > > [1] https://www.nuvoton.com/export/resource-files/NCT6796D_Datasheet_V0_6.pdf > > Signed-off-by: Christian Lamparter <chunkeey@xxxxxxxxx> > > --- > > > > Any insights into the missing two fan speed sensors would be very appreciated. > > Two possibilities: There may be more options to enable those fan inputs (ie > different pins) not curently supported by the driver, or there is a fan > multiplexer on the board. Hard if not impossible to say without datasheet. Your suggestion: "Look at the Windows Utility" was very helpful in this regard. So ASRock has each motherboard configurations in a separate .xml file. And the content of that ASRock XML for my motherboard does make sense. My best guess is that, I have to spend more time at driver, the missing fans should have been fan4 and fan5. => Adding the ID isn't enough to get this supported just yet. For the time being if someone wants to use this: Please just stick with the force_id module parameter. I ask Nuvoton (apparently they have a github page) or try to figure this out by looking more at the windows utility. Thank you! Christian PS.: As luck would have it, I also got an ASRock B660M PG board. This has the "NCT6796D-R". However this chip reuses the existing NCT6796D ID and is instantly working with 6.1-rc4.