<?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=Parysto</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=Parysto"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Parysto"/>
	<updated>2026-05-17T07:30:13Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_X31&amp;diff=57888</id>
		<title>Installing Ubuntu on a ThinkPad X31</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_X31&amp;diff=57888"/>
		<updated>2017-01-06T20:36:55Z</updated>

		<summary type="html">&lt;p&gt;Parysto: /* Installing Ubuntu 16.04 on a Thinkpad X31 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preface==&lt;br /&gt;
The content of this page was originally geared toward Hoary ({{Ubuntu 5.04}}),&lt;br /&gt;
but nearly everything here applies just as well to the Warty (4.10) and Breezy (5.10) releases.&lt;br /&gt;
&lt;br /&gt;
See [http://www.brixandersen.dk/papers/X31/X31.html Henrik Brix Andersens] page for a lot of useful background information.&lt;br /&gt;
&lt;br /&gt;
==Installing without cdrom or floppy==&lt;br /&gt;
Look [[Installation on ThinkPads without CD-ROM drive|here]] or follow the [http://help.ubuntu.com/community/Installation/Netboot Netboot remarks] instructions at [http://wiki.ubuntu.com Ubuntu Wiki].&lt;br /&gt;
&lt;br /&gt;
==Enabling the Access IBM Button and on-screen display for volume buttons==&lt;br /&gt;
Install the tpb package (use Synaptic or ''$sudo apt-get install tpb''), then use the Users and Groups Administration tool to add your user account to the 'nvram' group. Now see [[ThinkPad Button|Access IBM Button]] for configuration details.&lt;br /&gt;
&lt;br /&gt;
==Choosing between APM and ACPI for power management==&lt;br /&gt;
I tested both, APM and ACPI but settled with ACPI which now works like a charm.&lt;br /&gt;
&lt;br /&gt;
Since Ubuntu Dapper (6.06LTS) ACPI works out of the box, either in Standby Mode or Suspend to Disk Mode. &lt;br /&gt;
ACPI will make your system use about 10% less power than with apm, which reduces my battery runtime from ~4:00h to 3:40h.&lt;br /&gt;
&lt;br /&gt;
Please read &amp;quot;[[How to make use of Power Management features]]&amp;quot; for more in depth information.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, if ACPI is used, hibernate and standby modes might not work with a CompactFlash card inserted. Read the [[Category_talk:X31|X31 Talk Page]] for further info. &lt;br /&gt;
&lt;br /&gt;
===Disabling ACPI and using APM===&lt;br /&gt;
Simply disabling ACPI at boottime activates APM which works fine with suspend to ram and suspend to disk.&lt;br /&gt;
&lt;br /&gt;
To disable ACPI boot your kernel with acpi=off&lt;br /&gt;
&lt;br /&gt;
''...describe how to edit /boot/grub/menu.lst...''&lt;br /&gt;
&lt;br /&gt;
APM based suspend to disk needs a save2disk.img hibernation file on FAT16. Use the [[tphdisk]] utility to create this file.&lt;br /&gt;
&lt;br /&gt;
Use {{key|Fn}}{{Key|F4}} to suspend-to-ram and {{key|Fn}}{{key|F12}} to suspend-to-disk.&lt;br /&gt;
&lt;br /&gt;
===Using ACPI===&lt;br /&gt;
Get ubuntulinux, radeontool and this script (which goes in /etc/acpi), nothing more!&lt;br /&gt;
{{NOTE|This procedure is not necessary with the Breezy Badger release, which already knows how to blank the radeon video. Just be sure you have the radeontool package installed.}}&lt;br /&gt;
&lt;br /&gt;
{{cmduser|cat lid.sh}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
. /usr/share/acpi-support/power-funcs&lt;br /&gt;
&lt;br /&gt;
getXuser;&lt;br /&gt;
&lt;br /&gt;
grep -q closed /proc/acpi/button/lid/*/state&lt;br /&gt;
if [ $? = 0 ]&lt;br /&gt;
then&lt;br /&gt;
        . /usr/share/acpi-support/screenblank&lt;br /&gt;
        echo `fgconsole` &amp;gt; $LIDSTATE&lt;br /&gt;
        chvt 12&lt;br /&gt;
&lt;br /&gt;
        # Unmount any NFS or SMB filesystems:&lt;br /&gt;
        echo &amp;quot;unmounting NFS and SMB filesystems&amp;quot;&lt;br /&gt;
        umount -a -r -t nfs,smbfs&lt;br /&gt;
&lt;br /&gt;
        # remove modules&lt;br /&gt;
        echo &amp;quot;remove modules&amp;quot;&lt;br /&gt;
        #rmmod ipw2100    ## WLAN&lt;br /&gt;
        rmmod ehci-hcd   ## USB module&lt;br /&gt;
        rmmod uhci-hcd   ##  -||-&lt;br /&gt;
&lt;br /&gt;
        # update the disk super block&lt;br /&gt;
        echo &amp;quot;sync&amp;quot;&lt;br /&gt;
        sync&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        # wait a second&lt;br /&gt;
        sleep 1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        # turn the LCD off&lt;br /&gt;
        echo &amp;quot;backlight off&amp;quot;&lt;br /&gt;
        radeontool light off&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        # suspend to ram&lt;br /&gt;
        echo &amp;quot;suspend to ram&amp;quot;&lt;br /&gt;
        echo -n mem &amp;gt; /sys/power/state&lt;br /&gt;
&lt;br /&gt;
        # load modules&lt;br /&gt;
        modprobe ehci-hcd&lt;br /&gt;
        modprobe uhci-hcd&lt;br /&gt;
&lt;br /&gt;
        # turn the LCD on&lt;br /&gt;
        echo &amp;quot;turn the LCD on&amp;quot;&lt;br /&gt;
        radeontool light on&lt;br /&gt;
&lt;br /&gt;
        # go back to VT7 (X)&lt;br /&gt;
        echo &amp;quot;back to VT7&amp;quot;&lt;br /&gt;
        chvt 7&lt;br /&gt;
&lt;br /&gt;
else&lt;br /&gt;
        grep -q off-line /proc/acpi/ac_adapter/*/state&lt;br /&gt;
        #if [ $? = 1 ]&lt;br /&gt;
        #then&lt;br /&gt;
                #su - $user -c &amp;quot;xscreensaver-command -unthrottle&amp;quot;&lt;br /&gt;
        #fi&lt;br /&gt;
        chvt `cat $LIDSTATE`&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Installing Ubuntu 10.04 on a Thinkpad X31=&lt;br /&gt;
Ubuntu 10.04 out of the box has suspend/hibernate/resume failures and hard lockups.  Fortunately, they can all be solved.&lt;br /&gt;
For the suspend/hibernate problems, modify /etc/default/grub, add 'nomodeset' to GRUB_CMDLINE_LINUX_DEFAULT.&lt;br /&gt;
For networking problems with atheros, download a snapshot from wireless.kernel.org/download/compat-wireless-2.6, build and install it.&lt;br /&gt;
For the problem with hard lockups, follow the steps on the ubuntu site for building a custom kernel.  Set processor type to 'PENTIUM-M' and disable SMP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Installing Ubuntu 16.04 on a Thinkpad X31=&lt;br /&gt;
To be able to install and boot Ubuntu 16.04, add [https://help.ubuntu.com/community/PAE &amp;lt;tt&amp;gt;forcepae&amp;lt;/tt&amp;gt; to the boot options].&lt;br /&gt;
&lt;br /&gt;
As with Ubuntu 10.04, resuming from standby will fail. Add &amp;lt;tt&amp;gt;nomodeset&amp;lt;/tt&amp;gt; to the boot options to solve this. To do so permanently, open &amp;lt;tt&amp;gt;/etc/default/grub&amp;lt;/tt&amp;gt; and modify &amp;lt;tt&amp;gt;GRUB_CMDLINE_LINUX&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GRUB_CMDLINE_LINUX=&amp;quot;forcepae nomodeset&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With &amp;lt;tt&amp;gt;nomodeset&amp;lt;/tt&amp;gt;, Ubuntu will now resume from standby properly. However, it will not turn off the display's backlight when it goes into standby. To solve this, install [[radeontool]] from the official PPA and [https://wiki.archlinux.org/index.php/Power_management#Sleep_hooks hook two services into systemd]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;/etc/systemd/system/backlight-suspend.service&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;[Unit]&lt;br /&gt;
Description=Turn off the backlight&lt;br /&gt;
Before=sleep.target&lt;br /&gt;
&lt;br /&gt;
[Service]&lt;br /&gt;
Type=simple&lt;br /&gt;
ExecStart=/usr/sbin/radeontool light off&lt;br /&gt;
&lt;br /&gt;
[Install]&lt;br /&gt;
WantedBy=sleep.target&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;/etc/systemd/system/backlight-resume.service&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;[Unit]&lt;br /&gt;
Description=Turn on the backlight&lt;br /&gt;
After=suspend.target&lt;br /&gt;
&lt;br /&gt;
[Service]&lt;br /&gt;
Type=simple&lt;br /&gt;
ExecStart=/usr/sbin/radeontool light on&lt;br /&gt;
&lt;br /&gt;
[Install]&lt;br /&gt;
WantedBy=suspend.target&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Enable both services with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable backlight-suspend.service&lt;br /&gt;
systemctl enable backlight-resume.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X31]]&lt;/div&gt;</summary>
		<author><name>Parysto</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_X31&amp;diff=57887</id>
		<title>Installing Ubuntu on a ThinkPad X31</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_X31&amp;diff=57887"/>
		<updated>2017-01-06T18:29:02Z</updated>

		<summary type="html">&lt;p&gt;Parysto: /* Installing Ubuntu 16.04 on a Thinkpad X31 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preface==&lt;br /&gt;
The content of this page was originally geared toward Hoary ({{Ubuntu 5.04}}),&lt;br /&gt;
but nearly everything here applies just as well to the Warty (4.10) and Breezy (5.10) releases.&lt;br /&gt;
&lt;br /&gt;
See [http://www.brixandersen.dk/papers/X31/X31.html Henrik Brix Andersens] page for a lot of useful background information.&lt;br /&gt;
&lt;br /&gt;
==Installing without cdrom or floppy==&lt;br /&gt;
Look [[Installation on ThinkPads without CD-ROM drive|here]] or follow the [http://help.ubuntu.com/community/Installation/Netboot Netboot remarks] instructions at [http://wiki.ubuntu.com Ubuntu Wiki].&lt;br /&gt;
&lt;br /&gt;
==Enabling the Access IBM Button and on-screen display for volume buttons==&lt;br /&gt;
Install the tpb package (use Synaptic or ''$sudo apt-get install tpb''), then use the Users and Groups Administration tool to add your user account to the 'nvram' group. Now see [[ThinkPad Button|Access IBM Button]] for configuration details.&lt;br /&gt;
&lt;br /&gt;
==Choosing between APM and ACPI for power management==&lt;br /&gt;
I tested both, APM and ACPI but settled with ACPI which now works like a charm.&lt;br /&gt;
&lt;br /&gt;
Since Ubuntu Dapper (6.06LTS) ACPI works out of the box, either in Standby Mode or Suspend to Disk Mode. &lt;br /&gt;
ACPI will make your system use about 10% less power than with apm, which reduces my battery runtime from ~4:00h to 3:40h.&lt;br /&gt;
&lt;br /&gt;
Please read &amp;quot;[[How to make use of Power Management features]]&amp;quot; for more in depth information.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, if ACPI is used, hibernate and standby modes might not work with a CompactFlash card inserted. Read the [[Category_talk:X31|X31 Talk Page]] for further info. &lt;br /&gt;
&lt;br /&gt;
===Disabling ACPI and using APM===&lt;br /&gt;
Simply disabling ACPI at boottime activates APM which works fine with suspend to ram and suspend to disk.&lt;br /&gt;
&lt;br /&gt;
To disable ACPI boot your kernel with acpi=off&lt;br /&gt;
&lt;br /&gt;
''...describe how to edit /boot/grub/menu.lst...''&lt;br /&gt;
&lt;br /&gt;
APM based suspend to disk needs a save2disk.img hibernation file on FAT16. Use the [[tphdisk]] utility to create this file.&lt;br /&gt;
&lt;br /&gt;
Use {{key|Fn}}{{Key|F4}} to suspend-to-ram and {{key|Fn}}{{key|F12}} to suspend-to-disk.&lt;br /&gt;
&lt;br /&gt;
===Using ACPI===&lt;br /&gt;
Get ubuntulinux, radeontool and this script (which goes in /etc/acpi), nothing more!&lt;br /&gt;
{{NOTE|This procedure is not necessary with the Breezy Badger release, which already knows how to blank the radeon video. Just be sure you have the radeontool package installed.}}&lt;br /&gt;
&lt;br /&gt;
{{cmduser|cat lid.sh}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
. /usr/share/acpi-support/power-funcs&lt;br /&gt;
&lt;br /&gt;
getXuser;&lt;br /&gt;
&lt;br /&gt;
grep -q closed /proc/acpi/button/lid/*/state&lt;br /&gt;
if [ $? = 0 ]&lt;br /&gt;
then&lt;br /&gt;
        . /usr/share/acpi-support/screenblank&lt;br /&gt;
        echo `fgconsole` &amp;gt; $LIDSTATE&lt;br /&gt;
        chvt 12&lt;br /&gt;
&lt;br /&gt;
        # Unmount any NFS or SMB filesystems:&lt;br /&gt;
        echo &amp;quot;unmounting NFS and SMB filesystems&amp;quot;&lt;br /&gt;
        umount -a -r -t nfs,smbfs&lt;br /&gt;
&lt;br /&gt;
        # remove modules&lt;br /&gt;
        echo &amp;quot;remove modules&amp;quot;&lt;br /&gt;
        #rmmod ipw2100    ## WLAN&lt;br /&gt;
        rmmod ehci-hcd   ## USB module&lt;br /&gt;
        rmmod uhci-hcd   ##  -||-&lt;br /&gt;
&lt;br /&gt;
        # update the disk super block&lt;br /&gt;
        echo &amp;quot;sync&amp;quot;&lt;br /&gt;
        sync&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        # wait a second&lt;br /&gt;
        sleep 1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        # turn the LCD off&lt;br /&gt;
        echo &amp;quot;backlight off&amp;quot;&lt;br /&gt;
        radeontool light off&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        # suspend to ram&lt;br /&gt;
        echo &amp;quot;suspend to ram&amp;quot;&lt;br /&gt;
        echo -n mem &amp;gt; /sys/power/state&lt;br /&gt;
&lt;br /&gt;
        # load modules&lt;br /&gt;
        modprobe ehci-hcd&lt;br /&gt;
        modprobe uhci-hcd&lt;br /&gt;
&lt;br /&gt;
        # turn the LCD on&lt;br /&gt;
        echo &amp;quot;turn the LCD on&amp;quot;&lt;br /&gt;
        radeontool light on&lt;br /&gt;
&lt;br /&gt;
        # go back to VT7 (X)&lt;br /&gt;
        echo &amp;quot;back to VT7&amp;quot;&lt;br /&gt;
        chvt 7&lt;br /&gt;
&lt;br /&gt;
else&lt;br /&gt;
        grep -q off-line /proc/acpi/ac_adapter/*/state&lt;br /&gt;
        #if [ $? = 1 ]&lt;br /&gt;
        #then&lt;br /&gt;
                #su - $user -c &amp;quot;xscreensaver-command -unthrottle&amp;quot;&lt;br /&gt;
        #fi&lt;br /&gt;
        chvt `cat $LIDSTATE`&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Installing Ubuntu 10.04 on a Thinkpad X31=&lt;br /&gt;
Ubuntu 10.04 out of the box has suspend/hibernate/resume failures and hard lockups.  Fortunately, they can all be solved.&lt;br /&gt;
For the suspend/hibernate problems, modify /etc/default/grub, add 'nomodeset' to GRUB_CMDLINE_LINUX_DEFAULT.&lt;br /&gt;
For networking problems with atheros, download a snapshot from wireless.kernel.org/download/compat-wireless-2.6, build and install it.&lt;br /&gt;
For the problem with hard lockups, follow the steps on the ubuntu site for building a custom kernel.  Set processor type to 'PENTIUM-M' and disable SMP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Installing Ubuntu 16.04 on a Thinkpad X31=&lt;br /&gt;
To be able to install and boot Ubuntu 16.04, add [https://help.ubuntu.com/community/PAE &amp;lt;tt&amp;gt;forcepae&amp;lt;/tt&amp;gt; to the boot options].&lt;br /&gt;
&lt;br /&gt;
As with the Ubuntu 10.04, resuming from standby will fail. Add &amp;lt;tt&amp;gt;nomodeset&amp;lt;/tt&amp;gt; to the boot options to solve this. To do so permanently, open &amp;lt;tt&amp;gt;/etc/default/grub&amp;lt;/tt&amp;gt; and modify &amp;lt;tt&amp;gt;GRUB_CMDLINE_LINUX&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;GRUB_CMDLINE_LINUX=&amp;quot;forcepae nomodeset&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With &amp;lt;tt&amp;gt;nomodeset&amp;lt;/tt&amp;gt;, Ubuntu will now resume from standby properly. However, it will not turn off the display's backlight when it goes into standby. To solve this, install [[radeontool]] from the official PPA and [https://wiki.archlinux.org/index.php/Power_management#Sleep_hooks hook two scripts into systemd]:&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X31]]&lt;/div&gt;</summary>
		<author><name>Parysto</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_X31&amp;diff=57886</id>
		<title>Installing Ubuntu on a ThinkPad X31</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_X31&amp;diff=57886"/>
		<updated>2017-01-06T17:42:02Z</updated>

		<summary type="html">&lt;p&gt;Parysto: Added section for Ubuntu 16.04&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preface==&lt;br /&gt;
The content of this page was originally geared toward Hoary ({{Ubuntu 5.04}}),&lt;br /&gt;
but nearly everything here applies just as well to the Warty (4.10) and Breezy (5.10) releases.&lt;br /&gt;
&lt;br /&gt;
See [http://www.brixandersen.dk/papers/X31/X31.html Henrik Brix Andersens] page for a lot of useful background information.&lt;br /&gt;
&lt;br /&gt;
==Installing without cdrom or floppy==&lt;br /&gt;
Look [[Installation on ThinkPads without CD-ROM drive|here]] or follow the [http://help.ubuntu.com/community/Installation/Netboot Netboot remarks] instructions at [http://wiki.ubuntu.com Ubuntu Wiki].&lt;br /&gt;
&lt;br /&gt;
==Enabling the Access IBM Button and on-screen display for volume buttons==&lt;br /&gt;
Install the tpb package (use Synaptic or ''$sudo apt-get install tpb''), then use the Users and Groups Administration tool to add your user account to the 'nvram' group. Now see [[ThinkPad Button|Access IBM Button]] for configuration details.&lt;br /&gt;
&lt;br /&gt;
==Choosing between APM and ACPI for power management==&lt;br /&gt;
I tested both, APM and ACPI but settled with ACPI which now works like a charm.&lt;br /&gt;
&lt;br /&gt;
Since Ubuntu Dapper (6.06LTS) ACPI works out of the box, either in Standby Mode or Suspend to Disk Mode. &lt;br /&gt;
ACPI will make your system use about 10% less power than with apm, which reduces my battery runtime from ~4:00h to 3:40h.&lt;br /&gt;
&lt;br /&gt;
Please read &amp;quot;[[How to make use of Power Management features]]&amp;quot; for more in depth information.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, if ACPI is used, hibernate and standby modes might not work with a CompactFlash card inserted. Read the [[Category_talk:X31|X31 Talk Page]] for further info. &lt;br /&gt;
&lt;br /&gt;
===Disabling ACPI and using APM===&lt;br /&gt;
Simply disabling ACPI at boottime activates APM which works fine with suspend to ram and suspend to disk.&lt;br /&gt;
&lt;br /&gt;
To disable ACPI boot your kernel with acpi=off&lt;br /&gt;
&lt;br /&gt;
''...describe how to edit /boot/grub/menu.lst...''&lt;br /&gt;
&lt;br /&gt;
APM based suspend to disk needs a save2disk.img hibernation file on FAT16. Use the [[tphdisk]] utility to create this file.&lt;br /&gt;
&lt;br /&gt;
Use {{key|Fn}}{{Key|F4}} to suspend-to-ram and {{key|Fn}}{{key|F12}} to suspend-to-disk.&lt;br /&gt;
&lt;br /&gt;
===Using ACPI===&lt;br /&gt;
Get ubuntulinux, radeontool and this script (which goes in /etc/acpi), nothing more!&lt;br /&gt;
{{NOTE|This procedure is not necessary with the Breezy Badger release, which already knows how to blank the radeon video. Just be sure you have the radeontool package installed.}}&lt;br /&gt;
&lt;br /&gt;
{{cmduser|cat lid.sh}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
. /usr/share/acpi-support/power-funcs&lt;br /&gt;
&lt;br /&gt;
getXuser;&lt;br /&gt;
&lt;br /&gt;
grep -q closed /proc/acpi/button/lid/*/state&lt;br /&gt;
if [ $? = 0 ]&lt;br /&gt;
then&lt;br /&gt;
        . /usr/share/acpi-support/screenblank&lt;br /&gt;
        echo `fgconsole` &amp;gt; $LIDSTATE&lt;br /&gt;
        chvt 12&lt;br /&gt;
&lt;br /&gt;
        # Unmount any NFS or SMB filesystems:&lt;br /&gt;
        echo &amp;quot;unmounting NFS and SMB filesystems&amp;quot;&lt;br /&gt;
        umount -a -r -t nfs,smbfs&lt;br /&gt;
&lt;br /&gt;
        # remove modules&lt;br /&gt;
        echo &amp;quot;remove modules&amp;quot;&lt;br /&gt;
        #rmmod ipw2100    ## WLAN&lt;br /&gt;
        rmmod ehci-hcd   ## USB module&lt;br /&gt;
        rmmod uhci-hcd   ##  -||-&lt;br /&gt;
&lt;br /&gt;
        # update the disk super block&lt;br /&gt;
        echo &amp;quot;sync&amp;quot;&lt;br /&gt;
        sync&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        # wait a second&lt;br /&gt;
        sleep 1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        # turn the LCD off&lt;br /&gt;
        echo &amp;quot;backlight off&amp;quot;&lt;br /&gt;
        radeontool light off&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        # suspend to ram&lt;br /&gt;
        echo &amp;quot;suspend to ram&amp;quot;&lt;br /&gt;
        echo -n mem &amp;gt; /sys/power/state&lt;br /&gt;
&lt;br /&gt;
        # load modules&lt;br /&gt;
        modprobe ehci-hcd&lt;br /&gt;
        modprobe uhci-hcd&lt;br /&gt;
&lt;br /&gt;
        # turn the LCD on&lt;br /&gt;
        echo &amp;quot;turn the LCD on&amp;quot;&lt;br /&gt;
        radeontool light on&lt;br /&gt;
&lt;br /&gt;
        # go back to VT7 (X)&lt;br /&gt;
        echo &amp;quot;back to VT7&amp;quot;&lt;br /&gt;
        chvt 7&lt;br /&gt;
&lt;br /&gt;
else&lt;br /&gt;
        grep -q off-line /proc/acpi/ac_adapter/*/state&lt;br /&gt;
        #if [ $? = 1 ]&lt;br /&gt;
        #then&lt;br /&gt;
                #su - $user -c &amp;quot;xscreensaver-command -unthrottle&amp;quot;&lt;br /&gt;
        #fi&lt;br /&gt;
        chvt `cat $LIDSTATE`&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Installing Ubuntu 10.04 on a Thinkpad X31=&lt;br /&gt;
Ubuntu 10.04 out of the box has suspend/hibernate/resume failures and hard lockups.  Fortunately, they can all be solved.&lt;br /&gt;
For the suspend/hibernate problems, modify /etc/default/grub, add 'nomodeset' to GRUB_CMDLINE_LINUX_DEFAULT.&lt;br /&gt;
For networking problems with atheros, download a snapshot from wireless.kernel.org/download/compat-wireless-2.6, build and install it.&lt;br /&gt;
For the problem with hard lockups, follow the steps on the ubuntu site for building a custom kernel.  Set processor type to 'PENTIUM-M' and disable SMP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Installing Ubuntu 16.04 on a Thinkpad X31=&lt;br /&gt;
To be able to install and boot Ubuntu 16.04, add [https://help.ubuntu.com/community/PAE|&amp;lt;tt&amp;gt;forcepae&amp;lt;/tt&amp;gt; to the boot options].&lt;br /&gt;
&lt;br /&gt;
As with the Ubuntu 10.04, resuming from standby will fail. Add &amp;lt;tt&amp;gt;nomodeset&amp;lt;/tt&amp;gt; to the boot options to solve this. To do so permanently, open &amp;lt;tt&amp;gt;/etc/default/grub&amp;lt;/tt&amp;gt; and modify &amp;lt;tt&amp;gt;GRUB_CMDLINE_LINUX&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&amp;lt;code&amp;gt;GRUB_CMDLINE_LINUX=&amp;quot;forcepae nomodeset&amp;quot;&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X31]]&lt;/div&gt;</summary>
		<author><name>Parysto</name></author>
		
	</entry>
</feed>