https://github.com/meain/mbafan
Fix Macbook Air fan issue on Linux
https://github.com/meain/mbafan
fan heating linux macbook
Last synced: 23 days ago
JSON representation
Fix Macbook Air fan issue on Linux
- Host: GitHub
- URL: https://github.com/meain/mbafan
- Owner: meain
- Created: 2017-04-14T13:50:57.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-19T03:39:03.000Z (about 8 years ago)
- Last Synced: 2025-02-09T00:18:12.163Z (3 months ago)
- Topics: fan, heating, linux, macbook
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mbafan
You might have had issues with Linux installation on your Macbook Air that it is getting hot and that the fans are not kicking in.
Well, this provides a sort of solution to that problem by checking the core temp and varying the fan speeds accordingly.No guarantee, but it should probably work. It won't probably blow up your system at least.
** If the system still gets hot, please report an issue I'll see if I can help. **
Do keep in mind:
* Its written in python, should have done it C
* Not foolproof
* Temp check may not be the bestMy system: `x86_64 Linux 4.10.8-1-ARCH` `Macbook Air7,2`
## Installation instructions
```sh
git clone https://github.com/meain/mbafan.git && cd mbafan && chmod +x install && sudo ./install && cd ..
```If you get an error saying 'Error, probably restarting it will fix it.'. Restart your computer then do
```sh
cat /sys/devices/platform/applesmc.768/fan1_manual
```
and if the output is is 1 you are good to go## Useful links
* [Simple MacBook Pro Fan Daemon](http://allanmcrae.com/2010/05/simple-macbook-pro-fan-daemon/)
* [Interpreting sensor names](https://superuser.com/a/967056/328228)