<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Frobnitzem</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Frobnitzem"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Frobnitzem"/>
	<updated>2026-05-06T21:36:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30782</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30782"/>
		<updated>2007-06-26T17:14:37Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: /* X11 Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you compiled it as a module, add radeonfb to /etc/rc.d/rc.modules.''' if you are not sure the initrd will work or you don't want to login and type ''modprobe radeonfb'' blind.&lt;br /&gt;
# make &amp;amp;&amp;amp; make modules&lt;br /&gt;
# make modules_install &lt;br /&gt;
# cd /boot&lt;br /&gt;
# cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
# rm vmlinuz&lt;br /&gt;
# ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
# ln vmlinuz-ide-2.4.33.3 vmlinuz.old&lt;br /&gt;
# mkinitrd -c -o /boot/initrd-2.6.17.13-Farfrumlernen.img -m radeonfb:anothermodule -k 2.6.17.13-Farfrumlernen&lt;br /&gt;
# ln initrd-2.6.17.13-Farfrumlernen.gz initrd.gz&lt;br /&gt;
# vi /etc/lilo.conf&lt;br /&gt;
# lilo # see [[#Lilo Options|'''lilo options''']]&lt;br /&gt;
# reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
The hibernate script requires the LZW module in the encryption section of the kernel config and recomments copying rc.hibernate-cleanup to /etc/rc.d.&lt;br /&gt;
&lt;br /&gt;
There is also a kernel patch to fix power [http://bugme.osdl.org/show_bug.cgi?id=3022 http://bugme.osdl.org/show_bug.cgi?id=3022] issues with the radeonfb module, but I had to manually add in some of the patch, since the kernel versions don't exactly jive.&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.  You will have to ''removepkg'' and ''installpkg'' the kernel each time you do this if you have installed the latest ipw2200 module from source.  Also, if you want to patch the kernel source to use the suspend2 and/or hdaps drive locking, do it before executing the following steps.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built as a module to avoid conflict with fglrx&lt;br /&gt;
* I built the following directly into the kernel&lt;br /&gt;
** I2C device interface&lt;br /&gt;
** Intel 82801 (ICH) I2C driver&lt;br /&gt;
** e1000 Gbit ethernet driver&lt;br /&gt;
** LZF compression (needed for suspend2)&lt;br /&gt;
&lt;br /&gt;
I gave up trying to guess how slackware is requiring its sound to work, so I recompiled using the original sound module options.  '''Don't do anything to the sound options.'''&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.  You will also need to make an initrd, since radeonfb is now a module.&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== Lilo Options ===&lt;br /&gt;
Here is a printout of my lilo.conf file.  Notice the cheat codes I pass to the kernel boot propmt in the append= line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# LILO configuration file&lt;br /&gt;
# Start LILO global section&lt;br /&gt;
boot = /dev/hda&lt;br /&gt;
message = /boot/boot_message.txt&lt;br /&gt;
prompt&lt;br /&gt;
timeout = 1200&lt;br /&gt;
# Override dangerous defaults that rewrite the partition table:&lt;br /&gt;
change-rules&lt;br /&gt;
  reset&lt;br /&gt;
# VESA framebuffer console @ 800x600x256&lt;br /&gt;
vga = 771&lt;br /&gt;
# Normal VGA console&lt;br /&gt;
# vga = normal&lt;br /&gt;
&lt;br /&gt;
# End LILO global section&lt;br /&gt;
# Windows bootable partition config begins&lt;br /&gt;
other = /dev/hda1&lt;br /&gt;
  label = Windows&lt;br /&gt;
  table = /dev/hda&lt;br /&gt;
# Windows bootable partition config ends&lt;br /&gt;
# Linux bootable partition config begins&lt;br /&gt;
image = /boot/vmlinuz&lt;br /&gt;
  root = /dev/hda6&lt;br /&gt;
  label = Linux&lt;br /&gt;
  initrd = /boot/initrd.gz&lt;br /&gt;
  append = &amp;quot;acpi_sleep=s3_bios resume2=swap:/dev/hdaX&amp;quot;&lt;br /&gt;
  read-only&lt;br /&gt;
# Linux bootable partition config ends&lt;br /&gt;
&lt;br /&gt;
image = /boot/vmlinuz.old&lt;br /&gt;
 root = /dev/hda6&lt;br /&gt;
 label = Linux-2.4.33.3&lt;br /&gt;
 read-only&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace /dev/hdaX with your own swap partition please.&lt;br /&gt;
&lt;br /&gt;
=== rc.modules thinkpad-specific modules ===&lt;br /&gt;
My /etc/rc.d/rc.modules file includes the following lines to load some modules that are not found automatically:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/modprobe agpgart # this is already in the file around line 88 and required by ATI's fglrx module.&lt;br /&gt;
&lt;br /&gt;
#/sbin/modprobe radeonfb # I don't need these two because initrd loads them&lt;br /&gt;
#/sbin/modprobe psmouse # or they are compiled into the kernel.&lt;br /&gt;
/sbin/modprobe nvram&lt;br /&gt;
/sbin/modprobe hdaps&lt;br /&gt;
/sbin/modprobe tp_smapi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== WiFi ==&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
## edit the Makefile for this package before the usual ''make &amp;amp;&amp;amp; make install'' if you want to enable promiscuous and radiotap functionality, which seems to work fine on my system.&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
If you don't like the default behavior of attempting to connect to any wireless network on boot-up, make rc.wireless nonexecutable: ''chmod 644 /etc/rc.d/rc.wireless''.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing -- call hibernate whenever you feel the need&lt;br /&gt;
* radeontool is not necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.  Slackware 11 doesn't come with dmidecode [http://download.savannah.gnu.org/releases/dmidecode/], required by the Makefile of tp_smapi, so you will have to install this first.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
Re-installed free-type and webcore fonts, as suggested in [http://avi.alkalay.net/linux/docs/font-howto/Font.html Optimal Use of Fonts on Linux].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
* Enable shared memory via /dev/shm by adding the following to /etc/fstab and mounting tmpfs&lt;br /&gt;
 tmpfs   /dev/shm   tmpfs   defaults   0   0&lt;br /&gt;
&lt;br /&gt;
Currently gave up on [http://wiki.beryl-project.org/wiki/Install_Beryl_on_Slackware Beryl], which does not find the packages it need in the Slackware distro.&lt;br /&gt;
Needs at least:&lt;br /&gt;
* X11 7.1&lt;br /&gt;
* beryl-xgl to work with fglrx&lt;br /&gt;
** requires older beryl-mesa, but beryl-core seems incompatible...&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30773</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30773"/>
		<updated>2007-06-26T15:06:01Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: /* Updating the Kernel to 2.6.x */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you compiled it as a module, add radeonfb to /etc/rc.d/rc.modules.''' if you are not sure the initrd will work or you don't want to login and type ''modprobe radeonfb'' blind.&lt;br /&gt;
# make &amp;amp;&amp;amp; make modules&lt;br /&gt;
# make modules_install &lt;br /&gt;
# cd /boot&lt;br /&gt;
# cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
# rm vmlinuz&lt;br /&gt;
# ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
# ln vmlinuz-ide-2.4.33.3 vmlinuz.old&lt;br /&gt;
# mkinitrd -c -o /boot/initrd-2.6.17.13-Farfrumlernen.img -m radeonfb:anothermodule -k 2.6.17.13-Farfrumlernen&lt;br /&gt;
# ln initrd-2.6.17.13-Farfrumlernen.gz initrd.gz&lt;br /&gt;
# vi /etc/lilo.conf&lt;br /&gt;
# lilo # see [[#Lilo Options|'''lilo options''']]&lt;br /&gt;
# reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
The hibernate script requires the LZW module in the encryption section of the kernel config and recomments copying rc.hibernate-cleanup to /etc/rc.d.&lt;br /&gt;
&lt;br /&gt;
There is also a kernel patch to fix power [http://bugme.osdl.org/show_bug.cgi?id=3022 http://bugme.osdl.org/show_bug.cgi?id=3022] issues with the radeonfb module, but I had to manually add in some of the patch, since the kernel versions don't exactly jive.&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.  You will have to ''removepkg'' and ''installpkg'' the kernel each time you do this if you have installed the latest ipw2200 module from source.  Also, if you want to patch the kernel source to use the suspend2 and/or hdaps drive locking, do it before executing the following steps.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built as a module to avoid conflict with fglrx&lt;br /&gt;
* I built the following directly into the kernel&lt;br /&gt;
** I2C device interface&lt;br /&gt;
** Intel 82801 (ICH) I2C driver&lt;br /&gt;
** e1000 Gbit ethernet driver&lt;br /&gt;
** LZF compression (needed for suspend2)&lt;br /&gt;
&lt;br /&gt;
I gave up trying to guess how slackware is requiring its sound to work, so I recompiled using the original sound module options.  '''Don't do anything to the sound options.'''&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.  You will also need to make an initrd, since radeonfb is now a module.&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== Lilo Options ===&lt;br /&gt;
Here is a printout of my lilo.conf file.  Notice the cheat codes I pass to the kernel boot propmt in the append= line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# LILO configuration file&lt;br /&gt;
# Start LILO global section&lt;br /&gt;
boot = /dev/hda&lt;br /&gt;
message = /boot/boot_message.txt&lt;br /&gt;
prompt&lt;br /&gt;
timeout = 1200&lt;br /&gt;
# Override dangerous defaults that rewrite the partition table:&lt;br /&gt;
change-rules&lt;br /&gt;
  reset&lt;br /&gt;
# VESA framebuffer console @ 800x600x256&lt;br /&gt;
vga = 771&lt;br /&gt;
# Normal VGA console&lt;br /&gt;
# vga = normal&lt;br /&gt;
&lt;br /&gt;
# End LILO global section&lt;br /&gt;
# Windows bootable partition config begins&lt;br /&gt;
other = /dev/hda1&lt;br /&gt;
  label = Windows&lt;br /&gt;
  table = /dev/hda&lt;br /&gt;
# Windows bootable partition config ends&lt;br /&gt;
# Linux bootable partition config begins&lt;br /&gt;
image = /boot/vmlinuz&lt;br /&gt;
  root = /dev/hda6&lt;br /&gt;
  label = Linux&lt;br /&gt;
  initrd = /boot/initrd.gz&lt;br /&gt;
  append = &amp;quot;acpi_sleep=s3_bios resume2=swap:/dev/hdaX&amp;quot;&lt;br /&gt;
  read-only&lt;br /&gt;
# Linux bootable partition config ends&lt;br /&gt;
&lt;br /&gt;
image = /boot/vmlinuz.old&lt;br /&gt;
 root = /dev/hda6&lt;br /&gt;
 label = Linux-2.4.33.3&lt;br /&gt;
 read-only&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace /dev/hdaX with your own swap partition please.&lt;br /&gt;
&lt;br /&gt;
=== rc.modules thinkpad-specific modules ===&lt;br /&gt;
My /etc/rc.d/rc.modules file includes the following lines to load some modules that are not found automatically:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/modprobe agpgart # this is already in the file around line 88 and required by ATI's fglrx module.&lt;br /&gt;
&lt;br /&gt;
#/sbin/modprobe radeonfb # I don't need these two because initrd loads them&lt;br /&gt;
#/sbin/modprobe psmouse # or they are compiled into the kernel.&lt;br /&gt;
/sbin/modprobe nvram&lt;br /&gt;
/sbin/modprobe hdaps&lt;br /&gt;
/sbin/modprobe tp_smapi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== WiFi ==&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
## edit the Makefile for this package before the usual ''make &amp;amp;&amp;amp; make install'' if you want to enable promiscuous and radiotap functionality, which seems to work fine on my system.&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
If you don't like the default behavior of attempting to connect to any wireless network on boot-up, make rc.wireless nonexecutable: ''chmod 644 /etc/rc.d/rc.wireless''.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing -- call hibernate whenever you feel the need&lt;br /&gt;
* radeontool is not necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.  Slackware 11 doesn't come with dmidecode [http://download.savannah.gnu.org/releases/dmidecode/], required by the Makefile of tp_smapi, so you will have to install this first.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
Re-installed free-type and webcore fonts, as suggested in [http://avi.alkalay.net/linux/docs/font-howto/Font.html Optimal Use of Fonts on Linux].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
Currently installing [http://wiki.beryl-project.org/wiki/Install_Beryl_on_Slackware Beryl], which does not find the packages it needs in the Slackware distro., so I am re-installing X11 7.1.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30772</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30772"/>
		<updated>2007-06-26T15:00:08Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: /* WiFi */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you compiled it as a module, make sure to add radeonfb to /etc/rc.d/rc.modules.'''&lt;br /&gt;
# make &amp;amp;&amp;amp; make modules&lt;br /&gt;
# make modules_install &lt;br /&gt;
# cd /boot&lt;br /&gt;
# cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
# rm vmlinuz&lt;br /&gt;
# ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
# ln vmlinuz-ide-2.4.33.3 vmlinuz.old&lt;br /&gt;
# mkinitrd -c -o /boot/initrd-2.6.17.13-Farfrumlernen.img -m radeonfb:anothermodule -k 2.6.17.13-Farfrumlernen&lt;br /&gt;
# ln initrd-2.6.17.13-Farfrumlernen.gz initrd.gz&lt;br /&gt;
# vi /etc/lilo.conf&lt;br /&gt;
# lilo # see [[#Lilo Options|'''lilo options''']]&lt;br /&gt;
# reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
The hibernate script requires the LZW module in the encryption section of the kernel config and recomments copying rc.hibernate-cleanup to /etc/rc.d.&lt;br /&gt;
&lt;br /&gt;
There is also a kernel patch to fix power [http://bugme.osdl.org/show_bug.cgi?id=3022 http://bugme.osdl.org/show_bug.cgi?id=3022] issues with the radeonfb module, but I had to manually add in some of the patch, since the kernel versions don't exactly jive.&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.  You will have to ''removepkg'' and ''installpkg'' the kernel each time you do this if you have installed the latest ipw2200 module from source.  Also, if you want to patch the kernel source to use the suspend2 and/or hdaps drive locking, do it before executing the following steps.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built as a module to avoid conflict with fglrx&lt;br /&gt;
* I built the following directly into the kernel&lt;br /&gt;
** I2C device interface&lt;br /&gt;
** Intel 82801 (ICH) I2C driver&lt;br /&gt;
** e1000 Gbit ethernet driver&lt;br /&gt;
** LZF compression (needed for suspend2)&lt;br /&gt;
&lt;br /&gt;
I gave up trying to guess how slackware is requiring its sound to work, so I recompiled using the original sound module options.  '''Don't do anything to the sound options.'''&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.  You will also need to make an initrd, since radeonfb is now a module.&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== Lilo Options ===&lt;br /&gt;
Here is a printout of my lilo.conf file.  Notice the cheat codes I pass to the kernel boot propmt in the append= line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# LILO configuration file&lt;br /&gt;
# Start LILO global section&lt;br /&gt;
boot = /dev/hda&lt;br /&gt;
message = /boot/boot_message.txt&lt;br /&gt;
prompt&lt;br /&gt;
timeout = 1200&lt;br /&gt;
# Override dangerous defaults that rewrite the partition table:&lt;br /&gt;
change-rules&lt;br /&gt;
  reset&lt;br /&gt;
# VESA framebuffer console @ 800x600x256&lt;br /&gt;
vga = 771&lt;br /&gt;
# Normal VGA console&lt;br /&gt;
# vga = normal&lt;br /&gt;
&lt;br /&gt;
# End LILO global section&lt;br /&gt;
# Windows bootable partition config begins&lt;br /&gt;
other = /dev/hda1&lt;br /&gt;
  label = Windows&lt;br /&gt;
  table = /dev/hda&lt;br /&gt;
# Windows bootable partition config ends&lt;br /&gt;
# Linux bootable partition config begins&lt;br /&gt;
image = /boot/vmlinuz&lt;br /&gt;
  root = /dev/hda6&lt;br /&gt;
  label = Linux&lt;br /&gt;
  initrd = /boot/initrd.gz&lt;br /&gt;
  append = &amp;quot;acpi_sleep=s3_bios resume2=swap:/dev/hdaX&amp;quot;&lt;br /&gt;
  read-only&lt;br /&gt;
# Linux bootable partition config ends&lt;br /&gt;
&lt;br /&gt;
image = /boot/vmlinuz.old&lt;br /&gt;
 root = /dev/hda6&lt;br /&gt;
 label = Linux-2.4.33.3&lt;br /&gt;
 read-only&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace /dev/hdaX with your own swap partition please.&lt;br /&gt;
&lt;br /&gt;
== WiFi ==&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
## edit the Makefile for this package before the usual ''make &amp;amp;&amp;amp; make install'' if you want to enable promiscuous and radiotap functionality, which seems to work fine on my system.&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
If you don't like the default behavior of attempting to connect to any wireless network on boot-up, make rc.wireless nonexecutable: ''chmod 644 /etc/rc.d/rc.wireless''.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing -- call hibernate whenever you feel the need&lt;br /&gt;
* radeontool is not necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.  Slackware 11 doesn't come with dmidecode [http://download.savannah.gnu.org/releases/dmidecode/], required by the Makefile of tp_smapi, so you will have to install this first.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
Re-installed free-type and webcore fonts, as suggested in [http://avi.alkalay.net/linux/docs/font-howto/Font.html Optimal Use of Fonts on Linux].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
Currently installing [http://wiki.beryl-project.org/wiki/Install_Beryl_on_Slackware Beryl], which does not find the packages it needs in the Slackware distro., so I am re-installing X11 7.1.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30771</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30771"/>
		<updated>2007-06-26T14:58:39Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: /* Special Module Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you compiled it as a module, make sure to add radeonfb to /etc/rc.d/rc.modules.'''&lt;br /&gt;
# make &amp;amp;&amp;amp; make modules&lt;br /&gt;
# make modules_install &lt;br /&gt;
# cd /boot&lt;br /&gt;
# cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
# rm vmlinuz&lt;br /&gt;
# ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
# ln vmlinuz-ide-2.4.33.3 vmlinuz.old&lt;br /&gt;
# mkinitrd -c -o /boot/initrd-2.6.17.13-Farfrumlernen.img -m radeonfb:anothermodule -k 2.6.17.13-Farfrumlernen&lt;br /&gt;
# ln initrd-2.6.17.13-Farfrumlernen.gz initrd.gz&lt;br /&gt;
# vi /etc/lilo.conf&lt;br /&gt;
# lilo # see [[#Lilo Options|'''lilo options''']]&lt;br /&gt;
# reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
The hibernate script requires the LZW module in the encryption section of the kernel config and recomments copying rc.hibernate-cleanup to /etc/rc.d.&lt;br /&gt;
&lt;br /&gt;
There is also a kernel patch to fix power [http://bugme.osdl.org/show_bug.cgi?id=3022 http://bugme.osdl.org/show_bug.cgi?id=3022] issues with the radeonfb module, but I had to manually add in some of the patch, since the kernel versions don't exactly jive.&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.  You will have to ''removepkg'' and ''installpkg'' the kernel each time you do this if you have installed the latest ipw2200 module from source.  Also, if you want to patch the kernel source to use the suspend2 and/or hdaps drive locking, do it before executing the following steps.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built as a module to avoid conflict with fglrx&lt;br /&gt;
* I built the following directly into the kernel&lt;br /&gt;
** I2C device interface&lt;br /&gt;
** Intel 82801 (ICH) I2C driver&lt;br /&gt;
** e1000 Gbit ethernet driver&lt;br /&gt;
** LZF compression (needed for suspend2)&lt;br /&gt;
&lt;br /&gt;
I gave up trying to guess how slackware is requiring its sound to work, so I recompiled using the original sound module options.  '''Don't do anything to the sound options.'''&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.  You will also need to make an initrd, since radeonfb is now a module.&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== Lilo Options ===&lt;br /&gt;
Here is a printout of my lilo.conf file.  Notice the cheat codes I pass to the kernel boot propmt in the append= line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# LILO configuration file&lt;br /&gt;
# Start LILO global section&lt;br /&gt;
boot = /dev/hda&lt;br /&gt;
message = /boot/boot_message.txt&lt;br /&gt;
prompt&lt;br /&gt;
timeout = 1200&lt;br /&gt;
# Override dangerous defaults that rewrite the partition table:&lt;br /&gt;
change-rules&lt;br /&gt;
  reset&lt;br /&gt;
# VESA framebuffer console @ 800x600x256&lt;br /&gt;
vga = 771&lt;br /&gt;
# Normal VGA console&lt;br /&gt;
# vga = normal&lt;br /&gt;
&lt;br /&gt;
# End LILO global section&lt;br /&gt;
# Windows bootable partition config begins&lt;br /&gt;
other = /dev/hda1&lt;br /&gt;
  label = Windows&lt;br /&gt;
  table = /dev/hda&lt;br /&gt;
# Windows bootable partition config ends&lt;br /&gt;
# Linux bootable partition config begins&lt;br /&gt;
image = /boot/vmlinuz&lt;br /&gt;
  root = /dev/hda6&lt;br /&gt;
  label = Linux&lt;br /&gt;
  initrd = /boot/initrd.gz&lt;br /&gt;
  append = &amp;quot;acpi_sleep=s3_bios resume2=swap:/dev/hdaX&amp;quot;&lt;br /&gt;
  read-only&lt;br /&gt;
# Linux bootable partition config ends&lt;br /&gt;
&lt;br /&gt;
image = /boot/vmlinuz.old&lt;br /&gt;
 root = /dev/hda6&lt;br /&gt;
 label = Linux-2.4.33.3&lt;br /&gt;
 read-only&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace /dev/hdaX with your own swap partition please.&lt;br /&gt;
&lt;br /&gt;
== WiFi ==&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
If you don't like the default behavior of attempting to connect to any wireless network on boot-up, make rc.wireless nonexecutable: ''chmod 644 /etc/rc.d/rc.wireless''.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing -- call hibernate whenever you feel the need&lt;br /&gt;
* radeontool is not necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.  Slackware 11 doesn't come with dmidecode [http://download.savannah.gnu.org/releases/dmidecode/], required by the Makefile of tp_smapi, so you will have to install this first.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
Re-installed free-type and webcore fonts, as suggested in [http://avi.alkalay.net/linux/docs/font-howto/Font.html Optimal Use of Fonts on Linux].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
Currently installing [http://wiki.beryl-project.org/wiki/Install_Beryl_on_Slackware Beryl], which does not find the packages it needs in the Slackware distro., so I am re-installing X11 7.1.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30770</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30770"/>
		<updated>2007-06-26T14:57:57Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: /* X11 Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you compiled it as a module, make sure to add radeonfb to /etc/rc.d/rc.modules.'''&lt;br /&gt;
# make &amp;amp;&amp;amp; make modules&lt;br /&gt;
# make modules_install &lt;br /&gt;
# cd /boot&lt;br /&gt;
# cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
# rm vmlinuz&lt;br /&gt;
# ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
# ln vmlinuz-ide-2.4.33.3 vmlinuz.old&lt;br /&gt;
# mkinitrd -c -o /boot/initrd-2.6.17.13-Farfrumlernen.img -m radeonfb:anothermodule -k 2.6.17.13-Farfrumlernen&lt;br /&gt;
# ln initrd-2.6.17.13-Farfrumlernen.gz initrd.gz&lt;br /&gt;
# vi /etc/lilo.conf&lt;br /&gt;
# lilo # see [[#Lilo Options|'''lilo options''']]&lt;br /&gt;
# reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
The hibernate script requires the LZW module in the encryption section of the kernel config and recomments copying rc.hibernate-cleanup to /etc/rc.d.&lt;br /&gt;
&lt;br /&gt;
There is also a kernel patch to fix power [http://bugme.osdl.org/show_bug.cgi?id=3022 http://bugme.osdl.org/show_bug.cgi?id=3022] issues with the radeonfb module, but I had to manually add in some of the patch, since the kernel versions don't exactly jive.&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.  You will have to ''removepkg'' and ''installpkg'' the kernel each time you do this if you have installed the latest ipw2200 module from source.  Also, if you want to patch the kernel source to use the suspend2 and/or hdaps drive locking, do it before executing the following steps.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built as a module to avoid conflict with fglrx&lt;br /&gt;
* I built the following directly into the kernel&lt;br /&gt;
** I2C device interface&lt;br /&gt;
** Intel 82801 (ICH) I2C driver&lt;br /&gt;
** e1000 Gbit ethernet driver&lt;br /&gt;
** LZF compression (needed for suspend2)&lt;br /&gt;
&lt;br /&gt;
I gave up trying to guess how slackware is requiring its sound to work, so I recompiled using the original sound module options.  '''Don't do anything to the sound options.'''&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.  You will also need to make an initrd, since radeonfb is now a module.&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== Lilo Options ===&lt;br /&gt;
Here is a printout of my lilo.conf file.  Notice the cheat codes I pass to the kernel boot propmt in the append= line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# LILO configuration file&lt;br /&gt;
# Start LILO global section&lt;br /&gt;
boot = /dev/hda&lt;br /&gt;
message = /boot/boot_message.txt&lt;br /&gt;
prompt&lt;br /&gt;
timeout = 1200&lt;br /&gt;
# Override dangerous defaults that rewrite the partition table:&lt;br /&gt;
change-rules&lt;br /&gt;
  reset&lt;br /&gt;
# VESA framebuffer console @ 800x600x256&lt;br /&gt;
vga = 771&lt;br /&gt;
# Normal VGA console&lt;br /&gt;
# vga = normal&lt;br /&gt;
&lt;br /&gt;
# End LILO global section&lt;br /&gt;
# Windows bootable partition config begins&lt;br /&gt;
other = /dev/hda1&lt;br /&gt;
  label = Windows&lt;br /&gt;
  table = /dev/hda&lt;br /&gt;
# Windows bootable partition config ends&lt;br /&gt;
# Linux bootable partition config begins&lt;br /&gt;
image = /boot/vmlinuz&lt;br /&gt;
  root = /dev/hda6&lt;br /&gt;
  label = Linux&lt;br /&gt;
  initrd = /boot/initrd.gz&lt;br /&gt;
  append = &amp;quot;acpi_sleep=s3_bios resume2=swap:/dev/hdaX&amp;quot;&lt;br /&gt;
  read-only&lt;br /&gt;
# Linux bootable partition config ends&lt;br /&gt;
&lt;br /&gt;
image = /boot/vmlinuz.old&lt;br /&gt;
 root = /dev/hda6&lt;br /&gt;
 label = Linux-2.4.33.3&lt;br /&gt;
 read-only&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace /dev/hdaX with your own swap partition please.&lt;br /&gt;
&lt;br /&gt;
== WiFi ==&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
If you don't like the default behavior of attempting to connect to any wireless network on boot-up, make rc.wireless nonexecutable: ''chmod 644 /etc/rc.d/rc.wireless''.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing -- call hibernate whenever you feel the need&lt;br /&gt;
* radeontool is not necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.  Slackware 11 doesn't come with dmidecode [http://download.savannah.gnu.org/releases/dmidecode/], required by the Makefile of tp_smapi, so you will have to install this first.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
Re-installed free-type and webcore fonts, as suggested in [http://avi.alkalay.net/linux/docs/font-howto/Font.html Optimal Use of Fonts on Linux].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
Currently installing [http://wiki.beryl-project.org/wiki/Install_Beryl_on_Slackware Beryl], which does not find the packages it needs in the Slackware distro., so I am re-installing X11 7.1.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30769</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30769"/>
		<updated>2007-06-26T14:52:55Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: /* Updating the Kernel to 2.6.x */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you compiled it as a module, make sure to add radeonfb to /etc/rc.d/rc.modules.'''&lt;br /&gt;
# make &amp;amp;&amp;amp; make modules&lt;br /&gt;
# make modules_install &lt;br /&gt;
# cd /boot&lt;br /&gt;
# cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
# rm vmlinuz&lt;br /&gt;
# ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
# ln vmlinuz-ide-2.4.33.3 vmlinuz.old&lt;br /&gt;
# mkinitrd -c -o /boot/initrd-2.6.17.13-Farfrumlernen.img -m radeonfb:anothermodule -k 2.6.17.13-Farfrumlernen&lt;br /&gt;
# ln initrd-2.6.17.13-Farfrumlernen.gz initrd.gz&lt;br /&gt;
# vi /etc/lilo.conf&lt;br /&gt;
# lilo # see [[#Lilo Options|'''lilo options''']]&lt;br /&gt;
# reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
The hibernate script requires the LZW module in the encryption section of the kernel config and recomments copying rc.hibernate-cleanup to /etc/rc.d.&lt;br /&gt;
&lt;br /&gt;
There is also a kernel patch to fix power [http://bugme.osdl.org/show_bug.cgi?id=3022 http://bugme.osdl.org/show_bug.cgi?id=3022] issues with the radeonfb module, but I had to manually add in some of the patch, since the kernel versions don't exactly jive.&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.  You will have to ''removepkg'' and ''installpkg'' the kernel each time you do this if you have installed the latest ipw2200 module from source.  Also, if you want to patch the kernel source to use the suspend2 and/or hdaps drive locking, do it before executing the following steps.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built as a module to avoid conflict with fglrx&lt;br /&gt;
* I built the following directly into the kernel&lt;br /&gt;
** I2C device interface&lt;br /&gt;
** Intel 82801 (ICH) I2C driver&lt;br /&gt;
** e1000 Gbit ethernet driver&lt;br /&gt;
** LZF compression (needed for suspend2)&lt;br /&gt;
&lt;br /&gt;
I gave up trying to guess how slackware is requiring its sound to work, so I recompiled using the original sound module options.  '''Don't do anything to the sound options.'''&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.  You will also need to make an initrd, since radeonfb is now a module.&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== Lilo Options ===&lt;br /&gt;
Here is a printout of my lilo.conf file.  Notice the cheat codes I pass to the kernel boot propmt in the append= line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# LILO configuration file&lt;br /&gt;
# Start LILO global section&lt;br /&gt;
boot = /dev/hda&lt;br /&gt;
message = /boot/boot_message.txt&lt;br /&gt;
prompt&lt;br /&gt;
timeout = 1200&lt;br /&gt;
# Override dangerous defaults that rewrite the partition table:&lt;br /&gt;
change-rules&lt;br /&gt;
  reset&lt;br /&gt;
# VESA framebuffer console @ 800x600x256&lt;br /&gt;
vga = 771&lt;br /&gt;
# Normal VGA console&lt;br /&gt;
# vga = normal&lt;br /&gt;
&lt;br /&gt;
# End LILO global section&lt;br /&gt;
# Windows bootable partition config begins&lt;br /&gt;
other = /dev/hda1&lt;br /&gt;
  label = Windows&lt;br /&gt;
  table = /dev/hda&lt;br /&gt;
# Windows bootable partition config ends&lt;br /&gt;
# Linux bootable partition config begins&lt;br /&gt;
image = /boot/vmlinuz&lt;br /&gt;
  root = /dev/hda6&lt;br /&gt;
  label = Linux&lt;br /&gt;
  initrd = /boot/initrd.gz&lt;br /&gt;
  append = &amp;quot;acpi_sleep=s3_bios resume2=swap:/dev/hdaX&amp;quot;&lt;br /&gt;
  read-only&lt;br /&gt;
# Linux bootable partition config ends&lt;br /&gt;
&lt;br /&gt;
image = /boot/vmlinuz.old&lt;br /&gt;
 root = /dev/hda6&lt;br /&gt;
 label = Linux-2.4.33.3&lt;br /&gt;
 read-only&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace /dev/hdaX with your own swap partition please.&lt;br /&gt;
&lt;br /&gt;
== WiFi ==&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
If you don't like the default behavior of attempting to connect to any wireless network on boot-up, make rc.wireless nonexecutable: ''chmod 644 /etc/rc.d/rc.wireless''.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing -- call hibernate whenever you feel the need&lt;br /&gt;
* radeontool is not necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.  Slackware 11 doesn't come with dmidecode [http://download.savannah.gnu.org/releases/dmidecode/], required by the Makefile of tp_smapi, so you will have to install this first.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30768</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30768"/>
		<updated>2007-06-26T14:45:03Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: /* Kernel Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you compiled it as a module, make sure to add radeonfb to /etc/rc.d/rc.modules.'''&lt;br /&gt;
# make &amp;amp;&amp;amp; make modules&lt;br /&gt;
# make modules_install &lt;br /&gt;
# cd /boot&lt;br /&gt;
# cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
# rm vmlinuz&lt;br /&gt;
# ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
# ln vmlinuz-ide-2.4.33.3 vmlinuz.old&lt;br /&gt;
# mkinitrd -f -v /boot/initrd-2.6.17.13-Farfrumlernen.img 2.6.17.13-Farfrumlernen&lt;br /&gt;
# vi /etc/lilo.conf &lt;br /&gt;
# lilo # see [[#Lilo Options|'''lilo options''']]&lt;br /&gt;
# reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
The hibernate script requires the LZW module in the encryption section of the kernel config and recomments copying rc.hibernate-cleanup to /etc/rc.d.&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.  You will have to ''removepkg'' and ''installpkg'' the kernel each time you do this if you have installed the latest ipw2200 module from source.  Also, if you want to patch the kernel source to use the suspend2 and/or hdaps drive locking, do it before executing the following steps.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built as a module to avoid conflict with fglrx&lt;br /&gt;
* I built the following directly into the kernel&lt;br /&gt;
** I2C device interface&lt;br /&gt;
** Intel 82801 (ICH) I2C driver&lt;br /&gt;
** e1000 Gbit ethernet driver&lt;br /&gt;
** LZF compression (needed for suspend2)&lt;br /&gt;
&lt;br /&gt;
I gave up trying to guess how slackware is requiring its sound to work, so I recompiled using the original sound module options.  '''Don't do anything to the sound options.'''&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.  You will also need to make an initrd, since radeonfb is now a module.&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== Lilo Options ===&lt;br /&gt;
Here is a printout of my lilo.conf file.  Notice the cheat codes I pass to the kernel boot propmt in the append= line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# LILO configuration file&lt;br /&gt;
# Start LILO global section&lt;br /&gt;
boot = /dev/hda&lt;br /&gt;
message = /boot/boot_message.txt&lt;br /&gt;
prompt&lt;br /&gt;
timeout = 1200&lt;br /&gt;
# Override dangerous defaults that rewrite the partition table:&lt;br /&gt;
change-rules&lt;br /&gt;
  reset&lt;br /&gt;
# VESA framebuffer console @ 800x600x256&lt;br /&gt;
vga = 771&lt;br /&gt;
# Normal VGA console&lt;br /&gt;
# vga = normal&lt;br /&gt;
&lt;br /&gt;
# End LILO global section&lt;br /&gt;
# Windows bootable partition config begins&lt;br /&gt;
other = /dev/hda1&lt;br /&gt;
  label = Windows&lt;br /&gt;
  table = /dev/hda&lt;br /&gt;
# Windows bootable partition config ends&lt;br /&gt;
# Linux bootable partition config begins&lt;br /&gt;
image = /boot/vmlinuz&lt;br /&gt;
  root = /dev/hda6&lt;br /&gt;
  label = Linux&lt;br /&gt;
  append = &amp;quot;acpi_sleep=s3_bios resume2=swap:/dev/hdaX&amp;quot;&lt;br /&gt;
  read-only&lt;br /&gt;
# Linux bootable partition config ends&lt;br /&gt;
&lt;br /&gt;
image = /boot/vmlinuz.old&lt;br /&gt;
 root = /dev/hda6&lt;br /&gt;
 label = Linux-2.4.33.3&lt;br /&gt;
 read-only&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace /dev/hdaX with your own swap partition please.&lt;br /&gt;
&lt;br /&gt;
== WiFi ==&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
If you don't like the default behavior of attempting to connect to any wireless network on boot-up, make rc.wireless nonexecutable: ''chmod 644 /etc/rc.d/rc.wireless''.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing -- call hibernate whenever you feel the need&lt;br /&gt;
* radeontool is not necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.  Slackware 11 doesn't come with dmidecode [http://download.savannah.gnu.org/releases/dmidecode/], required by the Makefile of tp_smapi, so you will have to install this first.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30751</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30751"/>
		<updated>2007-06-26T12:37:28Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you compiled it as a module, make sure to add radeonfb to /etc/rc.d/rc.modules.'''&lt;br /&gt;
# make &amp;amp;&amp;amp; make modules&lt;br /&gt;
# make modules_install &lt;br /&gt;
# cd /boot&lt;br /&gt;
# cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
# rm vmlinuz&lt;br /&gt;
# ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
# ln vmlinuz-ide-2.4.33.3 vmlinuz.old&lt;br /&gt;
# mkinitrd -f -v /boot/initrd-2.6.17.13-Farfrumlernen.img 2.6.17.13-Farfrumlernen&lt;br /&gt;
# vi /etc/lilo.conf &lt;br /&gt;
# lilo # see [[#Lilo Options|'''lilo options''']]&lt;br /&gt;
# reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
The hibernate script requires the LZW module in the encryption section of the kernel config and recomments copying rc.hibernate-cleanup to /etc/rc.d.&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.  You will have to ''removepkg'' and ''installpkg'' the kernel each time you do this if you have installed the latest ipw2200 module from source.  Also, if you want to patch the kernel source to use the suspend2 and/or hdaps drive locking, do it before executing the following steps.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built as a module to avoid conflict with fglrx&lt;br /&gt;
* I built the following directly into the kernel&lt;br /&gt;
** I2C device interface&lt;br /&gt;
** Intel 82801 (ICH) I2C driver&lt;br /&gt;
** e1000 Gbit ethernet driver&lt;br /&gt;
** ALSA, OSS Mixer, OSS PCM, RTC Timer&lt;br /&gt;
** LZF compression (needed for suspend2)&lt;br /&gt;
&lt;br /&gt;
I gave up trying to guess how slackware is requiring its sound to work, so I instaled both the OSS and ALSA drivers as modules:&lt;br /&gt;
* Intel/SiS/nVidia/AMD/AL: AC97 (can disable other PCI sound modules)&lt;br /&gt;
* i810&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make_install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== Lilo Options ===&lt;br /&gt;
Here is a printout of my lilo.conf file.  Notice the cheat codes I pass to the kernel boot propmt in the append= line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# LILO configuration file&lt;br /&gt;
# Start LILO global section&lt;br /&gt;
boot = /dev/hda&lt;br /&gt;
message = /boot/boot_message.txt&lt;br /&gt;
prompt&lt;br /&gt;
timeout = 1200&lt;br /&gt;
# Override dangerous defaults that rewrite the partition table:&lt;br /&gt;
change-rules&lt;br /&gt;
  reset&lt;br /&gt;
# VESA framebuffer console @ 800x600x256&lt;br /&gt;
vga = 771&lt;br /&gt;
# Normal VGA console&lt;br /&gt;
# vga = normal&lt;br /&gt;
&lt;br /&gt;
# End LILO global section&lt;br /&gt;
# Windows bootable partition config begins&lt;br /&gt;
other = /dev/hda1&lt;br /&gt;
  label = Windows&lt;br /&gt;
  table = /dev/hda&lt;br /&gt;
# Windows bootable partition config ends&lt;br /&gt;
# Linux bootable partition config begins&lt;br /&gt;
image = /boot/vmlinuz&lt;br /&gt;
  root = /dev/hda6&lt;br /&gt;
  label = Linux&lt;br /&gt;
  append = &amp;quot;acpi_sleep=s3_bios resume2=swap:/dev/hdaX&amp;quot;&lt;br /&gt;
  read-only&lt;br /&gt;
# Linux bootable partition config ends&lt;br /&gt;
&lt;br /&gt;
image = /boot/vmlinuz.old&lt;br /&gt;
 root = /dev/hda6&lt;br /&gt;
 label = Linux-2.4.33.3&lt;br /&gt;
 read-only&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace /dev/hdaX with your own swap partition please.&lt;br /&gt;
&lt;br /&gt;
== WiFi ==&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
If you don't like the default behavior of attempting to connect to any wireless network on boot-up, make rc.wireless nonexecutable: ''chmod 644 /etc/rc.d/rc.wireless''.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing -- call hibernate whenever you feel the need&lt;br /&gt;
* radeontool is not necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.  Slackware 11 doesn't come with dmidecode [http://download.savannah.gnu.org/releases/dmidecode/], required by the Makefile of tp_smapi, so you will have to install this first.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30713</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30713"/>
		<updated>2007-06-25T18:11:18Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: /* Updating the Kernel to 2.6.x */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you compiled it as a module, make sure to add radeonfb to /etc/rc.d/rc.modules.'''&lt;br /&gt;
# make &amp;amp;&amp;amp; make modules&lt;br /&gt;
# make modules_install &lt;br /&gt;
# cd /boot&lt;br /&gt;
# cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
# rm vmlinuz&lt;br /&gt;
# ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
# ln vmlinuz-ide-2.4.33.3 vmlinuz.old&lt;br /&gt;
# vi /etc/lilo.conf &lt;br /&gt;
# lilo # see [[#Lilo Options|'''lilo options''']]&lt;br /&gt;
# reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
The hibernate script requires the LZW module in the encryption section of the kernel config and recomments copying rc.hibernate-cleanup to /etc/rc.d.&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.  You will have to ''removepkg'' and ''installpkg'' the kernel each time you do this if you have installed the latest ipw2200 module from source.  Also, if you want to patch the kernel source to use the suspend2 and/or hdaps drive locking, do it before executing the following steps.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built into the kernel (no conflict with fglrx)&lt;br /&gt;
* I built the following directly into the kernel&lt;br /&gt;
** I2C device interface&lt;br /&gt;
** Intel 82801 (ICH) I2C driver&lt;br /&gt;
** e1000 Gbit ethernet driver&lt;br /&gt;
** ALSA, OSS Mixer, OSS PCM, RTC Timer&lt;br /&gt;
** Intel/SiS/nVidia/AMD/AL: AC97 (can disable other PCI sound modules)&lt;br /&gt;
** LZF compression (needed for suspend2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make_install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== Lilo Options ===&lt;br /&gt;
Here is a printout of my lilo.conf file.  Notice the cheat codes I pass to the kernel boot propmt in the append= line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# LILO configuration file&lt;br /&gt;
# Start LILO global section&lt;br /&gt;
boot = /dev/hda&lt;br /&gt;
message = /boot/boot_message.txt&lt;br /&gt;
prompt&lt;br /&gt;
timeout = 1200&lt;br /&gt;
# Override dangerous defaults that rewrite the partition table:&lt;br /&gt;
change-rules&lt;br /&gt;
  reset&lt;br /&gt;
# VESA framebuffer console @ 800x600x256&lt;br /&gt;
vga = 771&lt;br /&gt;
# Normal VGA console&lt;br /&gt;
# vga = normal&lt;br /&gt;
&lt;br /&gt;
# End LILO global section&lt;br /&gt;
# Windows bootable partition config begins&lt;br /&gt;
other = /dev/hda1&lt;br /&gt;
  label = Windows&lt;br /&gt;
  table = /dev/hda&lt;br /&gt;
# Windows bootable partition config ends&lt;br /&gt;
# Linux bootable partition config begins&lt;br /&gt;
image = /boot/vmlinuz&lt;br /&gt;
  root = /dev/hda6&lt;br /&gt;
  label = Linux&lt;br /&gt;
  append = &amp;quot;acpi_sleep=s3_bios resume2=swap:/dev/hdaX&amp;quot;&lt;br /&gt;
  read-only&lt;br /&gt;
# Linux bootable partition config ends&lt;br /&gt;
&lt;br /&gt;
image = /boot/vmlinuz.old&lt;br /&gt;
 root = /dev/hda6&lt;br /&gt;
 label = Linux-2.4.33.3&lt;br /&gt;
 read-only&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace /dev/hdaX with your own swap partition please.&lt;br /&gt;
&lt;br /&gt;
== WiFi ==&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
If you don't like the default behavior of attempting to connect to any wireless network on boot-up, make rc.wireless nonexecutable: ''chmod 644 /etc/rc.d/rc.wireless''.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing -- call hibernate whenever you feel the need&lt;br /&gt;
* radeontool is not necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.  Slackware 11 doesn't come with dmidecode [http://download.savannah.gnu.org/releases/dmidecode/], required by the Makefile of tp_smapi, so you will have to install this first.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30709</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30709"/>
		<updated>2007-06-25T17:24:40Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: /* ACPI */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you compiled it as a module, make sure to add radeonfb to /etc/rc.d/rc.modules.'''&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
The hibernate script requires the LZW module in the encryption section of the kernel config and recomments copying rc.hibernate-cleanup to /etc/rc.d.&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.  You will have to ''removepkg'' and ''installpkg'' the kernel each time you do this if you have installed the latest ipw2200 module from source.  Also, if you want to patch the kernel source to use the suspend2 and/or hdaps drive locking, do it before executing the following steps.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built into the kernel (no conflict with fglrx)&lt;br /&gt;
* I built the following directly into the kernel&lt;br /&gt;
** I2C device interface&lt;br /&gt;
** Intel 82801 (ICH) I2C driver&lt;br /&gt;
** e1000 Gbit ethernet driver&lt;br /&gt;
** ALSA, OSS Mixer, OSS PCM, RTC Timer&lt;br /&gt;
** Intel/SiS/nVidia/AMD/AL: AC97 (can disable other PCI sound modules)&lt;br /&gt;
** LZF compression (needed for suspend2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make_install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
 cd /boot&lt;br /&gt;
 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
 rm vmlinuz&lt;br /&gt;
 ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
 vi /etc/lilo.conf &lt;br /&gt;
 lilo # see [[#Lilo Options|'''lilo options''']]&lt;br /&gt;
 reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== Lilo Options ===&lt;br /&gt;
Here is a printout of my lilo.conf file.  Notice the cheat codes I pass to the kernel boot propmt in the append= line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# LILO configuration file&lt;br /&gt;
# Start LILO global section&lt;br /&gt;
boot = /dev/hda&lt;br /&gt;
message = /boot/boot_message.txt&lt;br /&gt;
prompt&lt;br /&gt;
timeout = 1200&lt;br /&gt;
# Override dangerous defaults that rewrite the partition table:&lt;br /&gt;
change-rules&lt;br /&gt;
  reset&lt;br /&gt;
# VESA framebuffer console @ 800x600x256&lt;br /&gt;
vga = 771&lt;br /&gt;
# Normal VGA console&lt;br /&gt;
# vga = normal&lt;br /&gt;
&lt;br /&gt;
# End LILO global section&lt;br /&gt;
# Windows bootable partition config begins&lt;br /&gt;
other = /dev/hda1&lt;br /&gt;
  label = Windows&lt;br /&gt;
  table = /dev/hda&lt;br /&gt;
# Windows bootable partition config ends&lt;br /&gt;
# Linux bootable partition config begins&lt;br /&gt;
image = /boot/vmlinuz&lt;br /&gt;
  root = /dev/hda6&lt;br /&gt;
  label = Linux&lt;br /&gt;
  append = &amp;quot;acpi_sleep=s3_bios resume2=swap:/dev/hdaX&amp;quot;&lt;br /&gt;
  read-only&lt;br /&gt;
# Linux bootable partition config ends&lt;br /&gt;
&lt;br /&gt;
image = /boot/vmlinuz.old&lt;br /&gt;
 root = /dev/hda6&lt;br /&gt;
 label = Linux-2.4.33.3&lt;br /&gt;
 read-only&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace /dev/hdaX with your own swap partition please.&lt;br /&gt;
&lt;br /&gt;
== WiFi ==&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
If you don't like the default behavior of attempting to connect to any wireless network on boot-up, make rc.wireless nonexecutable: ''chmod 644 /etc/rc.d/rc.wireless''.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing -- call hibernate whenever you feel the need&lt;br /&gt;
* radeontool is not necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.  Slackware 11 doesn't come with dmidecode [http://download.savannah.gnu.org/releases/dmidecode/], required by the Makefile of tp_smapi, so you will have to install this first.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30708</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30708"/>
		<updated>2007-06-25T17:23:58Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: /* Suspend2 Kernel Patch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you compiled it as a module, make sure to add radeonfb to /etc/rc.d/rc.modules.'''&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
The hibernate script requires the LZW module in the encryption section of the kernel config and recomments copying rc.hibernate-cleanup to /etc/rc.d.&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.  You will have to ''removepkg'' and ''installpkg'' the kernel each time you do this if you have installed the latest ipw2200 module from source.  Also, if you want to patch the kernel source to use the suspend2 and/or hdaps drive locking, do it before executing the following steps.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built into the kernel (no conflict with fglrx)&lt;br /&gt;
* I built the following directly into the kernel&lt;br /&gt;
** I2C device interface&lt;br /&gt;
** Intel 82801 (ICH) I2C driver&lt;br /&gt;
** e1000 Gbit ethernet driver&lt;br /&gt;
** ALSA, OSS Mixer, OSS PCM, RTC Timer&lt;br /&gt;
** Intel/SiS/nVidia/AMD/AL: AC97 (can disable other PCI sound modules)&lt;br /&gt;
** LZF compression (needed for suspend2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make_install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
 cd /boot&lt;br /&gt;
 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
 rm vmlinuz&lt;br /&gt;
 ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
 vi /etc/lilo.conf &lt;br /&gt;
 lilo # see [[#Lilo Options|'''lilo options''']]&lt;br /&gt;
 reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== Lilo Options ===&lt;br /&gt;
Here is a printout of my lilo.conf file.  Notice the cheat codes I pass to the kernel boot propmt in the append= line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# LILO configuration file&lt;br /&gt;
# Start LILO global section&lt;br /&gt;
boot = /dev/hda&lt;br /&gt;
message = /boot/boot_message.txt&lt;br /&gt;
prompt&lt;br /&gt;
timeout = 1200&lt;br /&gt;
# Override dangerous defaults that rewrite the partition table:&lt;br /&gt;
change-rules&lt;br /&gt;
  reset&lt;br /&gt;
# VESA framebuffer console @ 800x600x256&lt;br /&gt;
vga = 771&lt;br /&gt;
# Normal VGA console&lt;br /&gt;
# vga = normal&lt;br /&gt;
&lt;br /&gt;
# End LILO global section&lt;br /&gt;
# Windows bootable partition config begins&lt;br /&gt;
other = /dev/hda1&lt;br /&gt;
  label = Windows&lt;br /&gt;
  table = /dev/hda&lt;br /&gt;
# Windows bootable partition config ends&lt;br /&gt;
# Linux bootable partition config begins&lt;br /&gt;
image = /boot/vmlinuz&lt;br /&gt;
  root = /dev/hda6&lt;br /&gt;
  label = Linux&lt;br /&gt;
  append = &amp;quot;acpi_sleep=s3_bios resume2=swap:/dev/hdaX&amp;quot;&lt;br /&gt;
  read-only&lt;br /&gt;
# Linux bootable partition config ends&lt;br /&gt;
&lt;br /&gt;
image = /boot/vmlinuz.old&lt;br /&gt;
 root = /dev/hda6&lt;br /&gt;
 label = Linux-2.4.33.3&lt;br /&gt;
 read-only&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace /dev/hdaX with your own swap partition please.&lt;br /&gt;
&lt;br /&gt;
== WiFi ==&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
If you don't like the default behavior of attempting to connect to any wireless network on boot-up, make rc.wireless nonexecutable: ''chmod 644 /etc/rc.d/rc.wireless''.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing&lt;br /&gt;
* that radeontool is not strictly necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.  Slackware 11 doesn't come with dmidecode [http://download.savannah.gnu.org/releases/dmidecode/], required by the Makefile of tp_smapi, so you will have to install this first.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30707</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30707"/>
		<updated>2007-06-25T17:19:21Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: /* WiFi */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you compiled it as a module, make sure to add radeonfb to /etc/rc.d/rc.modules.'''&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.  You will have to ''removepkg'' and ''installpkg'' the kernel each time you do this if you have installed the latest ipw2200 module from source.  Also, if you want to patch the kernel source to use the suspend2 and/or hdaps drive locking, do it before executing the following steps.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built into the kernel (no conflict with fglrx)&lt;br /&gt;
* I built the following directly into the kernel&lt;br /&gt;
** I2C device interface&lt;br /&gt;
** Intel 82801 (ICH) I2C driver&lt;br /&gt;
** e1000 Gbit ethernet driver&lt;br /&gt;
** ALSA, OSS Mixer, OSS PCM, RTC Timer&lt;br /&gt;
** Intel/SiS/nVidia/AMD/AL: AC97 (can disable other PCI sound modules)&lt;br /&gt;
** LZF compression (needed for suspend2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make_install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
 cd /boot&lt;br /&gt;
 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
 rm vmlinuz&lt;br /&gt;
 ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
 vi /etc/lilo.conf &lt;br /&gt;
 lilo # see [[#Lilo Options|'''lilo options''']]&lt;br /&gt;
 reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== Lilo Options ===&lt;br /&gt;
Here is a printout of my lilo.conf file.  Notice the cheat codes I pass to the kernel boot propmt in the append= line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# LILO configuration file&lt;br /&gt;
# Start LILO global section&lt;br /&gt;
boot = /dev/hda&lt;br /&gt;
message = /boot/boot_message.txt&lt;br /&gt;
prompt&lt;br /&gt;
timeout = 1200&lt;br /&gt;
# Override dangerous defaults that rewrite the partition table:&lt;br /&gt;
change-rules&lt;br /&gt;
  reset&lt;br /&gt;
# VESA framebuffer console @ 800x600x256&lt;br /&gt;
vga = 771&lt;br /&gt;
# Normal VGA console&lt;br /&gt;
# vga = normal&lt;br /&gt;
&lt;br /&gt;
# End LILO global section&lt;br /&gt;
# Windows bootable partition config begins&lt;br /&gt;
other = /dev/hda1&lt;br /&gt;
  label = Windows&lt;br /&gt;
  table = /dev/hda&lt;br /&gt;
# Windows bootable partition config ends&lt;br /&gt;
# Linux bootable partition config begins&lt;br /&gt;
image = /boot/vmlinuz&lt;br /&gt;
  root = /dev/hda6&lt;br /&gt;
  label = Linux&lt;br /&gt;
  append = &amp;quot;acpi_sleep=s3_bios resume2=swap:/dev/hdaX&amp;quot;&lt;br /&gt;
  read-only&lt;br /&gt;
# Linux bootable partition config ends&lt;br /&gt;
&lt;br /&gt;
image = /boot/vmlinuz.old&lt;br /&gt;
 root = /dev/hda6&lt;br /&gt;
 label = Linux-2.4.33.3&lt;br /&gt;
 read-only&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace /dev/hdaX with your own swap partition please.&lt;br /&gt;
&lt;br /&gt;
== WiFi ==&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
If you don't like the default behavior of attempting to connect to any wireless network on boot-up, make rc.wireless nonexecutable: ''chmod 644 /etc/rc.d/rc.wireless''.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing&lt;br /&gt;
* that radeontool is not strictly necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.  Slackware 11 doesn't come with dmidecode [http://download.savannah.gnu.org/releases/dmidecode/], required by the Makefile of tp_smapi, so you will have to install this first.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30705</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30705"/>
		<updated>2007-06-25T17:16:53Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you compiled it as a module, make sure to add radeonfb to /etc/rc.d/rc.modules.'''&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.  You will have to ''removepkg'' and ''installpkg'' the kernel each time you do this if you have installed the latest ipw2200 module from source.  Also, if you want to patch the kernel source to use the suspend2 and/or hdaps drive locking, do it before executing the following steps.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built into the kernel (no conflict with fglrx)&lt;br /&gt;
* I built the following directly into the kernel&lt;br /&gt;
** I2C device interface&lt;br /&gt;
** Intel 82801 (ICH) I2C driver&lt;br /&gt;
** e1000 Gbit ethernet driver&lt;br /&gt;
** ALSA, OSS Mixer, OSS PCM, RTC Timer&lt;br /&gt;
** Intel/SiS/nVidia/AMD/AL: AC97 (can disable other PCI sound modules)&lt;br /&gt;
** LZF compression (needed for suspend2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make_install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
 cd /boot&lt;br /&gt;
 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
 rm vmlinuz&lt;br /&gt;
 ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
 vi /etc/lilo.conf &lt;br /&gt;
 lilo # see [[#Lilo Options|'''lilo options''']]&lt;br /&gt;
 reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== Lilo Options ===&lt;br /&gt;
Here is a printout of my lilo.conf file.  Notice the cheat codes I pass to the kernel boot propmt in the append= line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# LILO configuration file&lt;br /&gt;
# Start LILO global section&lt;br /&gt;
boot = /dev/hda&lt;br /&gt;
message = /boot/boot_message.txt&lt;br /&gt;
prompt&lt;br /&gt;
timeout = 1200&lt;br /&gt;
# Override dangerous defaults that rewrite the partition table:&lt;br /&gt;
change-rules&lt;br /&gt;
  reset&lt;br /&gt;
# VESA framebuffer console @ 800x600x256&lt;br /&gt;
vga = 771&lt;br /&gt;
# Normal VGA console&lt;br /&gt;
# vga = normal&lt;br /&gt;
&lt;br /&gt;
# End LILO global section&lt;br /&gt;
# Windows bootable partition config begins&lt;br /&gt;
other = /dev/hda1&lt;br /&gt;
  label = Windows&lt;br /&gt;
  table = /dev/hda&lt;br /&gt;
# Windows bootable partition config ends&lt;br /&gt;
# Linux bootable partition config begins&lt;br /&gt;
image = /boot/vmlinuz&lt;br /&gt;
  root = /dev/hda6&lt;br /&gt;
  label = Linux&lt;br /&gt;
  append = &amp;quot;acpi_sleep=s3_bios resume2=swap:/dev/hdaX&amp;quot;&lt;br /&gt;
  read-only&lt;br /&gt;
# Linux bootable partition config ends&lt;br /&gt;
&lt;br /&gt;
image = /boot/vmlinuz.old&lt;br /&gt;
 root = /dev/hda6&lt;br /&gt;
 label = Linux-2.4.33.3&lt;br /&gt;
 read-only&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace /dev/hdaX with your own swap partition please.&lt;br /&gt;
&lt;br /&gt;
== WiFi ==&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing&lt;br /&gt;
* that radeontool is not strictly necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.  Slackware 11 doesn't come with dmidecode [http://download.savannah.gnu.org/releases/dmidecode/], required by the Makefile of tp_smapi, so you will have to install this first.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30700</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30700"/>
		<updated>2007-06-25T17:06:49Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: /* Updating the Kernel to 2.6.x */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you compiled it as a module, make sure to add radeonfb to /etc/rc.d/rc.modules.'''&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.  You will have to ''removepkg'' and ''installpkg'' the kernel each time you do this if you have installed the latest ipw2200 module from source.  Also, if you want to patch the kernel source to use the suspend2 and/or hdaps drive locking, do it before executing the following steps.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built into the kernel (no conflict with fglrx)&lt;br /&gt;
* I built the following directly into the kernel&lt;br /&gt;
** I2C device interface&lt;br /&gt;
** Intel 82801 (ICH) I2C driver&lt;br /&gt;
** e1000 Gbit ethernet driver&lt;br /&gt;
** ALSA, OSS Mixer, OSS PCM, RTC Timer&lt;br /&gt;
** Intel/SiS/nVidia/AMD/AL: AC97 (can disable other PCI sound modules)&lt;br /&gt;
** LZF compression (needed for suspend2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make_install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
 cd /boot&lt;br /&gt;
 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
 rm vmlinuz&lt;br /&gt;
 ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
 vi /etc/lilo.conf &lt;br /&gt;
 lilo&lt;br /&gt;
 reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== WiFi ===&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing&lt;br /&gt;
* that radeontool is not strictly necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.  Slackware 11 doesn't come with dmidecode [http://download.savannah.gnu.org/releases/dmidecode/], required by the Makefile of tp_smapi, so you will have to install this first.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30699</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30699"/>
		<updated>2007-06-25T17:04:55Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: /* Kernel Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you aren't using any other frame-buffer, make sure to add radeonfb to /etc/rc.d/rc.modules.'''&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.  You will have to ''removepkg'' and ''installpkg'' the kernel each time you do this if you have installed the latest ipw2200 module from source.  Also, if you want to patch the kernel source to use the suspend2 and/or hdaps drive locking, do it before executing the following steps.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built into the kernel (no conflict with fglrx)&lt;br /&gt;
* I built the following directly into the kernel&lt;br /&gt;
** I2C device interface&lt;br /&gt;
** Intel 82801 (ICH) I2C driver&lt;br /&gt;
** e1000 Gbit ethernet driver&lt;br /&gt;
** ALSA, OSS Mixer, OSS PCM, RTC Timer&lt;br /&gt;
** Intel/SiS/nVidia/AMD/AL: AC97 (can disable other PCI sound modules)&lt;br /&gt;
** LZF compression (needed for suspend2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make_install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
 cd /boot&lt;br /&gt;
 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
 rm vmlinuz&lt;br /&gt;
 ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
 vi /etc/lilo.conf &lt;br /&gt;
 lilo&lt;br /&gt;
 reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== WiFi ===&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing&lt;br /&gt;
* that radeontool is not strictly necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.  Slackware 11 doesn't come with dmidecode [http://download.savannah.gnu.org/releases/dmidecode/], required by the Makefile of tp_smapi, so you will have to install this first.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30574</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30574"/>
		<updated>2007-06-20T02:28:54Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you aren't using any other frame-buffer, make sure to add radeonfb to /etc/rc.d/rc.modules.'''&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built as a module (so as not to interfere with ATI's driver later)&lt;br /&gt;
## '''If you do this, make sure to add radeonfb to /etc/rc.d/rc.modules''', since my system didn't load this module automatically and I had to login and modprobe it blind.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make_install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
 cd /boot&lt;br /&gt;
 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
 rm vmlinuz&lt;br /&gt;
 ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
 vi /etc/lilo.conf &lt;br /&gt;
 lilo&lt;br /&gt;
 reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== WiFi ===&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing&lt;br /&gt;
* that radeontool is not strictly necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.  Slackware 11 doesn't come with dmidecode [http://download.savannah.gnu.org/releases/dmidecode/], required by the Makefile of tp_smapi, so you will have to install this first.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30454</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30454"/>
		<updated>2007-06-13T20:47:02Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you aren't using any other frame-buffer, make sure to add radeonfb to /etc/rc.d/rc.modules.'''&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
*** Don't use APM at all.&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built as a module (so as not to interfere with ATI's driver later)&lt;br /&gt;
## '''If you do this, make sure to add radeonfb to /etc/rc.d/rc.modules''', since my system didn't load this module automatically and I had to login and modprobe it blind.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make_install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
 cd /boot&lt;br /&gt;
 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
 rm vmlinuz&lt;br /&gt;
 ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
 vi /etc/lilo.conf &lt;br /&gt;
 lilo&lt;br /&gt;
 reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== WiFi ===&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Special Module Configuration ===&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
At this point, the kernel has already been configured to work with suspend2, so the ACPI event monitor should be up and running. Follow the instructions on [[How to configure acpid]] to create scripts in /etc/acpi to enable some good system behavior.&lt;br /&gt;
Notes: &lt;br /&gt;
* some of the lid/powerbtn scripts are using different means to do the same thing&lt;br /&gt;
* that radeontool is not strictly necessary to get the backlight to turn off when the lid is closed&lt;br /&gt;
** this seems to work out-of-the box via hardware -- try it yourself by pressing the lid button (black circle behind the Esc key) with your pen&lt;br /&gt;
&lt;br /&gt;
=== Hardware Accident Protection ===&lt;br /&gt;
[[tp_smapi]] can compile you a kernel module to do this and get some cool accelermeter data, however I have not gotten it to compile yet because it requires another package and I am too buisy to go and look for it.&lt;br /&gt;
&lt;br /&gt;
=== Battery Monitor ===&lt;br /&gt;
gkrellm worked with the kernel's hdaps module just fine.  Have yet to try it with tp_smapi's hdaps module.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Would be nice to figure out how to make the lights blink ''in sequence''.&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''aticonfig --initial'' seems to have forgotten to fix the DRM permissions, so glxgears doesn't perform until:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:Frobnitzem&amp;diff=30453</id>
		<title>User:Frobnitzem</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:Frobnitzem&amp;diff=30453"/>
		<updated>2007-06-13T18:28:00Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: data!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=200px cellpadding=&amp;quot;2&amp;quot; style=&amp;quot;float: right; border: 1px solid #1010A0; background: #e0e0ff; padding: 0px; font-size: 95%; margin: 0 0 1em 1em; -moz-border-radius:10px&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|'''David M. Rogers'''&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: #bbbbff; text-align: center;&amp;quot; | ''Reading List''&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* [http://scholar.google.com Google Scholar]&lt;br /&gt;
* [http://www.ncbi.nlm.nih.gov/entrez/ PubMed]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The definition of frobnitz is taken to be that referred to in the fortune catalogue, originally from the Jargon File.&lt;br /&gt;
&lt;br /&gt;
Try&lt;br /&gt;
 fortune -m frob&lt;br /&gt;
&lt;br /&gt;
For Reference only, compliant to ISO-9000:&lt;br /&gt;
* [http://homepages.uc.edu/~rogersdd/ My Homepage]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/User:Frobnitzem My Wikipedia User-Page]&lt;br /&gt;
* [http://bessie.che.uc.edu/wiki/ UC Chemistry Wiki] (my alternate homepage)]&lt;br /&gt;
* [http://www.krellinst.org/csgf/ The Department of Energy Computational Science Graduate Fellowship]&lt;br /&gt;
&lt;br /&gt;
[[User:Frobnitzem|Frobnitzem]] 18:27, 13 June 2007 (UTC)&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30452</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30452"/>
		<updated>2007-06-13T18:11:28Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
Original installation done by [[User:Frobnitzem]], additional edits performed by:&lt;br /&gt;
* ''none as yet''&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
# '''If you aren't using any other frame-buffer, make sure to add radeonfb to /etc/rc.d/rc.modules.'''&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built as a module (so as not to interfere with ATI's driver later)&lt;br /&gt;
## '''If you do this, make sure to add radeonfb to /etc/rc.d/rc.modules''', since my system didn't load this module automatically and I had to login and modprobe it blind.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 make modules_install&lt;br /&gt;
 depmod -ae 2.6.17.13 # I have heard that this is a good think to do, but your mileage may vary.&lt;br /&gt;
 make_install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
 cd /boot&lt;br /&gt;
 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
 rm vmlinuz&lt;br /&gt;
 ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
 vi /etc/lilo.conf &lt;br /&gt;
 lilo&lt;br /&gt;
 reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== WiFi ===&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf -- supercedes modules.conf with 2.6.x kernels&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
Followed instructions on [[How to configure acpid]] to create scripts in /etc/acpi.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30444</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30444"/>
		<updated>2007-06-12T22:43:52Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These sections follow in the order I installed them, with some of the later customizations do-able while the kernel is recompiling.&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (patience grasshopper)&lt;br /&gt;
##yes to source (modules and/or headers optional)&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## bzcat /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch.bz2 | patch -p1&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
Make sure you save your config. options somewhere safe, since you will probably need to recompile and/or reinstall the kernel sources a couple of times to get all the options right.  In order to avoid compile-time errors, use make mrproper before make modules, but note that make mrproper deletes .config.&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built as a module (so as not to interfere with ATI's driver later)&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
 make modules_install &amp;amp;&amp;amp;  make_install&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
 cd /boot&lt;br /&gt;
 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
 rm vmlinuz&lt;br /&gt;
 ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
 vi /etc/lilo.conf &lt;br /&gt;
 lilo&lt;br /&gt;
 reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== WiFi ===&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
# ieee802011-1.2.15&lt;br /&gt;
# ipw220-1.2.0&lt;br /&gt;
# ipw2200-fw-3.0 (contents of folder ipw2200-fw-3.0 '''not the folder itself''' goes in /lib/firmware)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modules.conf&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
Followed instructions on [[How to configure acpid]] to create scripts in /etc/acpi.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30443</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30443"/>
		<updated>2007-06-12T22:28:04Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (I picked reiserfs and therefore need that initrd)&lt;br /&gt;
##yes to headers, modules, and source&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## patch -p1 -i /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled Devices-&amp;gt;Networn Devices-&amp;gt;Wireless-&amp;gt;Intel PRO/Wireless 2100&amp;amp;2200 card modules because they will be built later and I had some error messages on one build...&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built as a module (so as not to interfere with ATI's driver later)&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
 make modules_install &amp;amp;&amp;amp;  make_install&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
 cd /boot&lt;br /&gt;
 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
 rm vmlinuz&lt;br /&gt;
 ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
 vi /etc/lilo.conf &lt;br /&gt;
 lilo&lt;br /&gt;
 reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== WiFi ===&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modules.conf&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
Followed instructions on [[How to configure acpid]] to create scripts in /etc/acpi.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Installed ATI's own Mobility Radeon driver installer [http://ati.amd.com/support/drivers/linux/linux-radeon.html].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additions:&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=HDAPS&amp;diff=30442</id>
		<title>HDAPS</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=HDAPS&amp;diff=30442"/>
		<updated>2007-06-12T22:14:38Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: now it is clear to me.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
=== HDAPS - IBM Active Protection System Linux Driver ===&lt;br /&gt;
This is the Linux driver for monitoring the accelerometer known as [[Active Protection System|IBM Active Protection System]].&lt;br /&gt;
&lt;br /&gt;
The driver only enables reading of the acceleration data. It does '''not''' perform [[#Harddisk Protection|automatic disk head parking]]. But there are already some other useful [[#Applications|applications]] for HDAPS, using the {{path|/sys}} interface it provides.&lt;br /&gt;
&lt;br /&gt;
{{WARN|There are two versions of the hdaps driver, one in the Linux kernel mainline, and another provided by [[tp_smapi]].  '''Use of the tp_smapi version of hdaps is strongly recommended by the current hdaps developers.'''}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
*provides accelerometer values via sysfs&lt;br /&gt;
*provides a joystick type input device&lt;br /&gt;
&lt;br /&gt;
=== Project Homepage / Availability ===&lt;br /&gt;
*[http://hdaps.sourceforge.net/ Project Homepage]&lt;br /&gt;
*The driver is included in the 2.6-mm series of kernels since August, 26th 2005.&lt;br /&gt;
*The driver is now in the mainline (2.6.14).&lt;br /&gt;
*The [[tp_smapi]] package contains some patches to this driver. These are necessary for some recent models, and recommended for all.&lt;br /&gt;
&lt;br /&gt;
=== Status ===&lt;br /&gt;
A driver is included in recent Linux kernels and is actively maintained, but it is very inferior to the driver in tp_smapi (which provides its own hdaps module).&lt;br /&gt;
&lt;br /&gt;
=== How to install the driver ===&lt;br /&gt;
If you are using a version of the Linux kernel &amp;lt; 2.6.14, please upgrade. I struggled long and hard to get the driver working with an old version of the kernel, and it was a mess. I gave up, upgraded my kernel, and one recompile later, HDAPS was working. &lt;br /&gt;
&lt;br /&gt;
For 2.6.18 kernel, T60 users have to edit hdaps_init() in drivers/hwmon/hdaps.c to include a HDAPS_DMI_MATCH_LENOVO(&amp;quot;ThinkPad T60&amp;quot;) line.&lt;br /&gt;
&lt;br /&gt;
Install the tp_smapi module if you experience problems with hdaps always reading out constant values of (0,0) [http://sourceforge.net/mailarchive/message.php?msg_id=15350314 refer]&lt;br /&gt;
&lt;br /&gt;
=== Harddisk Protection ===&lt;br /&gt;
As mentioned above, the hdaps kernel driver is only responsible for reading the accelerometer data and exporting it through the sysfs interface. In order to use this information to protect the disk, some additional steps are required.&lt;br /&gt;
&lt;br /&gt;
See [[How to protect the harddisk through APS]].&lt;br /&gt;
&lt;br /&gt;
=== Input device support ===&lt;br /&gt;
The hdaps driver in the lastest kernels (2.6.14 and later?) also exports a joystick type input device, which can be used by games.&lt;br /&gt;
&lt;br /&gt;
=== Applications ===&lt;br /&gt;
====Disk head parking====&lt;br /&gt;
You will need the kernel patch and userspace daemon. The GUI monitoring is optional.&lt;br /&gt;
* Kernel patch (apply using 'patch -p1 -l &amp;lt; hdaps_xx.patch')&lt;br /&gt;
**[http://lwn.net/Articles/154923/ disk park patch] &amp;lt;tt&amp;gt;an experimental patch for parking the disk (Linux 2.6.14 for 2.6.15 see below)&amp;lt;/tt&amp;gt;&lt;br /&gt;
**[http://jenster.dyndns.org/files/blk_freeze-01-nodetection-for-2.6.14.patch disk park patch adapted for the t41p model] &amp;lt;tt&amp;gt; kernel 2.6.14 *([http://sourceforge.net/mailarchive/message.php?msg_id=13214288 capability detection disabled], no libata support)&amp;lt;/tt&amp;gt;&lt;br /&gt;
**[http://jenster.dyndns.org/files/blk_freeze-01-nodetection-for-2.6.15.patch disk park patch adapted for the t41p model] &amp;lt;tt&amp;gt; kernel 2.6.15 *([http://sourceforge.net/mailarchive/message.php?msg_id=13214288 capability detection disabled], no libata support)&amp;lt;/tt&amp;gt;&lt;br /&gt;
**[http://www.dresco.co.uk/hdaps/hdaps_protect.20060118.patch sata/ide disk protection patch for 2.6.15]&lt;br /&gt;
**[http://www.dresco.co.uk/hdaps/hdaps_protect.20060430.patch Latest sata/ide disk protection patch for 2.6.16]&lt;br /&gt;
**[http://whoopie.gmxhome.de/linux/patches/2.6.16-tj/05-hdaps_protect-20060430-for-2.6.16-tj.patch Latest sata/ide disk protection patch for use with the libata hotplug 2.6.16.16 patches] - See [[How_to_hotswap_UltraBay_devices]]&lt;br /&gt;
**[http://whoopie.gmxhome.de/linux/patches/2.6.17.14-tj/03-hdaps_protect-20060430-for-2.6.17-tj.patch Latest sata/ide disk protection patch for use with the libata hotplug 2.6.17.4 patches] - See [[How_to_hotswap_UltraBay_devices]]&lt;br /&gt;
**[http://exitzero.de/t41p-configs/hdaps_protect-2.6.17.1-20060625.patch Untested patch for 2.6.17.1]: see [http://thread.gmane.org/gmane.linux.drivers.hdaps.devel/708/focus=708]&lt;br /&gt;
**[http://www.dresco.co.uk/hdaps/hdaps_protect-2.6.18.3-2.patch Latest sata/ide disk protection patch for 2.6.18.3]&lt;br /&gt;
**[http://article.gmane.org/gmane.linux.kernel/470413 Latest sata/ide disk protection patch for 2.6.19-rc6]&lt;br /&gt;
**[http://www.nabble.com/attachment/9047418/0/hdaps_protect-2.6.20.patch.bz2 Latest sata/ide disk protection patch for 2.6.20] (old design)&lt;br /&gt;
**[http://article.gmane.org/gmane.linux.drivers.hdaps.devel/993 Latest sata/ide disk protection patch for 2.6.20 and 2.6.21] (new design)&lt;br /&gt;
*Userspace daemon&lt;br /&gt;
**[http://www.dresco.co.uk/hdaps/hdapsd-20070415.c  userspace parking daemon] (recommended version)&lt;br /&gt;
**[ftp://rohrmoser-engineering.de/pub/  hdapsd-&amp;lt;date&amp;gt;.c  is a version of the daemon which uses a different (and potentially better) algorithm for the adaptive sensivity threshold] (fork of the &amp;quot;upstream&amp;quot; daemon)&lt;br /&gt;
*GUI monitoring&lt;br /&gt;
**[http://roy.marples.name/node/269 khdapmonitor] KDE System Tray Monitor&lt;br /&gt;
**[http://www.dresco.co.uk/hdaps/gnome-hdaps-applet-20060120.tar.gz gnome-hdaps-applet] visual display of disk protection status in gnome panel&lt;br /&gt;
See [[How to protect the harddisk through APS]] for more information.&lt;br /&gt;
&lt;br /&gt;
====Security &amp;amp; safety====&lt;br /&gt;
*[[Script for theft alarm using HDAPS]]&lt;br /&gt;
&lt;br /&gt;
====Tilt monitoring====&lt;br /&gt;
*[http://www.mulliner.org/collin/gkibm-acpi.php gkhdaps] &amp;lt;tt&amp;gt;a GKrellM applet displaying tilt data&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[http://rlove.org/log/2005082203.html gnome-tilt] &amp;lt;tt&amp;gt;a gnome applet showing tilt data&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Visualisation (of ThinkPad orientation)====&lt;br /&gt;
*[http://rlove.org/log/2005082401.html hdaps-gl] &amp;lt;tt&amp;gt;a little app animating a 3D-ThinkPad&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[https://sourceforge.net/project/showfiles.php?group_id=138242 hdapsgl-applet] &amp;lt;tt&amp;gt; a GNOME applet animating a 3D-ThinkPad&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[https://sourceforge.net/project/showfiles.php?group_id=138242 wmadhps] &amp;lt;tt&amp;gt;a WindowMaker DockApp animating a 3D-ThinkPad&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[http://www.cs.cmu.edu/~ecc/gyro.tar.gz OpenGL gyroscope hack] &amp;lt;tt&amp;gt;keeps your display levelled when tilting the ThinkPad&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Games====&lt;br /&gt;
*[http://icculus.org/neverball/ Neverball] is quite fun with HDAPS. (You'll need to have the HDAPS joystick device)&lt;br /&gt;
*Turn your ThinkPad into a Jedi Weapon (hey, it [http://isnoop.net/blog/2006/05/20/macsaber-turn-your-mac-into-a-jedi-weapon works for Mac laptops])&lt;br /&gt;
&lt;br /&gt;
====Other====&lt;br /&gt;
&lt;br /&gt;
*[http://blog.micampe.it/articles/2006/06/04/here-comes-the-smackpad smack.py] - switch workspace by smacking your laptop, inspired by the [http://blog.medallia.com/2006/05/smacbook_pro.html SmackBook] (uses EWMH)&lt;br /&gt;
**an [http://weblogs.mozillazine.org/gerv/archives/2006/09/stablilised_smackpad.html improved version] adds stabilization (by comparing smacks to previous ones, uses EWMH)&lt;br /&gt;
**another [http://pberndt.com/Programme/Linux/pyhdaps/index.html approach] adds stabilization (by requiring a certain type of value deflection, uses xmacroplay)&lt;br /&gt;
**[http://www.gnome.org/~fherrera/gtollina.c GTollina] is another smack program for use with compiz (video [http://www.gnome.org/~fherrera/blog/gtollina.html here]).&lt;br /&gt;
*[http://blog.odonnell.nu/61.html xmms-smack.py] - move through your xmms playlist by smacking, based on the two smack scripts above.&lt;br /&gt;
*[http://www-128.ibm.com/developerworks/linux/library/l-knockage.html?ca=dgr-lnxw02aKnockBasedCommands KnockBasedCommands] - Execute commands by tapping your laptop.&lt;br /&gt;
&lt;br /&gt;
=== Interesting links related to this project ===&lt;br /&gt;
* [https://lists.sourceforge.net/lists/listinfo/hdaps-devel HDAPS mailinglist and its archive]&lt;br /&gt;
* #hdaps channel on irc.freenode.org&lt;br /&gt;
* [https://sourceforge.net/projects/hdaps/ hdaps projects] overview of userspace programs using hdaps&lt;br /&gt;
* [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=TPAD-HDFIRM IBM ThinkPads hardware drive firmware site]&lt;br /&gt;
* [http://www.paul.sladen.org/thinkpad-r31/accelerometer.html http://www.paul.sladen.org/thinkpad-r31/accelerometer/]&lt;br /&gt;
* http://bugs.gentoo.org/show_bug.cgi?id=119845 Gentoo ebuild for hdaps driver and daemon including a initscript*&lt;br /&gt;
* http://bugs.gentoo.org/show_bug.cgi?id=137345 Gentoo ebuild for gkhdaps gkrell plugin&lt;br /&gt;
* http://bugs.gentoo.org/show_bug.cgi?id=137350 Gentoo ebuild for hdaps-gl application&lt;br /&gt;
* http://bugs.gentoo.org/show_bug.cgi?id=137351 Gentoo ebuild for gnome hdapsgl-applet&lt;br /&gt;
* http://bugs.gentoo.org/show_bug.cgi?id=137352 Gentoo ebuild for gnome tilt application&lt;br /&gt;
* http://bugs.gentoo.org/show_bug.cgi?id=137353 Gentoo ebuild for wmhdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:R50]] [[Category:R50p]] [[Category:R51]] [[Category:R52]] [[Category:R60]] [[Category:T41]] [[Category:T41p]] [[Category:T42]] [[Category:T42p]] [[Category:T43]] [[Category:T43p]] [[Category:T60]] [[Category:T60p]] [[Category:T61]] [[Category:X40]] [[Category:X41]] [[Category:X41 Tablet]] [[Category:X60]] [[Category:X60s]] [[Category:Z60m]] [[Category:Z60t]] [[Category:Drivers]] [[Category:Z61m]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=HDAPS&amp;diff=30441</id>
		<title>HDAPS</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=HDAPS&amp;diff=30441"/>
		<updated>2007-06-12T22:12:57Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
=== HDAPS - IBM Active Protection System Linux Driver ===&lt;br /&gt;
This is the Linux driver for monitoring the accelerometer known as [[Active Protection System|IBM Active Protection System]].&lt;br /&gt;
&lt;br /&gt;
The driver only enables reading of the acceleration data. It does '''not''' perform [[#Harddisk Protection|automatic disk head parking]]. But there are already some other useful [[#Applications|applications]] for HDAPS, using the {{path|/sys}} interface it provides.&lt;br /&gt;
&lt;br /&gt;
{{WARN|There are two versions of the hdaps driver, one in the Linux kernel mainline, and another provided by [[tp_smapi]].  '''Use of the tp_smapi version of hdaps is strongly recommended by the current hdaps developers.'''}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
*provides accelerometer values via sysfs&lt;br /&gt;
*provides a joystick type input device&lt;br /&gt;
&lt;br /&gt;
=== Project Homepage / Availability ===&lt;br /&gt;
*[http://hdaps.sourceforge.net/ Project Homepage]&lt;br /&gt;
*The driver is included in the 2.6-mm series of kernels since August, 26th 2005.&lt;br /&gt;
*The driver is now in the mainline (2.6.14).&lt;br /&gt;
*The [[tp_smapi]] package contains some patches to this driver. These are necessary for some recent models, and recommended for all.&lt;br /&gt;
&lt;br /&gt;
=== Status ===&lt;br /&gt;
A driver is included in recent Linux kernels and is actively maintained, but it is very inferior to the driver in tp_smapi.  However that may be, tp_spapi does not appear to have any daemons supporting hard disk parking at the moment, so in order to actually use active protection, it is not irrelevant.&lt;br /&gt;
&lt;br /&gt;
=== How to install the driver ===&lt;br /&gt;
If you are using a version of the Linux kernel &amp;lt; 2.6.14, please upgrade. I struggled long and hard to get the driver working with an old version of the kernel, and it was a mess. I gave up, upgraded my kernel, and one recompile later, HDAPS was working. &lt;br /&gt;
&lt;br /&gt;
For 2.6.18 kernel, T60 users have to edit hdaps_init() in drivers/hwmon/hdaps.c to include a HDAPS_DMI_MATCH_LENOVO(&amp;quot;ThinkPad T60&amp;quot;) line.&lt;br /&gt;
&lt;br /&gt;
Install the tp_smapi module if you experience problems with hdaps always reading out constant values of (0,0) [http://sourceforge.net/mailarchive/message.php?msg_id=15350314 refer]&lt;br /&gt;
&lt;br /&gt;
=== Harddisk Protection ===&lt;br /&gt;
As mentioned above, the hdaps kernel driver is only responsible for reading the accelerometer data and exporting it through the sysfs interface. In order to use this information to protect the disk, some additional steps are required.&lt;br /&gt;
&lt;br /&gt;
See [[How to protect the harddisk through APS]].&lt;br /&gt;
&lt;br /&gt;
=== Input device support ===&lt;br /&gt;
The hdaps driver in the lastest kernels (2.6.14 and later?) also exports a joystick type input device, which can be used by games.&lt;br /&gt;
&lt;br /&gt;
=== Applications ===&lt;br /&gt;
====Disk head parking====&lt;br /&gt;
You will need the kernel patch and userspace daemon. The GUI monitoring is optional.&lt;br /&gt;
* Kernel patch (apply using 'patch -p1 -l &amp;lt; hdaps_xx.patch')&lt;br /&gt;
**[http://lwn.net/Articles/154923/ disk park patch] &amp;lt;tt&amp;gt;an experimental patch for parking the disk (Linux 2.6.14 for 2.6.15 see below)&amp;lt;/tt&amp;gt;&lt;br /&gt;
**[http://jenster.dyndns.org/files/blk_freeze-01-nodetection-for-2.6.14.patch disk park patch adapted for the t41p model] &amp;lt;tt&amp;gt; kernel 2.6.14 *([http://sourceforge.net/mailarchive/message.php?msg_id=13214288 capability detection disabled], no libata support)&amp;lt;/tt&amp;gt;&lt;br /&gt;
**[http://jenster.dyndns.org/files/blk_freeze-01-nodetection-for-2.6.15.patch disk park patch adapted for the t41p model] &amp;lt;tt&amp;gt; kernel 2.6.15 *([http://sourceforge.net/mailarchive/message.php?msg_id=13214288 capability detection disabled], no libata support)&amp;lt;/tt&amp;gt;&lt;br /&gt;
**[http://www.dresco.co.uk/hdaps/hdaps_protect.20060118.patch sata/ide disk protection patch for 2.6.15]&lt;br /&gt;
**[http://www.dresco.co.uk/hdaps/hdaps_protect.20060430.patch Latest sata/ide disk protection patch for 2.6.16]&lt;br /&gt;
**[http://whoopie.gmxhome.de/linux/patches/2.6.16-tj/05-hdaps_protect-20060430-for-2.6.16-tj.patch Latest sata/ide disk protection patch for use with the libata hotplug 2.6.16.16 patches] - See [[How_to_hotswap_UltraBay_devices]]&lt;br /&gt;
**[http://whoopie.gmxhome.de/linux/patches/2.6.17.14-tj/03-hdaps_protect-20060430-for-2.6.17-tj.patch Latest sata/ide disk protection patch for use with the libata hotplug 2.6.17.4 patches] - See [[How_to_hotswap_UltraBay_devices]]&lt;br /&gt;
**[http://exitzero.de/t41p-configs/hdaps_protect-2.6.17.1-20060625.patch Untested patch for 2.6.17.1]: see [http://thread.gmane.org/gmane.linux.drivers.hdaps.devel/708/focus=708]&lt;br /&gt;
**[http://www.dresco.co.uk/hdaps/hdaps_protect-2.6.18.3-2.patch Latest sata/ide disk protection patch for 2.6.18.3]&lt;br /&gt;
**[http://article.gmane.org/gmane.linux.kernel/470413 Latest sata/ide disk protection patch for 2.6.19-rc6]&lt;br /&gt;
**[http://www.nabble.com/attachment/9047418/0/hdaps_protect-2.6.20.patch.bz2 Latest sata/ide disk protection patch for 2.6.20] (old design)&lt;br /&gt;
**[http://article.gmane.org/gmane.linux.drivers.hdaps.devel/993 Latest sata/ide disk protection patch for 2.6.20 and 2.6.21] (new design)&lt;br /&gt;
*Userspace daemon&lt;br /&gt;
**[http://www.dresco.co.uk/hdaps/hdapsd-20070415.c  userspace parking daemon] (recommended version)&lt;br /&gt;
**[ftp://rohrmoser-engineering.de/pub/  hdapsd-&amp;lt;date&amp;gt;.c  is a version of the daemon which uses a different (and potentially better) algorithm for the adaptive sensivity threshold] (fork of the &amp;quot;upstream&amp;quot; daemon)&lt;br /&gt;
*GUI monitoring&lt;br /&gt;
**[http://roy.marples.name/node/269 khdapmonitor] KDE System Tray Monitor&lt;br /&gt;
**[http://www.dresco.co.uk/hdaps/gnome-hdaps-applet-20060120.tar.gz gnome-hdaps-applet] visual display of disk protection status in gnome panel&lt;br /&gt;
See [[How to protect the harddisk through APS]] for more information.&lt;br /&gt;
&lt;br /&gt;
====Security &amp;amp; safety====&lt;br /&gt;
*[[Script for theft alarm using HDAPS]]&lt;br /&gt;
&lt;br /&gt;
====Tilt monitoring====&lt;br /&gt;
*[http://www.mulliner.org/collin/gkibm-acpi.php gkhdaps] &amp;lt;tt&amp;gt;a GKrellM applet displaying tilt data&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[http://rlove.org/log/2005082203.html gnome-tilt] &amp;lt;tt&amp;gt;a gnome applet showing tilt data&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Visualisation (of ThinkPad orientation)====&lt;br /&gt;
*[http://rlove.org/log/2005082401.html hdaps-gl] &amp;lt;tt&amp;gt;a little app animating a 3D-ThinkPad&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[https://sourceforge.net/project/showfiles.php?group_id=138242 hdapsgl-applet] &amp;lt;tt&amp;gt; a GNOME applet animating a 3D-ThinkPad&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[https://sourceforge.net/project/showfiles.php?group_id=138242 wmadhps] &amp;lt;tt&amp;gt;a WindowMaker DockApp animating a 3D-ThinkPad&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[http://www.cs.cmu.edu/~ecc/gyro.tar.gz OpenGL gyroscope hack] &amp;lt;tt&amp;gt;keeps your display levelled when tilting the ThinkPad&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Games====&lt;br /&gt;
*[http://icculus.org/neverball/ Neverball] is quite fun with HDAPS. (You'll need to have the HDAPS joystick device)&lt;br /&gt;
*Turn your ThinkPad into a Jedi Weapon (hey, it [http://isnoop.net/blog/2006/05/20/macsaber-turn-your-mac-into-a-jedi-weapon works for Mac laptops])&lt;br /&gt;
&lt;br /&gt;
====Other====&lt;br /&gt;
&lt;br /&gt;
*[http://blog.micampe.it/articles/2006/06/04/here-comes-the-smackpad smack.py] - switch workspace by smacking your laptop, inspired by the [http://blog.medallia.com/2006/05/smacbook_pro.html SmackBook] (uses EWMH)&lt;br /&gt;
**an [http://weblogs.mozillazine.org/gerv/archives/2006/09/stablilised_smackpad.html improved version] adds stabilization (by comparing smacks to previous ones, uses EWMH)&lt;br /&gt;
**another [http://pberndt.com/Programme/Linux/pyhdaps/index.html approach] adds stabilization (by requiring a certain type of value deflection, uses xmacroplay)&lt;br /&gt;
**[http://www.gnome.org/~fherrera/gtollina.c GTollina] is another smack program for use with compiz (video [http://www.gnome.org/~fherrera/blog/gtollina.html here]).&lt;br /&gt;
*[http://blog.odonnell.nu/61.html xmms-smack.py] - move through your xmms playlist by smacking, based on the two smack scripts above.&lt;br /&gt;
*[http://www-128.ibm.com/developerworks/linux/library/l-knockage.html?ca=dgr-lnxw02aKnockBasedCommands KnockBasedCommands] - Execute commands by tapping your laptop.&lt;br /&gt;
&lt;br /&gt;
=== Interesting links related to this project ===&lt;br /&gt;
* [https://lists.sourceforge.net/lists/listinfo/hdaps-devel HDAPS mailinglist and its archive]&lt;br /&gt;
* #hdaps channel on irc.freenode.org&lt;br /&gt;
* [https://sourceforge.net/projects/hdaps/ hdaps projects] overview of userspace programs using hdaps&lt;br /&gt;
* [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=TPAD-HDFIRM IBM ThinkPads hardware drive firmware site]&lt;br /&gt;
* [http://www.paul.sladen.org/thinkpad-r31/accelerometer.html http://www.paul.sladen.org/thinkpad-r31/accelerometer/]&lt;br /&gt;
* http://bugs.gentoo.org/show_bug.cgi?id=119845 Gentoo ebuild for hdaps driver and daemon including a initscript*&lt;br /&gt;
* http://bugs.gentoo.org/show_bug.cgi?id=137345 Gentoo ebuild for gkhdaps gkrell plugin&lt;br /&gt;
* http://bugs.gentoo.org/show_bug.cgi?id=137350 Gentoo ebuild for hdaps-gl application&lt;br /&gt;
* http://bugs.gentoo.org/show_bug.cgi?id=137351 Gentoo ebuild for gnome hdapsgl-applet&lt;br /&gt;
* http://bugs.gentoo.org/show_bug.cgi?id=137352 Gentoo ebuild for gnome tilt application&lt;br /&gt;
* http://bugs.gentoo.org/show_bug.cgi?id=137353 Gentoo ebuild for wmhdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:R50]] [[Category:R50p]] [[Category:R51]] [[Category:R52]] [[Category:R60]] [[Category:T41]] [[Category:T41p]] [[Category:T42]] [[Category:T42p]] [[Category:T43]] [[Category:T43p]] [[Category:T60]] [[Category:T60p]] [[Category:T61]] [[Category:X40]] [[Category:X41]] [[Category:X41 Tablet]] [[Category:X60]] [[Category:X60s]] [[Category:Z60m]] [[Category:Z60t]] [[Category:Drivers]] [[Category:Z61m]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30440</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30440"/>
		<updated>2007-06-12T21:41:56Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: /* Updating the Kernel to 2.6.x */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (I picked reiserfs and therefore need that initrd)&lt;br /&gt;
##yes to headers, modules, and source&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## patch -p1 -i /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch&lt;br /&gt;
#cp .config Default.config&lt;br /&gt;
#make mrproper&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled Devices-&amp;gt;Networn Devices-&amp;gt;Wireless-&amp;gt;Intel PRO/Wireless 2100&amp;amp;2200 card modules because they will be built later and I had some error messages on one build...&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built as a module (so as not to interfere with ATI's driver later)&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
 make modules_install &amp;amp;&amp;amp;  make_install&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
 cd /boot&lt;br /&gt;
 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
 rm vmlinuz&lt;br /&gt;
 ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
 vi /etc/lilo.conf &lt;br /&gt;
 lilo&lt;br /&gt;
 reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== WiFi ===&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modules.conf&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
Followed instructions on [[How to configure acpid]] to create scripts in /etc/acpi.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Additions:&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
 &lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30438</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30438"/>
		<updated>2007-06-12T21:17:47Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: Installing Slackware 11 on a ThinkPad T42 moved to Installing Slackware/11.0 on a ThinkPad T42: Following naming convention.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (I picked reiserfs and therefore need that initrd)&lt;br /&gt;
##yes to headers, modules, and source&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## patch -p1 -i /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled Devices-&amp;gt;Networn Devices-&amp;gt;Wireless-&amp;gt;Intel PRO/Wireless 2100&amp;amp;2200 card modules because they will be built later and I had some error messages on one build...&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built as a module (so as not to interfere with ATI's driver later)&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
 make modules_install &amp;amp;&amp;amp;  make_install&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
 cd /boot&lt;br /&gt;
 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
 rm vmlinuz&lt;br /&gt;
 ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
 vi /etc/lilo.conf &lt;br /&gt;
 lilo&lt;br /&gt;
 reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== WiFi ===&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modules.conf&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
Followed instructions on [[How to configure acpid]] to create scripts in /etc/acpi.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Additions:&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
 &lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware_11_on_a_ThinkPad_T42&amp;diff=30439</id>
		<title>Installing Slackware 11 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware_11_on_a_ThinkPad_T42&amp;diff=30439"/>
		<updated>2007-06-12T21:17:47Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: Installing Slackware 11 on a ThinkPad T42 moved to Installing Slackware/11.0 on a ThinkPad T42: Following naming convention.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Installing Slackware/11.0 on a ThinkPad T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_T42&amp;diff=30437</id>
		<title>Installation instructions for the ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_T42&amp;diff=30437"/>
		<updated>2007-06-12T21:11:47Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: /* Distro specific instructions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Specific installation notes for the ThinkPad {{T42}}.&lt;br /&gt;
&lt;br /&gt;
==General Notes==&lt;br /&gt;
&lt;br /&gt;
==Distro specific instructions==&lt;br /&gt;
*{{Install|Debian|/Sarge|T42}}&lt;br /&gt;
*{{Install|Debian|/Sarge (alternative)|T42}}&lt;br /&gt;
*{{Install|Ubuntu|/Breezy|T42}}&lt;br /&gt;
*{{Install|Fedora| Core|T42}}&lt;br /&gt;
*{{Install|Slackware|/11.0|T42}}&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30421</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30421"/>
		<updated>2007-06-11T20:52:41Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (I picked reiserfs and therefore need that initrd)&lt;br /&gt;
##yes to headers, modules, and source&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## patch -p1 -i /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
* Disabled Devices-&amp;gt;Networn Devices-&amp;gt;Wireless-&amp;gt;Intel PRO/Wireless 2100&amp;amp;2200 card modules because they will be built later and I had some error messages on one build...&lt;br /&gt;
* Disabled all graphics modules in Devices-&amp;gt;Graphics support except ATI Radeon display, which I built as a module (so as not to interfere with ATI's driver later)&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
 make modules_install &amp;amp;&amp;amp;  make_install&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
 cd /boot&lt;br /&gt;
 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
 rm vmlinuz&lt;br /&gt;
 ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
 vi /etc/lilo.conf &lt;br /&gt;
 lilo&lt;br /&gt;
 reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== WiFi ===&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modules.conf&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
Followed instructions on [[How to configure acpid]] to create scripts in /etc/acpi.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Additions:&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
 &lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30418</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30418"/>
		<updated>2007-06-11T20:01:33Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel to 2.6.x ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (I picked reiserfs and therefore need that initrd)&lt;br /&gt;
##yes to headers, modules, and source&lt;br /&gt;
#cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
#install suspend2 kernel patch&lt;br /&gt;
## patch -p1 -i /''path-to''/suspend-2.2.8.2-for-2.6.17.13.patch&lt;br /&gt;
#make menuconfig&lt;br /&gt;
## See [[#Kernel Options|'''options''']] section, below.&lt;br /&gt;
## strangely, make complained about --no-stack-protector, so I deleted that option&lt;br /&gt;
&lt;br /&gt;
=== Suspend2 Kernel Patch ===&lt;br /&gt;
The last kernel patch for 2.6.17.13 released is 2.2.8.2-for-2.6.17.13 [http://www.suspend2.net/downloads/all/suspend2-2.2.8.2-for-2.6.17.13.patch.bz2].  This requires the suspend2-userui version 0.6.4 [http://www.suspend2.net/downloads/all/suspend2-userui-0.6.4.tar.gz].  I used the latest hibernate script, since this did not have any version disclaimers...&lt;br /&gt;
&lt;br /&gt;
=== Kernel Options ===&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
 make modules_install &amp;amp;&amp;amp;  make_install&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
 cd /boot&lt;br /&gt;
 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
 rm vmlinuz&lt;br /&gt;
 ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
 vi /etc/lilo.conf &lt;br /&gt;
 lilo&lt;br /&gt;
 reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
=== WiFi ===&lt;br /&gt;
Follow the [[Ipw2200#Installation from sourcecode|install from source]] options, and don't forget to [[Ipw2200#Patching the ipw2200 driver|patch ipw2200-2.tgz]] because you're going to compile it anyway.  I mistakenly used the development version of ieee802011-1.2.17 (instead of 1.2.15) with ipw220-1.2.0 and ipw2200-fw-3.0, but it is working anyway.&lt;br /&gt;
&lt;br /&gt;
In order to test wifi and make the thing go once it is working, I installed the [http://wlassistant.sourceforge.net/ Wireless Assistant] package.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modules.conf&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
Followed instructions on [[How to configure acpid]] to create scripts in /etc/acpi.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Additions:&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
 &lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30366</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30366"/>
		<updated>2007-06-09T00:57:36Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (I picked reiserfs and therefore need that initrd)&lt;br /&gt;
##yes to headers, modules, and source&lt;br /&gt;
# cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
# make menuconfig&lt;br /&gt;
## See '''options''' section, below.&lt;br /&gt;
&lt;br /&gt;
== Kernel Options ==&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
* [[How to make use of IrDA#Linux 2.6 kernel config 2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
 make modules_install &amp;amp;&amp;amp;  make_install&lt;br /&gt;
&lt;br /&gt;
realize that slackware is still using lilo, so install has just replaced vmlinuz.  Copy original to unique name and symlink, then install new lilo menu.&lt;br /&gt;
 cd /boot&lt;br /&gt;
 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.17.13-Farfrumlernen&lt;br /&gt;
 rm vmlinuz&lt;br /&gt;
 ln vmlinuz-2.6.17.13-Farfrumlernen vmlinuz&lt;br /&gt;
 vi /etc/lilo.conf &lt;br /&gt;
 lilo&lt;br /&gt;
 reboot # with fingers crossed&lt;br /&gt;
&lt;br /&gt;
Make sure you add another image=&amp;quot;vmlinuz.old&amp;quot; to the file just incase the worst should happen... And hey, why not add ''append = &amp;quot;acpi_sleep=s3_bios&amp;quot;'' from [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T42|SUSE on T42]] while you're at it!&lt;br /&gt;
My system hung on bootup with my first try here because it couldn't mount some filesystems.  I added the noauto option to appropriate drives in /etc/fstab and everything was peachy again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Some Customization ==&lt;br /&gt;
Added suggested sections to /etc/modules.conf and /etc/modprobe.conf from [[Ipw2200]], [[IrDA]], and others.&lt;br /&gt;
&lt;br /&gt;
/etc/modules.conf&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 options ipw2200 led=1&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.conf&lt;br /&gt;
 options ipw2200 disable=1&lt;br /&gt;
&lt;br /&gt;
Followed instructions on [[How to configure acpid]] to create scripts in /etc/acpi.&lt;br /&gt;
&lt;br /&gt;
Muse at all the time I could spend on [[How to get special keys to work|making special keys work]].&lt;br /&gt;
&lt;br /&gt;
== X11 Configuration ==&lt;br /&gt;
Additions:&lt;br /&gt;
* ''Option &amp;quot;DPMS&amp;quot;'' in Monitor section.&lt;br /&gt;
 &lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30364</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30364"/>
		<updated>2007-06-08T23:29:32Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (I picked reiserfs and therefore need that initrd)&lt;br /&gt;
##yes to headers, modules, and source&lt;br /&gt;
# cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
# make menuconfig&lt;br /&gt;
## See '''options''' section, below.&lt;br /&gt;
&lt;br /&gt;
== Kernel Options ==&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
* [[How_to_make_use_of_IrDA#Linux_2.6_kernel_config_2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
 make modules_install &amp;amp;&amp;amp;  make_install&lt;br /&gt;
realize that slackware is still using lilo, smile to self.&lt;br /&gt;
 vi /etc/lilo.conf&lt;br /&gt;
 lilo&lt;br /&gt;
&lt;br /&gt;
[[Category:T42]]&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30363</id>
		<title>Installing Slackware/11.0 on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Slackware/11.0_on_a_ThinkPad_T42&amp;diff=30363"/>
		<updated>2007-06-08T23:27:00Z</updated>

		<summary type="html">&lt;p&gt;Frobnitzem: â†Created page with 'As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mist...'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As the name suggests, this page documents a start-to-finish installation of Slackware 11 on a thinkpad T42.  This is a work-in-progress, so check the history page for mistakes I made (if you are that type).&lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
Gathering system information is like mice storing away for winter.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|CPU&lt;br /&gt;
|Pentium M, 1.7 GHz&lt;br /&gt;
|-&lt;br /&gt;
|Monitor resolution&lt;br /&gt;
|1400x1050&lt;br /&gt;
|-&lt;br /&gt;
|Graphics&lt;br /&gt;
|ATI Mobility Radeon 9600&lt;br /&gt;
|-&lt;br /&gt;
|Network&lt;br /&gt;
|Intel Pro/1000 MT Mobile Connection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Intel Pro/Wireless 2200BG&lt;br /&gt;
|-&lt;br /&gt;
|CD/DVD&lt;br /&gt;
|Matshita DVD-RAM UJ-812&lt;br /&gt;
|-&lt;br /&gt;
|PCMCIA&lt;br /&gt;
|TI PCI-4520 Cardbus Controller&lt;br /&gt;
|-&lt;br /&gt;
|Sound&lt;br /&gt;
|AD1981B(AC'97) (module snd-intel8x0 works on 2.4 kernel)&lt;br /&gt;
|-&lt;br /&gt;
|IR&lt;br /&gt;
|IBM ThinkPad FastIR&lt;br /&gt;
|-&lt;br /&gt;
|HDD&lt;br /&gt;
|Intel 82801DBM UATA-24CA for Fujitsu MHT2080AH&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation proper ==&lt;br /&gt;
Grabbed a DVD install of Slackware 11 [http://www.slackware.com/]. It failed to boot (maybe 2.4.33 kernel shipped doesn't recognize the drive?).  Grabbed install CDs ''ibid.''  Sat through package selection process.&lt;br /&gt;
Created a second user account (useradd).&lt;br /&gt;
&lt;br /&gt;
Found out that sound is muted by default. Fix:&lt;br /&gt;
# amixer set Master 70 unmute&lt;br /&gt;
# amixer set PCM 70 unmute&lt;br /&gt;
# amixer set CD 70 unmute&lt;br /&gt;
# alsactl store&lt;br /&gt;
&lt;br /&gt;
Installed all my favorite software, not worrying about how to make the wifi work for now or optimizing video performance.&lt;br /&gt;
&lt;br /&gt;
== Updating the Kernel ==&lt;br /&gt;
As you may know, the wifi driver is in the 2.6.4 or newer kernels.  This necessitated more work on my part and while I was at it I may as well recompile some ''respectability'' into my kernel.&lt;br /&gt;
&lt;br /&gt;
#cd ''install-media''/extras/linux-2.6.17.13&lt;br /&gt;
#pkgtool&lt;br /&gt;
##no to kernel itself (I picked reiserfs and therefore need that initrd)&lt;br /&gt;
##yes to headers, modules, and source&lt;br /&gt;
# cd /usr/src/linux ''yes, the symlink had been changed to 2.6''&lt;br /&gt;
# make menuconfig&lt;br /&gt;
## See '''options''' section, below.&lt;br /&gt;
&lt;br /&gt;
== Kernel Options ==&lt;br /&gt;
* Processor Family = Pentium M (scroll down)&lt;br /&gt;
* [[How_to_make_ACPI_work|ACPI]] Options&lt;br /&gt;
** CPUFreq driver = Intel Enhanced SpeedStep&lt;br /&gt;
*** ACPI Processor P-States = fall-back module&lt;br /&gt;
* [[How_to_make_use_of_IrDA#Linux_2.6_kernel_config_2 | IrDA]]&lt;br /&gt;
* Added reiserfs into the kernel to avoid messing with initrd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recompile kernel overnight.&lt;br /&gt;
 (make &amp;amp;&amp;amp; make modules) ||  echo &amp;quot;poo-bear&amp;quot;&lt;br /&gt;
Install the thing.&lt;br /&gt;
 make modules_install &amp;amp;&amp;amp;  make_install&lt;br /&gt;
realize that slackware is still using lilo, smile to self.&lt;br /&gt;
 vi /etc/lilo.conf&lt;br /&gt;
 lilo&lt;/div&gt;</summary>
		<author><name>Frobnitzem</name></author>
		
	</entry>
</feed>