Installation manual

4. 16. Thinkpad Control Tools 23
/etc/modutils/lvm:
alias block−major−8 off # SCSI disks
alias block−major−33 off #3rd IDE controller
alias block−major−34 off #4th IDE controller
Updating /etc/modules.conf:
#> update−modules
Note: Wehav e to be careful about the block-major-8 entry and should probably remove it, if we want to access
IEEE1394 FireWire hard disks.
4. 15. APM (Suspend & Hibernate)
Thanks to our acrobatics while partitioning the hard disk, everything works nowout of the box. However, with
such a large amount of RAM to write to or read from disk, shutting down the machine and rebooting is likely to
be quite a bit faster than hibernating.
Kernel configuration for APM:
—— General Setup ——
yes Power Management support
yes Advanced Power Management BIOS support
yes Enable PM at boot time
yes Make CPU idle calls when idle
yes Enable console blanking using APM
yes RTC stores time in GMT
yes Allow interrupts during APM BIOS calls
Note: The last option “Allowinterrupts during APM BIOS calls” is required for APM to work on out Thinkpad.
4. 16. Thinkpad Control Tools
There exists tpctl, a nifty package with a suite of small programs, which let us talk directly to some of the hard-
ware in our Thinkpad.
Debian packages for Thinkpad control tools:
thinkpad−base
thinkpad−source
tpctl
No special configuration is necessary for the Thinpad kernel-modules. Weonly need to unpack the tar-ball, re-
compile the kernel, install it and then try to find out what all those nice options in (n)tpctl really are for.
Compiling and installing the Thinkpad kernel modules:
#> cd /usr/src
#> tar xzf thinkpad.tar.gz
#> cd kernel−source−2.4
#> make−kpkg −rev Custom.1 kernel_image
#> make−kpkp −rev Custom.1 modules_image
#> cd ..
#> rm −rf /lib/modules/2.4.18
#> dpkg −i kernel−image2.4.18_Custom.1_i386.deb
#> dpkg −i alsa−modules−2.4.18_0.9+beta12+3+p0+Custom.1_i386.deb
#> dpkg −i thinkpad−modules−2.4.18_3.5−1+Custom.1_i386.deb