<?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>ItOpen - Open Web Solutions, WebGis Development &#187; Linux</title>
	<atom:link href="http://www.itopen.it/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itopen.it</link>
	<description>[lang_en]Open Web Solutions: WebGis, Open Source development[/lang_en][lang_it]Soluzioni WebGIS e sviluppo software Open Source[lang_it]</description>
	<lastBuildDate>Tue, 31 Jan 2012 14:19:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Serving your map tiles 30 times faster</title>
		<link>http://www.itopen.it/2012/01/17/serving-your-map-tiles-30-times-faster/</link>
		<comments>http://www.itopen.it/2012/01/17/serving-your-map-tiles-30-times-faster/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 18:03:45 +0000</pubDate>
		<dc:creator>Alessandro Pasotti</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[WebGis]]></category>

		<guid isPermaLink="false">http://www.itopen.it/?p=716</guid>
		<description><![CDATA[Recently I&#8217;ve been experimenting with TileStache tiles caching system, which is similar to TileCache and other tile caching systems in scope. TileStache revealed itself as a powerful and flexible product and was very good to cache tiles generated with my Django-backed mapscript-powered WMS server. Caching and serving tiles with TileStache was by far faster then [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve been experimenting with <a href="http://tilestache.org">TileStache</a> tiles caching system, which is similar to TileCache and other tile caching systems in scope.</p>
<p>TileStache revealed itself as a powerful and flexible product and was very good to cache tiles generated with my Django-backed mapscript-powered WMS server. Caching and serving tiles with TileStache was by far faster then running the whole mapscript WMS machinery.</p>
<p>But I wanted to do more: if I could just convince nginx to serve the tiles directly from disk, this would have been even faster. Of course for this to work, TileStache must be configured to cache tiles on disk, which is what you normally want.</p>
<p>nginx is really good at serving static files and it is luckily wery flexible and easy to configure (once you know what to do).</p>
<p>The following configuration uses named regular expression captures and a <strong>try_files</strong> instruction to check for the tile existance, if found, the tile is served directly, if not found the internal redirect to the @django named location takes place.<br />
The 404 trick in the base location (/) was necessary to avoid duplication of the @django location content, but there might be a better way.</p>
<h2>nginx configuration file</h2>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">server <span style="color: #009900;">&#123;</span>
    listen   <span style="color: #CC0000;">88</span> <span style="color: #003366; font-weight: bold;">default</span><span style="color: #339933;">;</span>
    server_name  localhost<span style="color: #339933;">;</span>
    access_log  <span style="color: #339933;">/</span><span style="color: #003366; font-weight: bold;">var</span><span style="color: #339933;">/</span>log<span style="color: #339933;">/</span>nginx<span style="color: #339933;">/</span>access.<span style="color: #660066;">log</span><span style="color: #339933;">;</span>
    rewrite  <span style="color: #3366CC;">&quot;^/[a-z]{2}/(static|media)/(.*)$&quot;</span>  <span style="color: #009966; font-style: italic;">/$1/</span>$2<span style="color: #339933;">;</span>
    root <span style="color: #339933;">/</span>www<span style="color: #339933;">/</span>django_app<span style="color: #339933;">/;</span>
&nbsp;
    location  <span style="color: #009966; font-style: italic;">/media/</span> <span style="color: #009900;">&#123;</span>
        alias <span style="color: #339933;">/</span>www<span style="color: #339933;">/</span>django<span style="color: #339933;">/</span>contrib<span style="color: #339933;">/</span>admin<span style="color: #339933;">/</span>media<span style="color: #339933;">/;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    location  <span style="color: #009966; font-style: italic;">/static/</span> <span style="color: #009900;">&#123;</span>
        alias <span style="color: #339933;">/</span>www<span style="color: #339933;">/</span>django_app<span style="color: #339933;">/</span>site_media<span style="color: #339933;">/;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    location ~ <span style="color: #339933;">^/</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">?&lt;</span>lang_code<span style="color: #339933;">&gt;</span>..<span style="color: #009900;">&#41;</span><span style="color: #339933;">/</span>resource<span style="color: #339933;">/</span>tiles<span style="color: #339933;">/</span><span style="color: #CC0000;">1</span>\.0\.0<span style="color: #339933;">/</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">?&lt;</span>tile_path<span style="color: #339933;">&gt;</span>.<span style="color: #339933;">*</span><span style="color: #009900;">&#41;</span>$ <span style="color: #009900;">&#123;</span>
        alias <span style="color: #339933;">/</span>tmp<span style="color: #339933;">/</span>stache<span style="color: #339933;">/;</span>
        add_header X<span style="color: #339933;">-</span>Static <span style="color: #003366; font-weight: bold;">super</span><span style="color: #339933;">;</span>
        try_files $http_host<span style="color: #339933;">/</span>$lang_code<span style="color: #339933;">/</span>$tile_path <span style="color: #339933;">@</span>django<span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    location <span style="color: #339933;">/</span> <span style="color: #009900;">&#123;</span>
        add_header X<span style="color: #339933;">-</span>Static hit<span style="color: #339933;">;</span>
        error_page <span style="color: #CC0000;">404</span> <span style="color: #339933;">=</span> <span style="color: #339933;">@</span>django<span style="color: #339933;">;</span>
        <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #CC0000;">404</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    location <span style="color: #339933;">@</span>django <span style="color: #009900;">&#123;</span>
        add_header X<span style="color: #339933;">-</span>Static miss<span style="color: #339933;">;</span>
        proxy_pass http<span style="color: #339933;">:</span><span style="color: #006600; font-style: italic;">//127.0.0.1:8000;</span>
        proxy_set_header Host $http_host<span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<h2>Results</h2>
<p>niginx is listening on port 88 and the dev server (I&#8217;m using werkzeug in this case) is listening on port 8080.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ab <span style="color: #660033;">-c</span> <span style="color: #000000;">100</span> <span style="color: #660033;">-n</span> <span style="color: #000000;">1000</span> http:<span style="color: #000000; font-weight: bold;">//</span>localhost:<span style="color: #000000;">88</span><span style="color: #000000; font-weight: bold;">/</span>it<span style="color: #000000; font-weight: bold;">/</span>resource<span style="color: #000000; font-weight: bold;">/</span>tiles<span style="color: #000000; font-weight: bold;">/</span>1.0.0<span style="color: #000000; font-weight: bold;">/</span>track_4<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0</span>.png
&nbsp;
Concurrency Level:      <span style="color: #000000;">100</span>
Time taken <span style="color: #000000; font-weight: bold;">for</span> tests:   <span style="color: #000000;">0.084</span> seconds
Complete requests:      <span style="color: #000000;">1000</span>
Failed requests:        <span style="color: #000000;">0</span>
Write errors:           <span style="color: #000000;">0</span>
Total transferred:      <span style="color: #000000;">7553744</span> bytes
HTML transferred:       <span style="color: #000000;">7302912</span> bytes
Requests per second:    <span style="color: #000000;">11902.92</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #666666; font-style: italic;">#/sec] (mean)</span>
Time per request:       <span style="color: #000000;">8.401</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>ms<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>mean<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Time per request:       <span style="color: #000000;">0.084</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>ms<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>mean, across all concurrent requests<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Transfer rate:          <span style="color: #000000;">87804.31</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>Kbytes<span style="color: #000000; font-weight: bold;">/</span>sec<span style="color: #7a0874; font-weight: bold;">&#93;</span> received</pre></div></div>

<p>With TileStache only:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ab <span style="color: #660033;">-c</span> <span style="color: #000000;">100</span> <span style="color: #660033;">-n</span> <span style="color: #000000;">1000</span> http:<span style="color: #000000; font-weight: bold;">//</span>localhost:<span style="color: #000000;">8000</span><span style="color: #000000; font-weight: bold;">/</span>track_4<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0</span>.png
&nbsp;
Concurrency Level:      <span style="color: #000000;">100</span>
Time taken <span style="color: #000000; font-weight: bold;">for</span> tests:   <span style="color: #000000;">2.944</span> seconds
Complete requests:      <span style="color: #000000;">1000</span>
Failed requests:        <span style="color: #000000;">0</span>
Write errors:           <span style="color: #000000;">0</span>
Non-2xx responses:      <span style="color: #000000;">1000</span>
Total transferred:      <span style="color: #000000;">145000</span> bytes
HTML transferred:       <span style="color: #000000;">0</span> bytes
Requests per second:    <span style="color: #000000;">339.63</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #666666; font-style: italic;">#/sec] (mean)</span>
Time per request:       <span style="color: #000000;">294.438</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>ms<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>mean<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Time per request:       <span style="color: #000000;">2.944</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>ms<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>mean, across all concurrent requests<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Transfer rate:          <span style="color: #000000;">48.09</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>Kbytes<span style="color: #000000; font-weight: bold;">/</span>sec<span style="color: #7a0874; font-weight: bold;">&#93;</span> received</pre></div></div>

<h2>Conclusions</h2>
<p>Unsurprisingly, the solution with files served directly is several times faster: 35 in this test case.</p>
<p>In a production environment, using <strong>mod_wsgi</strong> or <strong>uwsgi</strong>, the fugures may vary, but I&#8217;m confident that the overall speed boost is guaranteed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itopen.it/2012/01/17/serving-your-map-tiles-30-times-faster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux day 2011 a Pinerolo</title>
		<link>http://www.itopen.it/2011/09/21/linux-day-2011-a-pinerolo/</link>
		<comments>http://www.itopen.it/2011/09/21/linux-day-2011-a-pinerolo/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 07:50:01 +0000</pubDate>
		<dc:creator>Alessandro Pasotti</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.itopen.it/?p=453</guid>
		<description><![CDATA[ItOpen partecipa all&#8217;organizzazione del Linux Day 2011 a Pinerolo. Il Linux Day è un&#8217;iniziativa a livello nazionale, volta a favorire la diffusione e la conoscenza del software libero e del sistema operativo Linux. Il Linux Day di Pinerolo si terrà il 22 ottobre dalle ore 10 alle 18 s Pinerolo, in via Brignone 9, presso [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_454" class="wp-caption alignright" style="width: 195px"><a href="http://www.itopen.it/wp-content/uploads/2010/10/Logo_linuxday_2010.png"><img class="size-medium wp-image-454" title="Logo_linuxday_2010" src="http://www.itopen.it/wp-content/uploads/2010/10/Logo_linuxday_2010-185x300.png" alt="" width="185" height="300" /></a></p>
<p><p class="wp-caption-text">Logo Linux Day 2010</p></div>
<p>ItOpen partecipa all&#8217;organizzazione del Linux Day 2011 a Pinerolo.</p>
<p>Il Linux Day è un&#8217;iniziativa a livello nazionale, volta a favorire la diffusione e la conoscenza del software libero e del sistema operativo Linux.</p>
<p>Il Linux Day di Pinerolo si terrà il <strong>22 ottobre dalle ore 10 alle 18</strong> s Pinerolo, in via Brignone 9, presso i locali del Museo di arti preistoriche..</p>
<p>Per ulteriori informazioni consultate il sito <a title="Sito SLIP Pinerolo" href="http://www.softwareliberopinerolo.org/" target="_blank">dell&#8217;Asssociazione SLIP</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itopen.it/2011/09/21/linux-day-2011-a-pinerolo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QGIS mapserver test drive</title>
		<link>http://www.itopen.it/2011/04/20/qgis-mapserver-test-drive/</link>
		<comments>http://www.itopen.it/2011/04/20/qgis-mapserver-test-drive/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 13:34:41 +0000</pubDate>
		<dc:creator>Alessandro Pasotti</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[WebGis]]></category>

		<guid isPermaLink="false">http://www.itopen.it/?p=522</guid>
		<description><![CDATA[QGIS recently added new WMS server capabilities to its software stack. Breaking into the server world, the new server can read a QGIS project project file and serve maps to the internet. This amazing new feature, really opens QGIS users to a new horizon of possibilities. ]]></description>
			<content:encoded><![CDATA[<div id="attachment_292" class="wp-caption alignright" style="width: 193px"><a href="http://www.itopen.it/wp-content/uploads/2009/06/qgis_logo_right.gif"><img class="size-full wp-image-292" title="qgis_logo_right" src="http://www.itopen.it/wp-content/uploads/2009/06/qgis_logo_right.gif" alt="" width="183" height="149" /></a><p class="wp-caption-text">QGIS logo</p></div>
<p>Today I found some time to test some new amazing QGIS features. One of the most interesting additions is the WMS integrated server.</p>
<p>I usually test all new projects in my user directory, I created a folder &#8216;~/public_html/qgis-client/&#8217; to host this test.</p>
<p>Next step was to enable CGI handling, since I run apache under Linux and all I had to do was to create a file named &#8216;.htaccess&#8217; in the &#8216;~/public_html&#8217; folder:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">AddHandler cgi-script .fcgi .cgi
Options +ExecCGI
SetEnv LD_LIBRARY_PATH <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>myuser<span style="color: #000000; font-weight: bold;">/</span>app<span style="color: #000000; font-weight: bold;">/</span>lib</pre></div></div>

<p>This few lines, enable CGI and add a search path to the library loader, this was necessary for the handler to load my QGIS trunk build, located in &#8216;~/app/&#8217;.</p>
<p>Now I needed to symlink the qgis-mapserv.fcgi executable into the project folder:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>public_html<span style="color: #000000; font-weight: bold;">/</span>qgis-client<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> ~<span style="color: #000000; font-weight: bold;">/</span>app<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>qgis_mapserv.fcgi .
~<span style="color: #000000; font-weight: bold;">/</span>app<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>wms_metadata.xml .
<span style="color: #c20cb9; font-weight: bold;">vim</span> ~<span style="color: #000000; font-weight: bold;">/</span>app<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>wms_metadata.xml</pre></div></div>

<p>The last command allows the customization of the GetCapabilities response.</p>
<p>I was now able to serve a qgis project with the WMS protocol, the project location can be specified with the map parameter, like this:</p>
<pre>http://localhost/~myuser/qgis-client/qgis_mapserv.fcgi?map=/home/ale/public_html/qgis-client/qgis-client.qgs</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.itopen.it/2011/04/20/qgis-mapserver-test-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Net neutrality and ADSL speed monitoring in python</title>
		<link>http://www.itopen.it/2011/01/20/net-neutrality-and-adsl-speed-monitoring-in-python/</link>
		<comments>http://www.itopen.it/2011/01/20/net-neutrality-and-adsl-speed-monitoring-in-python/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 07:51:40 +0000</pubDate>
		<dc:creator>Alessandro Pasotti</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.itopen.it/?p=495</guid>
		<description><![CDATA[If you are concerned like I am about net neutrality, you can consider using Neubot. Neubot is a python program which runs as a daemon and (with minimal overload) meters and logs the speed of various type of protocols from your PC to a central server. Neubot produces nice graphs and I found it very [...]]]></description>
			<content:encoded><![CDATA[<p>If you are concerned like I am about net neutrality, you can consider using <a title="Neubot Home PAge" href="http://www.neubot.org/">Neubot</a>.</p>
<p>Neubot is a python program which runs as a daemon and (with minimal overload) meters and logs the speed of various type of protocols from your PC to a central server.</p>
<p>Neubot produces nice graphs and I found it very useful to monitor my ADSL line speed, I&#8217;ve found surprising how much it can vary over time!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itopen.it/2011/01/20/net-neutrality-and-adsl-speed-monitoring-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH tunnel for postgresql</title>
		<link>http://www.itopen.it/2008/07/30/un-tunnel-ssh-per-postgresql/</link>
		<comments>http://www.itopen.it/2008/07/30/un-tunnel-ssh-per-postgresql/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 15:36:01 +0000</pubDate>
		<dc:creator>Alessandro Pasotti</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://www.itopen.it/?p=189</guid>
		<description><![CDATA[Nothing new under the sun, but this is how I use it, and I&#8217;m reporting it here since I&#8217;ve found some misleading indications out on the net. Remote machine is 192.168.1.2 with SSH running on non-standard port 12345 ssh -p12345 -L 3333:localhost:5432 root@192.168.1.2 After this, you can connect to port 3333 on localhost to access [...]]]></description>
			<content:encoded><![CDATA[<p>Nothing new under the sun, but this is how I use it, and I&#8217;m reporting it here since I&#8217;ve found some misleading indications out on the net.</p>
<p>Remote machine is 192.168.1.2 with SSH running on non-standard port 12345</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-p12345</span> <span style="color: #660033;">-L</span> <span style="color: #000000;">3333</span>:localhost:<span style="color: #000000;">5432</span> root<span style="color: #000000; font-weight: bold;">@</span>192.168.1.2</pre></div></div>

<p>After this, you can connect to port 3333 on localhost to access remote postgresql DB server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itopen.it/2008/07/30/un-tunnel-ssh-per-postgresql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KDE on Nokia N810 internet tablet</title>
		<link>http://www.itopen.it/2008/01/12/kde-sul-nokia-n810/</link>
		<comments>http://www.itopen.it/2008/01/12/kde-sul-nokia-n810/#comments</comments>
		<pubDate>Fri, 11 Jan 2008 23:17:17 +0000</pubDate>
		<dc:creator>Alessandro Pasotti</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Embedded]]></category>
		<category><![CDATA[N800 Pills]]></category>
		<category><![CDATA[N810 Pills]]></category>

		<guid isPermaLink="false">http://www.itopen.it/2008/01/12/kde-sul-nokia-n810/</guid>
		<description><![CDATA[Thanks to PenguinBait and his packages, KDE installation on Nokia N810 installation is now possibile, this article targets the italian users since there are a couple of important differences in the installation procedure. The original procedure is described here: http://geekpenguin.blogspot.com/2008/01/kde-debs.html]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.itopen.it/wp-content/uploads/2008/01/kde_n810.png" title="KDE on N810"><img src="http://www.itopen.it/wp-content/uploads/2008/01/kde_n810.thumbnail.png" alt="KDE on N810" align="right" /></a></p>
<p>Thanks to PenguinBait and his packages, KDE installation on Nokia N810 installation is now possibile, this article targets the italian users since there are a couple of important differences in the installation procedure.</p>
<p>The original procedure is described here: <a href="http://geekpenguin.blogspot.com/2008/01/kde-debs.html">http://geekpenguin.blogspot.com/2008/01/kde-debs.html</a></p>
<p align="right"><a href="http://www.itopen.it/wp-content/uploads/2008/01/kde_n8102.png" title="KDE on N810 2"><img src="http://www.itopen.it/wp-content/uploads/2008/01/kde_n8102.thumbnail.png" alt="KDE on N810 2" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itopen.it/2008/01/12/kde-sul-nokia-n810/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu Linux on a Toshiba Satellite U300</title>
		<link>http://www.itopen.it/2007/11/22/ubuntu-linux-toshiba-satellite-u300/</link>
		<comments>http://www.itopen.it/2007/11/22/ubuntu-linux-toshiba-satellite-u300/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 21:44:26 +0000</pubDate>
		<dc:creator>Alessandro Pasotti</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.itopen.it/2007/11/22/ubuntu-linus-su-un-toshiba-satellute-u300/</guid>
		<description><![CDATA[
In a few words...
Toshiba Satellite U300-11S works quite well, almost everything worked without too much troubles (the only device that doesn't work at all is the internal modem, the only device that works just partially is the webcam).]]></description>
			<content:encoded><![CDATA[<h2>Specifications</h2>
<p><img src="http://www.itopen.it/wp-content/uploads/2007/11/satellite-u300-11s.jpeg" alt="Toshiba Satellite U300-11S" align="right" />The exact model I have tested is Satellite U300-11S.</p>
<p>- Intel Core 2 Duo T7100<br />
- Ram 1024 Mb<br />
- HDD 160 Gb<br />
- GPU Intel GMA X3100 (up to 251 Mb)<br />
- Webcam 1.3Mpx &#8211; Bluetooth &#8211; Wireless a/b/g<br />
- Display 13,3&#8243; TruBrite<br />
- DVD Super Multi Double Layer<br />
- Windows Vista Home Premium (the bad, I&#8217;ve already asked toshiba to give me the money back)</p>
<h3>lspci output</h3>
<p><code lang="bash"><br />
ale@toshiba-u300:~$ lspci<br />
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)<br />
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)<br />
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)<br />
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03)<br />
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)<br />
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)<br />
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)<br />
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)<br />
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)<br />
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)<br />
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)<br />
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)<br />
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)<br />
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)<br />
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)<br />
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)<br />
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)<br />
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)<br />
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)<br />
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01)<br />
04:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)<br />
0a:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)<br />
0a:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)<br />
0a:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)<br />
0a:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)<br />
0a:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)<br />
</code></p>
<h3>lsusb</h3>
<p><code lang="bash"><br />
ale@toshiba-u300:~$ lsusb<br />
Bus 006 Device 001: ID 0000:0000<br />
Bus 007 Device 004: ID 04f2:b008 Chicony Electronics Co., Ltd<br />
...<br />
</code></p>
<h3>Linux distribution</h3>
<p>The distribution I have installed is Kubuntu 7.10 (Gutsy Gibbon) 64 BIT version.</p>
<h2>Audio</h2>
<p>Don&#8217;t work out of the box,  to fix it:</p>
<p><code lang="bash"><br />
apt-get install linux-backports-modules-2.6.22-14-generic<br />
</code></p>
<p>A small issue remains, the volume control is bound to the headphones instead of the speakers, to control the speaker volume you must use the software controls.</p>
<p>The integrated microphone works just fine.</p>
<p><span class="post-timestamp"></span></p>
<h2>Graphic adapter</h2>
<p>Don&#8217;t work out of the box, to fix it:</p>
<p><code lang="bash"><br />
wget http://ppa.launchpad.net/kyle/ubuntu/pool/main/x/xserver-xorg-video-intel/xserver-xorg-video-intel_2.1.1-0ubuntu10_amd64.deb<br />
sudo dpkg -i xserver-xorg-video-intel_2.1.1-0ubuntu10_amd64.deb<br />
</code></p>
<p>then:<br />
<code lang="bash"><br />
dpkg-reconfigure xserver-xorg<br />
</code><br />
External monitors works great: just use something like this:<br />
<code lang="bash"><br />
xrandr --output VGA --auto<br />
</code></p>
<p>3D acceleration is quite good and glxgears gives about  1150 FPS.</p>
<h2>Bluetooth</h2>
<p>Thanks to Mihail (see <a href="http://www.itopen.it/2007/11/22/ubuntu-linux-toshiba-satellite-u300/#comment-18687" title="Mihail's comment">comment</a>) we now know how to make it work.</p>
<p>See also this page for source compilation and other details: <a href="http://ubuntuforums.org/showthread.php?t=316358" title="Cmpilation instructions">http://ubuntuforums.org/showthread.php?t=316358</a></p>
<p>If you don&#8217;t want to compile yourself, here is my working module for kernel  2.6.22-14-generic:</p>
<p><a href="http://www.itopen.it/wp-content/uploads/omnibook.ko" title="kernel module">omnibook.ko </a></p>
<p>Copy the .ko file to  /lib/modules/2.6.22-14-generic/kernel/drivers/misc/ as root, then run</p>
<p><code lang="bash"><br />
depmod -a<br />
modprobe omnibook<br />
cat /proc/omnibook/bluetooth<br />
</code><br />
Yuo should see the message: Bluetooth adapter is present and enabled.</p>
<p><code lang="bash"><br />
dmesg<br />
</code><br />
Check dmesg output, you should see something like:</p>
<p><code lang="bash"><br />
[ 1660.325466] omnibook: Driver version 2.20070211-trunk.<br />
[ 1660.325534] omnibook: Toshiba Satellite U300 detected.<br />
</code></p>
<p>That&#8217;s all, your bluetooth is enabled.</p>
<p>To enable permanently you need to load the module at startup like explained in the above mentioned forum page.</p>
<h2>Networking</h2>
<p>Works fine, both ethernet and wifi.</p>
<p>Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01)</p>
<p>Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)</p>
<p>The wireless adapter works with a non free driver, ubuntu installed it automatically.</p>
<p>WPA/PSK encryption works, other configrations not tested.</p>
<h2>Card reader</h2>
<p>Works fine, tested only with an SD card.</p>
<h2>ACPI</h2>
<p>Not tested much:</p>
<ul>
<li> suspend to RAM works</li>
<li>hibernate works.</li>
</ul>
<p>Sometimes (at random) closing/opening the lid does not trigger suspend, software and harware (on/off button) controls work allways ok.</p>
<h2>Webcam</h2>
<p>Webcam doesn&#8217;t work out of the box, to fix it (partially) you must install the right driver, follow the instructions from</p>
<p><a href="http://linux-uvc.berlios.de">http://linux-uvc.berlios.de</a></p>
<p>I was able to record a short video with ffmpeg, other programs just segfault.</p>
<h2>Modem</h2>
<p>The modem is not supported at the moment:</p>
<p>see <a href="http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00915.html" title="Modem unsupported">this link</a></p>
<p><code lang="bash"><br />
The softmodem chip 0x11c11040 is not yet supported under Linux.<br />
Code must be developed by manufacture LSI Inc.<br />
See details in http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00915.html<br />
Read InfoGeneral.txt about alternatives modem hardware.<br />
Identifying PCI bus slots with candidate modems.<br />
=== Finished modem firmware and bootup diagnostics section. ===<br />
=== Next deducing cogent software ===</code></p>
<p>Analysing card in PCI bus 00:1b.0, writing to scanout.00:1b.0<br />
The High Defintion Audio card with PCI ID 8086:284b may host a soft modem chip.<br />
IDENT=Agere_11c11040_chip_is_not_supported</p>
<h2>Conclusion</h2>
<p>I like it, it&#8217;s a small but not too small laptop, quite affordable and Linux runs well.</p>
<p>Everything works (almost perfectly) except the internal modem.</p>
<p>I just hope they will give the money back for the unused Windows licence.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itopen.it/2007/11/22/ubuntu-linux-toshiba-satellite-u300/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
		<item>
		<title>Maemo Mapper presentato al telemobility forum</title>
		<link>http://www.itopen.it/2007/11/15/maemo-mapper-presentato-al-telemobility-forum/</link>
		<comments>http://www.itopen.it/2007/11/15/maemo-mapper-presentato-al-telemobility-forum/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 08:46:33 +0000</pubDate>
		<dc:creator>Alessandro Pasotti</dc:creator>
				<category><![CDATA[N770 Pills]]></category>
		<category><![CDATA[N800 Pills]]></category>

		<guid isPermaLink="false">http://www.itopen.it/2007/11/15/maemo-mapper-presentato-al-telemobility-forum/</guid>
		<description><![CDATA[This article in not available in English]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.itopen.it/wp-content/uploads/2007/11/presentazione-tmf.jpg" title="Presentazione Maemo Mapper al TMF 2007"><img src="http://www.itopen.it/wp-content/uploads/2007/11/presentazione-tmf.thumbnail.jpg" alt="Presentazione Maemo Mapper al TMF 2007" align="right" /></a>L&#8217;incontro è stata un&#8217;ottima occasione per conoscere nuovi membri dell&#8217;associazione GFOSS e per incontrare i vecchi amici.</p>
<p>Potete scaricare la mia presentazione (in formato Open Document) sotto licenza Creative Commons:</p>
<p><a href="http://www.itopen.it/wp-content/uploads/2007/11/telemobility.odp" title="Presentazione Maemo Mapper al TMF 2007">Presentazione Maemo Mapper al TMF 2007</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itopen.it/2007/11/15/maemo-mapper-presentato-al-telemobility-forum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GIS and WebGIS at Linux Day 2007</title>
		<link>http://www.itopen.it/2007/10/31/gis-and-webgis-at-linux-day-2007/</link>
		<comments>http://www.itopen.it/2007/10/31/gis-and-webgis-at-linux-day-2007/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 20:12:43 +0000</pubDate>
		<dc:creator>Alessandro Pasotti</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mapserver e mapscript]]></category>
		<category><![CDATA[WebGis]]></category>

		<guid isPermaLink="false">http://www.itopen.it/2007/10/31/gis-and-webgis-at-linux-day-2007/</guid>
		<description><![CDATA[Sorry, this article is not available in english.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.itopen.it/wp-content/uploads/2007/10/logo_linuxdayd07.png" alt="Logo Linux Day 2007" align="right" /></p>
<p>Sorry, this article is not available in english.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itopen.it/2007/10/31/gis-and-webgis-at-linux-day-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>N810 The third tablet is out</title>
		<link>http://www.itopen.it/2007/10/19/n810-il-terzo-internet-tablet-e-nato/</link>
		<comments>http://www.itopen.it/2007/10/19/n810-il-terzo-internet-tablet-e-nato/#comments</comments>
		<pubDate>Fri, 19 Oct 2007 08:03:08 +0000</pubDate>
		<dc:creator>Alessandro Pasotti</dc:creator>
				<category><![CDATA[Linux Embedded]]></category>
		<category><![CDATA[N770 Pills]]></category>
		<category><![CDATA[N800 Pills]]></category>

		<guid isPermaLink="false">http://www.itopen.it/2007/10/19/n810-il-terzo-internet-tablet-e-nato/</guid>
		<description><![CDATA[The new internet tablet was announced two days ago. This is clearly an evolution of the last model N800, but a few substantial differences between the two open new possiblities for alternative use cases of this device. One of the most wanted features for the internet tablet was a sliding keyboard, the new model comes [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.itopen.it/wp-content/uploads/2007/10/n810_02_web_low.jpg" title="N810 internet tablet"><img src="http://www.itopen.it/wp-content/uploads/2007/10/n810_02_web_low.thumbnail.jpg" alt="N810 internet tablet" align="right" /></a></p>
<p>The new internet tablet was announced two days ago.</p>
<p>This is clearly an evolution of the last model N800, but a few substantial differences between the two open new possiblities for alternative use cases of this device.</p>
<p>One of the most wanted features for the internet tablet was a sliding keyboard, the new model comes with a sliding keyboard retro-illuminated and automatically  adjusted by a light intensity sensor in the front.</p>
<p>Important news come from the display front: the older models missed a transflective screen which limitated outdoor use, the new model brings a new transflective screen that could overcome this limit opening new use cases for the device.</p>
<p>Performance: the same CPU with different clock speed (330 vs. 400 MHz) means better performances while the battery autonomy has to be confirmed not being dropped by the increased clock speed. We all hope that the new operating system version will bring substantial improvements on this side.</p>
<p>Memory: internal memory has been increased by 2GB internal storage flas, but this will not compensate the lack of the second card slot that was present in the N800. Another key point is that the new model accepts only mini sd or micro sd but not full size as the N800 does.</p>
<p>Good/bad new on the size and weight side: while the size is smaller, the weight is slightly bigger and the stereo loudspeackers disapperared from the front and were moved to the top side.</p>
<p>The new operating system OS2008 will be installed on the N810 and will be also available as an update for the older N800 models.</p>
<p>A comparison table will help us to understand the differences.</p>
<table>
<tr>
<th>Feature</th>
<th>N800</th>
<th>N810</th>
</tr>
<tr>
<th>CPU/freq</th>
<td>OMAP 2410/ 333 MHz</td>
<td>OMAP 2410/ 400 MHz</td>
</tr>
<tr>
<th>Memory internal</th>
<td>128Mb sdram + 256 MB flash</td>
<td>128Mb ddr + 256 MB flash + 2 GB flash storage</td>
</tr>
<tr>
<th>Memory card</th>
<td>2 slot, accept full size MMC or SD</td>
<td>1 slot, accept miniSD or microSD</td>
</tr>
<tr>
<th>USB connector</th>
<td>Mini USB</td>
<td>Micro USB</td>
</tr>
<tr>
<th>Keyboard</th>
<td>Absent</td>
<td>Sliding</td>
</tr>
<tr>
<th>Webcam</th>
<td>Extraible and orientable</td>
<td>Fixed on the front</td>
</tr>
<tr>
<th>GPS</th>
<td>Absent (could use external GPS Bluetooth)</td>
<td>Integrated</td>
</tr>
<tr>
<th>Loudspeackers</th>
<td>Stereo, front</td>
<td>Stereo, top edge</td>
</tr>
<tr>
<th>Dimensions</th>
<td>75 × 144 × 13 (/18) mm (thicker top part)</td>
<td>72 × 128 × 14 mm</td>
</tr>
<tr>
<th>Weight</th>
<td>0.206 kg</td>
<td>0.226 kg</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.itopen.it/2007/10/19/n810-il-terzo-internet-tablet-e-nato/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

