Dobrica Pavlinušić's random unstructured stuff
T60 setup: Revision 4

Useful hints how to configure IBM/Lenovo T60 laptop for Debian GNU/Linux use:



laptop mode

/etc/default/acpi-support

disable bluetooth

/etc/rc.local

echo disable > /proc/acpi/ibm/bluetooth

ENABLE_LAPTOP_MODE=true

CPU frequency

/etc/modules

acpi-cpufreq
cpufreq_ondemand

/etc/rc.local

echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Think* button

Enable suspend to ram (I'm using stock Debian kernel and uswsusp and tpb)

apt-get install uswsusp tpb

Configure sudo for s2ram using:

/etc/sudoers

dpavlin ALL=NOPASSWD:/usr/sbin/s2ram, /usr/sbin/s2disk

Now configure tpb to suspend to ram on keypress:

/etc/tpbrc

THINKPAD        /usr/bin/sudo s2ram

If you are not using Xsession, you might want to add something like following in .xinitrc

tpb -d

You will also want to add yourself to kmem group:

/etc/group

kmem:x:15:dpavlin