WMACPI reqires that /proc/apm exists, it exits with an error if it doesn't. As I only need ACPI, as my system dows not support APM, I have not got apm enabled in the kernel and hence /proc/apm does not exist. WMACPI is based on WMAPM so has the capability to use both APM and ACPI depending on the compile times options, the ebuild options are for ACPI. This problem can be easily be solved. Below is the change to the Makefile this removes the APM component, which is compiled and linked even if ACPI is selected. Lines 17 and 18 read SRCS = wmacpi.c libapm.c libacpi.c OBJS = wmacpi.o libapm.o libacpi.o They should be SRCS = wmacpi.c libacpi.c OBJS = wmacpi.o libacpi.o Reproducible: Always Steps to Reproduce: 1. 2. 3.
ok, i added patches so that only acpi support exists or apm ... afaik the kernel will disable one if both are detected so the ebuild works the same way ... either you have acpi or you have apm ...