[GH-ISSUE #1356] Acer Nitro AN515-55 #1167

Closed
opened 2026-02-26 00:34:31 +03:00 by kerem · 10 comments
Owner

Originally created by @GrahamboJangles on GitHub (Aug 7, 2023).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/1356

Describe the bug
nbfc.exe config --recommend

The service is unavailable
Object reference not set to an instance of an object.

To Reproduce
Run nbfc.exe config --recommend

System information

Additional context
I presume my model (Acer Nitro AN515-55) is just not supported, but I'd like some help in getting it working. This guy got it working with a very similar model: https://community.acer.com/en/discussion/570212/nitrosense-custom-fan-settings-is-there-a-way-to-set-speed-of-laptop-fan-or-at-least-change-curve

Here's a snippet of the ACPI DSDT code I found that has the word EmbeddedControl:

OperationRegion(ERAM, EmbeddedControl, Zero, 0xFF)
			Field(ERAM, ByteAcc, Lock, Preserve)
			{
				Offset(0x5F),	//Offset(95),
				ERBD, 8,
				SMPR, 8,
				, 8,
			}
			OperationRegion(CCLK, SystemIO, 0x1810, 0x04)
			Field(CCLK, DWordAcc, NoLock, Preserve)
			{
				, 1,
				DUTY, 3,
				THEN, 1,
				, 3,
				FTT, 1,
				, 8,
				TSTS, 1,
			}

I tried probing and writing to any of the registers that seemed to be related but nothing ever changes the sounds of the fans.

Originally created by @GrahamboJangles on GitHub (Aug 7, 2023). Original GitHub issue: https://github.com/hirschmann/nbfc/issues/1356 **Describe the bug** `nbfc.exe config --recommend` ``` The service is unavailable Object reference not set to an instance of an object. ``` **To Reproduce** Run `nbfc.exe config --recommend` **System information** - Windows 10 Pro - NBFC version: 1.6.3 - log files: [NbfcServiceLog.txt](https://github.com/hirschmann/nbfc/files/12283134/NbfcServiceLog.txt) [NoteBookFanControlLog.txt](https://github.com/hirschmann/nbfc/files/12283138/NoteBookFanControlLog.txt) **Additional context** I presume my model (Acer Nitro AN515-55) is just not supported, but I'd like some help in getting it working. This guy got it working with a very similar model: https://community.acer.com/en/discussion/570212/nitrosense-custom-fan-settings-is-there-a-way-to-set-speed-of-laptop-fan-or-at-least-change-curve Here's a snippet of the ACPI DSDT code I found that has the word EmbeddedControl: ``` OperationRegion(ERAM, EmbeddedControl, Zero, 0xFF) Field(ERAM, ByteAcc, Lock, Preserve) { Offset(0x5F), //Offset(95), ERBD, 8, SMPR, 8, , 8, } OperationRegion(CCLK, SystemIO, 0x1810, 0x04) Field(CCLK, DWordAcc, NoLock, Preserve) { , 1, DUTY, 3, THEN, 1, , 3, FTT, 1, , 8, TSTS, 1, } ``` I tried probing and writing to any of the registers that seemed to be related but nothing ever changes the sounds of the fans.
kerem 2026-02-26 00:34:31 +03:00
  • closed this issue
  • added the
    Stale
    label
Author
Owner

@GrahamboJangles commented on GitHub (Aug 8, 2023):

I found the values that control my fans by controlling the fans using the NitroSense software and probing using ec-probe.exe.

# Enable auto fan for CPU
ec-probe write 034 004

# Disable auto fan for CPU
ec-probe write 034 012

# Sets the CPU fan speed in percentage, 000-100. Does not work unless auto fan is disabled.
ec-probe write 055 100

# Enable auto fan for GPU
ec-probe write 033 016

# Disable auto fan for GPU
ec-probe write 033 048

# Sets the GPU fan speed in percentage, 000-100. Does not work unless auto fan is disabled.
ec-probe write 058 100

# Read the CPU temperature
ec-probe read 176

I can't get the Notebook FanControl software to work though, it just sets itself back to Disabled when I try to enable it with my config. Here's my config though, maybe I'm doing it wrong:

<?xml version="1.0"?>
<FanControlConfigV2 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <NotebookModel>Nitro AN515-55</NotebookModel>
  <ReadWriteWords>false</ReadWriteWords>
  <FanConfigurations>
    <!-- CPU Fan Configuration -->
    <FanConfiguration>
      <ReadRegister>34</ReadRegister>
      <WriteRegister>34</WriteRegister>
      <MinSpeedValue>0</MinSpeedValue>
      <MaxSpeedValue>0</MaxSpeedValue>
      <ResetRequired>true</ResetRequired>
      <FanSpeedResetValue>4</FanSpeedResetValue>
      <FanDisplayName>Intel i5-10300H CPU @ 2.5GHz</FanDisplayName>
    </FanConfiguration>
    
    <!-- GPU Fan Configuration -->
    <FanConfiguration>
      <ReadRegister>33</ReadRegister>
      <WriteRegister>33</WriteRegister>
      <MinSpeedValue>0</MinSpeedValue>
      <MaxSpeedValue>0</MaxSpeedValue>
      <ResetRequired>true</ResetRequired>
      <FanSpeedResetValue>16</FanSpeedResetValue>
      <FanDisplayName>NVIDIA 3050 ti</FanDisplayName>
    </FanConfiguration>
  </FanConfigurations>

  <RegisterWriteConfigurations>
    <!-- CPU Fan Auto Mode -->
    <RegisterWriteConfiguration>
      <WriteOccasion>OnInitialization</WriteOccasion>
      <Register>34</Register>
      <Value>4</Value>
      <ResetRequired>true</ResetRequired>
      <ResetValue>4</ResetValue>
      <Description>Enable auto fan for CPU</Description>
    </RegisterWriteConfiguration>
    
    <!-- GPU Fan Auto Mode -->
    <RegisterWriteConfiguration>
      <WriteOccasion>OnInitialization</WriteOccasion>
      <Register>33</Register>
      <Value>16</Value>
      <ResetRequired>true</ResetRequired>
      <ResetValue>16</ResetValue>
      <Description>Enable auto fan for GPU</Description>
    </RegisterWriteConfiguration>
  </RegisterWriteConfigurations>
</FanControlConfigV2>

<!-- gh-comment-id:1670346050 --> @GrahamboJangles commented on GitHub (Aug 8, 2023): I found the values that control my fans by controlling the fans using the NitroSense software and probing using ec-probe.exe. ``` # Enable auto fan for CPU ec-probe write 034 004 # Disable auto fan for CPU ec-probe write 034 012 # Sets the CPU fan speed in percentage, 000-100. Does not work unless auto fan is disabled. ec-probe write 055 100 # Enable auto fan for GPU ec-probe write 033 016 # Disable auto fan for GPU ec-probe write 033 048 # Sets the GPU fan speed in percentage, 000-100. Does not work unless auto fan is disabled. ec-probe write 058 100 # Read the CPU temperature ec-probe read 176 ``` I can't get the Notebook FanControl software to work though, it just sets itself back to Disabled when I try to enable it with my config. Here's my config though, maybe I'm doing it wrong: ``` <?xml version="1.0"?> <FanControlConfigV2 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <NotebookModel>Nitro AN515-55</NotebookModel> <ReadWriteWords>false</ReadWriteWords> <FanConfigurations> <!-- CPU Fan Configuration --> <FanConfiguration> <ReadRegister>34</ReadRegister> <WriteRegister>34</WriteRegister> <MinSpeedValue>0</MinSpeedValue> <MaxSpeedValue>0</MaxSpeedValue> <ResetRequired>true</ResetRequired> <FanSpeedResetValue>4</FanSpeedResetValue> <FanDisplayName>Intel i5-10300H CPU @ 2.5GHz</FanDisplayName> </FanConfiguration> <!-- GPU Fan Configuration --> <FanConfiguration> <ReadRegister>33</ReadRegister> <WriteRegister>33</WriteRegister> <MinSpeedValue>0</MinSpeedValue> <MaxSpeedValue>0</MaxSpeedValue> <ResetRequired>true</ResetRequired> <FanSpeedResetValue>16</FanSpeedResetValue> <FanDisplayName>NVIDIA 3050 ti</FanDisplayName> </FanConfiguration> </FanConfigurations> <RegisterWriteConfigurations> <!-- CPU Fan Auto Mode --> <RegisterWriteConfiguration> <WriteOccasion>OnInitialization</WriteOccasion> <Register>34</Register> <Value>4</Value> <ResetRequired>true</ResetRequired> <ResetValue>4</ResetValue> <Description>Enable auto fan for CPU</Description> </RegisterWriteConfiguration> <!-- GPU Fan Auto Mode --> <RegisterWriteConfiguration> <WriteOccasion>OnInitialization</WriteOccasion> <Register>33</Register> <Value>16</Value> <ResetRequired>true</ResetRequired> <ResetValue>16</ResetValue> <Description>Enable auto fan for GPU</Description> </RegisterWriteConfiguration> </RegisterWriteConfigurations> </FanControlConfigV2> ```
Author
Owner

@elyeandre commented on GitHub (Sep 9, 2023):

@GrahamboJangles Hey, I also have same model of you AN515-55-56R2 can I use your config?

<!-- gh-comment-id:1712527309 --> @elyeandre commented on GitHub (Sep 9, 2023): @GrahamboJangles Hey, I also have same model of you AN515-55-56R2 can I use your config?
Author
Owner

@GrahamboJangles commented on GitHub (Sep 9, 2023):

@elyeandre go right ahead that's why I posted this. I could never get it to work with the NBFC software though. But manually changing the values with the commandline worked

<!-- gh-comment-id:1712544677 --> @GrahamboJangles commented on GitHub (Sep 9, 2023): @elyeandre go right ahead that's why I posted this. I could never get it to work with the NBFC software though. But manually changing the values with the commandline worked
Author
Owner

@GrahamboJangles commented on GitHub (Sep 9, 2023):

@elyeandre if you get it to work with NBFC let me know how you did it!

<!-- gh-comment-id:1712544804 --> @GrahamboJangles commented on GitHub (Sep 9, 2023): @elyeandre if you get it to work with NBFC let me know how you did it!
Author
Owner

@erhangk commented on GitHub (Feb 15, 2024):

Has anyone tried this config? I have the same laptop although i have gtx 1650 ti and i5-10300H. Would it work for my laptop?

<!-- gh-comment-id:1946643814 --> @erhangk commented on GitHub (Feb 15, 2024): Has anyone tried this config? I have the same laptop although i have gtx 1650 ti and i5-10300H. Would it work for my laptop?
Author
Owner

@erhangk commented on GitHub (Feb 17, 2024):

It seems that the registers you found works while testing with ec-probe. I tried other models config like AN515-42 and they also work but they use different register adresses from yours. I will just stick with them for now.

<!-- gh-comment-id:1950240005 --> @erhangk commented on GitHub (Feb 17, 2024): It seems that the registers you found works while testing with ec-probe. I tried other models config like AN515-42 and they also work but they use different register adresses from yours. I will just stick with them for now.
Author
Owner

@GrahamboJangles commented on GitHub (Feb 19, 2024):

@erhangk Did you get it to work using NBFC?

<!-- gh-comment-id:1951698632 --> @GrahamboJangles commented on GitHub (Feb 19, 2024): @erhangk Did you get it to work using NBFC?
Author
Owner

@erhangk commented on GitHub (Feb 19, 2024):

@erhangk Did you get it to work using NBFC?

Yes but i used the linux version of nbfc. Should be working on Windows too.

<!-- gh-comment-id:1951954115 --> @erhangk commented on GitHub (Feb 19, 2024): > @erhangk Did you get it to work using NBFC? Yes but i used the linux version of nbfc. Should be working on Windows too.
Author
Owner

@github-actions[bot] commented on GitHub (Aug 19, 2024):

This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed

<!-- gh-comment-id:2295443513 --> @github-actions[bot] commented on GitHub (Aug 19, 2024): This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed
Author
Owner

@GrahamboJangles commented on GitHub (Aug 19, 2024):

Anyone else having this issue? Can't use NBFC at all. @erhangk where did you find AN515-42 config?

https://github.com/user-attachments/assets/0113ab0e-6dac-4eb3-a65d-76625600e5bb

<!-- gh-comment-id:2295576857 --> @GrahamboJangles commented on GitHub (Aug 19, 2024): Anyone else having this issue? Can't use NBFC at all. @erhangk where did you find AN515-42 config? https://github.com/user-attachments/assets/0113ab0e-6dac-4eb3-a65d-76625600e5bb
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nbfc-hirschmann#1167
No description provided.