From cb5661f9e402fc911429230ec9ccaf504c68864a Mon Sep 17 00:00:00 2001 From: networkException Date: Mon, 15 Mar 2021 22:28:28 +0100 Subject: [PATCH] Guides: Added dkms.conf content for apple-bce-drv to dkms guide Keep in until https://github.com/t2linux/apple-bce-drv/pull/2 gets closed --- docs/guides/dkms.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/guides/dkms.md b/docs/guides/dkms.md index ba9f9e1b..84206933 100644 --- a/docs/guides/dkms.md +++ b/docs/guides/dkms.md @@ -13,6 +13,19 @@ If you have a Touchbar, is it working? If no, then you'll need the apple-ibridge 2. Installing the BCE (Buffer Copy Engine) module for Keyboard and Audio - If you are on arch, you can use Aunali1's [apple-bce-dkms-git package](https://github.com/aunali1/apple-bce-arch/releases) - Otherwise, `sudo git clone https://github.com/t2linux/apple-bce-drv /usr/src/apple-bce-r183.c884d9c` + + Create a `dkms.conf` file in `/usr/src/apple-bce-r183.c884d9c` and put in the following: + + ``` + PACKAGE_NAME="apple-bce" + PACKAGE_VERSION="r183.c884d9c" + MAKE[0]="make KVERSION=$kernelver" + CLEAN="make clean" + BUILT_MODULE_NAME[0]="apple-bce" + DEST_MODULE_LOCATION[0]="/kernel/drivers/misc" + AUTOINSTALL="yes" + ``` + - Use `sudo dkms install -m apple-bce -v r183.c884d9c`. Add `-k x.x.x-mbp` if you need to install for a specific kernel version. 3. Installing the Touchbar and Ambient Light sensor modules - `sudo git clone https://github.com/t2linux/apple-ib-drv /usr/src/apple-ibridge-0.1`