<?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>costela.net &#187; fosdem</title>
	<atom:link href="http://costela.net/tag/fosdem/feed/" rel="self" type="application/rss+xml" />
	<link>http://costela.net</link>
	<description>rhetorically impaired, ironically despaired</description>
	<lastBuildDate>Wed, 25 Jan 2012 15:30:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>I really shouldn&#8217;t, but&#8230;</title>
		<link>http://costela.net/2011/01/i-really-shouldnt-but/</link>
		<comments>http://costela.net/2011/01/i-really-shouldnt-but/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 22:31:10 +0000</pubDate>
		<dc:creator>Leo Antunes</dc:creator>
				<category><![CDATA[Home]]></category>
		<category><![CDATA[debian planet]]></category>
		<category><![CDATA[fosdem]]></category>

		<guid isPermaLink="false">http://costela.net/?p=682</guid>
		<description><![CDATA[See you there!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fosdem.org"><img src="http://www.fosdem.org/promo/going-to" alt="I'm going to FOSDEM, the Free and Open Source Software Developers' European Meeting" /></a></p>
<p>See you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://costela.net/2011/01/i-really-shouldnt-but/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Yeah, about that&#8230;</title>
		<link>http://costela.net/2010/02/yeah-about-that/</link>
		<comments>http://costela.net/2010/02/yeah-about-that/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 17:23:56 +0000</pubDate>
		<dc:creator>Leo Antunes</dc:creator>
				<category><![CDATA[Home]]></category>
		<category><![CDATA[complaint]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[debian planet]]></category>
		<category><![CDATA[fosdem]]></category>

		<guid isPermaLink="false">http://costela.net/?p=563</guid>
		<description><![CDATA[I was trying not to complain about it, but now that the number of people asking me about it is getting bigger, my frustration got the best of me. So unfortunately I won&#8217;t see you all there.]]></description>
			<content:encoded><![CDATA[<p>I was trying not to complain about it, but now that the number of people asking me about it is getting bigger, my frustration got the best of me.</p>
<p><img src="/files/not-going-to.png" alt="I'm NOT going to FOSDEM 2010" class="aligncenter size-full wp-image-564" /></p>
<p>So unfortunately I won&#8217;t see you all there.</p>
]]></content:encoded>
			<wfw:commentRss>http://costela.net/2010/02/yeah-about-that/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The new laptop odyssey</title>
		<link>http://costela.net/2009/02/the-new-laptop-odyssey/</link>
		<comments>http://costela.net/2009/02/the-new-laptop-odyssey/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 16:34:52 +0000</pubDate>
		<dc:creator>Leo Antunes</dc:creator>
				<category><![CDATA[Home]]></category>
		<category><![CDATA[acpi]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fosdem]]></category>
		<category><![CDATA[hal]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[toshiba]]></category>
		<category><![CDATA[uxa]]></category>
		<category><![CDATA[x.org]]></category>

		<guid isPermaLink="false">http://costela.net/?p=163</guid>
		<description><![CDATA[Posting because I need to document this somewhere for future reference and &#8211; who knows &#8211; I might even help someone out there. Being the cheap bastard that I am, I found a nice bargain some weeks ago for a Toshiba Satellite L300 21C and decided to take it instead of going for the slightly [...]]]></description>
			<content:encoded><![CDATA[<p>Posting because I need to document this somewhere for future reference and &#8211; who knows &#8211; I might even help someone out there.</p>
<p>Being the cheap bastard that I am, I found a nice bargain some weeks ago for a Toshiba Satellite L300 21C and decided to take it instead of going for the slightly more expensive, slightly less equipped and overall just geek-friendlier Thinkpad*.</p>
<p>The L300 21C (&#8220;<code>lshal | grep system.hardware.version</code>&#8221; reports &#8216;PSLB8E-0H301VGR&#8217;) packs 4G of ram (2x 2G), a 250G SATA disk, an Intel 4500MHD card (which I specifically sought for the supposed good Linux support) and an Atheros AR242x wireless card.<br />
It&#8217;s nothing special, but it performs decently enough.</p>
<p>I obviously wanted to install <a href="http://debian.org">Debian</a> on it before even turning it on and seeing the face of the operating system that came preinstalled, but at the time I bought it <a href="http://debian.org/News/2009/20090214">Lenny</a> hadn&#8217;t been released yet, so I grabbed the RC2 images. Since the differences between RC2 and Lenny are probably negligible, this post should apply to Lenny as well.</p>
<p>The first thing that got my attention was that the wireless doesn&#8217;t work with the ath5k module from 2.6.26 &#8211; shipped with Lenny, so I could either upgrade my kernel to 2.6.28 or install the MadWifi modules.<br />
The next problem helped decide the solution for the first one: suspend wasn&#8217;t working and it turns out it was a combination of the EXA AccelMethod not playing well with the intel driver and the <a href="http://people.freedesktop.org/~hughsient/quirk/index.html">Hal quirks</a> database having an entry for the Satellite L30 which matches too broadly and introduces the wrong quirks for the L300&#8242;s suspend.</p>
<p>For the EXA part, upgrading X.org to 1.5.99.902 and the intel driver to 2.6.1 (currently in <em>experimental</em>) and changing the AccelMethod to UXA was the only option. This in turn meant upgrading the kernel to 2.6.28 because of the <a href="http://kernelnewbies.org/Linux_2_6_28#line-17">GEM</a> support needed by UXA, thus also solving the first problem with the wireless card.</p>
<p>The Hal part was solved by adding the following quirks to Hal&#8217;s FDI database (<i>/etc/hal/fdi/information/</i>, in Debian&#8217;s case):</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;">&lt; ?xml <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;ISO-8859-1&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;deviceinfo</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;0.2&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;device<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;match</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;system.hardware.vendor&quot;</span> <span style="color: #000066;">string</span>=<span style="color: #ff0000;">&quot;TOSHIBA&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/match<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;match</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;system.hardware.product&quot;</span> <span style="color: #000066;">string</span>=<span style="color: #ff0000;">&quot;Satellite L300&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;merge</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;power_management.quirk.s3_bios&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;bool&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>false<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/merge<span style="color: #000000; font-weight: bold;">&gt;</span></span></span> <span style="color: #808080; font-style: italic;">&lt;!-- wrongly added by L30 rule --&gt;</span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;merge</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;power_management.quirk.s3_mode&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;bool&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>false<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/merge<span style="color: #000000; font-weight: bold;">&gt;</span></span></span> <span style="color: #808080; font-style: italic;">&lt;!-- wrongly added by L30 rule --&gt;</span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;merge</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;power_management.quirk.vbestate_restore&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;bool&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>true<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/merge<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/match<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/device<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/deviceinfo<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>After that, suspend to memory worked like a charm.</p>
<p>I haven&#8217;t really tested suspend to disk, since I&#8217;m using home+swap inside encrypted LVM, but I may check it out a bit later. For now suspend to memory is all I needed.</p>
<p>The laptop still has the following unsolved problems:</p>
<p>The screen sucks, even for a laptop. It looks blueish, blows the white areas&#8217; brightness &#8211; regardless of gamma setting &#8211; and has a terrible contrast ratio which I still couldn&#8217;t go around. I tried <a href="http://xcalib.sourceforge.net/">xcalib</a> and changing X.org&#8217;s gamma settings, to no avail. Next desperate step will be fiddling with compiz&#8217;s color filter, since the intel driver AFAIK doesn&#8217;t have a color correction interface.<br />
I&#8217;m still not sure if this is a driver issue or a monitor issue, since the proprietary operating system that came preinstalled also showed most of these issues (I installed it again just to make this test).</p>
<p>Making the screen problems a bit worse, UXA still has <a href="https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/324854">some problematic interactions with compiz</a> that mess with some opacity operations. I expect this should be fixed in a future release of X.org, perhaps when the UXA work gets merged back into EXA.</p>
<p>But the biggest problem I&#8217;ve encountered so far is with the fan. Apparently the fan&#8217;s thermal control is borked and after reaching a certain temperature the fan kicks to full power and doesn&#8217;t slow down until either shutting the laptop down or suspending it. This could be an ACPI bug, but I suspect otherwise because disabling ACPI on boot-time (<em>acpi=ht</em>) doesn&#8217;t have any effect. I&#8217;ve even tried following the <a href="http://www.lesswatts.org/projects/acpi/debug.php">advices on the ACPI site</a> to debug this problem and I&#8217;m running 2.6.29-RC5 to make sure this hasn&#8217;t been solved already, but still haven&#8217;t gotten anything useful out of it. (I also ran into this problem with 2.6.26 and 2.6.28)<br />
My best (but still not very good) guess would be that the BIOS in the laptop (Insyde H2) has some proprietary non-ACPI way of fine-tuning the fan speed, probably off-loading the task to a driver, which nobody has implemented for Linux yet. Might be a nice little project, if I had the slightest idea where to start, but unfortunately I have zero experience reverse engineering BIOS code&#8230;</p>
<p>In summary I&#8217;d suggest that anyone wanting to buy this laptop don&#8217;t be an idiot like I was and just research a little bit more. It&#8217;s not a bad machine, for the price, but it still has these nagging problems that spoil the feeling of running a nicely configured system and specially this last fan problem is potentially a show stopper.</p>
<p>* <small>So geek friendly, in fact, that I felt completely out of place at <a href="http://www.fosdem.org/2009/">FOSDEM</a>. Like the only kid with the wrong toy.</small></p>
<p><strong style="color:red">UPDATE:</strong> pseudo-solution found <a href="/2009/03/its-alive-sort-of/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://costela.net/2009/02/the-new-laptop-odyssey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

