MacBook 12,1 Linux Fixes
Hassle free linux on macbook 2015 pro 13 inch
</div>What works?
- Video = Yes
- Sound = Yes
- Ethernet = Yes
- Wireless = Yes (with IWD as the backend for NetworkManager)
- Bluetooth = Yes
- Power Management = Yes
- Suspend/resume - Yes (But auto wake with Lid feature has to go)
- And everything else (This is my main linux box)
Tested on:
- kernel: from 6.10.4-arch2-1 to whatever the latest version as of now.
- distro: Arch linux
Latest changes
- I replaced mpbfan with an older project called macfand which gives better control.
- Added thermald package (much better thermal management now!).
- Minor tweaks in tlp config (CPU is downclocked to 2.7GHz).\
- Latest Chrome now works with 0 issues.
- Bluetooth gives no issues.
Manual Install
- Install the dependancies:
yay -S iwd tlp thermald macfand-git
- Clone the repo:
git clone <>
cd
- Add disable-wakeup systemd service:
cp init_services/disable-wakeup.service /usr/lib/systemd/system
sudo systemctl enable disable-wakeup.service
sudo systemctl start disable-wakeup.service
- Copy configs:
cp configs/wifi_backend.conf /etc/NetworkManager/conf.d && cp configs/macfand.conf configs/tlp.conf /etc
- Restart NetworkManager and tlp services:
sudo systemctl restart NetworkManager && sudo systemctl restart macfand && sudo systemctl restart tlp
Automatic Install (I have not tested this properly yet. But should work)
yay -S macbook-12-1-linux-fixes
Optional:
- The UDEV rule files are from an arch linux thread to fix battery drain from disabling cardreader and bluetooth. Use them if needed. I don't see significant improvement with them. (I'll link the thread when I have some time again).
[!NOTE] You also need the remove_ignore_usb_device.sh in order to get UDEV files working. More info can be found in this arch linux thread - https://wiki.archlinux.org/title/User:Elinux/MacBook_Pro_12,1#Powersave
Some extra Tips
[!TIP]
- To get HW acceleration enabled for h264 videos. You can run
sudo pacman -S intel_media_driverand addLIBVA_DRIVER_NAME=iHDto your shell configuration file. (ie - .zshrc for zsh).- For Youtube HW acceleration and to fix batttery drain issues you should disable AV1 and VP9 codecs in the browser, you can use
enhanced-h264ifybrowser exrtension.- If you need a quick setup, use my dotfiles from this repo.
License
This project is licensed under MIT License.