The stuff of Kryton

An eclectic selection of technology with some cookery


Project maintained by kryton-me Hosted on GitHub Pages — Theme by mattgraham

Linux on an old MacBook Pro

Introduction

I found an old MacBook Pro hanging around in need of somthing to do.

Specs

As it’s well out of Apples support Stuck on MacOS 11 for eternity it’s basically e-Waste well according to Apple. I however have other plans involving Linux.

Which Linux?

Reading around it sounds like it should still be capable of running current mainstream Distros mainly as it’s a 64bit CPU and has a still respectable 8GB of RAM. I’m personally keen on KDE so thought I’d use it to try out Fedora.

Distro: Fedora 43 in KDE flavour

I set the iso file up on a USB pen drive as a live boot distro so I could try it out first.

First boot

Holding down the “Option” key or “alt” as its written on this particular UK MacBook I pressed the power button. This brought up the USB drive and internal SSD. I opten for the USB drive and was soon presented with a KDE desktop. This is where I found the first problem, no WiFi drives! I decided to go ahead as with the current MacOS this thing was effectively a glorified paperweight with an Apple logo. I made a rash assumption that the live kernal may not have all the drivers loaded and some more may become available it install (they don’t, well in this case)

COPR build

Switch to copr build of Fedora? - Not sure I neede to do this.

”"”sudo dnf copr enable dcaratti/wpa_supplicant sudo dnf update did not work”””

Get Wifi working

In the setting tab of “Discover” (KDE) make sure the RPM fusion respoties “Nonfree - Steam” is enabled if you WiFi

sudo dnf config-manager setopt fedora-cisco-openh264.enabled=1

instal broadcom-wl

Software to get the webcam working:

No attempted https://github.com/patjak/facetimehd/wiki/Installation#get-started-on-fedora
TODO: My head hurts on this.

VPN

just double click the file

HIBERNATION - Not resolved

Tried this using the UEFI method

https://fedoramagazine.org/update-on-hibernation-in-fedora-workstation/ Just reboots but does keep everything as is it had worked. Assume Mac UEFI Issue.

Keyboard

“Apple Aluminium (ANSI) or (ISO)”

delete = Fn + Backspace

€ = right “alt” + 2

# = Right “alt” + 3

Thermal issues

install the lm_sensors (sudo dnf install lm_sensors)

run sensors-detect

use sensors

sensors | grep -e "Core" -e "temp:" -e "RPM"

Re-paste CPU

As has been noted by other the CPU paste on Macs tands to dry out leaving the fan running under even light loads, Re-pasting resolves this and increases the perfromance.

Hardware video decoder:

https://fedoraproject.org/wiki/Hardware_Video_Acceleration

Upto 4th gen i5 “sudo dnf install libva-intel-driver”

Later “sudo dnf install intel-media-driver”

Software

sudo dnf install ffmpeg-free - already had it

sudo dnf install libavcodec-freeworld - H264

sudo dnf install libva-utils.x86_64

vainfo to confirm VA-API