hotta-sの日記: wmpower-0.4.3 on Plamo-4.73 with Linux-3.1.4
日記 by
hotta-s
wmpower-0.4.3/src/power_management/acpi/libacpi.c
before
/* see if we have ACPI support */
int check_acpi(void)
{
DIR *battdir;
struct dirent *batt;
char *name;/* do proc entries for acpi exist? */
if (access("/proc/acpi/info", R_OK) != 0) return 0;
after
/* see if we have ACPI support */
int check_acpi(void)
{
DIR *battdir;
struct dirent *batt;
char *name;/* do proc entries for acpi exist? */
if (access("/proc/acpi/wakeup", R_OK) != 0) return 0;
and compile
$ LDFLAGS=-L/usr/X11/lib ./configure
wmpower-0.4.3 on Plamo-4.73 with Linux-3.1.4 More ログイン