Difference between revisions of "Installing Ubuntu/Breezy on a ThinkPad T42"

From ThinkWiki
Jump to: navigation, search
(Kernel support)
(Xorg)
Line 51: Line 51:
  
 
==Xorg==
 
==Xorg==
{{Todo|Xorg configuration}}
+
 
 +
Relevant part:
 +
Section "InputDevice"
 +
Identifier "Configured Mouse"
 +
Driver "mouse"
 +
Option "CorePointer"
 +
Option "Device" "/dev/input/mice"
 +
Option "Protocol" "ImPS/2"
 +
Option "Emulate3Buttons" "true"
 +
Option "EmulateWheel" "true"
 +
Option "EmulateWheelButton" "2"
 +
Option "ZAxisMapping" "4 5"
 +
EndSection
 +
 +
Section "InputDevice"
 +
Identifier "Synaptics Touchpad"
 +
Driver "synaptics"
 +
Option "SendCoreEvents" "true"
 +
Option "Device" "/dev/psaux"
 +
Option "Protocol" "auto-dev"
 +
Option "HorizScrollDelta" "0"
 +
EndSection
 +
 +
Section "Device"
 +
Identifier "ATI Technologies, Inc. Radeon Mobility 7500 (M7 LW)"
 +
Driver "radeon"
 +
BusID "PCI:1:0:0"
 +
Option "DynamicClocks" "off"
 +
Option "AGPMode" "4"
 +
Option "AGPFastWrite" "yes"
 +
EndSection
 +
 
 
{{WARN|Options DynamicClocks "on" may hang your machine}}
 
{{WARN|Options DynamicClocks "on" may hang your machine}}
  

Revision as of 21:58, 13 October 2005

Generel installation

Here comes installation instructions for Ubuntu Breezy Badger on T42 2374-ZEP.

Get a copy of Ubuntu from UbuntuLinux.org.

Kernel support

How to get the correct kernel: {{{2}}} sudo apt-get linux-i686

Kernel modules

TODO
Load the different kernel modules, and their configuration

Importent to turn off dynamicClocks in radeonfb in kernels before 2.6.14: /etc/modprobe.d/radeonfb.modprobe:

options radeonfb default_dynclk=-1

ibm_acpi module:

Turning on experimental features: /etc/modprobe.d/ibm_acpi.modprobe:

options ibm_acpi hotkey=enable,0xff9f experimental=1

Starting with wireless off: /etc/modprobe.d/ipw2100.modprobe:

options ipw2100 disable=1

ACPI

TODO
Hibernate, suspend, buttons, lid, speedstep

Modification to turn on wireless: /etc/acpi/wireless.sh:

#!/bin/bash
# Find and enable/disable wireless devices

for DEVICE in /sys/class/net/*; do
    if [ -d $DEVICE/wireless ]; then
# $DEVICE is a wireless device. Check if it's powered on:
	if [ `cat $DEVICE/device/power/state` = 0 ]; then
# It's powered on. Switch it off.
	    echo -n 3 > $DEVICE/device/power/state;
	    echo 0
	else
# It's powered off. Switch it on.
	    echo -n 0 > $DEVICE/device/power/state;
	    echo -n 0 > $DEVICE/device/rf_kill;
	    echo 1
	fi
    fi
done

Xorg

Relevant part:

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"EmulateWheel"		"true"
	Option		"EmulateWheelButton"	"2"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

Section "Device"
	Identifier	"ATI Technologies, Inc. Radeon Mobility 7500 (M7 LW)"
	Driver		"radeon"
	BusID		"PCI:1:0:0"
	Option		"DynamicClocks"	"off"
	Option		"AGPMode"	"4"
	Option		"AGPFastWrite"	"yes"
EndSection
ATTENTION!
Options DynamicClocks "on" may hang your machine

Initng

TODO
Speed up the boot/shutdown process with Initng

Very great initiative for optimizing the boot process. Initng

Helpfull tools

TODO
rovclock among others

Known problems

TODO
List of bugs from kernel, Xorg and Ubuntu