{"id":20405943,"url":"https://github.com/coldnew/macbookpro-2015-config","last_synced_at":"2025-04-12T15:05:54.999Z","repository":{"id":30687605,"uuid":"34243518","full_name":"coldnew/macbookpro-2015-config","owner":"coldnew","description":"My personal Gentoo config for MacBook Pro Retina 2015 13\"","archived":false,"fork":false,"pushed_at":"2019-09-17T06:34:33.000Z","size":2237,"stargazers_count":44,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T15:05:35.489Z","etag":null,"topics":["example","gentoo","macbook-pro"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coldnew.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-20T06:57:58.000Z","updated_at":"2025-01-03T21:51:04.000Z","dependencies_parsed_at":"2022-08-26T11:11:30.482Z","dependency_job_id":null,"html_url":"https://github.com/coldnew/macbookpro-2015-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldnew%2Fmacbookpro-2015-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldnew%2Fmacbookpro-2015-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldnew%2Fmacbookpro-2015-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldnew%2Fmacbookpro-2015-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coldnew","download_url":"https://codeload.github.com/coldnew/macbookpro-2015-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586235,"owners_count":21128997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["example","gentoo","macbook-pro"],"created_at":"2024-11-15T05:13:56.786Z","updated_at":"2025-04-12T15:05:54.965Z","avatar_url":"https://github.com/coldnew.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"* Macbook Pro Retina 2015 configs\n\nThese are my config files and scripts for Gentoo Linux on Macbook Pro Retina 2015 13\".\n\nFell free to use them :)\n\nYou may also interested in my [[https://github.com/coldnew/coldnew-overlay/blob/master/app-laptop/macbookpro2015/macbookpro2015-9999.ebuild][macbookpro2015-9999.ebuild]].\n\n[[https://raw.githubusercontent.com/coldnew/macbookpro-2015-config/master/assets/screenshot.jpg]]\n\n* Which devices work ?\n\nSo...you want to install Gentoo Linux on MacBook Pro 2015 ? Here's what I got:\n\n** Wifi\n\nThe 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=.\n\nUse 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=.\n\nI 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\n\n: brcm/brcmfmac43602-pcie.bin\n\nAdd the savedconfig file, and enable =savedconfig= USE to emerge linux-firmware\n\n: USE=\"savedconfig\" emerge sys-kernel/linux-firmware\n\n** TouchPad\n\nWorks great! two finger scrolling and left/right button can work.\n\n*** Related patches\n\nHere's related patches for touch pad.\n\n- [[https://bugzilla.kernel.org/show_bug.cgi?id=96771][Bug 96771 - MacbookPro12,1 (Early 2015) touchpad is not fully functional]]\n\n** Suspend\n\nAppears to work, I use the =suspend to RAM= method\n\n** SD Card Reader\n\n   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.\n\n   You should have the following =lsusb= info:\n\n   #+BEGIN_EXAMPLE\n     Bus 002 Device 002: ID 05ac:8406 Apple, Inc.\n     Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub\n     Bus 001 Device 003: ID 05ac:0273 Apple, Inc. Internal Keyboard/Trackpad (ISO)\n     Bus 001 Device 002: ID 05ac:8290 Apple, Inc. Bluetooth Host Controller\n     Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\n   #+END_EXAMPLE\n\n   The device =05ac:8406= is the sdcard reader, make sure it exists or not.\n\n*** Related Bug reports\n\n- https://bugzilla.redhat.com/show_bug.cgi?id=1315063\n\n- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1531653\n\n- https://www.reddit.com/r/linuxmint/comments/3ydoxs/unable_to_detect_builtin_sd_card_reader/\n\n\n** Bluetooth\n\nTODO: find related config files (current in my kernel setting)\n\n* QA\n\n** TODO Users with id (501) not shown in GDM ?\n\n   NOTE: I think I am wrong, cant' make this work yet.\n\n\n   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,\n   this may be due to =/etc/login.defs= having values like\n\n   : UID_MIN                  1000\n\n   change it to following, and the user will show up (maybe ?)\n\n   : UID_MIN                   500\n\n** How to add \"Mac OSX\" to grub menu\n\nJust add the following entry to =/etc/grub.d/40_custom=\n\n#+begin_src sh\nmenuentry \"Mac OSX\" {\n    insmod hfsplus\n    search --set=root --file /System/Library/CoreServices/boot.efi\n    chainloader /System/Library/CoreServices/boot.efi\n}\n#+end_src\n\nThen use these commands to rebuild grub menu.\n\n: grub-mkconfig -o /boot/grub/grub.cfg\n\n\n** Boot hang on \"switch to clocksource tsc\" [FIXED in 4.1-rc3]\n\nIf you have a problem booting the system properly and encounter an error such as\n\n: switch to clocksource tsc\n\nyou can revert commit =7bc5a2b= \"ACPI: Support _OSI(\"Darwin\") correctly\" or apply patch list in\n\nhttps://bugzilla.kernel.org/show_bug.cgi?id=94651\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoldnew%2Fmacbookpro-2015-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoldnew%2Fmacbookpro-2015-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoldnew%2Fmacbookpro-2015-config/lists"}