Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Adding support for Nuvoton NPCE388N EC #113

Open
nb-programmer opened this issue Dec 20, 2024 · 1 comment
Open

[Request] Adding support for Nuvoton NPCE388N EC #113

nb-programmer opened this issue Dec 20, 2024 · 1 comment

Comments

@nb-programmer
Copy link

Hi

I have a Lenovo laptop (specifically model e41-15) that has an AMD chipset and a SuperIO/EC made by Nuvoton. I came across this driver repo, and thought maybe this chip could be supported? Currently there are no drivers for this and lm_sensors find no sensors (fan, temp, etc.).

I have used ec_probe and found some data addresses matching such as the fan RPM. I think this can be investigated more and may eventually work. But since this repo is focused on the nct6687 series maybe will need to be in a separate fork.

Let me know of anything I can do to help out. Thanks!

Chip photo:
image

@nb-programmer nb-programmer changed the title [Request] Adding support for Nuvoton NPCE388 EC [Request] Adding support for Nuvoton NPCE388N EC Dec 20, 2024
@nb-programmer
Copy link
Author

EC registers (sudo ec_probe dump):

---|------------------------------------------------
   | 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
---|------------------------------------------------
00 | 00 00 00 00 00 00 19 00 00 00 80 00 00 00 00 00
10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00
20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80 | 00 00 00 00 00 00 00 00 01 01 03 00 80 00 00 00
90 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
A0 | 00 00 00 C6 C1 00 00 61 64 00 00 08 64 1A 00 70
B0 | 3A 00 23 00 00 00 00 00 00 00 00 49 22 00 00 00
C0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
D0 | 00 00 00 00 00 00 FF 00 00 00 00 00 00 00 00 00
E0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
F0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

I'm 100% sure that byte 0x06 is one byte of the fan RPM. Not sure how to view the other pages since it only dumps 256 bytes.

Found it by slowing down the fan by hand and monitoring the values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant