Fan Monitoring

The previous post failed to enable the fan speeds via lm-sensors. After some googling I found https://github.com/hirschmann/nbfc as a good replacement. Downside is that it requires Mono to be installed and the source compiled.

The instructions are great on the project and after about 20 minutes while it compiled I had a running binary.

$ cd /opt/nbfc
$ mono nbfc.exe config --apply "Toshiba Satellite L740"
$ mono nbfc.exe start
$ mono nbfc.exe status --all
Service enabled		: True
Read-only		: False
Selected config name	: Toshiba Satellite L740
Temperature		: 59

Fan display name	: CPU Fan Level
Auto control enabled	: True
Critical mode enabled	: False
Current fan speed	: 23.41
Target fan speed	: 100.00
Fan speed steps		: 2

To get the make and model use dmi-code.

$ sudo dmidecode -t 1
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.6 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: TOSHIBA
	Product Name: Satellite Pro L670
	Version: PSK3FE-01K00REN
	Serial Number: 8A154162K
	UUID: e40eefc3-119c-df11-82d8-88ae1d56a8f6
	Wake-up Type: Power Switch
	SKU Number: *
	Family: ABCDEFGHIJKLMNOPQRTUVWXYZ

The Pro L670 doesn’t appear in the list from nbfc, but the 740 config seems to work.

$ mono nbfc.exe config -l | grep Tosh
Toshiba Satellite L745
Toshiba Satellite L740