Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install mbp2018-bridge-drv #20

Closed
LukeShortCloud opened this issue Apr 7, 2021 · 6 comments
Closed

Install mbp2018-bridge-drv #20

LukeShortCloud opened this issue Apr 7, 2021 · 6 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@LukeShortCloud
Copy link
Owner

This is required for 2018+ Intel MacBooks.

https://github.com/MCMrARM/mbp2018-bridge-drv

@LukeShortCloud LukeShortCloud added the enhancement New feature or request label May 3, 2021
@LukeShortCloud
Copy link
Owner Author

LukeShortCloud commented May 3, 2021

mbp-manjaro ships with this kernel module pre-installed.

@LukeShortCloud
Copy link
Owner Author

Someone thankfully provides a DKMS version of this, possibly for the mbp-manjaro/archlinux project(s).

$ sudo git clone --branch aur https://github.com/marcosfad/mbp2018-bridge-drv.git /usr/src/apple-bce-0.1
$ sudo dkms install -m apple-bce -v 0.1 -k <mbp-kernel-release>-mbp
$ sudo modprobe apple-bce

https://awesomeopensource.com/project/marcosfad/mbp-ubuntu

@LukeShortCloud
Copy link
Owner Author

I'm testing this out with in our install-manjaro.sh script:

# MacBook Pro >= 2018 require a special T2 Linux driver for the keyboard and mouse to work.
manjaro-chroot /mnt git clone https://github.com/marcosfad/mbp2018-bridge-drv --branch aur
manjaro-chroot /mnt dkms install -m apple-bce -v 0.1 -k $(ls -1 /mnt/usr/lib/modules/ | grep -P "^[0-9]+")
sed -i s'/MODULES=(/MODULES=(apple-bce /'g /mnt/etc/mkinitcpio.conf

The build seems to take an usually long time. It's currently processing make -j2 KERNELRELEASE=5.10.36-2-MANJARO.

@LukeShortCloud LukeShortCloud self-assigned this May 31, 2021
@LukeShortCloud LukeShortCloud added this to the 2.0.0 milestone May 31, 2021
@LukeShortCloud
Copy link
Owner Author

I left the build going overnight in a VM with 2 vCPUs and 4 GB RAM. It's still building which is not normal.

@LukeShortCloud
Copy link
Owner Author

Rebooting into the installed mac-linux-gaming-stick VM and then running the build (so not via live CD and in a chroot), the dkms install takes about 5 seconds.

@LukeShortCloud
Copy link
Owner Author

I got it working in the chroot by making sure to git clone to the correct directory: /usr/src/apple-bce-0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant