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

Old Motherboard Z97-Pro (ec sensors doesn't show fan rpm) #33

Open
mhmarf opened this issue Jan 24, 2023 · 1 comment
Open

Old Motherboard Z97-Pro (ec sensors doesn't show fan rpm) #33

mhmarf opened this issue Jan 24, 2023 · 1 comment

Comments

@mhmarf
Copy link

mhmarf commented Jan 24, 2023

Hello and thank you very much for creating this project.
I saw you said kernel 5.18 has already this project built-in, so I upgraded from 5.15 to 6.0.1 kernel but sensors detect still does not detect my cpu fan (no difference at all). So I tried to manually use this project and add my board. My question is will I be able to use this project to control my cpu fan? because "ASUS EC" inside HWinfo does not have my fan speed either: (my board vendor is ASUSTeK COMPUTER INC.)
(https://imgur.com/a/u7JmU55)

I added

DMI_EXACT_MATCH_ASUS_BOARD_NAME("Z97-PRO",
    &board_info_z97_pro),

to dmi array but don't know what values to add under ec_board_info

static const struct ec_board_info board_info_z97_pro = {
    .sensors = 
};
@zeule
Copy link
Owner

zeule commented Jan 25, 2023

You will be unable to control fans with this driver, even if you find out how to read sensor values. The driver (and the ASUS EC itself) does only report sensor readings.

As for the sensor definitions,. I recommend to try values with the same names from another board generation. You may see register addresses do not change for most of them from generation to generation. Just copy over whatever you like and star with the common ones (VRM, chipset temp, CPU current). You already know a list from HWINFO, that's good. Poking random EC registers should not damage the board. It might lead to fans loosing control (so they might stop or run at the highest RPM), but power cycling the board should correct that.

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

2 participants