Skip to content

About

Fixes to get a better linux experience on MacBook Pro Early 2015 (A1502)

Topics

Resources

Stars

30 stars

Watchers

3 watching

Forks

Latest commit

 

History

53 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MacBook 12,1 Linux Fixes

AUR Version AUR Maintainer GitHub License

Hassle free linux on macbook 2015 pro 13 inch

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

  1. Install the dependancies:
yay -S iwd tlp thermald macfand-git
  1. Clone the repo:
git clone <>
cd
  1. 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
  1. Copy configs:
cp configs/wifi_backend.conf /etc/NetworkManager/conf.d && cp configs/macfand.conf configs/tlp.conf /etc
  1. 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:

  1. 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

  1. To get HW acceleration enabled for h264 videos. You can run sudo pacman -S intel_media_driver and add LIBVA_DRIVER_NAME=iHD to your shell configuration file. (ie - .zshrc for zsh).
  2. For Youtube HW acceleration and to fix batttery drain issues you should disable AV1 and VP9 codecs in the browser, you can use enhanced-h264ify browser exrtension.
  3. If you need a quick setup, use my dotfiles from this repo.

License

This project is licensed under MIT License.

About

Fixes to get a better linux experience on MacBook Pro Early 2015 (A1502)

Topics

Resources

Stars

30 stars

Watchers

3 watching

Forks

Contributors

Languages