OS system fan control - w: lmsensors & hwmon
#1
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_sensorsConfusedervice; 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


Attached Files
.txt   SMCKeys.txt (Size: 42.51 KB / Downloads: 0)
.txt   PathOfSensors.txt (Size: 3.33 KB / Downloads: 0)
.txt   SensorsDetect.txt (Size: 7.64 KB / Downloads: 0)
.txt   Status_LmSensorsServiceInquiry.txt (Size: 609 bytes / Downloads: 0)
.txt   LmSensorsIncantation.txt (Size: 276 bytes / Downloads: 0)
.txt   AppleSenseAbbreviations.txt (Size: 5.38 KB / Downloads: 0)
.txt   ListOfSensors01.txt (Size: 1.73 KB / Downloads: 0)
.txt   mhwd-hd00.txt (Size: 3.89 KB / Downloads: 0)
.txt   mhwd-la00.txt (Size: 2.01 KB / Downloads: 0)
.txt   SystemStatisticsIdentifiers01.txt (Size: 11.5 KB / Downloads: 0)
.txt   SensorsDotConf.txt (Size: 14.6 KB / Downloads: 0)
.pdf   A Complete Guide to the SMC.pdf (Size: 1.9 MB / Downloads: 0)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)