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

Support for 16-xf0175ng (8L370EA) #7

Open
StellarHarbour opened this issue Jan 12, 2024 · 20 comments
Open

Support for 16-xf0175ng (8L370EA) #7

StellarHarbour opened this issue Jan 12, 2024 · 20 comments

Comments

@StellarHarbour
Copy link

Hello, can you add support for 16-xf0175ng (8L370EA) laptop?

@alou-S
Copy link
Owner

alou-S commented Feb 7, 2024

Did you attempt to force the current script to run on your laptop?

@StellarHarbour
Copy link
Author

Yep, but it not works

@alou-S
Copy link
Owner

alou-S commented Mar 1, 2024

Could you send me your laptop's DSDT table.

sudo cp /sys/firmware/acpi/tables/DSDT $HOME/Desktop/DSDT
sudo chown $USER:$USER $HOME/Desktop/DSDT

And then upload the DSDT file here

@StellarHarbour
Copy link
Author

StellarHarbour commented Mar 1, 2024

DSDT.zip
Here you go, tell if you need any help
Do you have discord or something for communication?

@alou-S
Copy link
Owner

alou-S commented Mar 2, 2024

The ERAM fields on your DSDT table practically has no information in it

    OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF)
    Field (ERAM, ByteAcc, Lock, Preserve)
    {
        Offset (0x01), 
        Offset (0x02), 
        Offset (0x03), 
        Offset (0x60), 
        SMPR,   8, 
        SMST,   8, 
        SMAD,   8, 
        SMCM,   8, 
        SMD0,   256, 
        BCNT,   8, 
        SMAA,   24, 
        SMBN,   8, 
        Offset (0x8A)
    }

You will probably have to figure out the correct offsets yourself by using ec_probe monitor from NBFC on Windows while manually adjusting the fan speed with Omen Gaming Hub.

@StellarHarbour
Copy link
Author

StellarHarbour commented Mar 2, 2024

Offsets of what and how do I find that ec_probe?

@alou-S
Copy link
Owner

alou-S commented Mar 2, 2024

The thing is that this is actually somewhat complicated.

The ec_probe executable should be found in the NBFC install directory.

And you should find the offsets of the Fan Control and probably other things I have a list of my Laptops EC offsets here : https://github.com/alou-S/omen-fan/blob/main/docs/probes.md

@StellarHarbour
Copy link
Author

When I try to open executable it closes immidiately

@alou-S
Copy link
Owner

alou-S commented Mar 2, 2024

Open it from command prompt 🙂

@StellarHarbour
Copy link
Author

image
I'm getting those numbers, what's next?

@alou-S
Copy link
Owner

alou-S commented Mar 2, 2024

You gotta figure out which ones pertain to changing the fan speed when using Omen Gaming Hub to tweak the fan speeds.
Here is a good guide that can help you make sense of it : https://github.com/hirschmann/nbfc/wiki/Probe-the-EC%27s-registers

Also do note that some probes just reflect the fan's current RPM and not the set target RPM by software. So don't be fooled by that.
Good Luck with figuring it out.

@StellarHarbour
Copy link
Author

But it shows like 50 probes and re-rendering all the time, how I supposed to see difference? Does those red ones mean something?

@alou-S
Copy link
Owner

alou-S commented Mar 2, 2024

The hex number in green are the addresses on your EC (probes).
New numbers can appear over time as more of the addresses are modified.

The moving numbers to the right of the probes are their values over time. The red ones are so your eyes can quickly find the ones that change.

Yes there are alot of probes that serve different purposes. Some give temperature, some set power targets, some set fan speed etc.
Please do check the guide link and my list of offsets link that I have posted before.

@StellarHarbour
Copy link
Author

StellarHarbour commented Mar 2, 2024

Should I close Omen spyware when writing probes, or will it not overwrite? I've tried with it both on and off, using all the probes I found that change when I choose another power mode. However, nothing changed and I know it because the energy-saving power mode would limits fan cooling speed.

@alou-S
Copy link
Owner

alou-S commented Mar 2, 2024

Wait doesn't the Omen software have a method to manually set the fan speed.

@StellarHarbour
Copy link
Author

It is. but I started with Power mode since there's less values (3)

@alou-S
Copy link
Owner

alou-S commented Mar 2, 2024

Uhh just try figuring things out man. It will take a while of trial and error. Just use the resources I have given.

@StellarHarbour
Copy link
Author

StellarHarbour commented Mar 2, 2024

But how do I know it worth of wasting time if I can't modify even Power mode, alse there's strings like D8, 0A, D9 (basically any with letter) that I can't write through cmd.
I'm not even sure that I'm overwriting anything...
Updete: okay, those strings was Hexademical numbers, so you need to convert them, and basically I found one of working probes that affect something

@StellarHarbour
Copy link
Author

StellarHarbour commented Mar 2, 2024

So, let's start, I will put all the findings here:
0x11: Read only Fan speed?
0x14: Fan speed; 0-64 range; RPM = number * 100; Omen Gaming Hub gives 6000 max and 2500 min. Only left fan for some reason

@StellarHarbour
Copy link
Author

I tried everything and can't find how to turn on right fan through EC, when you write to 0x14 it will only change left fan speed

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