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

Compilation error: "acpi_finish_gpe" undefined #60

Closed zhovner closed 6 years ago

zhovner commented 6 years ago

I building module with custom kernel 4.14.22 and get the errors:

make: Entering directory '/home/gay/linux-4.14.22'
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "acpi_finish_gpe" [../macbook12-spi-driver//applespi.ko] undefined!
WARNING: "acpi_enable_gpe" [../macbook12-spi-driver//applespi.ko] undefined!
WARNING: "acpi_disable_gpe" [../macbook12-spi-driver//applespi.ko] undefined!
  CC      ../macbook12-spi-driver//applespi.mod.o
  LD [M]  ../macbook12-spi-driver//applespi.ko
make: Leaving directory '/home/gay/linux-4.14.22'

Here is my kernel .config file.

zhovner commented 6 years ago

I found that APPLE_GMUX=m is required. Fixed now.

roadrunner2 commented 6 years ago

I think your problem was actually that you didn't have ACPI=y - enabling APPLE_GMUX has the side effect of also enabling ACPI.

zhovner commented 6 years ago

You can look at .config file to see that CONFIG_ACPI=y is enabled.