<?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>Denis Lemire&#039;s Site &#187; Linux</title>
	<atom:link href="http://www.denis.lemire.name/category/technology/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.denis.lemire.name</link>
	<description>Random musings of a technophile.</description>
	<lastBuildDate>Mon, 23 Jan 2012 05:00:41 +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-495cw on Ubuntu 64-bit</title>
		<link>http://www.denis.lemire.name/2010/03/28/mfc-495cw/</link>
		<comments>http://www.denis.lemire.name/2010/03/28/mfc-495cw/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 22:00:27 +0000</pubDate>
		<dc:creator>Denis Lemire</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.denis.lemire.name/?p=323</guid>
		<description><![CDATA[Having a new addition to the family (our new month old daughter, Allison) my wife was itching to begin printing some photos to get started on a &#8220;Baby&#8217;s first year&#8221; type of scrapbook. Unfortunately our HP Officejet printer decided that it was above the task of putting ink on paper some time ago. No amount [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin: 10px"><img src="/images/posts/mfc495cw.png" alt="" /></div>
<p>Having a new addition to the family (our new month old daughter, Allison) my wife was itching to begin printing some photos to get started on a &#8220;Baby&#8217;s first year&#8221; type of scrapbook. Unfortunately our HP Officejet printer decided that it was above the task of putting ink on paper some time ago. No amount of pleading with this lousy HP printer would convince it otherwise. Given the circumstances, after some discussion, Jessie and I decided that we had little choice but to fire the Officejet and seek a replacement.</p>
<p>A quick Google search for the MFC-495cw prior to running out to Best Buy confirmed that people appeared to be having success with this printer under Ubuntu. Given that, the decent feature set and the low price of $99 we decided to give this printer try.</p>
<p><span id="more-323"></span></p>
<p>Given that the HP printer was just over two years old, we decided against another HP this time around. Although unhappy with the longevity of our existing printer, I was always quite pleased with the cross platform driver support with HP printers. I&#8217;ve had this Officejet working with OS X, Windows, Linux and even FreeBSD with minimal fuss.</p>
<p>Unfortunately, much to my disappointment, Karmic 64-bit was unable to support this printer out of the box. A quick browse around the web uncovered a page on Brother&#8217;s site that did have <a href="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#MFC-495CW">Linux drivers</a> but attempting to install them yielded only the following:</p>
<pre>
dpkg: error processing mfc495cwcupswrapper-1.1.2-2.i386.deb (--install):
 package architecture (i386) does not match system (amd64)
</pre>
<p>Apparently 64-bit support is not something that Brother has tackled yet. In addition their instructions and workarounds for getting up and running are pretty scattered.</p>
<p>Essentially, grabbing the appropriate files (you need both the lpr and cupswrapper packages) and running the following commands seems to get everything up and running:</p>
<ol style="white-space:nowrap">
<li>aa-complain cupsd</li>
<li>mkdir /usr/share/cups/model</li>
<li>apt-get install ia32-libs</li>
<li>dpkg &#8211;force-architecture -i mfc495cwlpr-1.1.2-1.i386.deb</li>
<li>dpkg &#8211;force-architecture -i mfc495cwcupswrapper-1.1.2-2.i386.deb</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.denis.lemire.name/2010/03/28/mfc-495cw/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Experimenting with Fedora</title>
		<link>http://www.denis.lemire.name/2010/02/10/experimenting-with-fedora/</link>
		<comments>http://www.denis.lemire.name/2010/02/10/experimenting-with-fedora/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 07:09:44 +0000</pubDate>
		<dc:creator>Denis Lemire</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.denis.lemire.name/?p=241</guid>
		<description><![CDATA[About a month ago, I reached the breaking point of my own curiosity and decided to wipe out my Ubuntu installation in favor of the latest Fedora release. The VAIO notebook I loaded it on has typically served as my &#8216;plaything&#8217; machine, as opposed to being my primary workhorse computer. Due to this choice of [...]]]></description>
			<content:encoded><![CDATA[<div><a href="http://fedoraproject.org"><img src="/images/posts/f12release.png" alt="" style="float: right; margin-left: 10px" /></a></div>
<p>About a month ago, I reached the breaking point of my own curiosity and decided to wipe out my Ubuntu installation in favor of the latest Fedora release. The <a href="/2008/03/29/new-vaio/">VAIO notebook</a> I loaded it on has typically served as my &#8216;plaything&#8217; machine, as opposed to being my primary workhorse computer.</p>
<p>Due to this choice of purpose it changes Linux distributions or even operating systems on a pretty regular basis. More recently I was even perverted enough to allow it to dual boot with Windows 7 Home Premium, but that&#8217;s a filthy confession for another day.</p>
<p><span id="more-241"></span></p>
<p>I&#8217;ve always wanted to like Redhat and by extension the Fedora project. If I recall correctly, Redhat was the first Linux distro I used around the 5.0 release. Though it wasn&#8217;t long before I grew annoyed by the RPM dependency hell that was common in that era. My solution at the time was to nearly abandon package management altogether and seek refuge in Slackware. Over the decade to follow I&#8217;ve probably experimented with more Linux distributions than I can practically recall, assigning several as personal favorites for specific roles.</p>
<p>The last time I used Fedora for something serious was around Fedora Core 2. Looks like I&#8217;ve missed the last 10 releases are so. Things have certainly improved. Though yum doesn&#8217;t seem quite as intelligent as apt, it does seem perfectly suited for the task at hand. In my (give or take) month I&#8217;ve been playing with Fedora so far, everything I&#8217;m accustomed to using appears to be in the standard repositories and nothing has given me any grief in terms of satisfying dependencies on installation. Probably the biggest thing I miss is the whole &#8216;apt-get autoremove&#8217; command for cleaning out dependencies that were pulled in for packages that I&#8217;ve since removed. The closest equivalent I&#8217;ve been able to find is &#8216;package-cleanup &#8211;leaves&#8217; which only lists packages without dependencies. Not as intelligent or automated, but it still accomplishes the goal of removing cruft I&#8217;ve built up.</p>
<p>As far as package management goes, I&#8217;m holding out for the real test. Ubuntu has handled major version distribution upgrades with more grace and polish than I&#8217;ve seen relative to any other distro. I&#8217;ll certainly hold on to Fedora for long enough to see how well it fares in this regard.</p>
<p><a href="/images/posts/fedora-screenshot.png"><img style="margin-left: auto; margin-right: auto; display: block; border: 1px solid grey" src="/images/posts/fedora-screenshot-thumb.png" alt="" /></a></p>
<p>That last point aside, the differences between apt/yum and Debian/Redhat distributions are approaching the point where everything can be boiled down to personal preferences and aesthetics. I am enjoying the default Fedora artwork over the gloomy orange/brown Ubuntu defaults. My preference is not to spend too long tweaking my themes before my eyes stop bleeding.</p>
<p>The Fedora repos also appear to be far less conservative in terms of packaging the latest releases of major applications. Ubuntu tends to lag behind on Firefox, Thunderbird and OpenOffice packages.</p>
<p>Overall, it&#8217;s been a pleasant experience thus far. Maybe I&#8217;ll keep it for a little while?</p>
<p>Did this post have a point?</p>
<p><strong>Yes!</strong></p>
<ol>
<li>I needed to post something, it&#8217;s been too long. You don&#8217;t want people to worry, do you?</li>
<li>If you haven&#8217;t tried Fedora in a while (or at all), give it a spin. You may just like it.</li>
</ol>
<p>Alright&#8230; So not <em>really.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.denis.lemire.name/2010/02/10/experimenting-with-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Ubuntu Machine</title>
		<link>http://www.denis.lemire.name/2008/03/29/new-vaio/</link>
		<comments>http://www.denis.lemire.name/2008/03/29/new-vaio/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 05:14:35 +0000</pubDate>
		<dc:creator>Denis Lemire</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.denis.lemire.name/2008/03/29/new-vaio/</guid>
		<description><![CDATA[It all started yesterday during my regular routine of discarding my wife, Jessie&#8217;s, newly delivered fliers into the recycling bin below my mailbox. This time, I happened to open up the bundle of fliers and caught a glimpse of a Sony Vaio NR280E/S notebook going for only $699. I&#8217;ve always thought the Sony line of [...]]]></description>
			<content:encoded><![CDATA[<div><a href="http://b2b.sony.com/Solutions/product/VGN-NR280E/S"><img style="float: right; margin: 0px 0px 10px 10px" alt="" src="/images/posts/vaio.jpg" /></a></div>
<p> It all started yesterday during my regular routine of discarding my wife, Jessie&#8217;s, newly delivered fliers into the recycling bin below my mailbox. This time, I happened to open up the bundle of fliers and caught a glimpse of a <a href="http://b2b.sony.com/Solutions/product/VGN-NR280E/S">Sony Vaio NR280E/S</a> notebook going for only $699. I&#8217;ve always thought the Sony line of notebooks were quite aesthetically pleasing, though rather pricey. At this price point however it seemed like an attractive proposition.</p>
<p><span id="more-66"></span></p>
<p>I rolled up the fliers and placed them back in the mailbox to figure out later. The following morning when Jessie fetched her fliers (probably somewhat surprised that she actually had some for once) I mentioned the attractive looking Vaio in the Best Buy flier. After brief discussion, I pulled up further specifications on the machine, thus revealing that all the key components (wireless, video, etc) were Intel based. In addition, the price on the web site was actually only $599! Given Intel&#8217;s above average openness in specifications and open source code contributions, these components just made the machine even more attractive.</p>
<p>After further discussion, she told me to go and buy it if I wanted it. What kind of a poor husband would I be if I argued with my wife? It was now my duty to acquire this machine. Gleefully, I took the machine home, plugged it in and began to correct its one major flaw&#8230; The hard drive appeared to have some strange data embedded in it causing severe performance issues and limiting the machines usefulness. After some research on-line I determined this mysterious data was actually intended to be a commercial product. Apparently its developed by a shoddy corporation operating out of Redmond and was known as Microsoft Windows Vista.</p>
<p>I was surprise that a machine would leave a reputable organization like Sony&#8217;s manufacturing facilities in such condition, but remaining calm I figured there would have to be a recovery disc to restore the machine into a usable state. Much to my surprise, no such disc was in the package! Fortunately a company called <a href="http://www.canonical.com/">Canonical</a> had a freely available recovery CD called <a href="http://www.ubuntu.com">Ubuntu Hardy Heron Beta 1</a>. Internet folk-lore has it said discs have been used to recovery many recent computers purchased in a similar state.</p>
<p>It worked! This machine is now running great! I&#8217;m sure it will serve me well for many years to come as my new Ubuntu machine! Woohoo!</p>
<p>Given my excitement of today&#8217;s acquisition, I felt compelled to contact one of very few friends geeky enough to appreciate my successful operation. Lo and behold, apon hearing of my tales of operation system purgatory, Josh decided this endeavor would be an excellent way for him to dispose of $599 as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.denis.lemire.name/2008/03/29/new-vaio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Radeon Mobility Blacklist in Hardy Beta</title>
		<link>http://www.denis.lemire.name/2008/03/22/hardy-radeon/</link>
		<comments>http://www.denis.lemire.name/2008/03/22/hardy-radeon/#comments</comments>
		<pubDate>Sat, 22 Mar 2008 19:08:05 +0000</pubDate>
		<dc:creator>Denis Lemire</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.denis.lemire.name/2008/03/22/hardy-radeon/</guid>
		<description><![CDATA[Not being a man of patience, I figured with the final release of Gnome 2.22 included in the latest Hardy Beta, now would be a good time to jump on the Hardy band-wagon. Everything seems to be working solid. They&#8217;ve even included the previously missing Keyspan module. Woo hoo! Unfortunately I did run into one [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin: -10px 0px 0px 10px"><a href="http://www.ubuntu.com"><img src="/images/posts/ubuntu.png" alt=""/></a></div>
<p> Not being a man of patience, I figured with the final release of Gnome 2.22 included in the latest Hardy Beta, now would be a good time to jump on the Hardy band-wagon.</p>
<p>Everything seems to be working solid. They&#8217;ve even included the <a href="http://www.denis.lemire.name/2007/10/19/ubuntu-keyspan/">previously missing Keyspan module</a>. Woo hoo!</p>
<p>Unfortunately I did run into one major issue, Compiz completely stopped working after the upgrade.</p>
<p><span id="more-65"></span></p>
<p>Doing some Googling revealed the following Bug no. 201330: <a href="https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/201330">Need to whitelist multiple ATI cards, or remove blacklisting</a>.</p>
<p>Apparently an overly broad blacklist has been placed on all Radeon graphics existing in laptops. Good to know a bug has already been opened on the issue. I imagine this will be resolved before Hardy&#8217;s release.</p>
<p>In the mean time, those running Hardy Beta on hardware they know works with compiz can comment out the line 270 to 278 in<br/> <strong>/usr/bin/compiz:</strong></p>
<pre>
#don't run on laptops using ati driver
if laptop-detect; then
        for DRV in ati radeon; do
                 if egrep -q "Loading ${XORG_DRIVER_PATH}${DRV}_drv\.so" $LOG &#038;&#038;
                   ! egrep -q "Unloading ${XORG_DRIVER_PATH}${DRV}_drv\.so" $LOG;
                 then
                        verbose "Found laptop using ${DRV} driver. \n"
                        return 1
                fi
        done
fi
</pre>
<p>After making the above change, Compiz will work every bit as well as it has in previous releases.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.denis.lemire.name/2008/03/22/hardy-radeon/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Keyspan USA-19HS on Gutsy Gibbon</title>
		<link>http://www.denis.lemire.name/2007/10/19/ubuntu-keyspan/</link>
		<comments>http://www.denis.lemire.name/2007/10/19/ubuntu-keyspan/#comments</comments>
		<pubDate>Sat, 20 Oct 2007 03:49:45 +0000</pubDate>
		<dc:creator>Denis Lemire</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.denis.lemire.name/2007/10/19/ubuntu-keyspan/</guid>
		<description><![CDATA[Ubuntu 7.10 (Gutsy Gibbon) was released yesterday. Overall the improvements are huge. Amongst other things driver support for my aging four year old laptop is nearing perfection. The only thing that did not work out of the box is my trusty Keyspan USA-19HS USB to DB9 serial adapter. Primarily my laptop is used as a [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin: -10px 0px 0px 10px"><a href="http://www.ubuntu.com"><img src="/images/posts/ubuntu.png" alt=""/></a></div>
<p>Ubuntu 7.10 (<a href="http://www.ubuntu.com/getubuntu/releasenotes/710tour">Gutsy Gibbon</a>) was released yesterday. Overall the improvements are huge. Amongst other things driver support for my aging four year old laptop is nearing perfection.</p>
<p>The only thing that did not work out of the box is my trusty <a href="http://www.keyspan.com/products/usb/usa19hs/homepage.spml">Keyspan USA-19HS</a> USB to DB9 serial adapter. Primarily my laptop is used as a portable tool for on-site network administration. This work often involves configuring various enterprise grade hardware via a serial console. Needless to say, this is functionality I depend on.</p>
<p><span id="more-61"></span></p>
<p>A quick visit to <a href="http://www.keyspan.com/downloads-files/developer/linux/">Keyspan&#8217;s web site</a> provided some initial clarification regarding this issue:</p>
<blockquote><p>However, certain Linux distros (primarily Ubuntu and Debian) choose to not include a complete install of our drivers and firmware due to philosophical issues with our license text. Although the majority of the Linux community is fine with our license, Ubuntu and Debian require you to install the Keyspan drivers manually.</p></blockquote>
<p>I&#8217;m not sure what it is about the license for the Keyspan USB drivers that is out of line with Debian or Ubuntu&#8217;s philosophy. The driver does require closed firmware to be loaded, but the same can be said for the Intel WiFi drivers which are included by default in the base system.</p>
<p>Either way, building the missing kernel model from source is a rather daunting exercise for Linux beginners. For that reason, I decided to build a <a href="/download/keyspan-ubuntu-2.6.22.deb">Debian package</a> of the missing driver.</p>
<p>Once the package is downloaded it can be installed via:</p>
<pre>dpkg -i keyspan-ubuntu-2.6.22.deb</pre>
<p>After the package is installed the Keyspan should be accessible via <em>/dev/ttyUSB0</em>.</p>
<p>All that being said, this packages comes with a few caveats:</p>
<ul>
<li>This is my first attempt at a Debian package, I&#8217;m sure it&#8217;s far from perfect.</li>
<li>The driver can be built with different firmware for different Keyspan devices, this one is only built with the USA-19 firmware.</li>
<li>This package is probably married to the kernel version it was built for and will not likely work next time the Ubuntu kernel image package is updated.</li>
</ul>
<p>Hopefully whomever with Ubuntu responsible for packaging the kernel and modules either includes this driver in the future or at least makes it into an optional package in the restricted repository. Failing that, if there is enough interest I may continue to maintain and improve this package to ease the installation for other Ubuntu users.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.denis.lemire.name/2007/10/19/ubuntu-keyspan/feed/</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
	</channel>
</rss>

