Ubuntu on a Macbook Pro tweaks

 · Systeemkabouter

Last weekend I wiped my Macbook Pro 15″ late 2013 and installed Ubuntu 18.04 on it. The install was painless, but there were some tiny bits and pieces missing as to hardware settings and drivers.

Ubuntu logo

I was able to fix most issues searching the web, but I thought I summarize it here for future reference and other people going the same route.

Just for the record, this is supposed to be the MacBook Pro 11,2.

Lit closure detection

By default, it would not recognice the lid closing and thus not try to sleep, this was fixed by editing /etc/systemd/logind.conf and adding the following line to the [login] section :


After that, the machine would try to sleep when I closed the lit, but fail. This was fixed by disabling wake on USB3 ports. To achieve that, add the following line to /etc/rc.local :

echo XHC1 > /proc/acpi/wakeup

Also it was suggested to add the acpi_osi= parameter to /etc/default/grub on the boot line :

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi= "

(ran update-grub afterwards)


Also added two kernel modules to /etc/modules :


Then I got rid of erronous interrupts by disabling a couple vi /etc/rc.local :

echo "disable" > /sys/firmware/acpi/interrupts/sci
echo "disable" > /sys/firmware/acpi/interrupts/gpe17


Screenshot syndaemon properties panel

Lastly I had trouble typing as the touch pad was not disabled as I typed on the laptops keyboard. This was fixed by running syndaemon as a startup program, specifying half a second delay before enabling the touchpad again after typing.

Hope this helps 😉