Mbpfan: Difference between revisions
From wikinotes
(Created page with "Control cpufans on a macbook pro from linux. {{ WARNING | The AUR package for mbpfan refers to a fork that is out of date and does not work. * (good) https://github.com/netw...") |
No edit summary |
||
Line 1: | Line 1: | ||
Control cpufans on a macbook pro from linux. | Control cpufans on a macbook pro from linux. | ||
{{ TODO | | |||
I'm not convinced this is working, I'm hitting CPU temps of 81 C with no real workload. | |||
Look deeper into configuration. }} | |||
= Documentation = | |||
<blockquote> | |||
{| class="wikitable" | |||
|- | |||
| https://github.com/networkException/mbpfan | |||
|- | |||
|} | |||
</blockquote><!-- Documentation --> | |||
= Install = | |||
<blockquote> | |||
{{ WARNING | | {{ WARNING | | ||
The AUR package for mbpfan refers to a fork that is out of date and does not work. | The AUR package for mbpfan refers to a fork that is out of date and does not work. | ||
Line 8: | Line 23: | ||
}} | }} | ||
Build | Build | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Line 38: | Line 45: | ||
sensors # see CPU temps | sensors # see CPU temps | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</ | </blockquote><!-- Install --> | ||
= Troubleshooting = | = Troubleshooting = |
Revision as of 20:23, 6 March 2022
Control cpufans on a macbook pro from linux.
TODO:
I'm not convinced this is working, I'm hitting CPU temps of 81 C with no real workload. Look deeper into configuration.
Documentation
https://github.com/networkException/mbpfan
Install
WARNING:
The AUR package for mbpfan refers to a fork that is out of date and does not work.
Build
git clone https://github.com/networkException/mbpfan cd mbpfan make sudo make install sudo make tests </blockquote><!-- Install --> Enable <syntaxhighlight lang="bash"> sudo cp mbpfan.service /etc/systemd/system sudo systemctl enable mbpfan.service sudo systemctl daemon-reload sudo systemctl start mbpfan.serviceConfirm it's working
sudo systemctl status mbpfan.service sensors # see CPU temps
Troubleshooting
# watch it run mbpfan -f # run in foreground mbpfan -v # verboseSome background info for debugging:
applesmc
is builtin to the linux kernel.- mbpfan uses applesmc exposed info from files in
/sys/devices/platform/*
(ex:APP, applesmc.768