[ltp] Ubuntu Dapper Drake working fine with Thinkpad T60
Sean Kelley
linux-thinkpad@linux-thinkpad.org
Sat, 17 Jun 2006 19:39:44 -0500
------=_Part_159373_9731794.1150591184582
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi Alfredo,
I have universe, multiverse, and backports enabled in my sources.list
for dapper. I have attached my sources.list
On 6/17/06, Alfredo Matos <alfredo.matos@digitalself.org> wrote:
> Hi, thanks a lot for the tips, but some questions:
>
> > sudo apt-get install sysfs
>
> You mean sudo apt-get install sysfsutils right ?
Yes, my mistake, really meant sysfsutils.
>
> > sudo apt-get install smartctl
>
> here is more like: sudo apt-get install smartmontools, right ?
Sorry, you are correct. I was working from memory.
>
> 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 xorg.conf that I am using was autogenerated by OpenSuse 10.1.
Since it worked so well in OpenSuse with my T60, I just re-used it.
>
> 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).
Done.
Make sure that you use only use linux-image-2.6.15-23-686
There is a bug report fliled with linux-image-2.6.15-25-686.
Sean
>
>
> 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
>
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>
------=_Part_159373_9731794.1150591184582
Content-Type: application/octet-stream; name=sources.list
Content-Transfer-Encoding: base64
X-Attachment-Id: f_eoko2wwy
Content-Disposition: attachment; filename="sources.list"
CmRlYiBodHRwOi8vdXMuY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tYWluIHJlc3RyaWN0ZWQKZGViLXNy
YyBodHRwOi8vc2VjdXJpdHkudWJ1bnR1LmNvbS91YnVudHUgZGFwcGVyLXNlY3VyaXR5IG1haW4g
cmVzdHJpY3RlZAojIGRlYiBodHRwOi8vc2VjdXJpdHkudWJ1bnR1LmNvbS91YnVudHUgZGFwcGVy
LXNlY3VyaXR5IHVuaXZlcnNlCiMgZGViLXNyYyBodHRwOi8vc2VjdXJpdHkudWJ1bnR1LmNvbS91
YnVudHUgZGFwcGVyLXNlY3VyaXR5IHVuaXZlcnNlCgo=
------=_Part_159373_9731794.1150591184582
Content-Type: application/octet-stream; name=sysfs.conf
Content-Transfer-Encoding: base64
X-Attachment-Id: f_eoko36cs
Content-Disposition: attachment; filename="sysfs.conf"
IwojIC9ldGMvc3lzZnMuY29uZiAtIENvbmZpZ3VyYXRpb24gZmlsZSBmb3Igc2V0dGluZyBzeXNm
cyBhdHRyaWJ1dGVzLgojCiMgVGhlIHN5c2ZzIG1vdW50IGRpcmVjdG9yeSBpcyBhdXRvbWF0aWNh
bGx5IHByZXBlbmRlZCB0byB0aGUgYXR0cmlidXRlIHBhdGhzLgojCiMgU3ludGF4OgojIGF0dHJp
YnV0ZSA9IHZhbHVlCiMgbW9kZSBhdHRyaWJ1dGUgPSAwNjAwICMgKGFueSB2YWxpZCBhcmd1bWVu
dCBmb3IgY2htb2QpCiMgb3duZXIgYXR0cmlidXRlID0gcm9vdDp3aGVlbCAjIChhbnkgdmFsaWQg
YXJndW1lbnQgZm9yIGNob3duKQojCiMgRXhhbXBsZXM6CiMKIyBBbHdheXMgdXNlIHRoZSBwb3dl
cnNhdmUgQ1BVIGZyZXF1ZW5jeSBnb3Zlcm5vcgpkZXZpY2VzL3N5c3RlbS9jcHUvY3B1MC9jcHVm
cmVxL3NjYWxpbmdfZ292ZXJub3I9cG93ZXJzYXZlCmRldmljZXMvc3lzdGVtL2NwdS9jcHUxL2Nw
dWZyZXEvc2NhbGluZ19nb3Zlcm5vcj1w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