acpi_ibm_load="YES" acpi_dock_load="YES" # soundcard snd_hda_load="YES"
! fix left Win key keycode 115=Super_L add Mod4 = Super_L ! enbale Volume control keys keycode 174 = XF86AudioLowerVolume keycode 176 = XF86AudioRaiseVolume
--- powerd.c.orig 2007-10-23 21:04:56.000000000 +0200
+++ powerd.c 2007-10-23 21:10:30.000000000 +0200
@@ -608,6 +608,9 @@
} else if (idle > (total * cpu_idle_mark) / 100 &&
curfreq > freqs[numfreqs - 1]) {
i++;
+ /* Thinkpad X61 workaround */
+ if (i == 1)
+ i = 2;
if (vflag) {
printf("idle time > %d%%, decreasing clock"
" speed from %d MHz to %d MHz\n",
notify 10 {
match "system" "ACPI";
match "subsystem" "IBM";
action "/usr/local/sbin/acpi_oem_exec.sh $notify ibm";
};
sysctl dev.cpu.0.freq=800 sysctl hw.acpi.cpu.cx_lowest=C3 sysctl dev.cpu.0.cx_lowest=C2 sysctl dev.cpu.1.cx_lowest=C3 sysctl dev.acpi_ibm.0.lcd_brightness=4
sysctl dev.cpu.0.freq=1601 sysctl hw.acpi.cpu.cx_lowest=C1 sysctl dev.cpu.0.cx_lowest=C1 sysctl dev.cpu.1.cx_lowest=C1 sysctl dev.acpi_ibm.0.lcd_brightness=7