All Projects → coldnew → macbookpro-2015-config

coldnew / macbookpro-2015-config

Licence: other
My personal Gentoo config for MacBook Pro Retina 2015 13"

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to macbookpro-2015-config

Mkstage4
Bash Utility for Creating Stage 4 Tarballs
Stars: ✭ 55 (+37.5%)
Mutual labels:  gentoo
Chromium os Vm Vmware
Build and run your Chromium OS on VMWare virtual machine client
Stars: ✭ 137 (+242.5%)
Mutual labels:  gentoo
wsl-distrod
Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with systemd in a minute for you. Distrod also has built-in auto-start feature on Windows startup and port forwarding ability.
Stars: ✭ 1,637 (+3992.5%)
Mutual labels:  gentoo
Gentoo
[MIRROR] Official Gentoo ebuild repository
Stars: ✭ 1,364 (+3310%)
Mutual labels:  gentoo
Eix
eix can access Gentoo portage ebuild information and description very quickly (using a local cache). It can also be used to access information on installed packages, local settings, and local and external overlays, and informs about changes in the tree
Stars: ✭ 126 (+215%)
Mutual labels:  gentoo
Image Bootstrap
⛅️ Creates (chroots and) bootable virtual machine images; command line tool (Python 3)
Stars: ✭ 178 (+345%)
Mutual labels:  gentoo
Elivepatch
Gentoo remote live patch system
Stars: ✭ 9 (-77.5%)
Mutual labels:  gentoo
writebar
Experimental distraction-free text editor, based on the Macbook pro TouchBar
Stars: ✭ 37 (-7.5%)
Mutual labels:  macbook-pro
Sci
[MIRROR] Gentoo Science Overlay
Stars: ✭ 127 (+217.5%)
Mutual labels:  gentoo
HomeAssistantRepository
🏡 Home Assistant on Gentoo Linux.
Stars: ✭ 26 (-35%)
Mutual labels:  gentoo
Jorgicio Gentoo Overlay
Gentoo Overlay made by Jorgicio.
Stars: ✭ 102 (+155%)
Mutual labels:  gentoo
Kubler
A generic, extendable build orchestrator.
Stars: ✭ 126 (+215%)
Mutual labels:  gentoo
Gammy
Adaptive screen brightness/temperature for Windows, Linux, FreeBSD
Stars: ✭ 220 (+450%)
Mutual labels:  gentoo
Kde
[MIRROR] KDE team's testing overlay
Stars: ✭ 80 (+100%)
Mutual labels:  gentoo
NetMauMau
Server for the popular card game Mau Mau (similar to UNO®)
Stars: ✭ 16 (-60%)
Mutual labels:  gentoo
Mva Overlay
mva's sandbox overlay
Stars: ✭ 40 (+0%)
Mutual labels:  gentoo
Tmoe Linux
🍭Without any basic knowledge of linux shell,you can easily install and configure a GNU/Linux graphical desktop environment on 📱Android termux and 💻WSL .🍰You can also run VSCode on your android phone.🍹Graphical qemu manager,🐋support running docker on Android.配置WSL和安卓手机的linux容器,桌面环境,主题美化,远程桌面,音频服务,镜像源,uefi开机启动项,webdav(nginx),fcitx输入法以及qemu-system虚拟机...
Stars: ✭ 149 (+272.5%)
Mutual labels:  gentoo
os-xtoo
The Java and Enlightenment ebuild repository
Stars: ✭ 17 (-57.5%)
Mutual labels:  gentoo
mbp-fedora-kernel
No description or website provided.
Stars: ✭ 57 (+42.5%)
Mutual labels:  macbook-pro
booboo
booboo gentoo overlay, just another ebuild repository
Stars: ✭ 25 (-37.5%)
Mutual labels:  gentoo

Macbook Pro Retina 2015 configs

These are my config files and scripts for Gentoo Linux on Macbook Pro Retina 2015 13”.

Fell free to use them :)

You may also interested in my macbookpro2015-9999.ebuild.

https://raw.githubusercontent.com/coldnew/macbookpro-2015-config/master/assets/screenshot.jpg

Which devices work ?

So…you want to install Gentoo Linux on MacBook Pro 2015 ? Here’s what I got:

Wifi

The official broadcom-sta-6.30.223.248-r3 driver doesnt seem to like BCM43602 which is used in MBPR 12,1, so we should use a kernel provided driver brcfmac.

Use the brcmfmac driver shipped with the linux kernel to enable wifi, you also need to install sys-kernel/linux-firmware for /lib/firmware/brcm/brcmfmac43602-pcie.bin.

I use /etc/portage/savedconfig/sys-kernel/linux-firmware to control which firmware I need to install, and the firmware we need to make wifi work is

brcm/brcmfmac43602-pcie.bin

Add the savedconfig file, and enable savedconfig USE to emerge linux-firmware

USE="savedconfig" emerge sys-kernel/linux-firmware

TouchPad

Works great! two finger scrolling and left/right button can work.

Related patches

Here’s related patches for touch pad.

Suspend

Appears to work, I use the suspend to RAM method

SD Card Reader

SD card reader has been not worked for a long time, after I upgraded to macOS Sierra version 10.12.6 , it works now :P.

You should have the following lsusb info:

Bus 002 Device 002: ID 05ac:8406 Apple, Inc.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 05ac:0273 Apple, Inc. Internal Keyboard/Trackpad (ISO)
Bus 001 Device 002: ID 05ac:8290 Apple, Inc. Bluetooth Host Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The device 05ac:8406 is the sdcard reader, make sure it exists or not.

Related Bug reports

Bluetooth

TODO: find related config files (current in my kernel setting)

QA

Users with id (501) not shown in GDM ?

NOTE: I think I am wrong, cant’ make this work yet.

To make compatible with my Mac, I changed the Linux user to uid:gid 501:20, and found there’s no user listed in GDM, this may be due to /etc/login.defs having values like

UID_MIN                  1000

change it to following, and the user will show up (maybe ?)

UID_MIN                   500

How to add “Mac OSX” to grub menu

Just add the following entry to /etc/grub.d/40_custom

menuentry "Mac OSX" {
    insmod hfsplus
    search --set=root --file /System/Library/CoreServices/boot.efi
    chainloader /System/Library/CoreServices/boot.efi
}

Then use these commands to rebuild grub menu.

grub-mkconfig -o /boot/grub/grub.cfg

Boot hang on “switch to clocksource tsc” [FIXED in 4.1-rc3]

If you have a problem booting the system properly and encounter an error such as

switch to clocksource tsc

you can revert commit 7bc5a2b “ACPI: Support _OSI(“Darwin”) correctly” or apply patch list in

https://bugzilla.kernel.org/show_bug.cgi?id=94651

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].