[Vorstellung] NoteBook FanControl (NBFC)

I have no experience in developing GUI stuff for Linux, so there will be no tray applet for Linux soon (unless somebody else develops one).
 
How should I make it automatically run at boot in Linux? Should I place a script in "/etc/init.d"?
Thanks.

By the way, I've now installed the latest revision and it doesn't need me to manually create StagWare.Plugins.FSTemperatureMonitor.sources
Good job!

Edit: and one more thing. Do we need the whole mono package even after compiling and installing NBFC? Can't we uninstall anything?
 
Zuletzt bearbeitet:
Should I place a script in "/etc/init.d"?
This should work if your distro uses Sys-V-Init

By the way, I've now installed the latest revision and it doesn't need me to manually create StagWare.Plugins.FSTemperatureMonitor.sources
Good job!
Great to hear it works :)

Do we need the whole mono package even after compiling and installing NBFC?
No, you can remove all the development stuff after a succesful build. NBFC only requires the mono-runtime package.
 
Apparently the mono-runtime package isn't enough. I had this error:
Code:
ric@Riccardo:/opt/nbfc > sudo sh start-nbfcservice.sh
start-nbfcservice.sh: 3: start-nbfcservice.sh: mono-service: not found

Then I installed "mono-4.0-service" and had this:
Code:
ric@Riccardo:/opt/nbfc > mono nbfc.exe config --apply "Lenovo E520"
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Then I installed "libmono-system-servicemodel4.0a-cil" and had this:
Code:
ric@Riccardo:/opt/nbfc > mono nbfc.exe config --apply "Lenovo E520"
Argument cannot be null.
Parameter name: type

I have the same output for every "mono nbfc.exe xyz" command I try.
 
Zuletzt bearbeitet:
Hi, erstmal danke für das tolle Tool. Ich versuche es nun schon seit einer Stunde auf meinem Lenovo Helix einzurichten -> leider ohne Erfolg.

Als Temperatur (CPU) wird mit -2147483648°C angezeigt -> ich vermute also, dass er den Sensor nicht richtig ausliest, finde aber keine Möglichkeit selbst die Adresse des Sensors (0x78 bzw in DEC 120) anzugeben.

:/ Gibt es dazu keine Möglichkeit?


--------------------------------

Hi thanks for the great tool. I'm trying for about an hour now but it won't run on my Lenovo Helix.

It shows -2147483648°C as CPU Temperature. I know the HEX address for the sensor would be 0x78 or in decimal 120 but I can't find an option to change it.

Is there no way to do it?
 
Grantig schrieb:
This should work if your distro uses Sys-V-Init

My distro is Mint KDE. At first I tried to put a script in "/home/<username>/.kde/Autostart/". This doesn't work, because the script is not executed as root. Nbfc needs root, apparently.
I managed to make it autorun by editing "/etc/rc.local", which is executed as root.
This is the content of my "/etc/rc.local", in case it's useful to anyone:
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

cd /opt/nbfc
sh start-nbfcservice.sh
mono nbfc.exe config --apply 'Lenovo E520'
mono nbfc.exe start
mono nbfc.exe set --auto

exit 0
 
Wird das Zenbook UX303LN unterstützt?
Das Notebook hat aufgrund dedizierter Grafik 2 Lüfter.
 
Here is my Lenovo E520 config file! Anhang anzeigen Lenovo E520.xml.zip
It should be ok for E420 too, because the E420 is very similar to the E520 (same bios).

I want to add that, while Lenovo users on windows have the TpFanControl dedicated tool, your NBFC is the only one working reliably on Linux.

Now, the only thing I'd like to do is tracking down what mono packages are really needed. The whole mono-complete is quite huge and probably not needed. Any advice about how to discover the needed packages?
 
nor-ric schrieb:
I want to add that, while Lenovo users on windows have the TpFanControl dedicated tool, your NBFC is the only one working reliably on Linux.

I as Lenovo Helix owner would love to be able to use NBFC instead of TPFC since it overs more control or at least a better GUI to configure...
 
Ich feier das Tool gerade. Vielen Dank dafür, mein Aspire 7735ZG ist endlich erträglich. Ich hab all die Jahre dem SpeedswitchXP aus Pentium M- und Turion 64-Zeiten hinterhergetrauert.

Das Aspire läuft nun mit 30% dauerhaft statt zuvor zwischen passiv und 50% Lüfterleistung hin und her zu pendeln. Unter Dauerlast bleibt die alte CPU damit weit unter 60°C, auch jetzt im Sommer.
 
@D0NKbet
NBFC liest die Temperatur (unter Windows) nicht vom EC sondern direkt aus den CPU Registern.
Funktioniert denn das manuelle Einstellen einer Geschwindigkeit?
Benutzt du die aktuellste Version?
Liefert die aktuellste Version von OpenHardwareMonitor die richtige CPU Temperatur?

@nor-ric
Thank you very much for your config. I'll add it to the github repo.

To discover the required mono packages there are 2 ways you could go:
1. top-down: install mono-complete package and remove packages step by step. Check if NBFC still works after each step.
2. bottom-up: install mono-runtime package only and install packages step by step. (seems like this is your approach)

Stuff that NBFC requires, which may not be included in the mono-runtime package: mono-service, MEF (managed extensibility framework), WCF (Windows communication foundation)

I don't have much time right now, but I'll try to figure out the minimum set of packages as soon as I'm less busy.

@ Heen
Freut mich, dass NBFC dir hilft :)
 
Grantig schrieb:
@D0NKbet
NBFC liest die Temperatur (unter Windows) nicht vom EC sondern direkt aus den CPU Registern.
Funktioniert denn das manuelle Einstellen einer Geschwindigkeit?
Benutzt du die aktuellste Version?
Liefert die aktuellste Version von OpenHardwareMonitor die richtige CPU Temperatur?

Danke für deine Rückmeldung. Nein ich bekomme NBFC aktuell so gar nicht zum Laufen... :'(

Aktuell installiert:
68° laut TPFC
58° laut HWinfo64
63° laut ThrottleStop

Ist also insgesamt etwas komisch ^^ wenn du möchtest kannst du dir das gerne bei mir am PC ansehen (Skype: boaa-group.RauchenwaldC)... Visual Studio 2013 Ultimate wäre auch vorhanden...
 
@D0NKbet
Probier mal die Config des Lenovo T540p bei deinem Helix.

Die Temperaturen die du aufgelistet hast nützen mir leider nicht viel. Ich müsste wissen was OpenHardwareMonitor anzeigt, da NBFC die OpenHardwareMonitorLib nutzt um unter Windows die Temperaturen auszulesen.
Falls OHM keine CPU Temps findet, bräuchte ich einen Report (File-->Save report) um rauszufinden was schief läuft.

Ich schalte mich grundsätzlich nicht per VNC/TeamViewer/Remote Destkop usw. auf andere Rechner auf weil ich dann den ganzen Tag nichts anderes zu tun hätte. Du bist nicht der erste der fragt ;)
 
Grantig schrieb:
@D0NKbet
Ich schalte mich grundsätzlich nicht per VNC/TeamViewer/Remote Destkop usw. auf andere Rechner auf weil ich dann den ganzen Tag nichts anderes zu tun hätte. Du bist nicht der erste der fragt ;)

Naja, einen Versuch war es wert ^^

Btw. habe NBFC nun wieder gestartet und jetzt erkennt er die Temperatur... was allerdings komisch ist... CPU Temp ist 74° und laut Profil sollte er ja mit 100% laufen (siehe http://prntscr.com/7ws835) läuft aber nur mit 85.7%
 
Kleiner Nachtrag: Nach kurzem laufen stimmt es nun. Läuft nun wie er soll.

Keine Ahnung warum es früher nicht ging.
 
Kann sein dass andere Hardware Monitoring Tools dazwischen gefunkt haben.
Besonders während der Initialisierung von NBFC ist das ein Problem, da NBFC momentan nicht in der Lage ist zu erkennen wenn etwas schief gelaufen ist (da es nicht davon ausgeht, dass andere Software dazwischenfunkt) und einfach weiter macht als wäre alles ok.
Das zu verbessern steht auf meiner ToDo-Liste.

Btw. wenn NBFC in nächster Zeit keine Probleme mehr macht, dann wärs cool wenn du mal deine aktuelle Config im Config Editor öffnest, auf "insert model" klickst und ann per "save as" speicherst und mir zukommen lässt :)
 
NFBC und Windows 10

Hallo,
weiss jemans ob unser gutes NBFC kompatibel mit Windows 10 ist?
Auf Windows 10 könnte ich ja verzichten, auf NBFC nicht!!
Vielen Dank!
 
Zurück
Oben