<?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>sadevil.org</title>
	<atom:link href="http://sadevil.org/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://sadevil.org/blog</link>
	<description>... from Diana and Jan ...</description>
	<lastBuildDate>Sat, 19 Jun 2010 10:58:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Android 2.1 (Eclair) on the HTC Hero&#8230;</title>
		<link>http://sadevil.org/blog/2010/06/08/android-2-1-eclair-on-the-htc-hero/</link>
		<comments>http://sadevil.org/blog/2010/06/08/android-2-1-eclair-on-the-htc-hero/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 17:30:36 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[HTC Hero]]></category>
		<category><![CDATA[Software-related]]></category>
		<category><![CDATA[eclair]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hero]]></category>
		<category><![CDATA[htc]]></category>
		<category><![CDATA[htc hero]]></category>

		<guid isPermaLink="false">http://sadevil.org/blog/?p=625</guid>
		<description><![CDATA[I&#8217;ve bought an HTC Hero a while back. Rooted it too, so I could edit the sms database. Loving the phone. Then HTC promised us (owners) an upgrade from Cupcake (Android 1.5) to Eclair (Android 2.1), scheduled for March 2010. Since Eclair has a ton of additional features and bugfixes, this was a biggy. Then [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve bought an HTC Hero a while back. <a href="http://sadevil.org/blog/2009/12/13/rooting-the-htc-hero/" target="_blank">Rooted</a> it too, so I could edit the sms database. Loving the phone.</p>
<p>Then <a href="http://www.htc.com/" target="_blank">HTC</a> promised us (owners) an upgrade from Cupcake (<a href="http://developer.android.com/sdk/android-1.5.html" target="_blank">Android 1.5</a>) to Eclair (<a href="http://developer.android.com/sdk/android-2.1.html" target="_blank">Android 2.1</a>), scheduled for March 2010. Since Eclair has a ton of additional features and bugfixes, this was a biggy.</p>
<p>Then HTC postponed it to beginning of April. End of April. May. June.<br />
On the 4th HTC started rolling out the update for Asia, and we still had to wait in Europe. That&#8217;s when I got fedup with waiting.</p>
<p>Thanks to the wonderful guys over at <a href="http://xda-developers.com/" target="_blank">XDA-Developers</a> and this <a href="http://forum.xda-developers.com/showthread.php?t=645253" target="_blank">Complete Newbie Guide to Install a Custom Rom</a>, I now have <a href="http://www.villainrom.co.uk/viewtopic.php?f=64&#038;t=1002&#038;start=0" target="_blank">VillainRom10</a> installed, which is basically a repackaged official 2.1 rom from HTC. </p>
<p>I had to use the <a href="http://wiki.xda-developers.com/index.php?pagename=Elf_GoldCard" target="_blank">GoldCard</a> method to downgrade my Hero (specified in the Guide &#8211; worked perfectly with a Sandisk 2gb SD card), and install the drivers from <a href="http://forum.xda-developers.com/showthread.php?t=647353" target="_blank">this thread</a> for the RUU (Rom Update Utility) to find the Hero in bootloader mode. Other than that, it&#8217;s a smooth sailing.</p>
<p>After using the phone now for two days, it feels mightily fast, snappy&#8230; it&#8217;s a total new phone.</p>
<p><center><img src="http://www.sadevil.org/gallery/d/144926-1/googleplex-android.jpg" alt="Gigantic Android, Donut, Cupcake and Eclair at the GooglePlex"/></center><br />
Goodie!</p>
]]></content:encoded>
			<wfw:commentRss>http://sadevil.org/blog/2010/06/08/android-2-1-eclair-on-the-htc-hero/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiseat on Debian</title>
		<link>http://sadevil.org/blog/2010/04/04/multiseat-on-debian/</link>
		<comments>http://sadevil.org/blog/2010/04/04/multiseat-on-debian/#comments</comments>
		<pubDate>Sun, 04 Apr 2010 15:10:08 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Hardware-related]]></category>
		<category><![CDATA[Linux / unix]]></category>
		<category><![CDATA[Software-related]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[kdm]]></category>
		<category><![CDATA[kernel mode setting]]></category>
		<category><![CDATA[kms]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[multiseat]]></category>
		<category><![CDATA[radeon]]></category>
		<category><![CDATA[xf86-video-ati]]></category>

		<guid isPermaLink="false">http://sadevil.org/blog/?p=579</guid>
		<description><![CDATA[Since I have a rather well-scaled desktop PC (nothing really fancy by today&#8217;s specs, but it&#8217;s underused as it is), and my gf sometimes wants to use it, and sometimes we both want to use it at the same time, I decided to turn it into a multiseat configuration. What&#8217;s a multiseat? Basically you connect [...]]]></description>
			<content:encoded><![CDATA[<p>Since I have a rather well-scaled desktop PC (nothing really fancy by today&#8217;s specs, but it&#8217;s underused as it is), and my gf sometimes wants to use it, and sometimes we both want to use it at the same time, I decided to turn it into a <a href="http://en.wikipedia.org/wiki/Multiseat" target="_blank">multiseat</a> configuration.</p>
<p>What&#8217;s a multiseat? Basically you connect a second set of input peripherals (keyboard, mouse) and a second screen (and if necessary a second video card) and reconfigure it to act as a separate pc.<br />
And with Linux, you just can, without a lot of trouble.</p>
<p>There are some different multiseat setups: those that run separate X servers (one per display), and those that run one X server for all displays and then run a nested server on top of that to split out the actual displays. The &#8216;problem&#8217; wit the latter is that you usually don&#8217;t have any 3D acceleration left, though if you use <a href="http://www.freedesktop.org/wiki/Software/Xephyr" target="_blank">Xephyr</a> these days that <a href="http://dodji.blogspot.com/2007/10/xephyr-xvideo-and-gl-has-landed.html" target="_blank">seems to work aswell</a>. </p>
<p>I opted for the first option.</p>
<p>My hardware (that matters for this setup):</p>
<ul>
<li>Mice: 2 simple Logitech usb mice</li>
<li>Keyboards: 2 usb keyboards (one <a href="http://reviews.cnet.com/keyboards/cherry-cymotion-master-linux/1707-3134_7-31539242.html" target="_blank">Cherry Cymotion Linux Master</a> &#038; one <a href="http://www.labtec.com/index.cfm/gear/details/EUR/EN,crid=28,contentid=692" target="_blank">labtec Ultraflat</a>)</li>
<li>Graphics: an onboard ATI Radeon HD 3200 (this is part of the <a href="http://en.wikipedia.org/wiki/AMD_700_chipset_series" target="_blank">AMD 780</a> chipset) video chip on my Asrock motherboard (was originally disabled and enabled for this multiseat setup) and an addon ATI Radeon HD 4850 card (with an <a href="http://en.wikipedia.org/wiki/Radeon_R700#Radeon_HD_4300.2FHD_4500" target="_blank">RV700</a> chip).</li>
<li>Screens: two screens &#8211; in this case, one 20.1&#8243; <a href="http://hk.viewsonic.com/en/products/productspecs.php?id=234" target="_blank">Viewsonic VX2025wm</a> and one 22&#8243; (newly purchased) <a href="http://www.lg.com/uk/support/product/support-product-profile.jsp?customerModelCode=W2253TQ-PF&#038;initialTab=documents&#038;targetPage=support-product-profile#" target="_blank">LG w2253TW</a></li>
</ul>
<p>Notes:</p>
<ol>
<li>It is advised to use chips that can be driven with the same driver for a multiseat setup!</li>
<li>If you use an onboard chipset (like I do), you&#8217;ll need to change the boot order so that this chip is actually used as the primary device, otherwise it won&#8217;t be initialised correctly.</li>
</ol>
<p>Originally I had the ATI binary driver <a href="http://en.wikipedia.org/wiki/Fglrx" target="_blank">fglrx</a> installed, but this does _not_ play well with a multiseat setup. The initialisation of the second card causes the system to hardlock.<br />
Since this driver doesn&#8217;t work, I went for the <a href="http://www.x.org/wiki/radeon" target="_blank">xf86-video-ati</a> driver, which is completely opensource, and in combination with a recent <a href="http://www.kernel.org/" target="_blank">kernel</a> allows for <a href="http://en.wikipedia.org/wiki/Mode-setting" target="_blank">kernel mode setting</a>. You do need the firmware for the card, usually found in the firmware-linux packages of your favourite distribution.</p>
<p>So, the works:</p>
<h3>Requirements</h3>
<ol>
<li>Get a spankingly fresh kernel. 2.6.33 at least, preferably newer. Compile it with KMS support enabled. Note that when you enable KMS support, you&#8217;ll lose your console unless you compile in <code><a href="http://www.mjmwired.net/kernel/Documentation/fb/fbcon.txt" target="_blank">fbcon</a></code>, but I advise against this, as this doesn&#8217;t seem to play well with a multiseat setup. </li>
<li>Install the linux-firmware package or get the necessary firmwares for your cards (to get 3D acceleration)</li>
<li>Get a decently fresh <a href="http://www.mesa3d.org/" target="_blank">Mesa</a> (7.7 branch)</li>
<li>Lastly, get a mjummy fresh xf86-video-ati driver.</li>
</ol>
<p>Originally, I compiled all these and installed them over the existing binaries in /usr, but fortunately my favourite distribution <a href="http://www.debian.org" target="_blank">Debian</a> has the necessary components in <a href="http://www.debian.org/releases/unstable/" target="_blank">Sid</a> and <a href="http://wiki.debian.org/DebianExperimental" target="_blank">Experimental</a>. these days.</p>
<h3>Xorg.conf changes</h3>
<p>After everything is installed, you need to modify your xorg.conf file.</p>
<h4>ServerFlags</h4>
<blockquote><pre>Section "ServerFlags"
        Option      "DefaultServerLayout" "<font color="#ff6600"><em>seat0</em></font>"
        Option      "AllowMouseOpenFail"  "true"
        Option      "AutoAddDevices" "false"
EndSection</pre>
</blockquote>
<p>The AutoAddDevices line is important, otherwise we can&#8217;t map the devices to the right seat.</p>
<h4>The actual graphic chips/cards:</h4>
<blockquote><pre>
Section "Device"
        Identifier  "<font color="#ff6600"><em>ATI RadeonHD 4850</em></font>"
        Driver      "ati"
        BusID       "<b>PCI:2:0:0</b>"
        Option      "Int10" "off"
EndSection

Section "Device"
        Identifier   "<font color="#008800"><em>ATI RadeonHD 3200</em></font>"
        driver       "ati"
        BusID        "<b>PCI:1:5:0</b>"
        Option       "Int10" "off"
EndSection
</pre>
</blockquote>
<p>Int10 off is important here, otherwise the second card will fail to initialise.<br />
Do not forget to change the PCI identifiers! They probably won&#8217;t match my setup. You can find them by using <code>lspci</code>, for instance on my setup:</p>
<blockquote><pre>
lspci | grep  "Radeon HD"
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3200 Graphics
02:00.0 VGA compatible controller: ATI Technologies Inc RV770 [Radeon HD 4850]
</pre>
</blockquote>
<p>So you can see that the HD3200 is on address 1:5 and the HD4580 is on address 2:0.</p>
<h4>The monitors (nothing fancy)</h4>
<blockquote><pre>
Section "Monitor"
        Identifier   "<font color="#ff6600"><em>Viewsonic Vx2025wm</em></font>"
        Option      "DPMS"
EndSection

Section "Monitor"
        Identifier    "<font color="#008800"><em>LG W2253TW</em></font>"
        Option       "DPMS"
EndSection
</pre>
</blockquote>
<h4>Screen section (mapping monitors and cards)</h4>
<blockquote><pre>
Section "Screen"
        Identifier        "<font color="#ff6600"><em>Screen0</em></font>"
        Device           "ATI RadeonHD 4850"
        DefaultDepth   24
EndSection

Section "Screen"
        Identifier        "<font color="#008800">Screen1</font>"
        Device           "ATI RadeonHD 3200"
        DefaultDepth   24
EndSection
</pre>
</blockquote>
<h4>Next, the ServerLayout sections, one per seat:</h4>
<blockquote><pre>
Section "ServerLayout"
        Identifier     "<font color="#ff6600"><em>seat0</em></font>"
        Screen      0  "<font color="#ff6600"><em>Screen0</em></font>" 0 0
        InputDevice    "<font color="#ff6600"><em>Mouse0</em></font>" "CorePointer"
        InputDevice    "<font color="#ff6600"><em>Keyboard0</em></font>" "CoreKeyboard"
EndSection

Section "ServerLayout"
        Identifier     "<font color="#008800"><em>seat1</em></font>"
        Screen      1  "<font color="#008800"><em>Screen1</em></font>" 0 0
        InputDevice    "<font color="#008800"><em>Mouse1</em></font>" "CorePointer"
        InputDevice    "<font color="#008800"><em>Keyboard1</em></font>" "CoreKeyboard"
EndSection
</pre>
</blockquote>
<h4>Next, the input devices:</h4>
<blockquote><pre>
Section "InputDevice"
    Identifier     "<font color="#ff6600"><em>Keyboard0</em></font>"
    Driver         "evdev"
    Option         "Device" "<b>/dev/input/by-path/pci-0000:00:12.1-usb-0:3:1.0-event-kbd</b>"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
    Option         "XkbRules"   "xorg"
EndSection

Section "InputDevice"
    Identifier     "<font color="#ff6600"><em>Mouse0</em></font>"
    Driver         "evdev"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Device" "<b>/dev/input/by-path/pci-0000:00:13.0-usb-0:3:1.0-event-mouse</b>"
EndSection

Section "InputDevice"
    Identifier     "<font color="#008800"><em>Keyboard1</em></font>"
    Driver         "evdev"
    Option         "Device" "<b>/dev/input/by-path/pci-0000:00:12.2-usb-0:3.1:1.0-event-kbd</b>"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
    Option         "XkbRules"   "xorg"
EndSection

Section "InputDevice"
    Identifier     "<font color="#008800"><em>Mouse1</em></font>"
    Driver         "evdev"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Device" "<b>/dev/input/by-path/pci-0000:00:12.2-usb-0:3.2:1.0-event-mouse</b>"
EndSection
</pre>
</blockquote>
<p>You need to change the device paths to match the devices you want, either by checking <code>/dev/input/by-path/</code> or by <code>/dev/input/by-id/</code>. The benefit of using <code>by-id</code> is that if you replug your devices, they&#8217;ll still be mapped correctly. Since I have devices with the same ID, this didn&#8217;t work for me.</p>
<p>All these changes sofar should allow you to manually start up the X servers with the respective keyboard/mouse/screen settings. You should be able to test it with these commands:</p>
<pre>/usr/bin/X -br -nolisten tcp -layout <font color="#ff6600"><em>seat0</em></font> -sharevts \
      -novtswitch -isolateDevice <b>PCI:2:0:0</b></pre>
<p>or</p>
<pre>/usr/bin/X -br -nolisten tcp -layout <font color="#008800"><em>seat1</em></font> -sharevts \
      -novtswitch -isolateDevice <b>PCI:1:5:0</b></pre>
<h3>KDM changes</h3>
<p>Now, since I want both the X servers to be available at boot time, and I&#8217;m using <a href="http://www.kde.org/" target="_blank">KDE</a> anyway, I went with <a href="http://en.wikipedia.org/wiki/KDE_Display_Manager" target="_blank">KDM</a>.</p>
<p>In the <code>[General]</code> section, look for a line reading:</p>
<blockquote><p><code>StaticServers=:0</code></p></blockquote>
<p>change it to: </p>
<blockquote><p><code>StaticServers=:0,:1</code></p></blockquote>
<p>Also, change:</p>
<blockquote><p><code>ReserveServers=:1,:2,:3</code></p></blockquote>
<p>to: </p>
<blockquote><p><code>ReserveServers=:2,:3</code></p></blockquote>
<p>Next, look for the <code>[X-:0-Core]</code> section, and copy the entire block, creating a second block with the section name <code>[X-:1-Core]</code>.</p>
<p>In the <code>[X-:0-Core]</code> section, look for the line</p>
<blockquote><p><code>ServerArgsLocal=-br -nolisten tcp</code></p></blockquote>
<p>and change it to</p>
<blockquote><p><code>ServerArgsLocal=-br -nolisten tcp -layout <font color="#ff6600"><em>seat0</em></font> -sharevts -novtswitch -isolateDevice <b>PCI:2:0:0</b></code></p></blockquote>
<p>In the <code>[X-:1-Core]</code> section, look for the line</p>
<blockquote><p><code>ServerArgsLocal=-br -nolisten tcp</code></p></blockquote>
<p>and change it to</p>
<blockquote><p><code>ServerArgsLocal=-br -nolisten tcp -layout <font color="#008800"><em>seat1</em></font> -sharevts -novtswitch -isolateDevice <b>PCI:1:5:0</b></code></p></blockquote>
<p>One KDM restart later (<code>/etc/init.d/kdm restart</code>) you should have two X servers running, both on their respective screens!</p>
<p>Last but not least, kudos to <a href="http://wpkg.org/" target="_blank">WKPG wiki</a> for the helpful article ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://sadevil.org/blog/2010/04/04/multiseat-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>If you get this&#8230;</title>
		<link>http://sadevil.org/blog/2010/02/22/if-you-get-this/</link>
		<comments>http://sadevil.org/blog/2010/02/22/if-you-get-this/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 19:32:20 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Comics]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[geek and poke]]></category>

		<guid isPermaLink="false">http://sadevil.org/blog/?p=576</guid>
		<description><![CDATA[&#8230; you&#8217;re most definitely a geek. &#169; Geek And Poke, ofcourse!]]></description>
			<content:encoded><![CDATA[<p>&#8230; you&#8217;re most definitely a geek.</p>
<p><center><a href="http://geekandpoke.typepad.com/geekandpoke/2010/02/the-geek-joke-of-the-week.html" target="_blank"><img src="http://www.sadevil.org/gallery/d/143452-2/6a00d8341d3df553ef0120a8b86eae970b.jpg" alt="Geek and Poke"/></a></p>
<p>&copy; <a href="http://geekandpoke.typepad.com" target="_blank">Geek And Poke</a>, ofcourse!</center></p>
]]></content:encoded>
			<wfw:commentRss>http://sadevil.org/blog/2010/02/22/if-you-get-this/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Simon&#8217;s Cat &#8211; Snow Business (part 1 &amp; 2)</title>
		<link>http://sadevil.org/blog/2010/02/14/simons-cat-snow-business-part-1-2/</link>
		<comments>http://sadevil.org/blog/2010/02/14/simons-cat-snow-business-part-1-2/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 17:12:14 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Comics]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[simon's cat]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://sadevil.org/blog/?p=573</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><center><object width="560" height="340"><param name="movie" value="http://www.youtube-nocookie.com/v/Tuf61OjvoPQ&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/Tuf61OjvoPQ&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></center></p>
]]></content:encoded>
			<wfw:commentRss>http://sadevil.org/blog/2010/02/14/simons-cat-snow-business-part-1-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simon&#8217;s Cat &#8211; Snow Business (part 1)</title>
		<link>http://sadevil.org/blog/2010/02/05/simons-cat-snow-business-part-1/</link>
		<comments>http://sadevil.org/blog/2010/02/05/simons-cat-snow-business-part-1/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 11:33:22 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Comics]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[simon's cat]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://sadevil.org/blog/?p=571</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><center><object width="560" height="340"><param name="movie" value="http://www.youtube-nocookie.com/v/VgmXrARr6aI&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/VgmXrARr6aI&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></center></p>
]]></content:encoded>
			<wfw:commentRss>http://sadevil.org/blog/2010/02/05/simons-cat-snow-business-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hosting move</title>
		<link>http://sadevil.org/blog/2010/02/05/hosting-move/</link>
		<comments>http://sadevil.org/blog/2010/02/05/hosting-move/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 11:23:41 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[The Site]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[lunarpages]]></category>
		<category><![CDATA[ovh]]></category>

		<guid isPermaLink="false">http://sadevil.org/blog/?p=564</guid>
		<description><![CDATA[I&#8217;ve moved hosting, from Lunar Pages to OVH. Lunar Pages is a good hosting, but their overselling and price hikes in the last few years made me look for something else. Other reasons: speed: transfers are a LOT faster (especially in peak hours) SSH access ;) Full DNS zone access Cheaper prices for domain names [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve moved hosting, from <a href="http://www.lunarpages.com/" target="_blank">Lunar Pages</a> to <a href="http://www.ovh.co.uk" target="_blank">OVH</a>. Lunar Pages is a good hosting, but their <a href="http://en.wikipedia.org/wiki/Overselling#Web_Hosting" target="_blank">overselling</a> and price hikes in the last few years made me look for something else. </p>
<p>Other reasons: </p>
<ul>
<li>speed: transfers are a LOT faster (especially in peak hours)</li>
<li>SSH access ;)</li>
<li>Full DNS zone access</li>
<li>Cheaper prices for domain names</li>
<li>&#8230;</li>
</ul>
<p>If you encounter any oddities, feel free to let me know&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://sadevil.org/blog/2010/02/05/hosting-move/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FOSDEM 2010</title>
		<link>http://sadevil.org/blog/2010/01/18/fosdem-2010/</link>
		<comments>http://sadevil.org/blog/2010/01/18/fosdem-2010/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 10:41:11 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://sadevil.org/blog/?p=560</guid>
		<description><![CDATA[Yes, I&#8217;ll be going to FOSDEM 2010!]]></description>
			<content:encoded><![CDATA[<p>Yes, I&#8217;ll be going to FOSDEM 2010!</p>
<p><a href="http://www.fosdem.org" target="_blank"><img src="http://www.sadevil.org/gallery/d/143282-1/going-to-fosdem2010.png" alt="Going to FOSDEM 2010!" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://sadevil.org/blog/2010/01/18/fosdem-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy 2000 + 3! + 2²</title>
		<link>http://sadevil.org/blog/2010/01/01/happy-2010/</link>
		<comments>http://sadevil.org/blog/2010/01/01/happy-2010/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 23:00:03 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://sadevil.org/blog/?p=555</guid>
		<description><![CDATA[Well, happy newyears to all of you! May your wishes/desires/hopes/ come true!]]></description>
			<content:encoded><![CDATA[<p>Well, happy newyears to all of you! May your wishes/desires/hopes/<insert words here> come true! </insert></p>
]]></content:encoded>
			<wfw:commentRss>http://sadevil.org/blog/2010/01/01/happy-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare Player 3 vs Linux 2.6.32</title>
		<link>http://sadevil.org/blog/2009/12/31/vmware-player-3-vs-linux-2-6-32/</link>
		<comments>http://sadevil.org/blog/2009/12/31/vmware-player-3-vs-linux-2-6-32/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 12:04:43 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Linux / unix]]></category>
		<category><![CDATA[Software-related]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[linux-2.6.32]]></category>
		<category><![CDATA[player]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://sadevil.org/blog/?p=551</guid>
		<description><![CDATA[I wanted to test some crap in VMWare, didn&#8217;t feel like messing with the entire server thing so went for the player. Unfortunately, this thing doesn&#8217;t work against the 2.6.32 kernel. After installation, you can fix it with as follows (as root): cd /tmp tar xf /usr/lib/vmware/modules/source/vmnet.tar tar xf /usr/lib/vmware/modules/source/vmci.tar cd vmnet-only sed -i "/vnetInt.h/ [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to test some crap in VMWare, didn&#8217;t feel like messing with the entire server thing so went for the player. Unfortunately, this thing doesn&#8217;t work against the 2.6.32 kernel.</p>
<p>After installation, you can fix it with as follows (as root):</p>
<blockquote><p><code><br />
cd /tmp<br />
tar xf /usr/lib/vmware/modules/source/vmnet.tar<br />
tar xf /usr/lib/vmware/modules/source/vmci.tar</p>
<p>cd vmnet-only<br />
sed -i "/vnetInt.h/ a\#include \"compat_sched.h\"" vnetUserListener.c</p>
<p>cd ../vmci-only/include<br />
sed -i "/compat_page.h/ a\#include \"compat_sched.h\"" pgtbl.h</p>
<p>cd /tmp<br />
tar cf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only<br />
tar cf /usr/lib/vmware/modules/source/vmci.tar vmci-only<br />
</code></p></blockquote>
<p>and rerun vmplayer.</p>
]]></content:encoded>
			<wfw:commentRss>http://sadevil.org/blog/2009/12/31/vmware-player-3-vs-linux-2-6-32/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Rooting the HTC Hero</title>
		<link>http://sadevil.org/blog/2009/12/13/rooting-the-htc-hero/</link>
		<comments>http://sadevil.org/blog/2009/12/13/rooting-the-htc-hero/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 17:39:23 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[HTC Hero]]></category>
		<category><![CDATA[Software-related]]></category>
		<category><![CDATA[hero]]></category>
		<category><![CDATA[htc]]></category>
		<category><![CDATA[root]]></category>

		<guid isPermaLink="false">http://sadevil.org/blog/?p=534</guid>
		<description><![CDATA[Note: This is at your own risk. If you fry your phone, your problem, not mine. I recently got an HTC Hero. Great phone, I&#8217;m loving the Android platform. Pity that you don&#8217;t have full access to it, and I actually wanted to merge my old phone (Nokia E65)&#8217;s SMS database into this one, so [...]]]></description>
			<content:encoded><![CDATA[<p><b>Note: This is at your own risk. If you fry your phone, your problem, not mine.</b></p>
<p>I recently got an <a href="http://www.htc.com/" target="_blank">HTC</a> <a href="http://www.htc.com/www/product/hero/overview.html" target="_blank">Hero</a>. Great phone, I&#8217;m loving the <a href="http://www.android.com" target="_blank">Android</a> platform. Pity that you don&#8217;t have full access to it, and I actually wanted to merge my old phone (Nokia E65)&#8217;s SMS database into this one, so I needed full access.</p>
<p>(Un)fortunately, these days the HTC Hero comes with the latest firmware, 2.73.1100.5, which on the one hand makes rooting harder (fixes several bugs and <a href="http://android-dls.com/wiki/index.php?title=Fastboot" target="_blank">fastboot</a> no longer works) but on the other hand makes the phone respond a lot better.</p>
<p>After some twiddling and reading on the <a href="http://forum.xda-developers.com" target="blank">XDA Developers Forum</a>, I came up with this recipe:</p>
<p><b>Downloads needed:</b></p>
<ul>
<li>asroot2.zip (current root exploid for Android, works on HTC Hero): <a href="http://forum.xda-developers.com/attachment.php?attachmentid=244212&#038;d=1257621154">http://forum.xda-developers.com/attachment.php?attachmentid=244212&#038;d=1257621154</a></li>
<li>Superuser.zip (for the su binary and the Superuser.apk): <a href="http://forum.xda-developers.com/attachment.php?attachmentid=211569&#038;d=1249225060" target="_blank">http://forum.xda-developers.com/attachment.php?attachmentid=211569&#038;d=1249225060</a></li>
<li>Android SDK (for the HTC Hero, it&#8217;s the 1.5 platform): <a href="http://developer.android.com/sdk/android-1.5.html" target="_blank">http://developer.android.com/sdk/android-1.5.html</a></li>
</ul>
<p><b>Howto:</b></p>
<ul>
<li>Download the Android SDK, and install/extract it somewhere. I&#8217;m using Linux and put it under /home/&lt;user&gt;/android/</li>
<li>Download asroot2.zip, superuser.zip, and extract them in a directory of your choice. For instance, /tmp.</li>
<li>Change to the Android SDK directory and in that one /tools (here: /home/&lt;user&gt;/android-sdk-linux_86/tools/</li>
<li>Start adb (Android Debug Bridge): <code>./abd wait-for-device</code></li>
<li>Put your phone in HTC Sync mode: drag the notification bar down and activate HTC Sync</li>
</ul>
<p>After a while adb should return to the prompt. Should mean your phone has been found.</p>
<ul>
<li>Copy asroot2 and su on the phone in /data/local:<br />
<code>./adb push /tmp/asroot2 /data/local/<br />
./adb push /tmp/su /data/local/</code></li>
<li>Open a shell to the device: <code>./adb shell</code></li>
<li>Make asroot2 executable, and launch it:<br />
<code>chmod 0755 /data/local/asroot2<br />
/data/local/asroot2 /system/bin/sh</code></li>
</ul>
<p>Your phone should greet you with:</p>
<blockquote><p> [+] Using newer pipe_inode_info layout<br />
Opening: /proc/564/fd/3<br />
SUCCESS: Enjoy the shell.<br />
#
</p></blockquote>
<p>At this point, remount your /system filesystem read-write.<br />
Before remounting, executing the <code>mount</code> command should return a line containing:</p>
<blockquote><p>/dev/block/mtdblock3 /system yaffs2 ro 0 0</p></blockquote>
<p>Now, remount the fs:<br />
<code>mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system</code><br />
(this returns no output)</p>
<p>And now executing <code>mount</code> should return a line like:</p>
<blockquote><p>/dev/block/mtdblock3 /system yaffs2 <b><font colour="#ff0000">rw</font></b> 0 0</p></blockquote>
<p>and copy the su binary into /system/bin:<br />
<code>dd if=/data/local/su of=/system/bin/su</code><br />
and make it executable with root permissions:<br />
<code>chmod 4755 /system/bin/su</code></p>
<p>Next, copy the Supseruser.apk to the SD card and install it.<br />
Then, reboot your phone (power off and on).</p>
<p>Restart your abd shell, and execute su in your adb shell: <code>su</code>, and on the phone it should come ask if you want to allow root permissions:</p>
<p><center><img height="60%" src="http://www.sadevil.org/gallery/d/142714-1/su-snapshot.png" alt="SU request"/></center></p>
<p>Tap &#8220;Allow&#8221;, et voila, you now have a rooted phone.</p>
]]></content:encoded>
			<wfw:commentRss>http://sadevil.org/blog/2009/12/13/rooting-the-htc-hero/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>
