tech:unix:imac-fan
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tech:unix:imac-fan [2025/07/19 14:01] – ayush.zutshi | tech:unix:imac-fan [2025/07/19 20:08] (current) – ayush.zutshi | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Fan Cntrol for an IMac on Linux ====== | + | ====== Fan Cntrol for an iMac on Linux ====== |
I replaced an HDD with and SSD in an old 2009 iMac, disabled the CDROM. | I replaced an HDD with and SSD in an old 2009 iMac, disabled the CDROM. | ||
- | Manually set the "odd" | + | Manually set the "cpu", " |
- | fan.sh odd 0 | + | < |
- | fan.sh hdd 0 | + | apt install lm-sensors |
+ | ./fan.sh odd 0 | ||
+ | ./fan.sh hdd 0 # if using an SSD | ||
+ | ./fan.sh cpu 50 # for the iMac8,1 | ||
+ | </ | ||
**Ref: https:// | **Ref: https:// | ||
Line 26: | Line 30: | ||
read -r label[$fan] < " | read -r label[$fan] < " | ||
label[$fan]=${label[$fan],, | label[$fan]=${label[$fan],, | ||
- | echo label[$fan] " | + | echo $(cat $sysdir/fan${fan}_label) |
} | } | ||
tech/unix/imac-fan.1752933680.txt.gz · Last modified: by ayush.zutshi