<?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=Heathd</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=Heathd"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Heathd"/>
	<updated>2026-04-04T10:46:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_X40&amp;diff=34949</id>
		<title>Installing Ubuntu 7.04 (Feisty Fawn) on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_X40&amp;diff=34949"/>
		<updated>2007-12-01T18:40:25Z</updated>

		<summary type="html">&lt;p&gt;Heathd: /* Installation Notes for Ubuntu 7.10 (Gutsy Gibbon) by dmoerner */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Executive summary==&lt;br /&gt;
Ubuntu Linux 7.04 -and probably any modern distro- &amp;quot;just works&amp;quot; out-of-the-box on this machine.&lt;br /&gt;
&lt;br /&gt;
No manual configuration was required. Even network, wifi, xorg (with 3D acceleration), sound and suspend-to-ram were properly configured and functional, all with opensource drivers only, at the end of the default Ubuntu installation. I've no problem with fan noises either.&lt;br /&gt;
&lt;br /&gt;
But there's still some room for fine tuning: &lt;br /&gt;
* To improve energy efficiency and battery life (8 cell bat gives 4h with default install, 6h after [[How to reduce power consumption|tuning]])&lt;br /&gt;
* To access some special features (like some [[Default meanings of special keys|Thinkpad special keys]])&lt;br /&gt;
* To better use resources (memory, CPU, power, ...)&lt;br /&gt;
&lt;br /&gt;
==The machine==&lt;br /&gt;
This an &amp;quot;all Intel&amp;quot; machine: differing from most other Thinkpad models because even the network, wireless and graphic controllers uses Intel chipsets. Note that some X40 models use atheros for wifi, or tg3 for ethernet (but not mine). That's why I opted for this one (beside the 1.2 Kg ultraportable form factor).&lt;br /&gt;
&lt;br /&gt;
* IBM Thinkpad {{X40}} (model 2371Y29), Centrino platform&lt;br /&gt;
* 1 Go DDR SDRAM (333MHz [[PC2700]])&lt;br /&gt;
* CPU: [[Intel Pentium M (Dothan)]] 738 at 1.4 GHz -32KB L1 - 2Mo cache L2 - 90 nm - LV (low voltage) - 400MHz FSB (4 x 100) - MMX - SSE - SSE2 -  no NX/XD bit, no hyperthreading, no 64bits - socket 479 - (Enhanced) EIST SpeedStep - CPUID : 6D6 (cpu family: 6 / model: 13 / stepping: 6)&lt;br /&gt;
* Southbridge chipset ICH4-M ([[Intel 82801DBM]]) : PCI, USB, IDE&lt;br /&gt;
* [[E1000|Intel gigabit ethernet]] controller (linux kernel module: e1000) 82541GI MT mobile (support PXE boot :)&lt;br /&gt;
* Wifi controller: [[Intel PRO/Wireless 2200BG Mini-PCI Adapter]] on a [[MiniPCI slot]]&lt;br /&gt;
* Northbridge / Graphic chipset : [[Intel Extreme Graphics 2]] ([[Intel 855GME]])&lt;br /&gt;
* [[Ricoh R5C511]] [[PCMCIA]] controller ([[CardBus slot]])&lt;br /&gt;
* [[IrDA]]&lt;br /&gt;
* [[TFT display]]: 12&amp;quot; screen, @1024x768 nominal resolution  &lt;br /&gt;
* [[Harddisk Drives|Hard Drive]] : 1.8&amp;quot; - PATA - 40 Go - 4200 RPM - Hitachi DK13FA-40B&lt;br /&gt;
* ATA controler : [[Intel 82801DBM]] Ultra ATA storage controller 24CA&lt;br /&gt;
* Audio controller: [[AD1981B]] AC'97 (linux kernel module: i810_audio)&lt;br /&gt;
* Weigth / size:  1.24 Kg / 26.8 cm x 23.7 cm x 2.4 cm&lt;br /&gt;
* [[UltraBase X4]] with broken DVDROM &lt;br /&gt;
* Batteries :&lt;br /&gt;
** default small one: 4 cells, Li-Ion, 1900mAh (about 27.4W) ~ 3h00&lt;br /&gt;
** new one : 8 cells, Li-Ion, 4400 mAh (about 63W), 0.4 kg, ref (FRU) : IBM-92P1083 ~5h30&lt;br /&gt;
* BIOS version : 1UETD3WW (2.08 ), built on 2006-12-21, released on 2007/01/31&lt;br /&gt;
* IBM ThinkPad Embedded Controller version : 1UHTA6WW (1.56)&lt;br /&gt;
* FW model : TP-1U&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The {{X40}} is a very small ultraportable, and doesn't have builtin CDROM or floppy drive. I own an IBM [[UltraBase X4]] dock station, but her DVDrom is dead. So I went for PXE (network boot) installation for the first time ; I just applied instructions from [http://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install this web page] : this was unexpectedly simple and worked flawlessly. Everything got installed from network, &amp;quot;over the air&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
I kept the 4Go [[Hidden Protected Area|IBM recovery]] partition at the end of the drive, by superstition and for [[Rescue and Recovery]]. Afterwards, I compiled my own 2.6.22 kernel, patched with high resolution timers, to improve the battery life, and applied tips from the ''[[How to reduce power consumption]]''.&lt;br /&gt;
&lt;br /&gt;
==Small glitches==&lt;br /&gt;
===Distribution (Ubuntu Feisty Fawn 7.04)===&lt;br /&gt;
Even if everything was supported, there was some small things where Ubuntu (or Gnome, or Linux kernel) could have done better: &lt;br /&gt;
* Suspend-to-ram works out-of-the-box, no special tricks are needed. But sometimes, not always, for an unknown reason, the Gnome &amp;quot;logout&amp;quot; screen hides the s2ram and s2disk (hibernate) options. Whatever, we still can suspend thanks to the thinkpad's special keys (or just with an &amp;quot;echo mem &amp;gt; /sys/power/state&amp;quot;).&lt;br /&gt;
* Ubuntu installs the &amp;quot;special keys&amp;quot; handler from the &amp;quot;hotkey-setup&amp;quot; package. This is suboptimal, since hotkey-setup supports less special keys than [[tpb]], and consumes a lot of battery (see for instance this [https://bugs.launchpad.net/ubuntu/+source/hotkey-setup/+bug/45404 bug report]).&lt;br /&gt;
* More generally, the whole Ubuntu system needs work to become power efficient on laptops: switch to a 2.6.21 or more kernel, use in kernel &amp;quot;ondemand&amp;quot; governor rather than userland powernowd+hald-addon-cpufreq, activate AC97 power saving features when on battery, etc.&lt;br /&gt;
* The default Ubuntu install left me with a lot processes related to printing (cupsd, gnome-cups-icon, hpiod, hpssd (this one is a python script!)) while I have no printer configured nor attached. Bad. They shouldn't start this until hald find something plugged or until I try to configure a printer. It also left the bluetooth &amp;quot;hcid&amp;quot; daemon, while I've no bluetooth controller. evolution-alarm-notify is running while I've never launched (let alone configured) Evolution.&lt;br /&gt;
&lt;br /&gt;
===Hardware and BIOS limitations===&lt;br /&gt;
The hardware is fine for me, even if a bit old by nowadays standards (I'd prefer have an Intel AHCI chipset with SATA drive on it, for power efficiency reason, and I'd prefer a Core2Duo CPU....). It lacks also some options available on some other Thinkpads models, like the fingerprint reader (but seriously, I prefer give this up to keep my &amp;quot;all Intel&amp;quot; chipsets). It lacks a Firewire controler. The BIOS is also somehow suboptimal, in some aspects.&lt;br /&gt;
&lt;br /&gt;
For an unknown reason, the BIOS disable by default the deeper power saving c-states (C3 and C4). There's two option for this that you need to turn on, despite the the misleading BIOS online help that says &amp;quot;usualy not needed&amp;quot;. Type &amp;quot;F1&amp;quot; during boot to access the BIOS, then enable: &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 CPU power management&lt;br /&gt;
 PCI bus power management&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The BIOS, as in many laptops, hides the HPET hardware timer to the system. Windows XP don't support HPET and when enabled, it displays a yellow exclamation mark on his device manager list, hence the common vendor choice to disable it. That's a bit odd since Linux can make a great use of it: other available timers (PIC/LAPIC) can't schedule timer events more than a few milliseconds away, so they causes about 20 to 40 CPU wakeups per second. This impact the power consumption greatly. Yet, thanks to the Udo A. Steinberg and Venki Pallipadi, we have a way to force enable HPET on chipsets known to support it (this include ICH3-M, ICH4-M, ICH5-M etc.). So I applied their patch, part of the [http://www.tglx.de/projects/hrtimers/|High Resolution Timer patchset] on top of my hand compiled 2.6.22-rc5 kernel, and all worked fine: &amp;lt;code&amp;gt;dmesg | grep hpet&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 [    3.740522] hpet clockevent registered&lt;br /&gt;
 [    3.740527] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0&lt;br /&gt;
 [    3.740532] hpet0: 3 64-bit timers, 14318180 Hz&lt;br /&gt;
 [    5.080000] Time: hpet clocksource has been installed.&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
* [[Embedded Security Subsystem|TCPA chipset]]: Trusted Computing controller. Should be supported by [[tpm]] and [[tpmdd]] but who need this, really ?&lt;br /&gt;
* [[HDAPS]] (Hard Drive protection mechanism): this should work out of the box, we have a kernel module for that but I disable it because it's known to suck power&lt;br /&gt;
* [[IrDA]] (Infrared controller) : is known to work too, and looks supported by my kernel, but I've no other IrDA device to test with&lt;br /&gt;
* [[SD Card slot]] : I've no SD cards to test this&lt;br /&gt;
* [[IBM Integrated 56K Modem (MDC-2)|56K Modem]]: I've no use of this&lt;br /&gt;
&lt;br /&gt;
==System informations==&lt;br /&gt;
'''dmesg | grep states'''&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 [    5.280003] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3] C4[C4])&lt;br /&gt;
 [    5.280009] ACPI: Processor [CPU] (supports 8 throttling states)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''lspci''' :&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)&lt;br /&gt;
 00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)&lt;br /&gt;
 00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)&lt;br /&gt;
 00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)&lt;br /&gt;
 00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)&lt;br /&gt;
 00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)&lt;br /&gt;
 00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)&lt;br /&gt;
 00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)&lt;br /&gt;
 00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)&lt;br /&gt;
 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)&lt;br /&gt;
 00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)&lt;br /&gt;
 00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)&lt;br /&gt;
 00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)&lt;br /&gt;
 00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)&lt;br /&gt;
 00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)&lt;br /&gt;
 02:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8d)&lt;br /&gt;
 02:00.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 13)&lt;br /&gt;
 02:01.0 Ethernet controller: Intel Corporation 82541GI Gigabit Ethernet Controller&lt;br /&gt;
 02:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''cat /proc/cpuinfo''' &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 processor       : 0&lt;br /&gt;
 vendor_id       : GenuineIntel&lt;br /&gt;
 cpu family      : 6&lt;br /&gt;
 model           : 13&lt;br /&gt;
 model name      : Intel(R) Pentium(R) M processor 1.40GHz&lt;br /&gt;
 stepping        : 6&lt;br /&gt;
 cpu MHz         : 600.000&lt;br /&gt;
 cache size      : 2048 KB&lt;br /&gt;
 fdiv_bug        : no&lt;br /&gt;
 hlt_bug         : no&lt;br /&gt;
 f00f_bug        : no&lt;br /&gt;
 coma_bug        : no&lt;br /&gt;
 fpu             : yes&lt;br /&gt;
 fpu_exception   : yes&lt;br /&gt;
 cpuid level     : 2&lt;br /&gt;
 wp              : yes&lt;br /&gt;
 flags           : fpu vme de pse tsc msr mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe up est  tm2 &lt;br /&gt;
 bogomips        : 1196.93&lt;br /&gt;
 clflush size    : 64&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Other Linux installation reports on Thinkpad X40==&lt;br /&gt;
Don't forget that the X40 line included different ethernet (tg3 or e1000) and wireless (atheros or Intel) chipsets, and that Linux support involved over time. So there may be some difference between your experience with X40 and others reports. Some reports are quite old too, and Linux involve at fast pace.&lt;br /&gt;
&lt;br /&gt;
'''Thinkwiki internal notes about installing Linux on X40'''&lt;br /&gt;
*{{Install|Gentoo||X40}}&lt;br /&gt;
*{{Install|Debian||X40}}&lt;br /&gt;
*{{Install|Fedora| Core|X40}}&lt;br /&gt;
&lt;br /&gt;
'''Exernal links to notes about installing linux, OpenBSD and FreeBSD on X40'''&lt;br /&gt;
&lt;br /&gt;
* [http://gentoo-wiki.com/HARDWARE_IBM_ThinkPad_X40 HARDWARE IBM ThinkPad X40] on the Gentoo wiki&lt;br /&gt;
* [http://www.srcf.ucam.org/~mjg59/thinkpad/x40acpi.html ''Linux and ACPI on an IBM Thinkpad X40''], by Matthew Garrett&lt;br /&gt;
* [http://littlesvr.ca/linux-stuff/articles/x40slack/x40slack.php Slackware 10.1 and 10.2] on X40, by Andrew Smith&lt;br /&gt;
* [http://people.bath.ac.uk/masrjb/x40.html SuSE 9.1] on X40, by Russell Bradford&lt;br /&gt;
* [http://www.sun.com/bigadmin/hcl/data/systems/details/1454.html Solaris] on X40, on Sun's BigAdmin database&lt;br /&gt;
* [http://www.cl.cam.ac.uk/~pb22/TPX40/ Red Hat 9] on X40, by Piete Brooks&lt;br /&gt;
* [http://blog.tarotoast.com/2007/01/13/333/ PC-BSD] on X40, by Tarotoast&lt;br /&gt;
* [http://www.roe.ch/FreeBSD_on_the_IBM_ThinkPad_X40 FreeBSD 5.4] on X40, by Daniel Roethlisberger&lt;br /&gt;
* [http://www.iosn.net/Members/kaeru/articles/freebsd/x40 FreeBSD 5.3] on X40, by Khairil Yusof&lt;br /&gt;
* [http://lowerca.se/laptops/ OpenBSD] on X40, by Joshua Stein&lt;br /&gt;
* [http://www.openbsd.org/i386-laptop.html OpenBSD], OpenBSD official site,  i386-laptops page&lt;br /&gt;
* [http://www.citi.umich.edu/u/rees/openbsd/tpx40.html OpenBSD 3.9, 4.0 and 4.1] on X40, by Jim Rees&lt;br /&gt;
* [http://www.catb.org/~esr/faqs/Fedora-Core-on-Thinkpad-X40/ Fedora Core] on X40, by the infamous Eric S. Raymond&lt;br /&gt;
* [http://johnleach.co.uk/documents/thinkpadx40/index.html Fedora] on X40, by John Leach&lt;br /&gt;
* [http://www.mrc-cbu.cam.ac.uk/~matthew/linuxiste/10p1/x40_mandrake_10p1.html Mandrake 10.1] on X40, by Matthew Brett&lt;br /&gt;
* [http://soft.zoneo.net/Linux/x40.php Mandriva 10.1] on X40, by ZoneO&lt;br /&gt;
* [http://soft.zoneo.net/Linux/x40_2006.php Mandriva 2006] on X40, by Zone0&lt;br /&gt;
* [http://www.linux-on-laptops.com/hosted/ubuntu-thinkpad-x40.html Ubuntu Feisty 7.04], by Chris Cartledge&lt;br /&gt;
* [http://www.tenshu.net/archives/2006/08/08/ubuntu-dapper-606-lts-on-an-ibmlenovo-thinkpad-x40/ Ubuntu Dapper 6.06] on X40, by cmsj&lt;br /&gt;
* [http://www.noapparentmotive.org/topics/ubuntuX40.html Ubuntu Breezy 5.04] on X40, by John Schmitt&lt;br /&gt;
* [http://www.leopold.dk/~martin/IBMx40UbuntuInstall.html Ubuntu Breezy 5.04] on X40, by Martin Leopold&lt;br /&gt;
* [http://martin.wuertele.net/x40/ Debian] on X40, by Martin Würtele&lt;br /&gt;
* [http://www.chronox.de/x40_linux/linux_on_x40.html Debian] on X40, by Stephan Müller;&lt;br /&gt;
* [http://steffenpingel.de/news/archive/2005/apr/22/linux-debian-on-ibm-thinkpad-x40/ Debian] on X40, by Sebastian Schmieg&lt;br /&gt;
* [http://m.ash.to/@/@/Linux/DebianOnThinkpadX40 Debian/GNU Linux 3.1 (Sarge)], by Michael Aschauer&lt;br /&gt;
* [http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html Debian GNU/Linux Unstable with ACPI on an IBM Thinkpad X40], by madn3ss&lt;br /&gt;
* [http://grapevine.net.au/~striggs/thinkpad-x40.html Debian] on X40 (with example PXE network install), by Mark Triggs&lt;br /&gt;
&lt;br /&gt;
===Installation Notes for Ubuntu 7.10 (Gutsy Gibbon) by dmoerner===&lt;br /&gt;
&lt;br /&gt;
I found this page very useful for the installation of Ubuntu 7.10 on my Thinkpad X40.  There are a couple things that are different:&lt;br /&gt;
&lt;br /&gt;
1) To get suspend/hibernate to work from gnome-power-manager you must do the following:&lt;br /&gt;
* add Option &amp;quot;VBERestore&amp;quot;  &amp;quot;on&amp;quot; to Section &amp;quot;device&amp;quot; of /etc/X11/xorg.conf (see http://www.intellinuxgraphics.org/man.html for reference)&lt;br /&gt;
* add acpi_sleep=s3_bios resume=/dev/sda? to /boot/grub/menu.lst where ? is your swap partition.&lt;br /&gt;
* edit /etc/default/acpi-support and uncomment the line that says &amp;quot;restore video state on resume&amp;quot;&lt;br /&gt;
&lt;br /&gt;
2) You should disable the hotkey-setup service, because the keys on the thinkpad are hardwired and the hotkey-setup can cause freezes.&lt;br /&gt;
&lt;br /&gt;
3) You will want to install compizconfig-settings-manager to get more control over Compiz Fusion.  In my experience, the Thinkpad can handle compiz fusion just fine, with the exception of the rain plugin and the transparent cube gears, which cause it to slow up tremendously.&lt;br /&gt;
&lt;br /&gt;
4) Compile a 2.6.24-rc2 or newer kernel as soon as possible.  The new scheduler and the introduction of hpet into the main line kernel (boot with the code hpet=force) are invaluable.&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Ubuntu 7.04]]&lt;/div&gt;</summary>
		<author><name>Heathd</name></author>
		
	</entry>
</feed>