[ltp] Ubuntu Dapper Drake working fine with Thinkpad T60

Alfredo Matos linux-thinkpad@linux-thinkpad.org
Sat, 17 Jun 2006 20:46:24 +0100


Hi, thanks a lot for the tips, but some questions:

> sudo apt-get install sysfs

You mean sudo apt-get install sysfsutils right ?

> sudo apt-get install smartctl

here is more like: sudo apt-get install smartmontools, right ?

And one more question, could your add a few comments on the xorg.conf
file, so that i know what is relevant ? Thank would be nice for
comprehension purposes, at least :).

The last issue, could you re-attach the sysfs.conf file ? It didn't make
it on the last email (at least on my side).


Best regards, and thanks again for the useful info !

Alfredo Matos



Sean Kelley wrote:
> 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