cb22 / macbook12-spi-driver

WIP input driver for the SPI touchpad / keyboard found in the 12" MacBook (MacBook8,1 + MacBook9,1)
GNU General Public License v2.0
300 stars 106 forks source link

Can install applespi v0.1 #76

Open HassanDuhaini opened 4 years ago

HassanDuhaini commented 4 years ago

I get this error when running the installation command:

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area... make -j8 KERNELRELEASE=5.4.0-050400-lowlatency...(bad exit status: 2) ERROR (dkms apport): binary package for applespi: 0.1 not found Error! Bad return status for module build on kernel: 5.4.0-050400-lowlatency (x86_64) Consult /var/lib/dkms/applespi/0.1/build/make.log for more information.

I am running Ubuntu 18 on Macbook pro 15in 2017 model.

roadrunner2 commented 4 years ago

As of kernel 5.3 this module is already included so you might not need to build it yourself at all - see if CONFIG_KEYBOARD_APPLESPI is enabled in your /boot/config-... .

If it's not enabled, then please get the latest driver from https://github.com/roadrunner2/macbook12-spi-driver/ as this repo here is somewhat out of date.

arno01 commented 4 years ago

Just a side note: while applespi has been included to Linux 5.3, the touch bar driver wasn't.. so we still need to compile the driver from https://github.com/roadrunner2/macbook12-spi-driver/ repo.

roadrunner2 commented 4 years ago

@HassanDuhaini: Can this issue be closed?