Difference between revisions of "Installing Debian 3.1 (Sarge) (alternative) on a ThinkPad T42"

From ThinkWiki
Jump to: navigation, search
Line 7: Line 7:
 
== Kernel ==
 
== Kernel ==
 
   
 
   
* Set preemptive kernel
+
* Set preemptive kernel
* Add madwifi
+
* Add madwifi
* Add patch from: http://bugme.osdl.org/show_bug.cgi?id=3022 , adding the 2373VUW model
+
* Add patch from: http://bugme.osdl.org/show_bug.cgi?id=3022 , adding the 2373VUW model
* Add swsusp
+
* Add swsusp
* {{cmduser||make-kpkg --append-to-version -t42 --initrd kernel_image modules_image}}
+
* {{cmduser||make-kpkg --append-to-version -t42 --initrd kernel_image modules_image}}
  
 
== Additional packages ==
 
== Additional packages ==
  
* acpid
+
* acpid
* alsa-base, alsa-utils, alsa-oss
+
* alsa-base, alsa-utils, alsa-oss
* anacron
+
* anacron
* gnome-volume-manager
+
* gnome-volume-manager
* libc6-i686
+
* libc6-i686
* tpb for OSD display of IBM keys and remapping the Access IBM key
+
* tpb for OSD display of IBM keys and remapping the Access IBM key
  
 
== Frequency scaling ==
 
== Frequency scaling ==
 
   
 
   
* Load modules: cpufreq_ondemand, speedstep-centrino
+
* Load modules: cpufreq_ondemand, speedstep-centrino
* Add the following to your startup sequence {{cmdroot|echo >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand}}
+
* Add the following to your startup sequence {{cmdroot|echo >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand}}
  
 
== HDAPS ==
 
== HDAPS ==
  
* Add module hdaps
+
* Add module hdaps
* Add package hdaps-utils
+
* Add package hdaps-utils
  
 
== Additional modules ==
 
== Additional modules ==
  
* ibm_acpi
+
* ibm_acpi
* nvram
+
* nvram
  
 
== ACPID ==
 
== ACPID ==
  
* To map Fn-F4 (suspend) and Fn-F12 (hibernate)
+
* To map Fn-F4 (suspend) and Fn-F12 (hibernate)
  
 
{{cmduser|cat /etc/acpi/events/ibm}}
 
{{cmduser|cat /etc/acpi/events/ibm}}
Line 59: Line 59:
 
ifup ath0
 
ifup ath0
 
</verbatim>
 
</verbatim>
  * Add echo enable >/proc/acpi/ibm/hotkey to enable hotkey reporting to ACPI
+
* Add echo enable >/proc/acpi/ibm/hotkey to enable hotkey reporting to ACPI
* GRUB:
 
* Add resume=<swap device> so that the system finds the hibernated ram on power up
 
* Add a noresume option to boot without recovering the hibernation
 
  
* Caveats
+
== GRUB ==
  * Using cifs causes hiccups suspending/hibernating, use smbnetfs
+
 
 +
* Add resume=<swap device> so that the system finds the hibernated ram on power up
 +
* Add a noresume option to boot without recovering the hibernation
 +
 
 +
== Caveats ==
 +
 
 +
* Using cifs causes hiccups suspending/hibernating, use smbnetfs

Revision as of 20:20, 27 November 2005

Some notes I took for my install:

IBM THINKPAD T42 (2373VUW)

I installed Debian Sarge (testing with selected packages from unstable/experimental).

Kernel

Additional packages

  • acpid
  • alsa-base, alsa-utils, alsa-oss
  • anacron
  • gnome-volume-manager
  • libc6-i686
  • tpb for OSD display of IBM keys and remapping the Access IBM key

Frequency scaling

  • Load modules: cpufreq_ondemand, speedstep-centrino
  • Add the following to your startup sequence # echo >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand

HDAPS

  • Add module hdaps
  • Add package hdaps-utils

Additional modules

  • ibm_acpi
  • nvram

ACPID

  • To map Fn-F4 (suspend) and Fn-F12 (hibernate)

$ cat /etc/acpi/events/ibm {{{1}}} alex@armitage:~$ cat /etc/acpi/ibm.sh

  1. !/bin/sh

case $4 in

       00001004) /usr/local/sbin/suspend.sh mem ;;
       0000100c) /usr/local/sbin/suspend.sh disk ;;

esac

alex@armitage:~$ cat /usr/local/sbin/suspend.sh

  1. !/bin/sh

ifdown ath0 echo -n $1 >/sys/power/state ifup ath0 </verbatim>

  • Add echo enable >/proc/acpi/ibm/hotkey to enable hotkey reporting to ACPI

GRUB

  • Add resume=<swap device> so that the system finds the hibernated ram on power up
  • Add a noresume option to boot without recovering the hibernation

Caveats

  • Using cifs causes hiccups suspending/hibernating, use smbnetfs