Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 348124
Collapse All | Expand All

(-)wmlaptop-1.4.orig/src/battery.c (-1 / +1 lines)
Lines 74-80 Link Here
74
74
75
bool ACPI_canSupport( )
75
bool ACPI_canSupport( )
76
{
76
{
77
	if( access( ACPI_ACCESS_TEST, R_OK ) == SUCCESS )
77
	if( access( ACPI_ACCESS_TEST, R_OK | X_OK ) == SUCCESS )
78
		return true;
78
		return true;
79
	return false;
79
	return false;
80
}
80
}
(-)wmlaptop-1.4.orig/src/battery.h (-1 / +1 lines)
Lines 24-30 Link Here
24
/*******************
24
/*******************
25
 * ACPI FEATURES   *
25
 * ACPI FEATURES   *
26
 *********************************************************************************/
26
 *********************************************************************************/
27
#define    ACPI_ACCESS_TEST      "/proc/acpi/info"
27
#define    ACPI_ACCESS_TEST      "/proc/acpi"
28
#define    ACPI_BATTERY_DIR      "/proc/acpi/battery"
28
#define    ACPI_BATTERY_DIR      "/proc/acpi/battery"
29
//TODO #define    ACPI_BATTERY_DIR      "/home/mtc/hisBattery/battery"
29
//TODO #define    ACPI_BATTERY_DIR      "/home/mtc/hisBattery/battery"
30
30

Return to bug 348124