[ltp] Ubuntu Dapper Drake working fine with Thinkpad T60
Sean Kelley
linux-thinkpad@linux-thinkpad.org
Fri, 16 Jun 2006 21:10:02 -0500
------=_Part_149625_29749710.1150510202091
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
having gotten things working well with OpenSuse 10.1, I recently
installed Ubuntu Dapper Drake 6.04 on my new T60 Thinkpad. Overall, I
got everything working well. no need for anything beyond acpi for
power management really. Further, there was no need to patch a
kernel. Here are the steps that I took.
kernel
These laptops are dual core, so let's get the 686-SMP flavor of the
kernel. sudo apt-get install linux-686-smp
video
Dapper has the latest compatible ATI drivers so just use apt. sudo
apt-get install xorg-driver-fglrx fglrx-control
I have also attached my xorg.conf file,
networking
I recommend using the new network manager, it too is available
through apt. sudo apt-get install network-manager-gnome
You will want to edit your /etc/network/interface file and comment out
all interfaces except for the loopback.
auto lo
iface lo inet loopback
#auto eth0
#iface eth0 inet dhcp
#auto eth1
#iface eth1 inet dhcp
#wireless-essid Think Different
#auto eth2
#iface eth2 inet dhcp
#auto ath0
#iface ath0 inet dhcp
#auto wlan0
#iface wlan0 inet dhcp
Power Management
Now that I had both video and networking going smoothly, I decided to
tackle power management. First off, I am sticking with ACPI. It works,
as you will soon find out. You can enable support for sleep in a few
simple steps:
1. Uncomment the line ACPI_SLEEP=true in /etc/default/acpi-support
2. Assign the location of your swap partition to the resume variable
in your default kernel options. Also set your acpi_sleep variable to
s3_bios. All of this is added to the # kopt line of your
/boot/grub/mnu.lst file. Remove the splash variable from the line.
This is important. Here is what my kopt line looks like. Remember to
leave it commented out.
# kopt=root=/dev/sda6 ro resume=/dev/sda5 acpi_sleep=s3_bios
3. Next I want to make use of sysfs to ensure that my cpu scaling mode
is set to my preferences.
sudo apt-get install sysfs
I have attached my sysfs.conf file for you to reference.
4. It will be necessary to get laptop-mode up and running according to my needs.
sudo apt-get install laptop-mode
5. You will also want to install smartctl for monitoring your drive
along with some power-management.
sudo apt-get install smartctl
6. I then modified my /etc/rc.local to make use of these utilities.
/usr/sbin/smartctl -s on -d ata /dev/sda
/sbin/hdparm -S 1 /dev/sda
/usr/bin/touch /var/run/laptop-mode-enabled
/usr/sbin/laptop_mode start
That's it. Video, networking, and power management work like a charm.
Sean
------=_Part_149625_29749710.1150510202091
Content-Type: application/octet-stream; name=xorg.conf
Content-Transfer-Encoding: base64
X-Attachment-Id: f_eojby4ia
Content-Disposition: attachment; filename="xorg.conf"
CiMgLy4uLi8KIyBTYVggZ2VuZXJhdGVkIFgxMSBjb25maWcgZmlsZQojIENyZWF0ZWQgb246IDIw
MDYtMDQtMzBUMTU6MDk6MTQtMDUwMC4KIwojIFZlcnNpb246IDcuMQojIENvbnRhY3Q6IE1hcmN1
cyBTY2hhZWZlciA8c2F4QHN1c2UuZGU+LCAyMDA1CiMgQ29udGFjdDogU2FYLVVzZXIgbGlzdCA8
aHR0cHM6Ly9saXN0cy5iZXJsaW9zLmRlL21haWxtYW4vbGlzdGluZm8vc2F4LXVzZXJzPgojCiMg
QXV0b21hdGljYWxseSBnZW5lcmF0ZWQgYnkgW1NhWDJdICg3LjEpCiMgUExFQVNFIERPIE5PVCBF
RElUIFRISVMgRklMRSEKIwoKU2VjdGlvbiAiU2VydmVyTGF5b3V0IgoJSWRlbnRpZmllciAgICAg
IkxheW91dFthbGxdIgoJU2NyZWVuICAgICAgICAgIlNjcmVlblswXSIgMCAwCglJbnB1dERldmlj
ZSAgICAiS2V5Ym9hcmRbMF0iICJDb3JlS2V5Ym9hcmQiCglJbnB1dERldmljZSAgICAiTW91c2Vb
MV0iICJDb3JlUG9pbnRlciIKCUlucHV0RGV2aWNlICAgICJNb3VzZVszXSIgIlNlbmRDb3JlRXZl
bnRzIgpFbmRTZWN0aW9uCgpTZWN0aW9uICJGaWxlcyIKCUlucHV0RGV2aWNlcyAgICIvZGV2L2dw
bWRhdGEiCglJbnB1dERldmljZXMgICAiL2Rldi9pbnB1dC9taWNlIgoJRm9udFBhdGggICAgICIv
dXN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YXkiCgkJRGVwdGggICAgIDI0CgkJTW9kZXMgICAgIjE0
MDB4MTA1MCIgIjEyODB4MTAyNCIgIjEwMjR4NzY4IiAiODAweDYwMCIKCUVuZFN1YlNlY3Rpb24K
CVN1YlNlY3Rpb24gIkRpc3BsYXkiCgkJRGVwdGggICAgIDgKCQlNb2RlcyAgICAiMTQwMHgxMDUw
IiAiMTI4MHgxMDI0IiAiMTAyNHg3NjgiICI4MDB4NjAwIgoJRW5kU3ViU2VjdGlvbgpFbmRTZWN0
aW9uCgpTZWN0aW9uICJEUkkiCglHcm91cCAgICAgICAgInZpZGVvIgoJTW9kZSAgICAgICAgIDA2
NjAKRW5kU2VjdGlvbgoK
------=_Part_149625_29749710.1150510202091
Content-Type: application/octet-stream; name=sysfs.conf
Content-Transfer-Encoding: base64
X-Attachment-Id: f_eojbycw0
Content-Disposition: attachment; filename="sysfs.conf"
------=_Part_149625_29749710.1150510202091--