[GH-ISSUE #1192] [linux] Unable to run nbfc.exe config #1019

Closed
opened 2026-02-26 00:34:11 +03:00 by kerem · 1 comment
Owner

Originally created by @jayofdoom on GitHub (Oct 22, 2021).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/1192

Hey,

I'm attempting to get this working on my HP Envy x360 Convertable 13-ay0xxx running Gentoo linux.

I'm having trouble with the nbfc.exe config command.

jay@jf-envy ~/gentoo/nbfc/Linux/bin/Release $ mono nbfc.exe status
Service enabled		: False
Read-only		: False
Selected config name	: 
Temperature		: 0

Could not get fan info because the service is disabled
jay@jf-envy ~/gentoo/nbfc/Linux/bin/Release $ mono nbfc.exe set
Invalid speed value
jay@jf-envy ~/gentoo/nbfc/Linux/bin/Release $ mono nbfc.exe config --list
Could not load file or assembly 'StagWare.FanControl.Configurations, Version=2.5.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Object reference not set to an instance of an object

As you can see, set and status appear to work, but config causes breakage.

I'll note the file exists, and appears to be the same type as the other dll files:

StagWare.FanControl.Configurations.dll: PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
jay@jf-envy ~/gentoo/nbfc/Linux/bin/Release $ file StagWare.BiosInfo.dll 
StagWare.BiosInfo.dll: PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
jay@jf-envy ~/gentoo/nbfc/Linux/bin/Release $ file StagWare.Settings.dll 
StagWare.Settings.dll: PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows

There were a few warnings while building, which I suspect could be related:

Warnings:

/home/jay/gentoo/nbfc/Windows/Setup/NbfcSetup/NbfcSetup.wixproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring.
/home/jay/gentoo/nbfc/Windows/Setup/NbfcBootstrapper/NbfcBootstrapper.wixproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring.
/home/jay/gentoo/nbfc/Windows/Setup/DriverSetupWixAction/DriverSetupWixAction.csproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.CA.targets, to import. Ignoring.
/home/jay/gentoo/nbfc/NoteBookFanControl.sln:  warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring.

Full build.log is available here: https://gist.github.com/jayofdoom/e250d23868ec57bc5e7c69d59e4df337

I'm happy to help troubleshoot if given instructions; but I'm not super familiar with mono on linux.

Thanks!

Originally created by @jayofdoom on GitHub (Oct 22, 2021). Original GitHub issue: https://github.com/hirschmann/nbfc/issues/1192 Hey, I'm attempting to get this working on my HP Envy x360 Convertable 13-ay0xxx running Gentoo linux. I'm having trouble with the `nbfc.exe config` command. ``` jay@jf-envy ~/gentoo/nbfc/Linux/bin/Release $ mono nbfc.exe status Service enabled : False Read-only : False Selected config name : Temperature : 0 Could not get fan info because the service is disabled jay@jf-envy ~/gentoo/nbfc/Linux/bin/Release $ mono nbfc.exe set Invalid speed value jay@jf-envy ~/gentoo/nbfc/Linux/bin/Release $ mono nbfc.exe config --list Could not load file or assembly 'StagWare.FanControl.Configurations, Version=2.5.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Object reference not set to an instance of an object ``` As you can see, set and status appear to work, but config causes breakage. I'll note the file exists, and appears to be the same type as the other dll files: ```jay@jf-envy ~/gentoo/nbfc/Linux/bin/Release $ file StagWare.FanControl.Configurations.dll StagWare.FanControl.Configurations.dll: PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows jay@jf-envy ~/gentoo/nbfc/Linux/bin/Release $ file StagWare.BiosInfo.dll StagWare.BiosInfo.dll: PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows jay@jf-envy ~/gentoo/nbfc/Linux/bin/Release $ file StagWare.Settings.dll StagWare.Settings.dll: PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows ``` There were a few warnings while building, which I suspect could be related: ``` Warnings: /home/jay/gentoo/nbfc/Windows/Setup/NbfcSetup/NbfcSetup.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /home/jay/gentoo/nbfc/Windows/Setup/NbfcBootstrapper/NbfcBootstrapper.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /home/jay/gentoo/nbfc/Windows/Setup/DriverSetupWixAction/DriverSetupWixAction.csproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.CA.targets, to import. Ignoring. /home/jay/gentoo/nbfc/NoteBookFanControl.sln: warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring. ``` Full build.log is available here: https://gist.github.com/jayofdoom/e250d23868ec57bc5e7c69d59e4df337 I'm happy to help troubleshoot if given instructions; but I'm not super familiar with mono on linux. Thanks!
kerem closed this issue 2026-02-26 00:34:11 +03:00
Author
Owner

@jayofdoom commented on GitHub (Oct 23, 2021):

It's my understanding this project is dead, reopened this as https://github.com/UraniumDonut/nbfc-revive/issues/53

<!-- gh-comment-id:950022006 --> @jayofdoom commented on GitHub (Oct 23, 2021): It's my understanding this project is dead, reopened this as https://github.com/UraniumDonut/nbfc-revive/issues/53
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#1019
No description provided.