roadrunner2 / macbook12-spi-driver

Input driver for the SPI touchpad / keyboard found in the 12" MacBook (MacBook8,1 + MacBook9,1) and 2016 through 2018 Macbook Pro's (MacBookPro13,* and 14,*); a Touch Bar driver is also available.
GNU General Public License v2.0
251 stars 49 forks source link

DKMS package error #39

Closed ivanderjmw closed 4 years ago

ivanderjmw commented 4 years ago

I am quite unsure of this error, but I keep getting it on a fresh installation of Ubuntu 16.04 on a Macbook pro 14,2.

dkms install -m applespi -v 0.1

Kernel preparation unnecessary for this kernel. Skipping...

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

The log file mentioned is as attached. make-log.txt Will really appreciate your help!

ivanderjmw commented 4 years ago

SOLVED the issue by targeting a kernel, discovered it from this website https://nixaid.com/linux-on-macbookpro/ dkms install -m applespi -v 0.1 -k 4.13.0-36-generic

Somehow this worked.

roadrunner2 commented 4 years ago

Sorry for the slow reply. I've just pushed a fix to allow the module(s) to be compiled with kernels at least as far back as 4.14 now. Though I'm surprised it compiled under 4.13 for you! Anyway, thanks for reporting this.