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

(-)src/acpi_notifier.c.orig (-1 / +2 lines)
Lines 55-60 Link Here
55
	{"Other", "", "", ""},
55
	{"Other", "", "", ""},
56
	{"ACER", "1", "0", "/proc/driver/acerhk/led"},
56
	{"ACER", "1", "0", "/proc/driver/acerhk/led"},
57
	{"ASUS", "1", "0", "/proc/acpi/asus/mled"},
57
	{"ASUS", "1", "0", "/proc/acpi/asus/mled"},
58
	{"IBM", "7 on", "7 off", "/proc/acpi/ibm/led"},
58
	{NULL, NULL, NULL, NULL}
59
	{NULL, NULL, NULL, NULL}
59
};
60
};
60
61
Lines 545-551 Link Here
545
	if (on) {
546
	if (on) {
546
		fwrite(acpiprefs.on_param, 1, strlen(acpiprefs.on_param), fp);
547
		fwrite(acpiprefs.on_param, 1, strlen(acpiprefs.on_param), fp);
547
	} else {
548
	} else {
548
		fwrite(acpiprefs.off_param, 1, strlen(acpiprefs.on_param), fp);
549
		fwrite(acpiprefs.off_param, 1, strlen(acpiprefs.off_param), fp);
549
	}
550
	}
550
	fclose(fp);
551
	fclose(fp);
551
}
552
}

Return to bug 111481