<?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>DmitryBrant.com &#187; Linux Notes</title>
	<atom:link href="http://dmitrybrant.com/category/programming/linux-notes/feed" rel="self" type="application/rss+xml" />
	<link>http://dmitrybrant.com</link>
	<description>Not responsible for any minds blown.</description>
	<lastBuildDate>Thu, 19 Nov 2009 02:03:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Getting NTFS to Work in Linux</title>
		<link>http://dmitrybrant.com/2006/02/15/getting-ntfs-to-work-in-linux</link>
		<comments>http://dmitrybrant.com/2006/02/15/getting-ntfs-to-work-in-linux#comments</comments>
		<pubDate>Wed, 15 Feb 2006 23:59:20 +0000</pubDate>
		<dc:creator>db</dc:creator>
				<category><![CDATA[Linux Notes]]></category>

		<guid isPermaLink="false">http://dmitrybrant.com/2006/02/15/getting-ntfs-to-work-in-linux/</guid>
		<description><![CDATA[This is really not that difficult, but I thought I&#8217;d document it here for my own reference later on. First, download the kernel module RPM from the official linux-ntfs site. Install the RPM: su rpm -ivh kernel-module-ntfs* Then load the kernel module: /sbin/modprobe ntfs And that&#8217;s it. If you want to permanently mount an NTFS [...]]]></description>
			<content:encoded><![CDATA[<p>This is really not that difficult, but I thought I&#8217;d document it here for my own reference later on.  First, <a target="_blank" href="http://www.linux-ntfs.org/content/view/128/64/">download</a> the kernel module RPM from the official linux-ntfs site. Install the RPM:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">su</span>
rpm <span style="color: #660033;">-ivh</span> kernel-module-ntfs<span style="color: #000000; font-weight: bold;">*</span></pre></div></div>

<p>Then load the kernel module:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>modprobe ntfs</pre></div></div>

<p>And that&#8217;s it. If you want to permanently mount an NTFS partition at a certain directory, add a line to /etc/fstab:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda1    <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>username<span style="color: #000000; font-weight: bold;">/</span>mydir    ntfs    ro,<span style="color: #007800;"><span style="color: #7a0874; font-weight: bold;">umask</span></span>=0222    <span style="color: #000000;">0</span>    <span style="color: #000000;">0</span></pre></div></div>

<p>It&#8217;s best to mount NTFS partitions as read-only, since NTFS support in Linux is still incomplete, and we don&#8217;t want to risk damaging the partition.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdmitrybrant.com%2F2006%2F02%2F15%2Fgetting-ntfs-to-work-in-linux&amp;title=Getting%20NTFS%20to%20Work%20in%20Linux&amp;bodytext=This%20is%20really%20not%20that%20difficult%2C%20but%20I%20thought%20I%27d%20document%20it%20here%20for%20my%20own%20reference%20later%20on.%20%20First%2C%20download%20the%20kernel%20module%20RPM%20from%20the%20official%20linux-ntfs%20site.%20Install%20the%20RPM%3A%0D%0A%0D%0Asu%0D%0Arpm%20-ivh%20kernel-module-ntfs%2A%0D%0A%0D%0AThen%20load%20the%20kerne" title="Digg"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fdmitrybrant.com%2F2006%2F02%2F15%2Fgetting-ntfs-to-work-in-linux&amp;title=Getting%20NTFS%20to%20Work%20in%20Linux&amp;notes=This%20is%20really%20not%20that%20difficult%2C%20but%20I%20thought%20I%27d%20document%20it%20here%20for%20my%20own%20reference%20later%20on.%20%20First%2C%20download%20the%20kernel%20module%20RPM%20from%20the%20official%20linux-ntfs%20site.%20Install%20the%20RPM%3A%0D%0A%0D%0Asu%0D%0Arpm%20-ivh%20kernel-module-ntfs%2A%0D%0A%0D%0AThen%20load%20the%20kerne" title="del.icio.us"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdmitrybrant.com%2F2006%2F02%2F15%2Fgetting-ntfs-to-work-in-linux&amp;title=Getting%20NTFS%20to%20Work%20in%20Linux&amp;annotation=This%20is%20really%20not%20that%20difficult%2C%20but%20I%20thought%20I%27d%20document%20it%20here%20for%20my%20own%20reference%20later%20on.%20%20First%2C%20download%20the%20kernel%20module%20RPM%20from%20the%20official%20linux-ntfs%20site.%20Install%20the%20RPM%3A%0D%0A%0D%0Asu%0D%0Arpm%20-ivh%20kernel-module-ntfs%2A%0D%0A%0D%0AThen%20load%20the%20kerne" title="Google Bookmarks"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdmitrybrant.com%2F2006%2F02%2F15%2Fgetting-ntfs-to-work-in-linux&amp;t=Getting%20NTFS%20to%20Work%20in%20Linux" title="Facebook"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdmitrybrant.com%2F2006%2F02%2F15%2Fgetting-ntfs-to-work-in-linux&amp;title=Getting%20NTFS%20to%20Work%20in%20Linux" title="Mixx"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fdmitrybrant.com%2F2006%2F02%2F15%2Fgetting-ntfs-to-work-in-linux" title="Sphinn"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://dmitrybrant.com/2006/02/15/getting-ntfs-to-work-in-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open-Source Tools for Everything</title>
		<link>http://dmitrybrant.com/2006/02/13/open-source-tools-for-everything</link>
		<comments>http://dmitrybrant.com/2006/02/13/open-source-tools-for-everything#comments</comments>
		<pubDate>Tue, 14 Feb 2006 02:10:26 +0000</pubDate>
		<dc:creator>db</dc:creator>
				<category><![CDATA[Linux Notes]]></category>

		<guid isPermaLink="false">http://dmitrybrant.com/2006/02/13/open-source-tools-for-everything/</guid>
		<description><![CDATA[I thought I&#8217;d post a list of the best open-source utilities (at the present time) for performing various tasks. This isn&#8217;t necessarily a list of the &#8220;best&#8221; tools, but just tools that have worked the best for me. OpenOffice.org &#8211; Word processing, spreadsheet, presentations, etc. Firefox &#8211; Web browser. Xine and/or MPlayer &#8211; Play DVDs [...]]]></description>
			<content:encoded><![CDATA[<p>I thought I&#8217;d post a list of the best open-source utilities (at the present time) for performing various tasks.  This isn&#8217;t necessarily a list of the &#8220;best&#8221; tools, but just tools that have worked the best for me.</p>
<ul>
<li><a target="_blank" href="http://openoffice.org">OpenOffice.org</a> &#8211; Word processing, spreadsheet, presentations, etc.</li>
<li><a target="_blank" href="http://mozilla.org">Firefox</a> &#8211; Web browser.</li>
<li><a target="_blank" href="http://xinehq.de/">Xine</a> and/or <a target="_blank" href="http://www.mplayerhq.hu/">MPlayer</a> &#8211; Play DVDs and various video formats. (Linux only)</li>
<li><a target="_blank" href="http://www.videolan.org/">VideoLAN</a> &#8211; Play videos, DVDs, and streams.</li>
<li><a target="_blank" href="http://www.xmms.org/">XMMS</a> &#8211; Audio player (Linux only). Requires a special plugin to play <a href="http://stentz.freshrpms.net/rpm.html?id=856">MP3</a> and <a target="_blank" href="http://stentz.freshrpms.net/rpm.html?id=724">WMA</a> files.</li>
<li>The <a target="_blank" href="http://www.gimp.org/">GIMP</a> &#8211; Drawing and image processing</li>
<li>The <a target="_blank" href="http://www.getpaint.net/">Paint.NET</a> &#8211; Simple yet very powerful image editor.</li>
<li><a target="_blank" href="http://www.exit1.org/dvdrip/">dvd::rip</a> &#8211; DVD ripping and transcoding (Linux only)</li>
<li><a target="_blank" href="http://cdexos.sourceforge.net/">CDEx</a> &#8211; CD ripping (Windows only)</li>
<li><a target="_blank" href="http://audacity.sourceforge.net">Audacity</a> &#8211; Audio track recorder and editor</li>
<li><a target="_blank" href="http://www.virtualdub.org/">VirtualDub</a> &#8211; Video capture/processing utility</li>
<li><a target="_blank" href="http://filezilla.sourceforge.net/">FileZilla</a> &#8211; FTP client and server (Windows only)</li>
<li><a target="_blank" href="http://winmerge.sourceforge.net/">WinMerge</a> &#8211; File and directory compare (Windows only)</li>
<li><a target="_blank" href="http://www.7-zip.org/">7-Zip</a> &#8211; Archive utility (Windows only)</li>
<li><a target="_blank" href="http://sourceforge.net/projects/gaim">gaim</a> &#8211; Instant messaging client</li>
<li><a target="_blank" href="http://www.wireshark.org">Wireshark</a> &#8211; Ethernet packet analyzer (formerly Ethereal)</li>
<li><a target="_blank" href="http://www.metasploit.com">Metasploit</a> &#8211; Framework for testing exploits</li>
<li><a target="_blank" href="http://mh-nexus.de/hxd/">HxD</a> &#8211; Hex editor</li>
</ul>
<p>Miscellaneous open-source (or otherwise free) things that are nice to have:</p>
<ul>
<li><a target="_blank" href="http://bochs.sourceforge.net/">bochs</a> &#8211; PC architecture emulator</li>
<li><a target="_blank" href="http://dosbox.sourceforge.net/">DosBox</a> &#8211; DOS emulator</li>
<li><a target="_blank" href="http://www.zsnes.com/">zsnes</a> &#8211; Super NES emulator</li>
<li><a target="_blank" href="http://vba.ngemu.com/">VisualBoyAdvance</a> &#8211; Game Boy Advance emulator (Windows)</li>
<li><a target="_blank" href="http://basilisk.cebix.net/">Basilisk II</a> &#8211; 68k Mac emulator</li>
<li><a target="_blank" href="http://www.pj64.net/main/">Project64</a> &#8211; Nintendo 64 emulator (Windows)</li>
<li><a target="_blank" href="http://gnuboy.unix-fu.org/">gnuboy</a> &#8211; GameBoy emulator (Linux)</li>
<li><a target="_blank" href="http://www.epsxe.com">ePSXe</a> &#8211; Playstation (1) emulator</li>
</ul>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdmitrybrant.com%2F2006%2F02%2F13%2Fopen-source-tools-for-everything&amp;title=Open-Source%20Tools%20for%20Everything&amp;bodytext=I%20thought%20I%27d%20post%20a%20list%20of%20the%20best%20open-source%20utilities%20%28at%20the%20present%20time%29%20for%20performing%20various%20tasks.%20%20This%20isn%27t%20necessarily%20a%20list%20of%20the%20%22best%22%20tools%2C%20but%20just%20tools%20that%20have%20worked%20the%20best%20for%20me.%0D%0A%0D%0A%09OpenOffice.org%20-%20Word%20processing%2C" title="Digg"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fdmitrybrant.com%2F2006%2F02%2F13%2Fopen-source-tools-for-everything&amp;title=Open-Source%20Tools%20for%20Everything&amp;notes=I%20thought%20I%27d%20post%20a%20list%20of%20the%20best%20open-source%20utilities%20%28at%20the%20present%20time%29%20for%20performing%20various%20tasks.%20%20This%20isn%27t%20necessarily%20a%20list%20of%20the%20%22best%22%20tools%2C%20but%20just%20tools%20that%20have%20worked%20the%20best%20for%20me.%0D%0A%0D%0A%09OpenOffice.org%20-%20Word%20processing%2C" title="del.icio.us"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdmitrybrant.com%2F2006%2F02%2F13%2Fopen-source-tools-for-everything&amp;title=Open-Source%20Tools%20for%20Everything&amp;annotation=I%20thought%20I%27d%20post%20a%20list%20of%20the%20best%20open-source%20utilities%20%28at%20the%20present%20time%29%20for%20performing%20various%20tasks.%20%20This%20isn%27t%20necessarily%20a%20list%20of%20the%20%22best%22%20tools%2C%20but%20just%20tools%20that%20have%20worked%20the%20best%20for%20me.%0D%0A%0D%0A%09OpenOffice.org%20-%20Word%20processing%2C" title="Google Bookmarks"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdmitrybrant.com%2F2006%2F02%2F13%2Fopen-source-tools-for-everything&amp;t=Open-Source%20Tools%20for%20Everything" title="Facebook"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdmitrybrant.com%2F2006%2F02%2F13%2Fopen-source-tools-for-everything&amp;title=Open-Source%20Tools%20for%20Everything" title="Mixx"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fdmitrybrant.com%2F2006%2F02%2F13%2Fopen-source-tools-for-everything" title="Sphinn"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://dmitrybrant.com/2006/02/13/open-source-tools-for-everything/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Getting the Damn STB TV Tuner Working in RedHat 9</title>
		<link>http://dmitrybrant.com/2004/08/13/stb-tv-tuner</link>
		<comments>http://dmitrybrant.com/2004/08/13/stb-tv-tuner#comments</comments>
		<pubDate>Fri, 13 Aug 2004 18:23:02 +0000</pubDate>
		<dc:creator>db</dc:creator>
				<category><![CDATA[Linux Notes]]></category>

		<guid isPermaLink="false">http://dmitrybrant.com/?p=24</guid>
		<description><![CDATA[My computer came with a PCI TV tuner card from STB. The manufacturer provided drivers for Windows 98, but of course, shortly thereafter, the manufacturer disappeared from the face of the earth. Obtaining a suitable driver for Windows XP was nearly impossible until the recent development of open-source WDM drivers for all BT848-based tuner cards. [...]]]></description>
			<content:encoded><![CDATA[<p>My computer came with a PCI TV tuner card from STB. The manufacturer provided drivers for Windows 98, but of course, shortly thereafter, the manufacturer disappeared from the face of the earth. Obtaining a suitable driver for Windows XP was nearly impossible until the recent development of <a href="http://sourceforge.net/projects/btwincap/">open-source WDM drivers</a> for all BT848-based tuner cards. However, although getting the card to work under Linux was a bit tricky, it was not at all impossible. This is a brief log of the steps I took to get the damn thing to work under RedHat 9.</p>
<p>At first I tried to use <code>xawtv</code> just to see if I could get a picture. And in fact, it actually showed Channel 3, which got me excited. However, there was no sound, and I couldn&#8217;t change the channel. I knew that the configuration of <code>bttv</code> was somehow wrong. After poring over the BTTV HOWTO document, I came up with the following lines to add to <code>/etc/modules.conf</code>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># TV settings</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> char-major-<span style="color: #000000;">81</span> bttv
pre-install bttv <span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>modprobe <span style="color: #660033;">-k</span> tuner; <span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>modprobe <span style="color: #660033;">-k</span> msp3400
options bttv <span style="color: #007800;">radio</span>=<span style="color: #000000;">1</span> <span style="color: #007800;">card</span>=<span style="color: #000000;">3</span>
options tuner <span style="color: #007800;"><span style="color: #7a0874; font-weight: bold;">type</span></span>=<span style="color: #000000;">2</span></pre></div></div>

<p>The parameters specified above correctly identify the STB TV PCI card, and even enable FM radio functionality, which the card supports.</p>
<p>After a reboot, <code>xawtv</code> worked wonderfully. However, there was soon a new problem: I installed an updated accelerated video driver from NVIDIA, which made <code>xawtv</code> crash with a segmentation fault. After searching the web for answers, I found the following solution: simply start <code>xawtv</code> with the command line <code>xawtv -device /dev/video0</code>. That&#8217;s it!</p>
<p>One more minor issue was getting the program called <code>tvtime</code> to work. This program is vastly superior to <code>xawtv</code>, but it had a slight problem where it automatically turned up the tuner volume all the way, and let the user control the volume through the mixer. This wasn&#8217;t good because the STB card clips the audio if it&#8217;s above 50% volume, so it sounded really distorted and rectified. All I needed to do to fix this was find the line of code where <code>tvtime</code> sets the tuner volume, and change the default number. The number that it was setting the volume to was 60000 (presumably the maximum is 65535). So I changed it to 32000 and recompiled. It now runs marvelously.<br />
(<em>Update 10-24-04:  I submitted a bug report to tvtime, and the author added a preference to control the audio gain on the tuner card itself. Thanks!</em>)</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdmitrybrant.com%2F2004%2F08%2F13%2Fstb-tv-tuner&amp;title=Getting%20the%20Damn%20STB%20TV%20Tuner%20Working%20in%20RedHat%209&amp;bodytext=My%20computer%20came%20with%20a%20PCI%20TV%20tuner%20card%20from%20STB.%20The%20manufacturer%20provided%20drivers%20for%20Windows%2098%2C%20but%20of%20course%2C%20shortly%20thereafter%2C%20the%20manufacturer%20disappeared%20from%20the%20face%20of%20the%20earth.%20Obtaining%20a%20suitable%20driver%20for%20Windows%20XP%20was%20nearly%20im" title="Digg"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fdmitrybrant.com%2F2004%2F08%2F13%2Fstb-tv-tuner&amp;title=Getting%20the%20Damn%20STB%20TV%20Tuner%20Working%20in%20RedHat%209&amp;notes=My%20computer%20came%20with%20a%20PCI%20TV%20tuner%20card%20from%20STB.%20The%20manufacturer%20provided%20drivers%20for%20Windows%2098%2C%20but%20of%20course%2C%20shortly%20thereafter%2C%20the%20manufacturer%20disappeared%20from%20the%20face%20of%20the%20earth.%20Obtaining%20a%20suitable%20driver%20for%20Windows%20XP%20was%20nearly%20im" title="del.icio.us"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdmitrybrant.com%2F2004%2F08%2F13%2Fstb-tv-tuner&amp;title=Getting%20the%20Damn%20STB%20TV%20Tuner%20Working%20in%20RedHat%209&amp;annotation=My%20computer%20came%20with%20a%20PCI%20TV%20tuner%20card%20from%20STB.%20The%20manufacturer%20provided%20drivers%20for%20Windows%2098%2C%20but%20of%20course%2C%20shortly%20thereafter%2C%20the%20manufacturer%20disappeared%20from%20the%20face%20of%20the%20earth.%20Obtaining%20a%20suitable%20driver%20for%20Windows%20XP%20was%20nearly%20im" title="Google Bookmarks"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdmitrybrant.com%2F2004%2F08%2F13%2Fstb-tv-tuner&amp;t=Getting%20the%20Damn%20STB%20TV%20Tuner%20Working%20in%20RedHat%209" title="Facebook"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdmitrybrant.com%2F2004%2F08%2F13%2Fstb-tv-tuner&amp;title=Getting%20the%20Damn%20STB%20TV%20Tuner%20Working%20in%20RedHat%209" title="Mixx"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fdmitrybrant.com%2F2004%2F08%2F13%2Fstb-tv-tuner" title="Sphinn"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://dmitrybrant.com/2004/08/13/stb-tv-tuner/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting the Damn Aureal Sound Card Working in RedHat 9</title>
		<link>http://dmitrybrant.com/2004/03/12/aureal-sound-card</link>
		<comments>http://dmitrybrant.com/2004/03/12/aureal-sound-card#comments</comments>
		<pubDate>Fri, 12 Mar 2004 13:11:47 +0000</pubDate>
		<dc:creator>db</dc:creator>
				<category><![CDATA[Linux Notes]]></category>

		<guid isPermaLink="false">http://dmitrybrant.com/?p=23</guid>
		<description><![CDATA[This is a brief how-to on getting my Aureal-based sound card (Turtle Beach Montego) to work under RedHat Linux 9. I&#8217;m sure I&#8217;m not the only one who owns such a card, so this might be useful for someone in the future. RedHat did not recognize my sound card upon installation, so naturally I thought [...]]]></description>
			<content:encoded><![CDATA[<p>This is a brief how-to on getting my Aureal-based sound card (Turtle Beach Montego) to work under RedHat Linux 9. I&#8217;m sure I&#8217;m not the only one who owns such a card, so this might be useful for someone in the future.</p>
<p>RedHat did not recognize my sound card upon installation, so naturally I thought it wasn&#8217;t supported. This was until I stumbled upon a driver at <a href="http://sourceforge.net/projects/aureal">SourceForge</a> that purported to provide support for Aureal-based cards.</p>
<p>I downloaded the project&#8217;s distribution files, and tried to compile it&#8230; but the compiler couldn&#8217;t get past 10 lines of code before it choked. The source files were obviously written for an earlier version of the kernel.</p>
<p>However, all hope was not lost. I downloaded a CVS snapshot of the project (instead of the distribution), and tried to compile that. Miraculously, that only gave one or two errors. Then, all I did was comment out the two offending lines of code, and it compiled successfully. The output was a kernel module called <code>au8830.o</code>.</p>
<p>Installing it was a different issue altogether.</p>
<p>This driver uses a combination of open- and closed-source code. The closed-source portion that came with the driver was compiled with a much earlier version of <code>gcc</code>. Because of this, <code>insmod</code> would not allow me to load the module. It gave an error that the module needs to be compiled with <code>gcc</code> version greater than 3. Fortunately, <code>insmod</code> can be forced to load the module anyway by issuing the -f option.</p>
<p>With the -f option, <code>insmod</code> tried to load it, but reported a few unresolved externals. I realized that I needed to load the <code>soundcore</code> module first. After loading <code>soundcore</code>, I tried loading my module again, and what do you know? It loaded successfully!</p>
<p><code>/dev/dsp</code> was working like a charm, but sound in KDE (aRts?) wasn&#8217;t loading properly. I went into the KDE Control Center, into the Sound Server tab, and changed the server startup setting from &#8220;autodetect&#8221; to &#8220;Threaded OSS.&#8221; That seemed to do the trick, and it&#8217;s been working fine ever since.</p>
<p>To automate the process of loading the module at boot time, I edited my <code>/etc/modules.conf</code> file and added the following lines:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Sound configuration</span>
post-install sound-slot-<span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>aumix-minimal <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>.aumixrc <span style="color: #660033;">-L</span> <span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">||</span> :
pre-remove sound-slot-<span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>aumix-minimal <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>.aumixrc <span style="color: #660033;">-S</span> <span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">||</span> :
pre-install au8830 <span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>modprobe soundcore; <span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>insmod <span style="color: #660033;">-f</span> au8830
<span style="color: #7a0874; font-weight: bold;">alias</span> char-major-<span style="color: #000000;">14</span> sound
<span style="color: #7a0874; font-weight: bold;">alias</span> sound-slot-<span style="color: #000000;">0</span> sound
<span style="color: #7a0874; font-weight: bold;">alias</span> sound au8830
<span style="color: #7a0874; font-weight: bold;">alias</span> midi au8830</pre></div></div>

<p>This will ensure that the <code>au8830</code> module will be loaded after the <code>soundcore</code> module, and that the <code>au8830</code> module will be force-loaded with the -f option.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdmitrybrant.com%2F2004%2F03%2F12%2Faureal-sound-card&amp;title=Getting%20the%20Damn%20Aureal%20Sound%20Card%20Working%20in%20RedHat%209&amp;bodytext=This%20is%20a%20brief%20how-to%20on%20getting%20my%20Aureal-based%20sound%20card%20%28Turtle%20Beach%20Montego%29%20to%20work%20under%20RedHat%20Linux%209.%20I%27m%20sure%20I%27m%20not%20the%20only%20one%20who%20owns%20such%20a%20card%2C%20so%20this%20might%20be%20useful%20for%20someone%20in%20the%20future.%0D%0A%0D%0ARedHat%20did%20not%20recognize%20my%20so" title="Digg"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fdmitrybrant.com%2F2004%2F03%2F12%2Faureal-sound-card&amp;title=Getting%20the%20Damn%20Aureal%20Sound%20Card%20Working%20in%20RedHat%209&amp;notes=This%20is%20a%20brief%20how-to%20on%20getting%20my%20Aureal-based%20sound%20card%20%28Turtle%20Beach%20Montego%29%20to%20work%20under%20RedHat%20Linux%209.%20I%27m%20sure%20I%27m%20not%20the%20only%20one%20who%20owns%20such%20a%20card%2C%20so%20this%20might%20be%20useful%20for%20someone%20in%20the%20future.%0D%0A%0D%0ARedHat%20did%20not%20recognize%20my%20so" title="del.icio.us"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdmitrybrant.com%2F2004%2F03%2F12%2Faureal-sound-card&amp;title=Getting%20the%20Damn%20Aureal%20Sound%20Card%20Working%20in%20RedHat%209&amp;annotation=This%20is%20a%20brief%20how-to%20on%20getting%20my%20Aureal-based%20sound%20card%20%28Turtle%20Beach%20Montego%29%20to%20work%20under%20RedHat%20Linux%209.%20I%27m%20sure%20I%27m%20not%20the%20only%20one%20who%20owns%20such%20a%20card%2C%20so%20this%20might%20be%20useful%20for%20someone%20in%20the%20future.%0D%0A%0D%0ARedHat%20did%20not%20recognize%20my%20so" title="Google Bookmarks"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdmitrybrant.com%2F2004%2F03%2F12%2Faureal-sound-card&amp;t=Getting%20the%20Damn%20Aureal%20Sound%20Card%20Working%20in%20RedHat%209" title="Facebook"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdmitrybrant.com%2F2004%2F03%2F12%2Faureal-sound-card&amp;title=Getting%20the%20Damn%20Aureal%20Sound%20Card%20Working%20in%20RedHat%209" title="Mixx"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fdmitrybrant.com%2F2004%2F03%2F12%2Faureal-sound-card" title="Sphinn"><img src="http://dmitrybrant.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://dmitrybrant.com/2004/03/12/aureal-sound-card/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
