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
298 stars 103 forks source link

MBP 14,1 - kernel header error on kali linux live persistance mode #73

Open Deebw opened 5 years ago

Deebw commented 5 years ago

Hello, I have a MBP 14,1 no touchbar and i'm trying to get the keyboard and touchpad to work. The issue i'm encountering is the following:

root@kali:~# dkms install -m applespi -v 0.1 Error! echo Your kernel headers for kernel 4.18.0-kali2-amd64 cannot be found at /lib/modules/4.18.0-kali2-amd64/build or /lib/modules/4.18.0-kali2-amd64/source.

This is what i have in /lib/modules root@kali:/lib/modules# ls 4.18.0-kali2-amd64 4.19.0-kali1-amd64 and build and source folders are located in 4.19.0 uname -r returns kernel 4.18.0 Should I update the kernel version?

Thanks, have a great one.

roadrunner2 commented 5 years ago

Sounds like you haven't installed the kernel-header packages for your kernel - it's generally a separate package (or two) that needs to be explicitly installed.