Difference between revisions of "Installing Debian 7.0 (Wheezy) on a ThinkPad T42"

From ThinkWiki
Jump to: navigation, search
(Sleep and Hibernate: stuff)
(tweak again)
Line 25: Line 25:
  
 
==Sleep and Hibernate==
 
==Sleep and Hibernate==
Sleep and hibernate do not work out of the box.  First make sure the ''nvram'' and ''ibm_acpi'' kernel modules are loaded by doing
+
Sleep and hibernate do not work out of the box.   
 +
 
 +
 
 +
First make sure the ''nvram'' and ''ibm_acpi'' kernel modules are loaded by doing
 
   {{cmdroot | modprobe nvram}}
 
   {{cmdroot | modprobe nvram}}
   {{cmdroot | modprobe ibm_acpi}}
+
   {{cmdroot | modprobe thinkpad_acpi}}
 
and then add these to {{path|/etc/modules}}.
 
and then add these to {{path|/etc/modules}}.
   {{cmdroot|echo "ibm_acpi" >>/etc/modules}}
+
   {{cmdroot|echo "thinkpad_acpi" >>/etc/modules}}
 
   {{cmdroot|echo "nvram" >>/etc/modules}}
 
   {{cmdroot|echo "nvram" >>/etc/modules}}
 
Next, go to {{path|/etc/modprobe.d}} and look at the file radeon-kms.conf.  There should be one line in there that reads:
 
Next, go to {{path|/etc/modprobe.d}} and look at the file radeon-kms.conf.  There should be one line in there that reads:
Line 35: Line 38:
 
That '1' there turns on KMS mode for the video interface.  This does not work with the T42.  Change that '1' to '0'.
 
That '1' there turns on KMS mode for the video interface.  This does not work with the T42.  Change that '1' to '0'.
 
   {{cmdroot|echo "options radeon modeset=0" > /etc/modprobe.d/radeon-kms.conf}}
 
   {{cmdroot|echo "options radeon modeset=0" > /etc/modprobe.d/radeon-kms.conf}}
 +
 +
==Other Things==
 +
The ''thinkfan'' package may be desirable for exerting finer control over the CPU fan.
  
 
{{todo|Incomplete}}
 
{{todo|Incomplete}}

Revision as of 02:29, 25 March 2013

The machine

This is a T42 that I ordered brand-new from IBM shortly before the Thinkpad line was sold to Lenovo. Various parts have been changed and upgraded from the stock configuration. This is its current configuration.

  • Intel Pentium M 1.70GHz
  • 2G RAM
  • Fujitsu MHU2100AT HD (100G)
  • 1024x768 LCD panel
  • CDRW/DVD combo: HL-DT-ST RW/DVD (fixme)
  • ATI Mobility Radeon 9600
  • Intel PRO/Wireless 2200BG (verify)
  • BIOS version 3.23 (verify)
TODO
I need to verify this information with a reboot

Installation

I installed Debian 7.0 (Wheezy) from a bootable flash drive. The process of creating bootable flash drive is described here. It is helpful the non-free firmware package and wifi firmware to this drive so wifi can work as soon as you're done installing. The install process is uneventful. You will end up with a bootable and usable system.

When you boot into the new system, go to here and create a sources.list file that's suitable for your geographic location and software needs. I highly reccomend that you select at least Main, Contrib, Non-free, and Security. Put the resulting text in /etc/apt/sources.list and comment out or delete references to a CD repository. Now, if you didn't add them to the flash drive, install firmware-linux-nonfree and firmware-ipw2x00_0 by doing # apt-get install firmware-linux-nonfree firmware-ipw2x00_0. The sudo package appears to be standard now. Make sure your username is in the sudo group.


Wireless

I prefer using wicd for controlling network connections. Doing the following as root should install all you need for that # apt-get install wicd-cli wicd-curses wicd-gtk You will need to explicitly tell wicd the name of your wireless device name. It won't guess. Go to Preferences and you'll see a section labeled "Network Interfaces". The "Wireless Interface" field is blank. Put eth1 there.


Sleep and Hibernate

Sleep and hibernate do not work out of the box.


First make sure the nvram and ibm_acpi kernel modules are loaded by doing

 #  modprobe nvram
 #  modprobe thinkpad_acpi

and then add these to /etc/modules.

 # echo "thinkpad_acpi" >>/etc/modules
 # echo "nvram" >>/etc/modules

Next, go to /etc/modprobe.d and look at the file radeon-kms.conf. There should be one line in there that reads:

options radeon modeset=1

That '1' there turns on KMS mode for the video interface. This does not work with the T42. Change that '1' to '0'.

 # echo "options radeon modeset=0" > /etc/modprobe.d/radeon-kms.conf

Other Things

The thinkfan package may be desirable for exerting finer control over the CPU fan.

TODO
Incomplete