1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- src/acpi_notifier.c.orig 2005-11-04 14:22:00.000000000 +0100
+++ src/acpi_notifier.c 2005-11-04 14:22:05.000000000 +0100
@@ -55,6 +55,7 @@
{"Other", "", "", ""},
{"ACER", "1", "0", "/proc/driver/acerhk/led"},
{"ASUS", "1", "0", "/proc/acpi/asus/mled"},
+ {"IBM", "7 on", "7 off", "/proc/acpi/ibm/led"},
{NULL, NULL, NULL, NULL}
};
@@ -545,7 +546,7 @@
if (on) {
fwrite(acpiprefs.on_param, 1, strlen(acpiprefs.on_param), fp);
} else {
- fwrite(acpiprefs.off_param, 1, strlen(acpiprefs.on_param), fp);
+ fwrite(acpiprefs.off_param, 1, strlen(acpiprefs.off_param), fp);
}
fclose(fp);
}
|