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

From ThinkWiki
Jump to: navigation, search
(ACPI)
Line 13: Line 13:
 
===ACPI===
 
===ACPI===
 
{{Todo|Hibernate, suspend, buttons, lid, speedstep}}
 
{{Todo|Hibernate, suspend, buttons, lid, speedstep}}
 +
 +
Modification to turn on wireless:
 +
{{path|/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==
 
==Xorg==

Revision as of 21:34, 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

TODO
How to get the correct kernel

Kernel modules

TODO
Load the different kernel modules, and their configuration

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

TODO
Xorg configuration
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