<?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>Il blog di Gas &#187; Linux</title>
	<atom:link href="http://www.lucagasperini.com/blog/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lucagasperini.com/blog</link>
	<description>Solo un altro sito WordPress</description>
	<lastBuildDate>Fri, 04 Nov 2011 15:04:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Move files with zenity progress bar</title>
		<link>http://www.lucagasperini.com/blog/2011-move-files-with-zenity-progress-bar/</link>
		<comments>http://www.lucagasperini.com/blog/2011-move-files-with-zenity-progress-bar/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 14:52:09 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/?p=799</guid>
		<description><![CDATA[I&#8217;m playing with a script that moves files between two directories and does that by piping two tar commands, so called Fast Copy. You need zenity to see the progress bar, it is a work in progress as there are some bugs, eg when you click &#8220;cancel&#8221; the two tar child processes are not killed [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m playing with a script that moves files between two directories and does that by piping two tar commands, so called <a href="http://en.gentoo-wiki.com/wiki/Fast_Copy">Fast Copy</a>.</p>
<p>You need zenity to see the progress bar, it is a work in progress as there are some bugs, eg when you click &#8220;cancel&#8221; the two tar child processes are not killed for some reason, I couldn&#8217;t get the correct exit code that probably gets lost somewhere.</p>
<p>Probably in the future I&#8217;ll write a better notification.Suggestions and modifications are wellcome.</p>
<p>&nbsp;</p>
<p>&nbsp;<br />
<iframe src="http://pastebin.com/embed_iframe.php?i=AehWbP5c" style="border:none;width:100%"></iframe><br />
&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2011-move-files-with-zenity-progress-bar/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Gnome places double entries</title>
		<link>http://www.lucagasperini.com/blog/2010-gnome-places-double-entries/</link>
		<comments>http://www.lucagasperini.com/blog/2010-gnome-places-double-entries/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 18:42:17 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[gentoo]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/?p=724</guid>
		<description><![CDATA[As a gentoo user I&#8217;ve been stuck with gnome 2.26 for ages and when I emerged gnome 2.28 I found out that two out of three nfs shares had double entries in the gnome places menu. It seems that there is some sort of problem with gvfs, some users have reported double entries in gnome [...]]]></description>
			<content:encoded><![CDATA[<p>As a gentoo user I&#8217;ve been stuck with gnome 2.26 for ages and when I emerged gnome 2.28 I found out that two out of three nfs shares had double entries in the gnome places menu. It seems that there is some sort of problem with gvfs, some users have reported double entries in gnome places for local mounts and for remote shares.<br />
I could solve the problem (now, end life of gnome 2.30) by mounting my shares with &#8220;defaults&#8221; as an option. These things make me wonder why I like computers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2010-gnome-places-double-entries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Move files in bash with tar and progress bar</title>
		<link>http://www.lucagasperini.com/blog/2010-move-files-in-bash-with-tar-and-progress-bar/</link>
		<comments>http://www.lucagasperini.com/blog/2010-move-files-in-bash-with-tar-and-progress-bar/#comments</comments>
		<pubDate>Sat, 11 Sep 2010 13:14:57 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[gentoo]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/?p=710</guid>
		<description><![CDATA[Example gas@caldaia ~ $ my_move source_dir/ dest_dir/ 43.5GB at 61.0MB/s eta: 59s 91% [=========== ] You need to install &#8220;command line progress bar&#8221;, in gentoo it can be installed with emerge bar in ubuntu the deb can be grabbed here and installed with gdebi. my_move: #! /bin/sh SOURCE="$1" DEST="$2" SIZE=$(du -sb "$SOURCE"&#124;awk '{print $1}') (cd [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Example</strong><br />
<code>gas@caldaia ~ $ my_move source_dir/ dest_dir/<br />
  43.5GB at   61.0MB/s  eta:   59s   91% [===========   ]</code></p>
<p>You need to install &#8220;command line progress bar&#8221;, in gentoo it can be installed with <em>emerge bar</em> in ubuntu the deb can be grabbed <a href="http://sourceforge.net/projects/clpbar/">here</a> and installed with gdebi.</p>
<p>my_move:<br />
<code>#! /bin/sh<br />
SOURCE="$1"<br />
DEST="$2"<br />
SIZE=$(du -sb "$SOURCE"|awk '{print $1}')<br />
(cd "$SOURCE" &#038;&#038; tar -cf - *)|bar -s $SIZE| (cd "$DEST" &#038;&#038; tar -xBpf -)<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2010-move-files-in-bash-with-tar-and-progress-bar/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PixieLive</title>
		<link>http://www.lucagasperini.com/blog/2010-pixielive/</link>
		<comments>http://www.lucagasperini.com/blog/2010-pixielive/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 17:04:02 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[torrent]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/?p=685</guid>
		<description><![CDATA[A friend of mine, Christian, has released PixieLive, a slax based live linux distro build with gentoo. It&#8217;s one of the few live distributions that support Intel GMA500, popular on netbooks like some Asus EEEPC. PixieLive]]></description>
			<content:encoded><![CDATA[<p>A friend of mine, Christian, has released PixieLive, a slax based live linux distro build with gentoo.<br />
It&#8217;s one of the few live distributions that support Intel GMA500, popular on netbooks like some Asus EEEPC.</p>
<p><a href="http://pixielive.org/dotclear/index.php?post/2010/08/23/FirstRelease">PixieLive</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2010-pixielive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Audio transcoding in bash</title>
		<link>http://www.lucagasperini.com/blog/2010-audio-transcoding-in-bash/</link>
		<comments>http://www.lucagasperini.com/blog/2010-audio-transcoding-in-bash/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 16:50:50 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[musica]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/?p=681</guid>
		<description><![CDATA[A proper transcode must have a lossless audio format as a source, a good one is flac ,stands for Free Lossless Audio Codec, because it does the job well and has a good licence ( BSD and GPL ). If you have some flacs and want them in mp3 format (you need lame and flac) [...]]]></description>
			<content:encoded><![CDATA[<p>A proper transcode must have a lossless audio format as a source, a good one is flac ,stands for <a href="http://en.wikipedia.org/wiki/Free_Lossless_Audio_Codec">Free Lossless Audio Codec</a>, because it does the job well and has a good licence ( BSD and GPL ).</p>
<p>If you have some flacs and want them in mp3 format (you need <a href="http://lame.sourceforge.net/">lame</a> and flac) you can use this one liner:<br />
<code>for FILE in *.flac; do flac -cd "${FILE}" | lame - "${FILE/.flac/.mp3}"; done</code></p>
<p>the above line decodes every file that ends in .flac to the standard output (screen) and pipes it to lame that will encode it. &#8220;${FILE/.flac/.mp3}&#8221; will be the output file, in bash that means: take the variables &#8220;$FILE&#8221; (that is the original filename), remove &#8220;.flac&#8221; and substitute &#8220;.mp3&#8243;.</p>
<p>Nowadays I transcode quite often to 320 kbit/s constant bit rate (CBR)</p>
<ul>
<li>achieving the best quality for an mp3 and still being highly portable, some players don&#8217;t like variable bitrate of high quality ( like the V0 preset)</li>
<li>doing something unefficient since mp3 is not a good codec for that quality but if your stereo reads just mp3 you don&#8217;t have any choices</li>
</ul>
<p>I simply need to use lame with the proper switches , the above one liner becomes:<br />
<code>for FILE in *.flac; do flac -cd "${FILE}" | lame --cbr --preset insane - "${FILE/.flac/.mp3}"; done</code></p>
<p>To rip my compact discs and encode my music in flac I use a program for windows called Exact Audio Copy (<a href="http://www.exactaudiocopy.de/">EAC</a>), my Wine build doesn&#8217;t like it for some reasons and Virtualbox has historical problems in handling cdroms correctly, the solution was VMWare. The native solution is RubyRipper</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2010-audio-transcoding-in-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fail2ban and postfix sasl</title>
		<link>http://www.lucagasperini.com/blog/2010-fail2ban-and-postfix-sasl/</link>
		<comments>http://www.lucagasperini.com/blog/2010-fail2ban-and-postfix-sasl/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 21:18:32 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/?p=672</guid>
		<description><![CDATA[Today I found the usual chinese trying to get in my smtp to send his spam to the world and I realized that fail2ban wasn&#8217;t working because the regexp used to match the offender is wrong. This is the log entry (/var/log/mail) Aug 21 22:45:30 myserver postfix/smtpd[12071]: warning: unknown[xxx.xxx.xxx.xxx]: SASL LOGIN authentication failed: authentication failure [...]]]></description>
			<content:encoded><![CDATA[<p>Today I found the usual chinese trying to get in my smtp to send his spam to the world and I realized that fail2ban wasn&#8217;t working because the regexp used to match the offender is wrong.</p>
<p>This is the log entry (/var/log/mail)<br />
<code>Aug 21 22:45:30 myserver postfix/smtpd[12071]: warning: unknown[xxx.xxx.xxx.xxx]: SASL LOGIN authentication failed: authentication failure</code></p>
<p>and this is the regex that work , just remove the part after &#8220;authentication failed&#8221; (/etc/fail2ban/filter.d/sasl.conf)</p>
<p><code>failregex = (?i): warning: [-._\w]+\[<host>\]: SASL (?:LOGIN|PLAIN|(?:CRAM|DIGEST)-MD5) authentication failed</code></p>
<p>Test it:<br />
<code>fail2ban-regex /var/log/mail.log /etc/fail2ban/filter.d/sasl.conf </code></p>
<p>if you are on a slow server or on a big mail server use /var/log/mail.err instead</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2010-fail2ban-and-postfix-sasl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Unmerge Kde in gentoo</title>
		<link>http://www.lucagasperini.com/blog/2010-unmerge-kde-in-gentoo/</link>
		<comments>http://www.lucagasperini.com/blog/2010-unmerge-kde-in-gentoo/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 10:48:11 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/?p=659</guid>
		<description><![CDATA[Update emerge --ask -C `eix -C kde-base --only-names --installed` nano /etc/make.conf and delete kde from the USE flags, remove qt3support and qt4 also if you don&#8217;t need them anymore emerge -uavtqND world" Now you should have just a few kde packages in the list you got as an output of that command, it&#8217;s your choice [...]]]></description>
			<content:encoded><![CDATA[<p>Update</p>
<p><code>emerge --ask -C `eix -C kde-base --only-names --installed`</code></p>
<p><code>nano /etc/make.conf</code></p>
<p>and delete kde from the USE flags, remove qt3support and qt4 also if you don&#8217;t need them anymore</p>
<p><code>emerge -uavtqND world"</code></p>
<p>Now you should have just a few kde packages in the list you got as an output of that command, it&#8217;s your choice to leave them or unmerge them manually, with unmerge -pv &#8211;depclean <atom> you can see what packages pulls in your atom.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2010-unmerge-kde-in-gentoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Indirizzo ip dinamico e dyndns opendns</title>
		<link>http://www.lucagasperini.com/blog/2009-indirizzo-ip-dinamico-e-dyndns-opendns/</link>
		<comments>http://www.lucagasperini.com/blog/2009-indirizzo-ip-dinamico-e-dyndns-opendns/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 13:39:30 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[Generale]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[net]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/?p=634</guid>
		<description><![CDATA[Ogni qualvolta ci si collega ad internet viene assegnato un indirizzo ip pubblico al proprio computer/router, in Italia quasi tutte le connessioni adsl private hanno un ip dinamico che camba tutte le volte che ci si riconnette. Può tornare comodo conoscere questo ip per poter raggiungere il proprio computer dall&#8217;esterno ( lavoro, università ) e [...]]]></description>
			<content:encoded><![CDATA[<p>Ogni qualvolta ci si collega ad internet viene assegnato un <a href="http://it.wikipedia.org/wiki/Indirizzo_IP">indirizzo ip</a> pubblico al proprio computer/router, in Italia quasi tutte le connessioni adsl private hanno un ip dinamico che camba tutte le volte che ci si riconnette. Può tornare comodo conoscere questo ip per poter raggiungere il proprio computer dall&#8217;esterno ( lavoro, università ) e per evitare di doverselo scrivere su un &#8220;post it&#8221; tutte le volte che si accende il modem è possibile utilizzare un <a href="http://it.wikipedia.org/wiki/Dynamic_DNS">dns dinamico</a> .</p>
<h3><strong>Razionale</strong></h3>
<ol>
<li>iscriversi ad un servizio di dns dinamico, si potrà scegliere un dominio di terzo livello ( terzolivello.secondolivello.it) a cui associare l&#8217;indirizzo ip del computer.</li>
<li>iscriversi a dnsomatic che provvederà a fornire a tutti i servizi che si usano (come i servizi di dns dinamico ma anche altri come opendns) l&#8217;indirizzo ip del computer</li>
<li>usare un client che al cambio dell&#8217;indirizzo ip avvisa dnsomatic</li>
</ol>
<p><span id="more-634"></span></p>
<p><strong>1) DNS dinamico</strong></p>
<ol>
<li>iscriversi al servizio qui: <a href="https://www.dyndns.com/account/entrance/">https://www.dyndns.com/account/entrance/</a></li>
<li>dopo che arriva la mail confermate</li>
<li>aggiungete un hostname da qui: <a href="https://www.dyndns.com/account/services/hosts/add.html">https://www.dyndns.com/account/services/hosts/add.html</a> , scegliendo in &#8220;hostname&#8221; un nome facile da ricordare nel box di sinistra assieme ad un altro nome utilizzando il menu a discesa di destra, poi click su &#8220;Use your currently detected IP address&#8221; e per ultimo click su &#8220;Add to chart&#8221; e confermate.</li>
</ol>
<p><strong>2) Iscriversi a dnsomatic</strong></p>
<ol>
<li>iscriversi qui <a href="https://www.dnsomatic.com/create/" target="_blank">https://www.dnsomatic.com/create/</a></li>
<li>Add a service, scegliere DynDNS , mettere userid e password di <em><span style="text-decoration: underline;">DynDNS</span></em> e per ultimo inserire il dominio scelto in fase di registrazione (del tipo mionome.servelinux.org)</li>
<li>ora dnsomatic può aggiornare l&#8217;ip di dyndns</li>
</ol>
<p><strong>3) Aggiornare l&#8217;ip con il client</strong></p>
<h5><em>gentoo:</em></h5>
<p><code>emerge ddclient<br />
</code></p>
<h5><em>ubuntu:</em></h5>
<p><code>sudo aptitude install ddclient<br />
</code></p>
<h5><em>entrambi:</em></h5>
<p>Poi si configura mettendo al posto di &#8220;user&#8221; il nome utente e &#8220;pass&#8221; la password scelta su <em><span style="text-decoration: underline;">opendns</span></em> (non dyndns), occhio alle virgole<br />
<code>nano /etc/ddclient/ddclient.conf</code><br />
<code><br />
daemon=600                  # check every 600 seconds<br />
syslog=yes                  # log update msgs to syslog<br />
mail-failure=user@email.com # Mail failed updates to user<br />
use=web, web=myip.dnsomatic.com<br />
server=updates.dnsomatic.com,      \<br />
protocol=dyndns2,                  \<br />
login=user,          \<br />
password=pass        \<br />
all.dnsomatic.com</code></p>
<h5><em>gentoo:</em></h5>
<p><code>rc-config start ddclient<br />
rc-config add ddclient default<br />
</code></p>
<h5><em><strong></strong></em><em>ubuntu:</em></h5>
<p><code>sudo /etc/init.d/ddclient restart</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2009-indirizzo-ip-dinamico-e-dyndns-opendns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu on Toshiba A300 PSAJ4E</title>
		<link>http://www.lucagasperini.com/blog/2008-ubuntu-on-toshiba-a300-psaj4e/</link>
		<comments>http://www.lucagasperini.com/blog/2008-ubuntu-on-toshiba-a300-psaj4e/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 20:15:07 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/?p=596</guid>
		<description><![CDATA[Info 00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03) 00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03) 00:1a.7 [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><a href="http://www.lucagasperini.com/blog/wp-content/uploads/2008/07/toshiba_satellite_a300_ita_41.jpg"><img class="size-medium wp-image-597 aligncenter" title="Sat_A300_Prod_Full_Jan08_04" src="http://www.lucagasperini.com/blog/wp-content/uploads/2008/07/toshiba_satellite_a300_ita_4-300x233.jpg" alt="toshiba a300" width="240" height="186" /></a><strong>Info</strong><br />
<code>00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)<br />
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03)<br />
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #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.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 />
01:00.0 VGA compatible controller: ATI Technologies Inc Mobilitiy Radeon HD 3400 Series<br />
01:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon HD 34xx Series]<br />
02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)<br />
03:00.0 Ethernet controller: Marvell Technology Group Ltd. Unknown device 4355 (rev 12)<br />
0a:01.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)<br />
0a:01.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)<br />
0a:01.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)</code></p>
<p><span id="more-596"></span></p>
<p><strong>TEST</strong></p>
<p>Y-worked without any modification M-requires modification N-did not work at all L-limited</p>
<p>Ubuntu 8.04 ***Kernel-2.6.24-19-Generic SMP</p>
<p><code>KB 	                 L(1)<br />
Mouse(TPad) 	 Y<br />
XFree86 	         Y<br />
Sound                 Y<br />
HDD 	                 Y<br />
DVD/CD 	         L(2)<br />
DVD-RW/CD-RW 	 L(2)<br />
SDC                   Y(3)<br />
IEEE1394 	         Not Tested<br />
USB                   Y<br />
USB CDROM         Not Tested<br />
USB FDD             Not Tested<br />
USB Mouse          Y<br />
LAN               M (7)<br />
W-LAN               Y(4)<br />
Bluetooth	        M(5)<br />
Shutdown           Y<br />
Reboot               Y<br />
ACPI                  Y    ACPI: (supports S0 S3 S4 S5)<br />
Suspend             Y(6)<br />
Hibernation 	Y(6)</code></p>
<p><strong>1)</strong> Keyboard:Not all function keys works, the most important ones do like lcd brightness, sound and the disable trackpad one<br />
<strong>2)</strong> DVD-RW: Works but I have a really bad performance. It could be the same thing that affects my desktop and is a pretty common thing on intel chipset<br />
<strong>3)</strong> Card Reader: Works with SDHC (High Capacity), tested on microSDHC 4GB (with adapter)<br />
<strong>4)</strong> W-LAN: Toshiba suggests not needed modifications, for me it worked out of the box<br />
<strong>5)</strong> Bluetooth ref: <a href="http://ubuntuforums.org/showthread.php?t=316358">Ubuntu Forums</a><br />
On toshibas bluetooth is switched off by default on boot. It can be switched on by an acpi call that is pretty easy to make in windows ( press a button ) but not in linux , omnibook make things much easier. First you will need some packages to grab the source from svn and to compile it.<br />
<code><br />
$ sudo apt-get install subversion build-essential linux-source linux-headers-generic</code><br />
Then you can check the svn source and compile<br />
<code>$ cd ~<br />
$ mkdir omnibook<br />
$ cd omnibook<br />
$ svn co https://omnibook.svn.sourceforge.net/svnroot/omnibook/omnibook/trunk<br />
$ cd trunk<br />
$ make<br />
$ sudo make install<br />
</code></p>
<p>The A300 is not directly supported by omnibook module so we have to force it with proper options</p>
<p><code>$ sudo depmod -a<br />
$ sudo modprobe omnibook ectype=12</code></p>
<p>after this bluetooth should work, if you want to load the module on boot make a file called omnibook.modprobe in /etc/modprobe.d/ with the following line:<br />
<code>options omnibook ectype=12 userset=1</code></p>
<p>and then you can finally add &#8220;omnibook&#8221; in /etc/modules</p>
<p>There&#8217;s a bug in Ubuntu that make you unable to receive files ( toshiba side is all working, the bug is in the bluez-utils package) , downgrading is a <a href="http://technology-included.blogspot.com/2008/07/using-bluetooth-on-hardy-ubuntu-804.html">solution</a></p>
<p><strong>6) </strong>Suspend/Hibernation: I had problem with the xorg drivers. After installing Ati Binary drivers it worked liked a charm , I&#8217;m very happy for this.Edit: after waking up from hibernation the bluetooth system is disabled for some reasons. &#8220;echo 1&gt;/proc/omnibook/bluetooth&#8221; will do the job.</p>
<p><strong>7</strong> <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/239852/comments/3">Wired Lan</a>:<br />
<code>rmmod sky2<br />
cd /lib/modules/2.6.24-16-generic/kernel/drivers/net<br />
cp -p sky2.ko{,.orig}<br />
perl -pe 's/\0\0\x6c\x43/\0\0\x55\x43/g' sky2.ko.orig &gt; sky2.ko</code><br />
<strong>Note</strong></p>
<p>I feel that with the newer bios ( 14/07 ) things work better, the fan is less noisy for example</p>
<p><strong>Links</strong></p>
<ul>
<li><a href="http://linux.toshiba-dme.co.jp/linux/eng/installinfo.htm">Linux Information for Toshiba</a></li>
<li><a href="http://www.buzzard.me.uk/toshiba/index.html">Some linux toshiba utilities</a> (you probably wont need these)</li>
</ul>
<p><a title="Linux on Laptops" href="http://www.linux-on-laptops.com/toshiba.html"><br />
<img src="http://www.linux-on-laptops.com/images/linux-on-laptops.gif" border="0" alt="Linux On Laptops" width="110" height="36" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2008-ubuntu-on-toshiba-a300-psaj4e/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Superkaramba and Gentoo</title>
		<link>http://www.lucagasperini.com/blog/2008-superkaramba-and-gentoo/</link>
		<comments>http://www.lucagasperini.com/blog/2008-superkaramba-and-gentoo/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 15:21:17 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Generale]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[graphics]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/?p=593</guid>
		<description><![CDATA[Nowadays it seems that superkaramba works well, in the past it was heavy and buggy and I used to have conky. There are no particular reasons that made me switch to superkaramba , other than moving from Gnome to Kde. My superkaramba monitor is based on the dual cpu monitor by Loacoon, I changed it [...]]]></description>
			<content:encoded><![CDATA[<p>Nowadays it seems that superkaramba works well, in the past it was heavy and buggy and I used to have conky. There are no particular reasons that made me switch to superkaramba , other than moving from Gnome to Kde.</p>
<p>My superkaramba monitor is based on the dual cpu monitor <a href="http://www.kde-look.org/usermanager/search.php?username=Loacoon&#038;action=profile&#038;PHPSESSID=cae">by Loacoon</a>, I changed it a little to show some useful stuff , some of them gentoo specific ( last sync, last emerges, currently emerging&#8230;.. genlop is a dependency).</p>
<p><a href='http://www.lucagasperini.com/blog/wp-content/uploads/2008/06/superkaramba1.jpg'><img src="http://www.lucagasperini.com/blog/wp-content/uploads/2008/06/superkaramba-300x57.jpg" alt="superkaramba" title="superkaramba" width="300" height="57" class="alignnone size-medium wp-image-595" /></a></p>
<p><span id="more-593"></span></p>
<p>Here&#8217;s the code, on my system superkaramba themes are in ~/.kde3.5/share/apps/superkaramba/themes/</p>
<p><a href='http://www.lucagasperini.com/blog/wp-content/uploads/2008/06/chsm_dualcpu.theme'>Superkaramba theme</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2008-superkaramba-and-gentoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

