FreeBSD on a Macbook Pro 8,1
April 25, 2015
Installation
After trying to figure out what was wrong with my external Blu-Ray reader, I ended up figuring that the handover from Apple’s EFI to the installation media was the problem. USB’s seem to suffer from the same problem, so I bought a small pack of cheap DVD’s.
Getting stuff to run
The machine will be usable on first boot, but you’re probably going to be missing wifi as well as proper touchpad capabilty.
TL;DR
Here is the content of various files:
/boot/loader.conf
atp_load="YES"
coretemp_load="YES"
asmc_load="YES"
kern.hz=250
hint.atrtc.0.clock=0
hw.usb.atp.scale_factor=18
hw.usb.atp.small_movement=32
legal.realtek.license_ack=1
rsu-rtl8712fw_load="YES"
if_rsu_load="YES"
hint.hdac.0.cad0.nid9.config="as=2 seq=15"
hint.hdac.0.cad0.nid10.config="as=2 seq=0 conn=none"
hint.hdac.0.cad0.nid11.config="conn=none"
hint.hdac.0.cad0.nid12.config="conn=none"
hint.hdac.0.cad0.nid13.config="conn=none"
hint.hdac.0.cad0.nid16.config="conn=none"
hint.hdac.0.cad0.nid5.config="conn=none"
hint.hdac.0.cad0.nid6.config="conn=none"
hint.hdac.0.cad0.nid7.config="conn=none"
hint.hdac.0.config="gpio ovref"
hint.hdaa.0.conifg="ovref"
hin.hdaa.0.gpio_config="0=set"
/etc/sysctl.conf
hostname="my.host.name"
ifconfig_bge0="DHCP"
local_unbound_enable="YES"
sshd_enable="YES"
moused_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
powerd_flags="-a adaptive -b adaptive"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
wpa_supplicant_enable="YES"
wlans_rsu0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
performance_cx_lowest="LOW"
economy_cx_lowest="LOW"
As it’s possible to see, I gave up on the internal broadcom wifi temporarly and am using an Asus N-10
I also added some custom settings to my xorg.conf:
Section "InputDevice"
Identifier "Mouse0"
Driver "mutouch"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "TapButton3" "2"
Option "VertTwoFingerScroll" "1"
Option "HorizTwoFingerScroll" "1"
Option "LeftEdge" "100"
Option "RightEdge" "1120"
Option "TopEdge" "50"
Option "BottomEdge" "310"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "MaxDoubleTapTime" "180"
Option "VertScrollDelta" "15"
Option "HorizScrollDelta" "50"
Option "MinSpeed" "0.79"
Option "MaxSpeed" "0.88"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
EndSection
Some more details to come