OS system fan control - w: lmsensors & hwmon - Printable Version +- Discussion board (https://carsoncitylug.org/mybb) +-- Forum: Carson City LUG (https://carsoncitylug.org/mybb/forumdisplay.php?fid=1) +--- Forum: Hardware Support (https://carsoncitylug.org/mybb/forumdisplay.php?fid=5) +--- Thread: OS system fan control - w: lmsensors & hwmon (/showthread.php?tid=16) |
OS system fan control - w: lmsensors & hwmon - Markus - 07-11-2024 background: I've got several 2011,2012 iMac computers which work perfectly well, that were graciously obsoleted by the "Great Big Company"... and have SOME fan control in the loigic board EFI, but with the directive of the CEO at the time: "never bother the customer with anything important unless you absolutely have to!" lets the machines get JUST A BIT TOASTY! So, with Linux, I can Still USE these Nice Computers Thankfully! Here's the thing: I've scoured the forums and found lm_sensors and hw_mon (some files included below), but there's no clear instructions (I've yet found) indicating HOW to design a temp/fan curve in a file, and attach that to a sensor:fan "pair" ie- profile-cpu_die_tempfan.txt coretemp-isa-0000:core0 -- applesmc-isa-030:CPU temp00, rmp ; 30C, 940rmp temp01, rmp ; 35C, 1040rmp . . temp99,rmp ; 67C, 2100rmp profile-gpu_die_tempfan.txt applesmc-isa-030:TG0D -- applesmc-isa-030:ODD temp00, rmp ; 30C, 1148rmp temp01, rmp ; 35C, 1248rmp . . temp99,rmp ; 67C, 2970rmp At least this is how I think it should look somewhere?! It looks like the: lm_sensorservice; enabled in Status_LmSensorsServiceInquiry BUT lm_sensors.service: Referenced but unset environment variable evaluates to an empty string: isn't configured... sudo sensors-detect /etc/conf.d/lm_sensors If one does an ls in: /sys/class/hwmon/hwmon0/device one gets a whole bunch of stuff that looks very promising, but no instructions on how to use the plethora of files. fan1_input maaaybe gets coretemp-isa-0000:core0 fan1_output maybe gets applesmc-isa-030:CPU -r--r--r-- 1 root root 4096 Jul 11 12:38 temp1_input -r--r--r-- 1 root root 4096 Jul 11 12:38 temp1_label -r--r--r-- 1 root root 4096 Jul 11 12:38 temp20_input -r--r--r-- 1 root root 4096 Jul 11 12:38 temp20_label Where is the documentation? What did I miss? Thanks for your time looking at this, taking the TIME looking into this, and well, any useful help/recommendations might have, from something you got to work. Apparently found this sometime ago, but, yet again, the other day: https://linux.die.net/man/5/sensors.conf .... and looks pretty good, but sure would be nice to have some EXAMPLE files that WORK?! Am struggling a bit with this... but, every time I look at it, a little more kinda sinks in. Best! Markus |