<?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=Adamg</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=Adamg"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Adamg"/>
	<updated>2026-05-01T12:38:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Linux&amp;diff=27991</id>
		<title>Linux</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Linux&amp;diff=27991"/>
		<updated>2007-01-28T14:45:37Z</updated>

		<summary type="html">&lt;p&gt;Adamg: revert vandalism&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Linux is a free Unix-type operating system originally created by Linus Torvalds with the assistance of developers around the world. Developed under the [[wikipedia:GNU General Public License|GNU General Public License]] , the source code for Linux is freely available to everyone.&lt;br /&gt;
&lt;br /&gt;
Read a more detailed description at [[Wikipedia:Linux|Wikipedia]].&lt;br /&gt;
&lt;br /&gt;
General information about Linux can also be found at [http://www.linux.org www.linux.org].&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;br /&gt;
[[Category:Operating System]]&lt;/div&gt;</summary>
		<author><name>Adamg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Embedded_Security_Subsystem&amp;diff=27990</id>
		<title>Embedded Security Subsystem</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Embedded_Security_Subsystem&amp;diff=27990"/>
		<updated>2007-01-28T14:45:23Z</updated>

		<summary type="html">&lt;p&gt;Adamg: revert vandalism&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;&amp;quot; | [[Image:ESS.jpg|IBM Embedded Security Subsystem]] __NOTOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== The Embedded Security Subsystem ===&lt;br /&gt;
The Embedded Security Subsystem is nothing but a chip installed on the ThinkPads mainboard that can take care of certain security related tasks conforming to the TCPA standard. It was first introduced among the T23 models and is now under the name Embedded Security Subsystem 2.0 an integral part of most of the modern ThinkPads. The functions of the chip are bound to three main groups:&lt;br /&gt;
* public key functions&lt;br /&gt;
* trusted boot functions&lt;br /&gt;
* initialization and management functions&lt;br /&gt;
&lt;br /&gt;
The purpose of the whole thing is to keep the user's sensitive data out of range from software based attacks (like viruses, internet attacks etc.). One way the chip offers to achieve this is by providing storage for keys along with the neccessary functions to handle them within itself, so that a i.e. a private key never has to leave the chip (can't be seen by any piece of software). Besides this there are more complex topics covered by the functionality of the chip. If you want to find out more about it you can find good documents on the [http://www.research.ibm.com/gsal/tcpa/ IBM Research TCPA resources page].&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Some ThinkPads have the TPM chip integrated into the SuperIO chip, or soldered to the planar card/mainboard. Don't let the picture fool you...}}&lt;br /&gt;
&lt;br /&gt;
{{WARN|There's a bug in the latest release of the security chip software.  You end up facing a security chip login, and you press Ctrl-alt-delete, and it just sits there.  DO NOT Download the latest patch (Dated 13/06/2006 v 7.00.0017.00) &amp;lt;BR&amp;gt;&lt;br /&gt;
Actaully they appear to have removed that patch.&amp;lt;BR&amp;gt;&lt;br /&gt;
Ring IBM support (in Australia 131426, 1, 2) and they'll talk you through doing a system restore.}}&lt;br /&gt;
&lt;br /&gt;
==Trusted or Treacherous?==&lt;br /&gt;
&lt;br /&gt;
TC - Trusted Computing - will be the biggest change of the information landscape since decades. Besides positive features like a more secure hardware storage for cryptographic keys, an analysis of the proposed TCG-standards shows some problematic properties. &amp;lt;br /&amp;gt;&lt;br /&gt;
As ThinkPads of recent generations following the ThinkPad {{T23}} ([[Embedded Security Subsystem#Models featuring this Technology|see the complete list of models]]) are equipped with this disputed TCG-/TCPA-Technology, it can be interesting, which promises of the TCG are fulfilled inside your ThinkPad and which parts of the TCG-specifications still seem to be a privacy issue for every user of digital devices like a MP3-player or a ThinkPad - so please read [[TCPA/TCG - Trusted or Treacherous|this article]] for more details.&lt;br /&gt;
&lt;br /&gt;
==Linux Support==&lt;br /&gt;
Two linux drivers are available, a [[tpm|classical one]] and a [[tpmdd|newer one]].&lt;br /&gt;
Coverage of functionality of the first is unknown so far, the second is part of a bigger project aiming to provide a usable security framework.&lt;br /&gt;
&lt;br /&gt;
David Stafford (one of the developers of the tpm code at IBM) on March 10, 2005 sent me the most recent version of the tpm-kml code. With his permission, I quote his email:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;I am attaching our latest driver and library.&lt;br /&gt;
This version is in the process of kernel mailing list review, and&lt;br /&gt;
will hopefully be accepted into the official kernel. It works&lt;br /&gt;
much better across various 2.6 kernels. Note that this builds&lt;br /&gt;
three modules tpm, tpm_atmel, and tpm_nsc. You modprobe the&lt;br /&gt;
tpm_atmel (for all current shipping atmel based systems), or&lt;br /&gt;
tpm_nsc (for the coming national based systems).&lt;br /&gt;
&lt;br /&gt;
Also note that there is a conflict with the snd-intel8x0&lt;br /&gt;
kernel module (they each try to grab the LPC bus). You can&lt;br /&gt;
either: load the tpm modules first (such as in initrd or&lt;br /&gt;
rc.sysinit, before sound), or recompile the snd-intel8x0, turning&lt;br /&gt;
off the MIDI and JOYSTICK support. The latest 2.6.11 version&lt;br /&gt;
of snd-intel8x0 also reportedly fixes things.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Compiling this library was easy. Compiling the driver on my 2.6.8-686 (debian testing) laptop failed. But the library works with the driver I compiled from the tpm-2.0 package IBM made available on its pages (see the links below).&lt;br /&gt;
&lt;br /&gt;
Gijs&lt;br /&gt;
&lt;br /&gt;
The T43 requires a patch posted to the LKML by Kylene Jo Hall: [http://marc.theaimsgroup.com/?l=linux-kernel&amp;amp;m=111884603309146&amp;amp;w=2 LKML posting]. An updated patch for linux 2.6.12 is available [http://shamrock.dyndns.org/~ln/linux/tpm_2.6.12.diff here].&lt;br /&gt;
&lt;br /&gt;
The atmel driver comes with 2.6.12.&lt;br /&gt;
----&lt;br /&gt;
now suported in 2.6.15.1(and mabe others kernels under this number) in:&lt;br /&gt;
&lt;br /&gt;
/device drivers/caracter devices/tpm devices&lt;br /&gt;
&lt;br /&gt;
==Versions &amp;amp; Features==&lt;br /&gt;
=== Embedded Security Chip ===&lt;br /&gt;
IBM introduced it's TCPA/TCG features with some of the [[:Category:T23|T23]] models. The earlier of them didn't yet have the Embedded Security Subsystem, but a kind of pre 1.0 version called the Embedded Security Chip. This chip had the following capabilities:&lt;br /&gt;
*Data communications authentication and encryption&lt;br /&gt;
*Storage of encrypted passwords&lt;br /&gt;
&lt;br /&gt;
=== Embedded Security Subsystem (1.0) ===&lt;br /&gt;
The original Embedded Security Subsystem (in IBM documents there is no use of the additive version-number 1.0) claims to be compliant with TCG specs, but apparently did not fully implement any specific TCG spec.&lt;br /&gt;
&lt;br /&gt;
The Embedded Security Subsystem has the following features:&lt;br /&gt;
*hardware key storage&lt;br /&gt;
*multi-factor authentication&lt;br /&gt;
*local file encryption&lt;br /&gt;
*enhances VPN security&lt;br /&gt;
&lt;br /&gt;
=== Embedded Security Subsystem 2.0 ===&lt;br /&gt;
The Embedded Security Subsystem 2.0 conforms to the TCG TPM 1.1b specification, with a TPM manufactured by either Atmel or National Semiconductor.&lt;br /&gt;
&lt;br /&gt;
The Embedded Security Subsystem 2.0 has the following features:&lt;br /&gt;
*hardware key storage&lt;br /&gt;
*multi-factor authentication&lt;br /&gt;
*local file encryption&lt;br /&gt;
*enhances VPN security&lt;br /&gt;
*TCG compliant&lt;br /&gt;
&lt;br /&gt;
==Models featuring this Technology==&lt;br /&gt;
===IBM Embedded Security Chip===&lt;br /&gt;
*ThinkPad {{T23}}&lt;br /&gt;
===IBM Embedded Security Subsystem===&lt;br /&gt;
*ThinkPad {{A30p}}&lt;br /&gt;
*ThinkPad {{R31}}&lt;br /&gt;
*ThinkPad {{T23}}, {{T30}}, {{T41}}&lt;br /&gt;
*ThinkPad {{X22}}, {{X23}}, {{X24}}&lt;br /&gt;
&lt;br /&gt;
===IBM Embedded Security Subsystem 2.0===&lt;br /&gt;
*ThinkPad {{R32}}, {{R40}}, {{R50}}, {{R50p}}, {{R51}}, {{R51e}}, {{R52}}, {{R60}}&lt;br /&gt;
*ThinkPad {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T60}}, {{T60p}}&lt;br /&gt;
*ThinkPad {{X30}}, {{X31}}, {{X32}}, {{X40}}, {{X41}}, {{X41T}}, {{X60}}, {{X60s}}&lt;br /&gt;
*ThinkPad {{Z60m}}, {{Z60t}}&lt;br /&gt;
[[Category:Glossary]] [[Category:Trusted Computing]]&lt;br /&gt;
&lt;br /&gt;
==TCPA/TCG clean models==&lt;br /&gt;
*all models produced before 2000&lt;br /&gt;
*all i Series models&lt;br /&gt;
*ThinkPad [[:Category:240X|240X]]&lt;br /&gt;
*ThinkPad [[:Category:A20m|A20m]], [[:Category:A20p|A20p]], [[:Category:A21e|A21e]], [[:Category:A21m|A21m]], [[:Category:A21p|A21p]], [[:Category:A22e|A22e]], [[:Category:A22m|A22m]], [[:Category:A22p|A22p]], [[:Category:A30|A30]]&lt;br /&gt;
*ThinkPad [[:Category:R50e|R50e]]&lt;br /&gt;
*ThinkPad [[:Category:T20|T20]], [[:Category:T21|T21]], [[:Category:T22|T22]]&lt;br /&gt;
*ThinkPad [[:Category:X20|X20]], [[:Category:X21|X21]], [[:Category:X22|X22]]&lt;br /&gt;
*ThinkPad [[:Category:TransNote|TransNote]]&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.pc.ibm.com/us/think/thinkvantagetech/security.html IBMs ThinkVantage&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; Technologies Embedded Security Subsystem page]&lt;br /&gt;
*[http://www.pc.ibm.com/presentations/us/thinkvantage/56/index.html?shortcut=ess&amp;amp; IBMs ThinkVantage&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; Technologies Flash presentation - Embedded Security Subsystem]&lt;br /&gt;
*[http://www.research.ibm.com/gsal/tcpa/ IBM Research TCPA resources page]&lt;br /&gt;
*[http://www.prosec.rub.de/trusted_grub.html Trusted Grub]&lt;/div&gt;</summary>
		<author><name>Adamg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Installing_Xandros_on_a_ThinkPad_600X&amp;diff=27989</id>
		<title>Talk:Installing Xandros on a ThinkPad 600X</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Installing_Xandros_on_a_ThinkPad_600X&amp;diff=27989"/>
		<updated>2007-01-28T14:44:59Z</updated>

		<summary type="html">&lt;p&gt;Adamg: revert vandalism&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Adamg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:UltraslimBay_Floppy_Drive&amp;diff=27988</id>
		<title>Talk:UltraslimBay Floppy Drive</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:UltraslimBay_Floppy_Drive&amp;diff=27988"/>
		<updated>2007-01-28T14:44:47Z</updated>

		<summary type="html">&lt;p&gt;Adamg: revert vandalism&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Adamg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Pre-Installation_steps&amp;diff=27987</id>
		<title>Pre-Installation steps</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Pre-Installation_steps&amp;diff=27987"/>
		<updated>2007-01-28T14:44:30Z</updated>

		<summary type="html">&lt;p&gt;Adamg: revert vandalism&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Backup/Rescue CD Set==&lt;br /&gt;
The preinstalled WinXP on most modern Thinkpads comes with a software to create rescue discs. It can be found in the &amp;quot;Access IBM&amp;quot; section of the Windows menu. I recommend to create a set of rescue discs before you repartition the drive. When you create the rescue discs, use a CD-R for the first volume (it's only 280 Megs) and then DVD-R. Otherwise you will end up with seven CD-Rs.&lt;br /&gt;
Alternatively IBM [[Ordering_Recovery_CDs|offers]] shipment of a pack of rescue disks if you call the support hotline. Or try to create the rescue CDs [[Backing_up_the_preloaded_OS|on your own]]. &lt;br /&gt;
&lt;br /&gt;
The copy of Windows that came with your machine cannot be legally transferred to any other machine. Leave the license sticker intact for when the machine is sold, or if you just have to dual boot.&lt;br /&gt;
&lt;br /&gt;
==Resizing your Windows Partition==&lt;br /&gt;
If you want to keep your WinXP partition and you do not want to shell out lots of money for PartitionMagic, you can use [http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html ntfsresize]. I recommend booting {{Kanotix}} or {{Knoppix}}, getting it online and using the latest version to be found at the ntfsresize link because the CD linuxes tend to come with slightly out-dated versions. Be sure not to forget to resize your Windows partition (e.g. with cfdisk) AFTER having resized ntfs and TAKE CARE not to make the partition smaller than you made the ntfs. If you like it safe and smooth you can also take a look at the program &amp;quot;qtparted&amp;quot; which reportedly takes care of ntfsresize and partition table changing in one go and allows you to adjust partition sizes in a GUI. But I have not tested this software personally.&lt;br /&gt;
&lt;br /&gt;
'''Please be carefull before taking the following steps. I suggest that you should create rescue and product recovery CDs (6 CDS will be required) before going for the following so that if anything goes wrong you can go back to the factory setting using those CDs.'''&lt;br /&gt;
&lt;br /&gt;
==Moving the Recovery partition using a Linux rescue system==&lt;br /&gt;
On newer models (i.e. the T43) the preinstalled HDD has two partitions; the first one containing the OS and second one having the rescue files used to boot the machine when {{ibmkey|Access IBM|#495988}} button is pressed before Windows XP takes control of the laptop. One can use his Linux distros boot CD (usually the first CD) to boot into rescue mode and shift the rescue partition from the end of the HDD to somewhere in between leaving required space for Windows. This can be done in following steps:&lt;br /&gt;
&lt;br /&gt;
===Creating a temporary rescue partition===&lt;br /&gt;
* Run {{cmdroot|fdisk /dev/sda}}.&lt;br /&gt;
* Delete the 1st partition ({{path|/dev/sda1}}).&lt;br /&gt;
* Create a partion {{path|/dev/sda3}} immediately before the rescue partition ({{path|/dev/sda2}}) with exactly the same number of cylinders as the rescue partition.&lt;br /&gt;
* Save the partition table and quit fdisk. Reboot.&lt;br /&gt;
{{HINT|To be on the safe side, reboot the machine everytime the partition table is modified and saved using fdisk from linux rescue mode.}}&lt;br /&gt;
* rawcopy the contents of {{path|/dev/sda2}} to {{path|/dev/sda3}} with&lt;br /&gt;
:{{cmdroot|1=dd if=/dev/sda2 of=/dev/sda3}}&lt;br /&gt;
&lt;br /&gt;
===Creating the rescue partition in its final position===&lt;br /&gt;
* Run {{cmdroot|fdisk /dev/sda}}.&lt;br /&gt;
* Delete the rescue partiton {{path|/dev/sda2}} (we just backed it up to {{path|/dev/sda3}}).&lt;br /&gt;
* Create a partion {{path|/dev/sda2}} immediately after the space you want to leave for Windows. Note that this new partition again should have exactly the same number of cylinders as the rescue partition (now {{path|/dev/sda3}}).&lt;br /&gt;
* Save the partition table and quit fdisk. Reboot.&lt;br /&gt;
* rawcopy the contents of {{path|/dev/sda3}} to the newly created {{path|/dev/sda2}}:&lt;br /&gt;
:{{cmdroot|1=dd if=/dev/sda3 of=/dev/sda2}}&lt;br /&gt;
* Run {{cmdroot|fdisk /dev/sda}}.&lt;br /&gt;
* Delete the temporary rescue partiton {{path|/dev/sda3}} (we just copied it to {{path|/dev/sda2}})&lt;br /&gt;
* Save the partition table and quit fdisk.&lt;br /&gt;
* Reboot the machine and press {{ibmkey|Access IBM|#495988}} Button to restore the Windows XP from the rescue partition. Windows XP will occupy only the space available before the new rescue partition.&lt;br /&gt;
&lt;br /&gt;
Once Windows XP is recovered follow the standard mechanism for installing Linux in the available free space at the end of the HDD. If you have created Rescue and Product Recovery CDs, then the Rescue Partition also can be deleted at this stage to make more room for your Linux installation.&lt;br /&gt;
&lt;br /&gt;
= Alternative Method: Dual Booting and retaining ThinkVantage Utility =&lt;br /&gt;
&lt;br /&gt;
Note: T60 2913 with 60 GB drive&lt;br /&gt;
&lt;br /&gt;
The key here is to find a bootable CD version of Linux that has the PartEd package on it (preferrably with qtparted also).  I used SystemRescueCd (http://www.sysresccd.org/Main_Page).  I've read people say to defrag Windows, but according to the PartEd website, the PartEd resize command (http://www.gnu.org/software/parted/manual/parted.html#resize) will take care of all that.  Now boot with the SystemRescueCd and when you get the prompt, press F2.  This will list available images.  I used fb1024, because I wanted to use qtparted (graphical, fb1024 is framebuffer at 1024x768 vs fb800 is framebuffer at 800x600, etc), not parted (commandline).  &lt;br /&gt;
&lt;br /&gt;
What I saw was a 3 partition device sda.  Only touch the NTFS partition (sda1 on mine, should be on yours if it is factory settings).  You do not want to move the VFAT at the end of the device nor touch that little section (sda-1) at the beginning.  I resized sda1 (NTFS) down to 20 GB, what you should see is the the New Size + the Free Space After = Old Size of sda1.  Click the commit under the file menu to write the changes.  That's it.  &lt;br /&gt;
&lt;br /&gt;
I then rebooted with Fedora Core 5 disk 1 and used Anaconda and its utilities to partition the free space to be a 20 GB mount point &amp;quot;/&amp;quot;, a 512 MB swap, and a 10 GB vfat, these could have been done using qtparted, or pretty much any distro's install.  The swap and vfat were shown inside a logical partition.  I set up GRUB in the MBR and clicked the GRUB advanced setup checkbox.  This allowed me to add entries, in addition to Linux, for GRUB.  I added the NTFS (Windows) partition and the VFAT (ThinkVantage partition, not the 10 GB I created, cuz that would be silly).&lt;br /&gt;
&lt;br /&gt;
The results are:  on boot, the post screen tells you to press the ThinkVantage button and....it does nothing, but once GRUB starts, press the key GRUB tells you to which shows the boot list, and there you have Linux, Windows, and ThinkVantage.  I tried it and I can boot into all 3.  When you first boot into Windows, you may get a chkdisk (I did), but it should be fine.&lt;br /&gt;
&lt;br /&gt;
A word of warning.  Be careful, I've heard some people say GRUB in the MBR while dual booting WinXP can result in false positives from virus software, but I didn't have that issue.  Also, be very careful about the resize of the NTFS partition with qtparted.  Any change in the placement of the start of the pre-existing partitions, and all bets are off.  I'm just saying this because I don't know what might happen if Windows isn't where it wants to be.  Also I think the placement of the ThinkVantage utility on the disk is very important from my reading.  However, since pressing the ThinkVantage at POST doesn't do anything, I may have screwed that up, but with GRUB pointing at that VFAT, I can still get to the ThinkVantage utilities, so I'm happy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Windows]]&lt;/div&gt;</summary>
		<author><name>Adamg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=ThinkWiki_talk:About&amp;diff=23288</id>
		<title>ThinkWiki talk:About</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=ThinkWiki_talk:About&amp;diff=23288"/>
		<updated>2006-07-19T16:43:10Z</updated>

		<summary type="html">&lt;p&gt;Adamg: reverted&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Adamg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=TuxOnIce&amp;diff=22835</id>
		<title>TuxOnIce</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=TuxOnIce&amp;diff=22835"/>
		<updated>2006-06-21T10:43:32Z</updated>

		<summary type="html">&lt;p&gt;Adamg: sorry, gotta learn wiki a little bit more&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;
===Software Suspend 2 - swsusp2===&lt;br /&gt;
Software Suspend 2, sometimes also called &amp;quot;swsusp2&amp;quot; and &amp;quot;suspend2&amp;quot;, is an implementation of suspend-to-disk functionality in the form of a Linux kernel patch and several userspace utilities. It is an alternative to both the BIOS-driven hibernation feature found on most ThinkPad models, and the [[swsusp]] &amp;quot;software suspend&amp;quot; functionality built into recent Linux kernels.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
Compared to the alternatives, Software Suspend 2 has some unique [http://suspend2.net/features features]:&lt;br /&gt;
* The ability to compress the memory image as it is written to disk, thereby reducing suspend and resume times.&lt;br /&gt;
* Saving the memory image into a swap file, a swap partition or normal a file on any filesystem.&lt;br /&gt;
* Cancelling a suspend in progress&lt;br /&gt;
* Control over amount of RAM written to disk -- can (optionally) discard cached disk blocks to reduce suspend and resume times&lt;br /&gt;
* Textual and graphical UI (optional)&lt;br /&gt;
* Improved reliability under some circumstances -- if the alternatives don't work, try this one!&lt;br /&gt;
&lt;br /&gt;
Since it is implemented purely in software, Software Suspend 2 is in principle machine-independent and should work on all modern ThinkPad models. However, in some cases problematic drivers need to be unloaded before suspension. This is handled by the &amp;lt;tt&amp;gt;hibernate&amp;lt;/tt&amp;gt; script (see below).&lt;br /&gt;
&lt;br /&gt;
==Availability / Project Homepage==&lt;br /&gt;
* [http://suspend2.net/ Project home page]&lt;br /&gt;
&lt;br /&gt;
==Model-specific Status==&lt;br /&gt;
* ThinkPad {{T43}} and {{T42}}: works&lt;br /&gt;
* ThinkPad {{T21}}: works; need to unload the sound module (&amp;lt;tt&amp;gt;snd-cs46xx&amp;lt;/tt&amp;gt;) on suspend. May want to enable UseDummyXServer if running X.&lt;br /&gt;
* ThinkPad {{X41T}}: works; requires SATA resume patch and the SATA drivers compiled as built-in or in initrd (see [[Problems with SATA and Linux]]) and a {{path|hibernate.conf}} fix (see [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]])&lt;br /&gt;
* ThinkPad {{X22}}: works (see [[Installing Ubuntu (Breezy) on a ThinkPad X22]])&lt;br /&gt;
* ThinkPad {{G41}}: works (see [[Installing Debian on a ThinkPad G41]])&lt;br /&gt;
&lt;br /&gt;
==Installation Instructions==&lt;br /&gt;
The [http://suspend2.net/ project home page] has a detailed HOWTO and FAQ. The following are just a few highlights.&lt;br /&gt;
&lt;br /&gt;
===Patching mkinitrd===&lt;br /&gt;
If your systems uses an &amp;lt;tt&amp;gt;initrd&amp;lt;/tt&amp;gt; file (most do), you'll need to patch or replace your &amp;lt;tt&amp;gt;initrd&amp;lt;/tt&amp;gt;-creation script.&lt;br /&gt;
&lt;br /&gt;
*{{Fedora}} 4: in {{path|/sbin/mkinitrd}}, find this line:&lt;br /&gt;
 echo &amp;quot;echo Mounted /proc filesystem&amp;quot; &amp;gt;&amp;gt; $RCFILE&lt;br /&gt;
and add the following immediately afterwards:&lt;br /&gt;
 echo &amp;quot;echo &amp;gt; /proc/suspend2/do_resume&amp;quot; &amp;gt;&amp;gt;$RCFILE&lt;br /&gt;
*{{Fedora}} 5: in {{path|/sbin/mkinitrd}}, find this line:&lt;br /&gt;
 mount -t proc /proc /proc&lt;br /&gt;
and add the following immediately afterwards:&lt;br /&gt;
 echo &amp;gt; /proc/suspend2/do_resume &lt;br /&gt;
*{{Debian}}: copy [http://dagobah.ucc.asn.au/swsusp/2.0.0.102/swsusp-initrd.sh swsusp-initrd.sh] script to your {{path|/etc/mkinitrd/scripts}} directory before creating initrd image.&lt;br /&gt;
&lt;br /&gt;
Make sure you regenerate your &amp;lt;tt&amp;gt;initrd&amp;lt;/tt&amp;gt; file (using &amp;lt;tt&amp;gt;mkinitrd&amp;lt;/tt&amp;gt; or by reinstalling the kernel) after patching &amp;lt;tt&amp;gt;mkinitrd&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Hibernate script===&lt;br /&gt;
Software Suspend 2 works best with the &amp;lt;tt&amp;gt;hibernate&amp;lt;/tt&amp;gt; script (available from the project home page), which takes care of auxiliary tasks needed on many systems (e.g., unloading problematic modules and restoring video modes).&lt;br /&gt;
&lt;br /&gt;
====Availability====&lt;br /&gt;
*{{Gentoo}}: emerge hibernate-script&amp;lt;br /&amp;gt;&lt;br /&gt;
*{{Fedora}}: kernel and hibernate RPMs are available at http://mhensler.de/swsusp/&amp;lt;br /&amp;gt;&lt;br /&gt;
*PLD: poldek -iv hibernate&lt;br /&gt;
*Other: check the home page for packages (deb, i386 rpm, tgz, and source rpm) from http://www.suspend2.net&lt;br /&gt;
&lt;br /&gt;
==Configuration tips==&lt;br /&gt;
===RediSafe-like functionality===&lt;br /&gt;
The hibernate functionality on some ThinkPad BIOSes offers the useful &amp;quot;RediSafe&amp;quot; feature, which suspends to both RAM and disk. This way you get quick resumes (directly from RAM), plus the safey of suspend-to-disk in case the battery runs out.&lt;br /&gt;
&lt;br /&gt;
Software Suspend 2 provides this feature too; simply add the following to {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
 PowerdownMethod 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Patches]] [[Category:Drivers]]&lt;/div&gt;</summary>
		<author><name>Adamg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Template:PLD&amp;diff=22834</id>
		<title>Template:PLD</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Template:PLD&amp;diff=22834"/>
		<updated>2006-06-21T10:40:46Z</updated>

		<summary type="html">&lt;p&gt;Adamg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Adamg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Category:PLD&amp;diff=22833</id>
		<title>Category:PLD</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Category:PLD&amp;diff=22833"/>
		<updated>2006-06-21T10:39:59Z</updated>

		<summary type="html">&lt;p&gt;Adamg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
=== About PLD ===&lt;br /&gt;
PLD Linux Distribution (or, in short, PLD) is an RPM based distribution developed mainly (but not only) in Poland.&lt;br /&gt;
&lt;br /&gt;
===OS Homepage===&lt;br /&gt;
*http://www.pld-linux.org&lt;br /&gt;
&lt;br /&gt;
[[Category:Distributions]]&lt;/div&gt;</summary>
		<author><name>Adamg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Template:PLD&amp;diff=22832</id>
		<title>Template:PLD</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Template:PLD&amp;diff=22832"/>
		<updated>2006-06-21T10:38:38Z</updated>

		<summary type="html">&lt;p&gt;Adamg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
=== About PLD ===&lt;br /&gt;
PLD Linux Distribution (or, in short, PLD) is an RPM based distribution developed mainly (but not only) in Poland.&lt;br /&gt;
&lt;br /&gt;
===OS Homepage===&lt;br /&gt;
*http://www.pld-linux.org&lt;br /&gt;
&lt;br /&gt;
[[Category:Distributions]]&lt;/div&gt;</summary>
		<author><name>Adamg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Template:PLD&amp;diff=22831</id>
		<title>Template:PLD</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Template:PLD&amp;diff=22831"/>
		<updated>2006-06-21T10:38:25Z</updated>

		<summary type="html">&lt;p&gt;Adamg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
=== About PLD ===&lt;br /&gt;
PLD Linux Distribution (or, in short, PLD) is an RPM based distribution developed mainly (but not only) in Poland.&lt;br /&gt;
&lt;br /&gt;
===OS Homepage===&lt;br /&gt;
*http://www.pld-linux.org&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Distributions]]&lt;/div&gt;</summary>
		<author><name>Adamg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=TuxOnIce&amp;diff=22830</id>
		<title>TuxOnIce</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=TuxOnIce&amp;diff=22830"/>
		<updated>2006-06-21T10:35:30Z</updated>

		<summary type="html">&lt;p&gt;Adamg: &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;
===Software Suspend 2 - swsusp2===&lt;br /&gt;
Software Suspend 2, sometimes also called &amp;quot;swsusp2&amp;quot; and &amp;quot;suspend2&amp;quot;, is an implementation of suspend-to-disk functionality in the form of a Linux kernel patch and several userspace utilities. It is an alternative to both the BIOS-driven hibernation feature found on most ThinkPad models, and the [[swsusp]] &amp;quot;software suspend&amp;quot; functionality built into recent Linux kernels.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
Compared to the alternatives, Software Suspend 2 has some unique [http://suspend2.net/features features]:&lt;br /&gt;
* The ability to compress the memory image as it is written to disk, thereby reducing suspend and resume times.&lt;br /&gt;
* Saving the memory image into a swap file, a swap partition or normal a file on any filesystem.&lt;br /&gt;
* Cancelling a suspend in progress&lt;br /&gt;
* Control over amount of RAM written to disk -- can (optionally) discard cached disk blocks to reduce suspend and resume times&lt;br /&gt;
* Textual and graphical UI (optional)&lt;br /&gt;
* Improved reliability under some circumstances -- if the alternatives don't work, try this one!&lt;br /&gt;
&lt;br /&gt;
Since it is implemented purely in software, Software Suspend 2 is in principle machine-independent and should work on all modern ThinkPad models. However, in some cases problematic drivers need to be unloaded before suspension. This is handled by the &amp;lt;tt&amp;gt;hibernate&amp;lt;/tt&amp;gt; script (see below).&lt;br /&gt;
&lt;br /&gt;
==Availability / Project Homepage==&lt;br /&gt;
* [http://suspend2.net/ Project home page]&lt;br /&gt;
&lt;br /&gt;
==Model-specific Status==&lt;br /&gt;
* ThinkPad {{T43}} and {{T42}}: works&lt;br /&gt;
* ThinkPad {{T21}}: works; need to unload the sound module (&amp;lt;tt&amp;gt;snd-cs46xx&amp;lt;/tt&amp;gt;) on suspend. May want to enable UseDummyXServer if running X.&lt;br /&gt;
* ThinkPad {{X41T}}: works; requires SATA resume patch and the SATA drivers compiled as built-in or in initrd (see [[Problems with SATA and Linux]]) and a {{path|hibernate.conf}} fix (see [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]])&lt;br /&gt;
* ThinkPad {{X22}}: works (see [[Installing Ubuntu (Breezy) on a ThinkPad X22]])&lt;br /&gt;
* ThinkPad {{G41}}: works (see [[Installing Debian on a ThinkPad G41]])&lt;br /&gt;
&lt;br /&gt;
==Installation Instructions==&lt;br /&gt;
The [http://suspend2.net/ project home page] has a detailed HOWTO and FAQ. The following are just a few highlights.&lt;br /&gt;
&lt;br /&gt;
===Patching mkinitrd===&lt;br /&gt;
If your systems uses an &amp;lt;tt&amp;gt;initrd&amp;lt;/tt&amp;gt; file (most do), you'll need to patch or replace your &amp;lt;tt&amp;gt;initrd&amp;lt;/tt&amp;gt;-creation script.&lt;br /&gt;
&lt;br /&gt;
*{{Fedora}} 4: in {{path|/sbin/mkinitrd}}, find this line:&lt;br /&gt;
 echo &amp;quot;echo Mounted /proc filesystem&amp;quot; &amp;gt;&amp;gt; $RCFILE&lt;br /&gt;
and add the following immediately afterwards:&lt;br /&gt;
 echo &amp;quot;echo &amp;gt; /proc/suspend2/do_resume&amp;quot; &amp;gt;&amp;gt;$RCFILE&lt;br /&gt;
*{{Fedora}} 5: in {{path|/sbin/mkinitrd}}, find this line:&lt;br /&gt;
 mount -t proc /proc /proc&lt;br /&gt;
and add the following immediately afterwards:&lt;br /&gt;
 echo &amp;gt; /proc/suspend2/do_resume &lt;br /&gt;
*{{Debian}}: copy [http://dagobah.ucc.asn.au/swsusp/2.0.0.102/swsusp-initrd.sh swsusp-initrd.sh] script to your {{path|/etc/mkinitrd/scripts}} directory before creating initrd image.&lt;br /&gt;
&lt;br /&gt;
Make sure you regenerate your &amp;lt;tt&amp;gt;initrd&amp;lt;/tt&amp;gt; file (using &amp;lt;tt&amp;gt;mkinitrd&amp;lt;/tt&amp;gt; or by reinstalling the kernel) after patching &amp;lt;tt&amp;gt;mkinitrd&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Hibernate script===&lt;br /&gt;
Software Suspend 2 works best with the &amp;lt;tt&amp;gt;hibernate&amp;lt;/tt&amp;gt; script (available from the project home page), which takes care of auxiliary tasks needed on many systems (e.g., unloading problematic modules and restoring video modes).&lt;br /&gt;
&lt;br /&gt;
====Availability====&lt;br /&gt;
*{{Gentoo}}: emerge hibernate-script&amp;lt;br /&amp;gt;&lt;br /&gt;
*{{Fedora}}: kernel and hibernate RPMs are available at http://mhensler.de/swsusp/&amp;lt;br /&amp;gt;&lt;br /&gt;
*{{PLD}}: poldek -iv hibernate&lt;br /&gt;
*Other: check the home page for packages (deb, i386 rpm, tgz, and source rpm) from http://www.suspend2.net&lt;br /&gt;
&lt;br /&gt;
==Configuration tips==&lt;br /&gt;
===RediSafe-like functionality===&lt;br /&gt;
The hibernate functionality on some ThinkPad BIOSes offers the useful &amp;quot;RediSafe&amp;quot; feature, which suspends to both RAM and disk. This way you get quick resumes (directly from RAM), plus the safey of suspend-to-disk in case the battery runs out.&lt;br /&gt;
&lt;br /&gt;
Software Suspend 2 provides this feature too; simply add the following to {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
 PowerdownMethod 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Patches]] [[Category:Drivers]]&lt;/div&gt;</summary>
		<author><name>Adamg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:ThinkLight&amp;diff=22044</id>
		<title>Talk:ThinkLight</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:ThinkLight&amp;diff=22044"/>
		<updated>2006-05-01T22:35:00Z</updated>

		<summary type="html">&lt;p&gt;Adamg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[code]&lt;br /&gt;
#!/usr/bin/perl&lt;br /&gt;
&lt;br /&gt;
use strict;&lt;br /&gt;
use warnings;&lt;br /&gt;
# $count&lt;br /&gt;
&lt;br /&gt;
my $count = $ARGV[0];&lt;br /&gt;
&lt;br /&gt;
if ( ! defined($count) || $count &amp;lt; 1 )&lt;br /&gt;
        {&lt;br /&gt;
        $count = 1;&lt;br /&gt;
        }&lt;br /&gt;
$|=1;&lt;br /&gt;
&lt;br /&gt;
for(my $i=0;$i&amp;lt;$count;$i++)&lt;br /&gt;
{&lt;br /&gt;
open(LICHT,&amp;quot;&amp;gt;/proc/acpi/ibm/light&amp;quot;);&lt;br /&gt;
print LICHT &amp;quot;on\n&amp;quot;;&lt;br /&gt;
close(LICHT);&lt;br /&gt;
select(undef,undef,undef,0.25);&lt;br /&gt;
open(LICHT,&amp;quot;&amp;gt;/proc/acpi/ibm/light&amp;quot;);&lt;br /&gt;
print LICHT &amp;quot;off\n&amp;quot;;&lt;br /&gt;
close(LICHT);&lt;br /&gt;
select(undef,undef,undef,0.25);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
[/code]&lt;/div&gt;</summary>
		<author><name>Adamg</name></author>
		
	</entry>
</feed>