<?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=Datrop</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=Datrop"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Datrop"/>
	<updated>2026-06-20T11:16:17Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=CompactFlash_boot_drive&amp;diff=37045</id>
		<title>CompactFlash boot drive</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=CompactFlash_boot_drive&amp;diff=37045"/>
		<updated>2008-03-19T03:08:26Z</updated>

		<summary type="html">&lt;p&gt;Datrop: add note about 40-wire warning and UDMA support under linux&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
Changing your HDD for a CF boot drive with a Compact Flash card and adapter is an alternative to an expensive SSD. This is primarily done by ThinkPad {{X40}} series owners due to the extremely slow speeds of the 1.8&amp;quot; HDD. For the time being it does mean giving up on storage capacity since the faster CF cards are currently only available up to 8GB. Most ThinkPads can have have two CF cards installed to expand available capacity.&lt;br /&gt;
&lt;br /&gt;
===Advantages of CF===&lt;br /&gt;
* Faster then the extremely slow 1.8&amp;quot; HDD, if you get the right card&lt;br /&gt;
* solid state, no risk of damage when dropped, no need to run the APS (Active Protection System) software to detect shocks and disable the HDD&lt;br /&gt;
* possibly a slight increase in battery life&lt;br /&gt;
* less heat being generated&lt;br /&gt;
&lt;br /&gt;
===Disadvantages of CF===&lt;br /&gt;
* Not faster then current generation 2.5&amp;quot; HDDs, especially for writes&lt;br /&gt;
* Capacity is limited&lt;br /&gt;
{{NOTE|A often mentioned disadvantage of flash based storage is the limited number of writes (typically 100.000). This is however not an issue with current flash based storage due to two things;&amp;lt;br&amp;gt;&lt;br /&gt;
* The 100.000 writes applies to each memory cell separately in the card, not to the card itself&amp;lt;br&amp;gt;&lt;br /&gt;
* The flash memory cards automatically distribute the writes (moves things around) so that the number of writes to each cell is kept low&amp;lt;br&amp;gt;&lt;br /&gt;
With this it will take years to kill a current flash memory card with writes, so even swap is not an issue.}}&lt;br /&gt;
&lt;br /&gt;
==What you need==&lt;br /&gt;
* Passive IDE to CF adapter&lt;br /&gt;
* Compact Flash (CF) card with the following&lt;br /&gt;
** UDMA support&lt;br /&gt;
** X266 speed or better. Especially Write speed is important!&lt;br /&gt;
** preferably one that identifies as Fixed disk&lt;br /&gt;
** 4 or 8GB capacity, depending on needs&lt;br /&gt;
&lt;br /&gt;
==Tested adapters==&lt;br /&gt;
===IDE to CF===&lt;br /&gt;
{{WARN|the second (slave) slot on dual slot adapters does not work on the ThinkPad {{X41}}, {{X41T}}, {{T43}}, {{T43p}} and {{R52}} due to the SATA to IDE bridge. But it will work fine on others like the ThinkPad X40 where it will function as having 2 drives attached as master and slave}}&lt;br /&gt;
These adapters will work for both ThinkPads with 1.8&amp;quot; and 2.5&amp;quot; IDE (PATA) HDDs.&lt;br /&gt;
* Addonics AD44MIDECF (single slot)&lt;br /&gt;
* Addonics AD44MIDE2CF (dual slot)&lt;br /&gt;
===SATA to CF===&lt;br /&gt;
These adapters are needed for newer ThinkPads with native SATA HDDs.&lt;br /&gt;
{{Todo|If someone has tested any, please add them here}}&lt;br /&gt;
&lt;br /&gt;
==Removable vs Fixed disk type==&lt;br /&gt;
Most newer compact flash cards identify themselves as Removable instead of Fixed disk. For Linux this does not cause any problems, but Windows has issues with it and will refuse to partition such a drive, and even if you manage to get it installed it will not be able to suspend. In addition some software will refuse to install on a removable drive.&lt;br /&gt;
&lt;br /&gt;
If you have to use a CF card that has the type bits set to Removable and want to install Windows XP you can work around it as follows;&lt;br /&gt;
* Use Linux to partition the drive with a FAT32 partition (you can boot from one of the LiveCD/LiveUSB distributions for this), and set the partition bootable.&lt;br /&gt;
* Start the install of Windows, during install you will be given the opportunity to migrate to NTFS&lt;br /&gt;
* After the install is finished you will need to install the Hitachi microdrive disk drivers (google for XPfildrvr1224.zip), which will mask the removable bits and should allow suspend and other operations that fail on a removable drive to work.&lt;br /&gt;
&lt;br /&gt;
===SanDisk Extreme===&lt;br /&gt;
SanDisk used to provide a utility (when asked) under NDA to change the type bit to Fixed disk. It has however changed it stance on this and now refuses to provide it. This utility (ATCFWCHG.COM) however can be found for download at various places (try Google).&lt;br /&gt;
&lt;br /&gt;
You will need to boot DOS and run it with the CF configured as either the master on the primary IDE interface or the master on the secondary interface. It will not work if the drive is attached as a slave or to any other interfaces.&lt;br /&gt;
&lt;br /&gt;
To set a SanDisk Extreme adapter attached to the primary IDE interface to Fixed disk&lt;br /&gt;
 ATCFWCHG.COM /P /F&lt;br /&gt;
To set a SanDisk Extreme adapter attached to the secondary IDE interface (Ultrabay) to Fixed disk&lt;br /&gt;
 ATCFWCHG.COM /S /F&lt;br /&gt;
&lt;br /&gt;
===Kingston Ultimate===&lt;br /&gt;
The Kingston Ultimate CF card ships as CF-Removable, and although Kingston admits it is possible to change the type to Fixed disk, it was not willing when asked to provide a tool/application for this purpose.&lt;br /&gt;
&lt;br /&gt;
But supposedly the Kingston card automatically changes ID based on the adapter used, so it will ID as fixed disk when used with an IDE-CF or SATA-CF adapter, but will ID as CF-Removable when used with a PCMCIA adapter.&lt;br /&gt;
&lt;br /&gt;
==SATA to IDE bridge==&lt;br /&gt;
On ThinkPad models with a SATA to IDE bridge (ThinkPad X41, X41 Tablet, T43, T43p and R52) there are some additional limitations and annoyances when changing your HDD to a CF card.&lt;br /&gt;
&lt;br /&gt;
You can only have one CF card, even if you have a dual slot adapter. The second card will not be seen, this is a limitation of the bridge chip and the way SATA functions.&lt;br /&gt;
&lt;br /&gt;
Beeps and error on boot. The ThinkPad BIOS will complain that an unsupported disk is installed (Error 2010), but will continue to boot after 5-10 seconds or after pressing enter (presuming you have a recent BIOS installed).&lt;br /&gt;
&lt;br /&gt;
==Storage capacity issues==&lt;br /&gt;
Due to the fast CF cards that you will want for your OS drive only being available in smaller sizes (up to 8GB currently) you might not have enough local storage for your needs. Here are some suggestions on how to work around it.&lt;br /&gt;
* Add a second CF card, using the dual-port adapter. This will show up as an additional drive on ThinkPads that support it, and you might even use a larger capacity (and hence slower card) for this purpose depending on your needs.&lt;br /&gt;
* use another flash memory card in the dedicated slot on select ThinkPads (CF on ThinkPad X20 and X30 series and SD on ThinkPad X40 and X60 series). Note that this slot might not be very fast.&lt;br /&gt;
* use a USB drive or memory stick for additional storage. This is ugly since it will stick out, and should be avoided on ThinkPads that do not support USB 2.0&lt;br /&gt;
* use NAS (network attached storage)&lt;br /&gt;
&lt;br /&gt;
4GB is sufficient to install Linux or Windows with some basic applications. So unless you intend to keep your library of music/videos/pictures local the 8GB card might be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Linux issues==&lt;br /&gt;
With the Addonics adapters listed above (and possibly with other ones as well), the kernel's libata driver might warn about a 40-wire cable and default to UDMA/33 operation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[ 27.831146] ata1.00: limited to UDMA/33 due to 40-wire cable&lt;br /&gt;
[ 27.846808] ata1.00: configured for UDMA/33&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This has been observed with version 2.6.24 of the kernel, and it may affect older ones, too.  A patch is available from [http://permalink.gmane.org/gmane.linux.ide/26879] that adds a &amp;lt;tt&amp;gt;force_cbl&amp;lt;/tt&amp;gt; kernel parameter.  After applying the patch and recompiling the kernel, you can then set &amp;lt;tt&amp;gt;force_cbl=80&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[    7.140864] ata1: forcing 80c&lt;br /&gt;
[    7.140886] ata1.00: CFA: LEXAR ATA FLASH CARD, 20071016, max UDMA/100&lt;br /&gt;
[    7.140890] ata1.00: 7831152 sectors, multi 0: LBA &lt;br /&gt;
[    7.140908] ata1.00: forcing 80c&lt;br /&gt;
[    7.141625] ata1.00: configured for UDMA/100&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the patch enabled, the above system achieves 42MB/sec read performance according to &amp;lt;tt&amp;gt;hdparm&amp;lt;/tt&amp;gt;.  Without it, performance suffers: 23MB/sec.&lt;br /&gt;
&lt;br /&gt;
==useful links==&lt;br /&gt;
* [http://forum.thinkpads.com/viewtopic.php?t=41568 ThinkPads Forum discussion on the subject]&lt;br /&gt;
* [http://www.hjreggel.net/cardspeed/index.html Flash memory speed - check out the UDMA CF link]&lt;/div&gt;</summary>
		<author><name>Datrop</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_X40&amp;diff=37004</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=37004"/>
		<updated>2008-03-16T16:51:32Z</updated>

		<summary type="html">&lt;p&gt;Datrop: Add information on configuring UltraBase X4 (un)dock support.&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 8.04 Tribe 1 (Hardy Heron) by dmoerner===&lt;br /&gt;
&lt;br /&gt;
I found this page very useful for the installation of Ubuntu on my Thinkpad X40.  As of 12/2/07, I am using Ubuntu 8.04 Tribe 1.  Almost everything works fine:&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;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
sudo apt-get install uswsusp&lt;br /&gt;
&lt;br /&gt;
sudo cp /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux.bak&lt;br /&gt;
&lt;br /&gt;
sudo cp /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux.bak&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now replace the contents of /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#!/bin/sh&lt;br /&gt;
/sbin/s2both&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And replace the contents of /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#!/bin/sh&lt;br /&gt;
/sbin/s2disk&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now test to see if this works by issuing the command:&lt;br /&gt;
&amp;lt;code&amp;gt;sudo s2both&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When I tried this, I got the error that it could not stat the resume device.  To fix this, edit /etc/uswsusp.conf and change the line that says UUID=??? to say /dev/yourswappartition.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) The 2.6.24-rc3 kernel sources are not mainlined in the Hardy Heron repositories.  You want these sources to enable HPET, etc.  I recommend using git to just grab the ubuntu kernel sources.&lt;br /&gt;
&lt;br /&gt;
3) For at least kernel 2.6.24, [[UltraBase X4]] actions are detected by ACPI's &amp;lt;tt&amp;gt;dock&amp;lt;/tt&amp;gt; driver.  By default, [[UltraBay]] devices are not accounted for by the event handlers.  This leads to system freezing when ejecting and undetected peripherals on docking.  The &amp;lt;tt&amp;gt;ultrabay_insert&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;ultrabay_eject&amp;lt;/tt&amp;gt; scripts from [[How to hotswap UltraBay devices]] can be used to achieve safe (un)docking.&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.d/options}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options dock immediate_undock=0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create {{path|/usr/local/sbin/ultrabase_dock}} with permissions 755:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
/usr/local/sbin/ultrabay_insert&lt;br /&gt;
# Anything else that you want executed on docking goes here.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create {{path|/usr/local/sbin/ultrabase_eject}} with permissions 755:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
/usr/local/sbin/ultrabay_eject&lt;br /&gt;
# Anything else that you want executed on ejection goes here.&lt;br /&gt;
&lt;br /&gt;
echo 1 &amp;gt; /sys/devices/platform/dock.0/undock&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create {{path|/etc/udev/rules.d/50-ibm-ultrabase.rules}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ENV{EVENT}==&amp;quot;undock&amp;quot;, KERNEL==&amp;quot;dock.0&amp;quot;, SUBSYSTEM==&amp;quot;platform&amp;quot;, RUN+=&amp;quot;/usr/local/sbin/ultrabase_eject&amp;quot;&lt;br /&gt;
ENV{EVENT}==&amp;quot;dock&amp;quot;, KERNEL==&amp;quot;dock.0&amp;quot;, SUBSYSTEM==&amp;quot;platform&amp;quot;, RUN+=&amp;quot;/usr/local/sbin/ultrabase_insert&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart &amp;lt;tt&amp;gt;udev&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now, the system will remove the [[UltraBay]] device when the undock button is pressed.  The laptop can be removed when the dock's LED turns off.  When docking, the [[UltraBay]] devices will be scanned and should be detected automatically.&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Ubuntu 7.04]]&lt;/div&gt;</summary>
		<author><name>Datrop</name></author>
		
	</entry>
</feed>