Coder Social home page Coder Social logo

gentoo-macbook-pro-16-2's Introduction

gentoo-macbook-pro-16-2

code required to run gentoo on macbook pro 16,2

this is a ongoing project as long as i have to patch things to have a working machine

Steps to Reproduce

  • Get LiveCD and flush it on a USB stick (C2A Adapter) hthttps://github.com/marcosfad/mbp-ubuntu
  • See working NVME, almost working keyboard/touchbar, wifi (tplink/rtl)
  • Install (to get a working /boot with efi&co, cannot be done from gentoo)
  • Setup kernel patch&build environment configure a kernel build bce and ib modules
  • Setup gentoo disk, stage & chroot
  • Hack genkernel to load bce on boot and deploy kernel (/usr/share/genkernel/arch/x86_64/modules_load should include industrialio_triggered_buffer apple-bce in MODULES_USB)
  • boot-loop-boot-until in system
  • setup the system

Things found on the way:

  • several branches, forks and developers that publish code on github. none worked out of the box. what did work was the code in the live-cd
  • keyboard works for luks lvm passphrase entry
  • no wifi, no suspend

Things i add

  • wifi: a 90degree usbc adapter and a rtl8192eu TP-Link TL-WN823N v2/v3 [Realtek RTL8192EU] https://github.com/clnhub/rtl8192eu-linux.git (unmodified)
  • in /usr/share/genkernel/arch/x86_64 i add the apple-bce module to the MODULES_CRYPTO: apple-bce apple-ib-tb apple-ibridge apple-ib-als

Things that work

  • ssd/processing/display/touchpad/keyboard

Things that dont

  • suspend to ram
  • backlit keys
  • touchbar reliably switching between fn/nonfn display (fn+f1 still changes brightness)
  • alt+ctrl+f1 to switch to console
  • multitouch on trackpad

Useful Links

https://github.com/Dunedan/mbp-2016-linux https://wiki.t2linux.org/

gentoo-macbook-pro-16-2's People

Contributors

mbx162 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.