Installing Debian Sid (September 2004) on a ThinkPad T42p

From ThinkWiki
Revision as of 17:38, 26 September 2004 by Fionn (Talk | contribs) (added laptop-mode-tools)
Jump to: navigation, search

Unfortunately there are no detailed instructions here, yet. During my install of Debian Linux on my T42p I found the following Links to be very, very useful, though:

Benchmark Page on Powersaving] with Windows vs Linux and APM vs ACPI

For the first boot and maybe even the first install I recommend a recent Image of Kanotix (a Knoppix descendant with lots of notebook-specific extensions built-in, so it should boot your Thinkpad with most bells and whistles right out of the box!)

If you want to keep your WinXP partition and you dont want to shell out lots of money for PartitionMagic, you can use ntfsresize. The version to be found in kanotix is fairly old and cannot cope well with fragmented volumes so I recommend booting kanotix, getting it online and using the latest version to be found at the ntfsresize link. Be sure to resize your Windows partition AFTER having resized ntfs and TAKE CARE not to make the partition smaller than you made the ntfs.

If you compile a new kernel (recommended), you can use [http://fionn.de/config-t42p-2.6.8

this 2.6.8 kernel-configuration] as a starting point if you like. For kernel 2.6.8 you will also need to apply this patch and this one, too. Otherwise speedstep will not work on your Dothan CPU.

The following Debian packages are relevant to your Thinkpad installation:

Kernel:

  • kernel-source-2.6.8 (or the latest version available)
  • sl-modem-source (for the built-in modem)
  • ipw2100-source (if you have the "simple" 802.11b WLAN option, otherwise not)
  • thinkpad-source
  • (optional) the closed-source ATI drivers pre-packaged for debian

Other:

  • sl-modem-daemon (modem)
  • tpb (for the thinkpad buttons a nifty OSD, actually alot nicer than the WinXP one!)
  • tpctl (needed to control some functions of the thinkpad kernel extensions)
  • thinkpad-base
  • acpid
  • waproamd (automatically detects suitable wireless LANs and supports drop-in configuration)
  • ifplugd (automatically detects network connections and brings up your interfaces accordingly)
  • powernowd (Use this OPTIONS line in /etc/init.d/powernowd: OPTIONS="-q -m 0 -l 35 -p 500 -s 200000") and viola, there you got nice, all-automatic speedstepping.
  • bluez-utils (for bluetooth)
  • wireless-tools (for wlan)
  • laptop-mode-tools (see /usr/src/linux/Documentation/laptop-mode.txt for further information)

DO NOT USE:

  • tleds (this package will fuck up your keyboard during network-io and tremendously slow down network throughput)