|
Introduction
Since quite a while I own an IBM Thinkpad R50. I installed Debian Sarge (Testing) and consulted many homepages about Linux on Thinkpads.
Here I want to place some links and some information about what I did in difference to the sites I visited, because I had to
configure some stuff that I did not find one any other site so far (which may of course be my fault ...).
But first, some references, you might want to visit first:
References:
- Installing Debian/Sid on a Thinkpad R50 - ThinkWiki
- Linux on the IBM ThinkPad R50
- Installation of SuSE 9.1 on IBM Thinkpad R50
- Linux on an IBM r50p
- Debian GNU/Linux on an IBM ThinkPad T40p
- Linux on the IBM Thinkpad T40
- ibm-acpi - IBM ThinkPad ACPI Extras Driver
- IBM Personal computing support - Fan does not stop and blows out cold air - ThinkPad R50/p
- Software Suspend 2 for Linux
- SoftwareSuspend - HowTo install Software Suspend as Modules in Debian
- How to get special keys to work - ThinkWiki
My configuration, installation and configuration instructions:
Currently, I am running Kernel 2.6.11 from kernel.org and
installed the Software Suspend 2 for Linux-Kernel-Patch.
Until now, no prepackaged 2.6.11-package for Debian is availabe (at least not via apt).
- Kernel-Configuration
- Loaded Modules
-
Installation of Software Suspend 2:
- Download Kernel-Sources
- Download Software Suspend 2
- Compile your kernel. (click for very good HowTo for make-kpkg)
- Add the following lines to /etc/apt/sources.list:
# Software Suspend 2 - Hibernate Script
deb http://cp.yi.org/apt/hibernate ./
|
- Now do apt-get update to update your package list
-
Install the package "hibernate" using: apt-get install hibernate
Now, you have a script "/usr/sbin/hibernate" which can be configured with the
Config-File "/etc/hibernate/hibernate.conf".
Software Suspend 2 did hibernate and wake up fine in text mode, but when hibernating from X, waking up hung.
You have to alter the configuration file:
- Remove the comment "#" in this line: SwitchToTextMode yes
- If you want KDE to lock screen before hibernate, also remove "#" in line LockKDE yes
Here you can find my /etc/hibernate/hibernate.conf.
- Follow the instructions here to offer hibernate to all users
-
Using the lid to initiate Hibernate (hibernate on closing the lid):
-
Load/Unload WLAN Driver using FN-F5
Under Windows, the FN-F5 key combination triggers the WLAN. This behaviour is ok for Linux, too...
- Create the file /etc/acpi/events/fnf5 with content:
event=(button/sleep|ibm/hotkey HKEY 00000080 00001005)
action=/etc/acpi/actions/fnf5.sh
|
- Now create the file /etc/acpi/actions/fnf5.sh with content:
#!/bin/h
# checks, if ipw2100 is loaded and loads/unloads it
result=`lsmod | grep ipw2100`
empty=
if test "$result" = "$empty"
then
# ipw2100 NOT loaded
modprobe ipw2100
else
#ipw2100 loaded
rmmod ipw2100
fi
|
If you use another driver for your WLAN than ipw2100 then replace string ipw2100 with your module name.
- Use "chmod a+x /etc/acpi/actions/fnf5.sh" to make the file executable.
- Now restart acpid with: "/etc/init.d/acpid restart"
Ok, this is it for now. I might update this soon with info about CPU_FREQ but the other sites should help you enough with this...
|