Skip to content

Commit

Permalink
Guides: Added dkms.conf content for apple-bce-drv to dkms guide
Browse files Browse the repository at this point in the history
Keep in until t2linux/apple-bce-drv#2 gets closed
  • Loading branch information
networkException committed Mar 15, 2021
1 parent 91bf32e commit cb5661f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/guides/dkms.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit cb5661f

Please sign in to comment.