<?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>doomclaw.de &#187; Hardware</title>
	<atom:link href="http://doomclaw.de/index.php/category/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://doomclaw.de</link>
	<description>here be daemons</description>
	<lastBuildDate>Sat, 24 Mar 2012 14:47:02 +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>Brother MFC-5490CN with FreeBSD</title>
		<link>http://doomclaw.de/index.php/2011/04/14/brother-mfc-5490cn-with-freebsd/</link>
		<comments>http://doomclaw.de/index.php/2011/04/14/brother-mfc-5490cn-with-freebsd/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 05:29:32 +0000</pubDate>
		<dc:creator>skaven</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[How-to]]></category>

		<guid isPermaLink="false">http://doomclaw.de/?p=216</guid>
		<description><![CDATA[Some time ago I bought a Brother MFC-5490CN printer knowing that Brother provides Linux drivers for this device. Since I&#8217;m using mostly FreeBSD systems I spent some time to get that printer running on my systems. Finally I did it. Here&#8217;s how I did this: First you need to ensure that you have print/a2ps-a4, print/a2ps-letter [...]]]></description>
			<content:encoded><![CDATA[<p>Some time ago I bought a Brother MFC-5490CN printer knowing that Brother provides Linux drivers for this device. Since I&#8217;m using mostly FreeBSD systems I spent some time to get that printer running on my systems. Finally I did it. Here&#8217;s how I did this:</p>
<p>First you need to ensure that you have print/a2ps-a4, print/a2ps-letter installed.</p>
<p>Then download the <a href="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#MFC-5490CN" target="_blank">filter drivers for Linux</a> from Brother. I used the .deb-Archives and extracted them to a temporary directory.<br />
The Linux driver is installed under /usr/local, but I don&#8217;t liked that so I created a separate directory in the opt-tree.</p>
<pre class="brush:text">mkdir -p /opt/brother/mfc5490cn</pre>
<p>And copied the two important directories from the Linux drivers over to that directory. These are the <em>lpd</em> and <em>inf</em> directories in the data part of the .deb-Archive.</p>
<pre class="brush:text">cp -R /tmp/brmfc5490cn/data/lpd /opt/brother/mfc5490cn/
cp -R /tmp/brmfc5490cn/data/inf /opt/brother/mfc5490cn/</pre>
<p>Since I changed the paths to these files I had to change these within the filter driver. Edit <em>/opt/brother/mfc5490cn/lpd/filtermfc5490cn</em> and change the BR_PRT_PATH variable to:</p>
<pre class="brush:text">BR_PRT_PATH=/opt/brother/${PRINTER}</pre>
<p>Then you need to edit the <em>/opt/brother/mfc5490cn/lpd/psconvertij2</em> file, since there is a ambiguous sed command. You need to find the line saying:</p>
<pre class="brush:text">RESOLUTION=`sed -n '/\&lt;Resolution/p' $RC_FILE`</pre>
<p>And change it to:</p>
<pre class="brush:text">RESOLUTION=`sed -n '/^Resolution/p' $RC_FILE`</pre>
<p>In my case I also had to change the <em>/opt/brother/mfc5490cn/inf/brmfc5490cnrc</em> file to make the printer use A4 instead of Letter format. Change the line:</p>
<pre class="brush:text">PaperType=Letter</pre>
<p>To:</p>
<pre class="brush:text">PaperType=A4</pre>
<p>Finally You just need to setup your <em>/etc/printcap</em>. Just paste the following lines and change the hostname in the <em>rm</em> line:</p>
<pre class="brush:text">mfc5490cn:\
        :mx=0:\
        :sd=/var/spool/lpd/mfc5490cn:\
        :sh:\
	:rm=gutenberg:\
	:rp=lp:\
        :if=/opt/brother/mfc5490cn/lpd/filtermfc5490cn:\
#	:lf=/var/log/spool.log:</pre>
<p>If you run into trouble just set the lf line active and run the following commands:</p>
<pre class="brush:text">touch /var/log/spool.log
chown daemon:wheel /var/log/spool.log</pre>
<p>If you need more output from the filter just write a <em>set -x</em> line in the <em>/opt/brother/mfc5490cn/lpd/filtermfc5490cn</em> and <em>/opt/brother/mfc5490cn/lpd/psconvertij2</em> files. The output will be logged to the spool.log.</p>
<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdoomclaw.de%2Findex.php%2F2011%2F04%2F14%2Fbrother-mfc-5490cn-with-freebsd%2F&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe></div><div class="really_simple_share_google1" style="width:90px;"><div class="g-plusone" data-size="medium" data-href="http://doomclaw.de/index.php/2011/04/14/brother-mfc-5490cn-with-freebsd/" data-annotation="none"></div></div><div class="really_simple_share_linkedin" style="width:100px;"><script type="IN/Share"  data-url="http://doomclaw.de/index.php/2011/04/14/brother-mfc-5490cn-with-freebsd/"></script></div><div class="really_simple_share_digg" style="width:100px;"><script type="text/javascript" src="http://widgets.digg.com/buttons.js"></script>
					<a class="DiggThisButton DiggCompact" href="http://digg.com/submit?url=http://doomclaw.de/index.php/2011/04/14/brother-mfc-5490cn-with-freebsd/&amp;title=Brother MFC-5490CN with FreeBSD"></a></div><div class="really_simple_share_stumbleupon" style="width:100px;"><script type="text/javascript" src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://doomclaw.de/index.php/2011/04/14/brother-mfc-5490cn-with-freebsd/"></script></div><div class="really_simple_share_email" style="width:40px;"><a href="mailto:?subject=Brother MFC-5490CN with FreeBSD&amp;body=Brother MFC-5490CN with FreeBSD - http://doomclaw.de/index.php/2011/04/14/brother-mfc-5490cn-with-freebsd/"><img src="http://doomclaw.de/wp-content/plugins/really-simple-facebook-twitter-share-buttons/email.png" alt="Email" title="Email" /> </a></div><div class="really_simple_share_reddit" style="width:100px;"><script type="text/javascript" src="http://www.reddit.com/static/button/button1.js?newwindow=1&amp;url=http://doomclaw.de/index.php/2011/04/14/brother-mfc-5490cn-with-freebsd/"></script></div><div class="really_simple_share_twitter" style="width:110px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none" 
						data-text="Brother MFC-5490CN with FreeBSD" data-url="http://doomclaw.de/index.php/2011/04/14/brother-mfc-5490cn-with-freebsd/" 
						data-via=""  ></a></div></div>
		<div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://doomclaw.de/index.php/2011/04/14/brother-mfc-5490cn-with-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bitchy little watchdog</title>
		<link>http://doomclaw.de/index.php/2009/09/01/bitchy-little-watchdog/</link>
		<comments>http://doomclaw.de/index.php/2009/09/01/bitchy-little-watchdog/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 15:00:00 +0000</pubDate>
		<dc:creator>skaven</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[reboot]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[watchdog]]></category>

		<guid isPermaLink="false">http://doomclaw.de/?p=73</guid>
		<description><![CDATA[Yesterday we tried to install OpenSolaris 2009.06 on a x86-based server at work. The first attempts ended in a sudden reboot without any error messages. But then the installation worked but the system kept rebooting the installed system. We didn&#8217;t expected any hardware errors since the server is brand-new. Nevertheless we ran some tests but [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday we tried to install OpenSolaris 2009.06 on a x86-based server at work. The first attempts ended in a sudden reboot without any error messages. But then the installation worked but the system kept rebooting the installed system. We didn&#8217;t expected any hardware errors since the server is brand-new. Nevertheless we ran some tests but memtest showed the same habit to reboot the whole system. After some observation we found out that the reboots occured exactly after 4 minutes of testing.<br />
We&#8217;ve searched the internet for solutions but the problem was unknown. So we searched through the handbook of the <a href="http://www.supermicro.com/products/motherboard/Xeon3000/3210/X7SBE.cfm">Super Micro X7SBE</a> motherboard and my instructor found something that was worth a try. There was a jumper mentioned which controls the behavior of the built-in watchdog timer. The jumper was set to reboot the whole system if an application hangs. So we set it to just send an interrupt to the application and&#8230; behold&#8230; memtest just stopped after 4 minutes with a message about an unexpected interrupt. The third setting was for disabling the watchdog timer completely. This is the setting we chose finally and now the system runs fine.</p>
<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdoomclaw.de%2Findex.php%2F2009%2F09%2F01%2Fbitchy-little-watchdog%2F&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe></div><div class="really_simple_share_google1" style="width:90px;"><div class="g-plusone" data-size="medium" data-href="http://doomclaw.de/index.php/2009/09/01/bitchy-little-watchdog/" data-annotation="none"></div></div><div class="really_simple_share_linkedin" style="width:100px;"><script type="IN/Share"  data-url="http://doomclaw.de/index.php/2009/09/01/bitchy-little-watchdog/"></script></div><div class="really_simple_share_digg" style="width:100px;"><script type="text/javascript" src="http://widgets.digg.com/buttons.js"></script>
					<a class="DiggThisButton DiggCompact" href="http://digg.com/submit?url=http://doomclaw.de/index.php/2009/09/01/bitchy-little-watchdog/&amp;title=Bitchy little watchdog"></a></div><div class="really_simple_share_stumbleupon" style="width:100px;"><script type="text/javascript" src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://doomclaw.de/index.php/2009/09/01/bitchy-little-watchdog/"></script></div><div class="really_simple_share_email" style="width:40px;"><a href="mailto:?subject=Bitchy little watchdog&amp;body=Bitchy little watchdog - http://doomclaw.de/index.php/2009/09/01/bitchy-little-watchdog/"><img src="http://doomclaw.de/wp-content/plugins/really-simple-facebook-twitter-share-buttons/email.png" alt="Email" title="Email" /> </a></div><div class="really_simple_share_reddit" style="width:100px;"><script type="text/javascript" src="http://www.reddit.com/static/button/button1.js?newwindow=1&amp;url=http://doomclaw.de/index.php/2009/09/01/bitchy-little-watchdog/"></script></div><div class="really_simple_share_twitter" style="width:110px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none" 
						data-text="Bitchy little watchdog" data-url="http://doomclaw.de/index.php/2009/09/01/bitchy-little-watchdog/" 
						data-via=""  ></a></div></div>
		<div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://doomclaw.de/index.php/2009/09/01/bitchy-little-watchdog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

