<?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>alan.lamielle.net &#187; Tech</title>
	<atom:link href="http://alan.lamielle.net/categories/tech/feed" rel="self" type="application/rss+xml" />
	<link>http://alan.lamielle.net</link>
	<description>Alan LaMielle</description>
	<lastBuildDate>Fri, 16 Sep 2011 16:50:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>VirtualBox Differencing Disks in OS X</title>
		<link>http://alan.lamielle.net/2010/05/10/virtualbox-differencing-disks-in-os-x</link>
		<comments>http://alan.lamielle.net/2010/05/10/virtualbox-differencing-disks-in-os-x#comments</comments>
		<pubDate>Mon, 10 May 2010 17:13:14 +0000</pubDate>
		<dc:creator>Alan LaMielle</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[autoreset]]></category>
		<category><![CDATA[immutable]]></category>
		<category><![CDATA[StackOverflow]]></category>
		<category><![CDATA[VBoxManage]]></category>
		<category><![CDATA[VDI]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://alan.lamielle.net/?p=682</guid>
		<description><![CDATA[Create an immutable VirtualBox disk with changes to that disk written to a differencing disk in OS X.  This is useful in the context of TimeMachine backups. After my recent switch to OS X, I fell in love with TimeMachine and the transparent backups it provides.  I even have it backing up to my Windows [...]]]></description>
			<content:encoded><![CDATA[<p>Create an immutable <a class="vt-p" href="http://www.virtualbox.org/">VirtualBox</a> disk with changes to that disk written to a differencing disk in OS X.  This is useful in the context of TimeMachine backups.</p>
<p><span id="more-682"></span></p>
<p>After my recent switch to <a class="vt-p" href="https://www.apple.com/macosx/">OS X</a>, I fell in love with <a class="vt-p" href="https://www.apple.com/macosx/what-is-macosx/time-machine.html">TimeMachine</a> and the transparent backups it provides.  I even have it backing up to my <a class="vt-p" href="https://www.microsoft.com/windows/windows-7/">Windows 7</a> file server wirelessly so I literally do nothing when I am at home to get seamless unattended backups (not even plugging in an external HDD).</p>
<p>The one issue I have found in this setup is that my <a class="vt-p" href="http://www.virtualbox.org/">VirtualBox</a> disks (<a class="vt-p" href="http://www.ubuntu.com/">Ubuntu</a> Linux and Windows 7) get copied completely after each backup.  This is less than ideal.  3.5GB per backup adds up very quickly!  Here I describe how I created a &#8216;base&#8217; (immutable) virtual box disk and let VirtualBox create an additional differencing disk on top of the base disk.  After this, TimeMachine is only copying very small chunks of data rather than the whole 3.5GB disk!</p>
<p>I found quite a few posts online related to this topic, including <a class="vt-p" href="http://forums.virtualbox.org/viewtopic.php?f=8&amp;t=28003">this</a> forum post, t<a class="vt-p" href="http://forums.virtualbox.org/viewtopic.php?f=1&amp;t=8046">his forum post/tutorial about VirtualBox VDIs</a>, <a class="vt-p" href="http://forums.virtualbox.org/viewtopic.php?f=1&amp;t=15951">this</a> forum post, and <a class="vt-p" href="http://serverfault.com/questions/91442/differencing-disks-in-virtualbox">this</a> StackOverflow topic.  Each of these contain good information.  However, <a class="vt-p" href="http://forums.virtualbox.org/viewtopic.php?f=1&amp;p=136497">this</a> forum post was pretty much exactly what I was looking for.</p>
<p>To summarize the process, we first must create the base VDI disk and mark it as immutable.  This forces VirtualBox to create a second differencing image of changes beyond the immutable base disk image.  The second step is to change the mode of the differencing disk, toggling autoreset from ON to OFF.  By default the differencing disk only applies for one run of the VM.  In otherwords, any changes across restarts will be lost.  Turning autoreset off fixes this.</p>
<p><strong>Here are the steps I&#8217;ve extracted from that discussion, including commands that need to be run:</strong></p>
<ol>
<li><strong>Create an immutable .VDI disk. </strong>
<ol>
<li>Detach the base VDI from the virtual machine in the VM settings.</li>
<li>Make the VDI immutable by running the following command:</li>
<pre>VBoxManage openmedium disk -type immutable DISK_FILE_NAME.vdi</pre>
<li>Reattach the now immutable VDI to the VM.</li>
</ol>
</li>
<li><strong>Tell VirtualBox to use a differencing disk explicitly.</strong> Click the check-box that says &#8216;Differencing Disk&#8217; in the VBox settings for the VDI that is immutable.  Note the GUID of the differencing disk that gets created.</li>
<li><strong>Disable autoreset for the differencing disk: </strong>
<ol>
<li>By default VBox will reset the state of the machine between restarts.</li>
<li>Disable this behavior by toggling the autoreset setting:</li>
<pre>VBoxManage modifyhd --autoreset off DIFFERENCING_DISK_GUID</pre>
</ol>
</li>
</ol>
<p>After running through these steps you should be able to start your VM, make some changes, and restart.  The changes on disk that you made should be persistent.  It would be nice if VBox would make this particular use case all GUI-based, but at least it&#8217;s possible.  Regardless, now TimeMachine only copies the differencing disk which is significantly smaller than the base disk image.  Please let me know if this works for you in the comments!</p>
<p><strong>Update (2010-5-10 21:47): </strong>If you make significant changes beyond the base disk image, it is possible for the differencing disk to grow beyond the size of the base image itself.  In this case, it may be worth it to collapse or merge the changes into the base disk image and start the differencing disk fresh.  To do this, you make a clone of the differencing disk image, use the clone as the new base, and use the process above to start fresh with a new differencing disk.  I used <a class="vt-p" href="http://forum.virtualbox.org/viewtopic.php?f=1&amp;t=23449">this</a> forum post as a basis for this process.  The clone command is:</p>
<pre>VBoxManage clonehd DIFFERENCING_DISK_GUID NewBaseDisk.vdi</pre>
]]></content:encoded>
			<wfw:commentRss>http://alan.lamielle.net/2010/05/10/virtualbox-differencing-disks-in-os-x/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Nexus One USB in Ubuntu 9.10</title>
		<link>http://alan.lamielle.net/2010/01/22/nexus-one-usb-in-ubuntu-9-10</link>
		<comments>http://alan.lamielle.net/2010/01/22/nexus-one-usb-in-ubuntu-9-10#comments</comments>
		<pubDate>Sat, 23 Jan 2010 04:55:14 +0000</pubDate>
		<dc:creator>Alan LaMielle</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[adb]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[droid]]></category>
		<category><![CDATA[droid eris]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[eris]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[N1]]></category>
		<category><![CDATA[nexus one]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[t-mobile]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[vendor id]]></category>
		<category><![CDATA[verizon]]></category>

		<guid isPermaLink="false">http://alan.lamielle.net/?p=623</guid>
		<description><![CDATA[My shiny new Google Nexus One wasn&#8217;t connecting properly over USB to my Ubuntu 9.10 (Karmic) notebook using the Android SDK.  Here&#8217;s how I fixed it. After a few days of debating whether or not to buy a Nexus One, I finally gave in a bought one.  Rachael ended up getting a Droid Eris (Verizon) [...]]]></description>
			<content:encoded><![CDATA[<p>My shiny new Google Nexus One wasn&#8217;t connecting properly over USB to my Ubuntu 9.10 (Karmic) notebook using the Android SDK.  Here&#8217;s how I fixed it.<br />
<span id="more-623"></span></p>
<p>After a few days of debating whether or not to buy a Nexus One, I finally gave in a bought one.  Rachael ended up getting a Droid Eris (Verizon) for Christmas, so in the course of a few weeks I gained access to two fantastic Android-powered phones.  I had been compiling a list of mobile application ideas and the fact that I now have the hardware to test on motivated me to start looking into Android development.</p>
<p>After getting the Android SDK setup I needed to connect my N1 and push an application to it for testing on real hardware.  I found some <a href="http://developer.android.com/guide/developing/device.html">Android documentation</a> that discussed connecting up an Android device over USB.  However, after following the steps on this page, I was still seeing strange output when running <code>adb devices</code>:<br />
<code>List of devices attached<br />
????????????    no permissions</code><br />
This led to some searching which turned up a <a href="http://dansyrstad.com/2010/01/09/getting-nexus-one-working-with-usb-on-ubuntu/">blog post</a>.  Basically, the Google Android team hasn&#8217;t added the Vendor ID for the Nexus One.  Apparently HTC&#8217;s USB Vendor ID isn&#8217;t correct.  So, I followed these steps to fix it:</p>
<ol>
<li>Create/edit a udev rules file:<br />
<code>sudo vim /etc/udev/rules.d/51-android.rules</code></li>
<li>Add the following line to this file:<br />
<code>SUBSYSTEM=="usb", SYSFS{idVendor}=="18D1", MODE="0666"</code><br />
(Note the vendor ID of 18D1.  This was changed from the HTC vendor code of 0BB4.)</li>
<li>Restart udev using either<br />
<code>sudo reload udev</code><br />
or<br />
<code> sudo service udev reload</code></li>
<li>Connect your Nexus One.</li>
<li>Run<br />
<code>adb devices</code><br />
and you should see something like<br />
<code>List of devices attached<br />
############    device</code></li>
</ol>
<p>Hopefully Google updates the documentation to include the Vendor ID 18D1 rather than making us hunt for this number ourselves.  Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://alan.lamielle.net/2010/01/22/nexus-one-usb-in-ubuntu-9-10/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>iPod Classic Compact Flash Upgrade</title>
		<link>http://alan.lamielle.net/2010/01/22/ipod-classic-compact-flash-upgrade</link>
		<comments>http://alan.lamielle.net/2010/01/22/ipod-classic-compact-flash-upgrade#comments</comments>
		<pubDate>Sat, 23 Jan 2010 04:53:15 +0000</pubDate>
		<dc:creator>Alan LaMielle</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[CF]]></category>
		<category><![CDATA[Compact Flash]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[iPod Classic]]></category>
		<category><![CDATA[Kingston]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[ZIF]]></category>

		<guid isPermaLink="false">http://alan.lamielle.net/?p=542</guid>
		<description><![CDATA[Updating an iPod Classic to use flash memory (a Compact Flash card specifically) rather than it&#8217;s typical hard drive can breathe new life into your dying device.  Check out the rest of this post for descriptions and details of the process. A few weeks ago a friend of mine gave me her dying iPod Classic.  [...]]]></description>
			<content:encoded><![CDATA[<p>Updating an iPod Classic to use flash memory (a Compact Flash card specifically) rather than it&#8217;s typical hard drive can breathe new life into your dying device.  Check out the rest of this post for descriptions and details of the process.</p>
<p><span id="more-542"></span>A few weeks ago a <a href="http://www.cs.colostate.edu/~ericson/">friend</a> of mine gave me her dying iPod Classic.  She noted that it had started acting erratic after being dropped one too many times.  The device would skip playing parts of songs and lock up periodically.  She noted that since I&#8217;m usually one to tinker with and hack on devices, she figured I might find a good use for it&#8211;more so than she had for it at least.  Well, I&#8217;ve definitely found a good use for it by swapping out the original hard drive for flash-based solution.  The device works (nearly) like new.  Here&#8217;s how I did it.</p>
<p>I started the process just looking for a replacement disk.  I found various sites that sold them, but they all ranged from $120+.  I wasn&#8217;t looking to put too much money into this project.  Also, I didn&#8217;t like the idea of having a moving-parts iPod anyway since the whole reason I obtained the device in the first place was because a non-solid-state disk had been dropped one too many times while in operation.  For these reasons, I began searching for a solid-sate solution that would allow me to revive my broken iPod.</p>
<p>Some searching yielded the <a href="http://www.tarkan.info/20080115/tutorials/iflash-ipod-compact-flash-mk2">site of an interesting adapter</a> that converts the ZIF interface of the original hard disk to one that accepts Compact Flash cards.  Additionally, the adapter was designed for exactly this purpose: converting a hard disk iPod to a solid-state device.  This was exactly what I was looking for!  After spending ~$25 on the adapter, and picking up a<a href="http://www.amazon.com/Kingston-CompactFlash-Memory-CF-32GB-S2/dp/B001ROVLX8/ref=cm_cr_pr_product_top"> 32GB Kingston CF</a> card from amazon for ~$80, I had located all the hardware I would need for the project.</p>
<p>Before ordering the adapter and CF card, I did want to make sure I could take the iPod apart without ruining it.  I found a few good tutorials, with the best being one at <a href="http://www.ifixit.com/Guide/Repair/iPod-Classic-Hard-Drive/564/1">iFixIt.com</a>.  Also, I discovered other posts about doing exactly what I wanted to do.  <a href="http://geektechnique.org/projectlab/767/put-flash-memory-into-almost-any-ipod">This</a> site is a bit more hardcore than I was looking for (he was hand soldering connections, but the upgrades are for much older generation iPods).  I used ideas for taking apart the iPod from <a href="http://kearney.typepad.com/sean_kearneys_blog/2008/11/ipod-classic-hard-drive-to-flash-drive-modification-project.html">this</a> post (rather than specialized tools, I used a razor blade and a few very small flat-head screw driver bits).  Using all of this, I successfully managed to take the iPod apart (without breaking anything!) and was confident I could use the hardware to complete the upgrade, so I placed the orders.</p>
<div id="attachment_543" class="wp-caption aligncenter" style="width: 310px"><a href="http://files.lamielle.net/wordpress/2009/11/IMG_7652.JPG" rel="shadowbox[sbpost-542];player=img;"><img class="size-medium wp-image-543 " title="iPod, dead hard drive, ZIF to CF adapter, and 32GB CF card" src="http://files.lamielle.net/wordpress/2009/11/IMG_7652-300x225.jpg" alt="iPod, dead hard drive, ZIF to CF adapter, and 32GB CF card" width="300" height="225" /></a><p class="wp-caption-text">iPod, dead hard drive, ZIF to CF adapter, and 32GB CF card</p></div>
<div id="attachment_545" class="wp-caption alignright" style="width: 235px"><a href="http://files.lamielle.net/wordpress/2009/11/IMG_7655.JPG" rel="shadowbox[sbpost-542];player=img;"><img class="size-medium wp-image-545 " title="Dead (dying) hard drive" src="http://files.lamielle.net/wordpress/2009/11/IMG_7655-225x300.jpg" alt="Dead (dying) hard drive" width="225" height="300" /></a><p class="wp-caption-text">Dead (dying) hard drive</p></div>
<div id="attachment_544" class="wp-caption alignright" style="width: 235px"><a href="http://files.lamielle.net/wordpress/2009/11/IMG_7654.JPG" rel="shadowbox[sbpost-542];player=img;"><img class="size-medium wp-image-544 " title="iPod Classic" src="http://files.lamielle.net/wordpress/2009/11/IMG_7654-225x300.jpg" alt="iPod Classic" width="225" height="300" /></a><p class="wp-caption-text">iPod Classic</p></div>
<div id="attachment_547" class="wp-caption alignright" style="width: 235px"><a href="http://files.lamielle.net/wordpress/2009/11/IMG_7659.JPG" rel="shadowbox[sbpost-542];player=img;"><img class="size-medium wp-image-547 " title="ZIF to CF adapter made by Tarkan Akdam (2)" src="http://files.lamielle.net/wordpress/2009/11/IMG_7659-225x300.jpg" alt="ZIF to CF adapter made by Tarkan Akdam (2)" width="225" height="300" /></a><p class="wp-caption-text">ZIF to CF adapter made by Tarkan Akdam (2)</p></div>
<div id="attachment_546" class="wp-caption alignright" style="width: 235px"><a href="http://files.lamielle.net/wordpress/2009/11/IMG_7656.JPG" rel="shadowbox[sbpost-542];player=img;"><img class="size-medium wp-image-546 " title="ZIF to CF adapter made by Tarkan Akdam (1)" src="http://files.lamielle.net/wordpress/2009/11/IMG_7656-225x300.jpg" alt="ZIF to CF adapter made by Tarkan Akdam" width="225" height="300" /></a><p class="wp-caption-text">ZIF to CF adapter made by Tarkan Akdam (1)</p></div>
<p>Once both the adapter and CF card had arrived, actually doing the upgrade was pretty simple.  The trickiest part of the process was actually taking apart the iPod.  The very small ribbon cables are probably the most delicate parts and getting the out of their respective connectors and putting them back in required a little patience and gentle-handedness.</p>
<p>Once I had inserted the CF card into the ZIF to CF adapter, I placed the adapter into the iPod housing, hooked up the various ribbon cables, and snapped the two halves of the case back together.  I connected the device up to iTunes and, after reformatting the new ~30GB volume, I had a working solid state iPod Classic!</p>
<p>After loading up the iPod with music and playing with it for a few weeks, I only have a few complaints.  First, the device still locks up periodically when I&#8217;m using it.  This is mostly when I first start playing a new set of songs.  I suspect that this is due to the slower CF card that I picked up.  Second, the CF card is only 32GB, so I can&#8217;t fit all of my music on it.  However, I think in time CF card prices will come down and I&#8217;ll be able to swap the current card out with a 64GB or 128GB card.  Other than these two complaints, I&#8217;m very happy with this hack.  I ended up with a 32GB flash-based iPod classic for ~$100.  Check out the full set of pictures below.</p>

<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7652.JPG' rel='shadowbox[sbalbum-542];player=img;' title='iPod, dead hard drive, ZIF to CF adapter, and 32GB CF card'><img width="150" height="112" src="http://files.lamielle.net/wordpress/2009/11/IMG_7652-150x112.jpg" class="attachment-thumbnail" alt="iPod, dead hard drive, ZIF to CF adapter, and 32GB CF card" title="iPod, dead hard drive, ZIF to CF adapter, and 32GB CF card" /></a>
<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7654.JPG' rel='shadowbox[sbalbum-542];player=img;' title='iPod Classic'><img width="112" height="150" src="http://files.lamielle.net/wordpress/2009/11/IMG_7654-112x150.jpg" class="attachment-thumbnail" alt="iPod Classic" title="iPod Classic" /></a>
<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7655.JPG' rel='shadowbox[sbalbum-542];player=img;' title='Dead (dying) hard drive'><img width="112" height="150" src="http://files.lamielle.net/wordpress/2009/11/IMG_7655-112x150.jpg" class="attachment-thumbnail" alt="Dead (dying) hard drive" title="Dead (dying) hard drive" /></a>
<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7656.JPG' rel='shadowbox[sbalbum-542];player=img;' title='ZIF to CF adapter made by Tarkan Akdam (1)'><img width="112" height="150" src="http://files.lamielle.net/wordpress/2009/11/IMG_7656-112x150.jpg" class="attachment-thumbnail" alt="ZIF to CF adapter made by Tarkan Akdam (1)" title="ZIF to CF adapter made by Tarkan Akdam (1)" /></a>
<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7659.JPG' rel='shadowbox[sbalbum-542];player=img;' title='ZIF to CF adapter made by Tarkan Akdam (2)'><img width="112" height="150" src="http://files.lamielle.net/wordpress/2009/11/IMG_7659-112x150.jpg" class="attachment-thumbnail" alt="ZIF to CF adapter made by Tarkan Akdam (2)" title="ZIF to CF adapter made by Tarkan Akdam (2)" /></a>
<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7660.JPG' rel='shadowbox[sbalbum-542];player=img;' title='32 GB CF Kingston card'><img width="112" height="150" src="http://files.lamielle.net/wordpress/2009/11/IMG_7660-112x150.jpg" class="attachment-thumbnail" alt="32 GB CF Kingston card" title="32 GB CF Kingston card" /></a>
<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7661.JPG' rel='shadowbox[sbalbum-542];player=img;' title='ZIF to CF adapter with CF card inserted'><img width="112" height="150" src="http://files.lamielle.net/wordpress/2009/11/IMG_7661-112x150.jpg" class="attachment-thumbnail" alt="ZIF to CF adapter with CF card inserted" title="ZIF to CF adapter with CF card inserted" /></a>
<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7662.JPG' rel='shadowbox[sbalbum-542];player=img;' title='Top half of iPod case'><img width="112" height="150" src="http://files.lamielle.net/wordpress/2009/11/IMG_7662-112x150.jpg" class="attachment-thumbnail" alt="Top half of iPod case" title="Top half of iPod case" /></a>
<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7665.JPG' rel='shadowbox[sbalbum-542];player=img;' title='Bottom half of iPod case'><img width="112" height="150" src="http://files.lamielle.net/wordpress/2009/11/IMG_7665-112x150.jpg" class="attachment-thumbnail" alt="Bottom half of iPod case" title="Bottom half of iPod case" /></a>
<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7666.JPG' rel='shadowbox[sbalbum-542];player=img;' title='Bottom half of iPod case'><img width="112" height="150" src="http://files.lamielle.net/wordpress/2009/11/IMG_7666-112x150.jpg" class="attachment-thumbnail" alt="Bottom half of iPod case" title="Bottom half of iPod case" /></a>
<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7667.JPG' rel='shadowbox[sbalbum-542];player=img;' title='Top half of iPod case'><img width="112" height="150" src="http://files.lamielle.net/wordpress/2009/11/IMG_7667-112x150.jpg" class="attachment-thumbnail" alt="Top half of iPod case" title="Top half of iPod case" /></a>
<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7668.JPG' rel='shadowbox[sbalbum-542];player=img;' title='One of the ribbon cable connectors (close up)'><img width="150" height="112" src="http://files.lamielle.net/wordpress/2009/11/IMG_7668-150x112.jpg" class="attachment-thumbnail" alt="One of the ribbon cable connectors (close up)" title="One of the ribbon cable connectors (close up)" /></a>
<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7669.JPG' rel='shadowbox[sbalbum-542];player=img;' title='Bottom of ZIF to CF adapter (ribbon cable connector)'><img width="150" height="112" src="http://files.lamielle.net/wordpress/2009/11/IMG_7669-150x112.jpg" class="attachment-thumbnail" alt="Bottom of ZIF to CF adapter (ribbon cable connector)" title="Bottom of ZIF to CF adapter (ribbon cable connector)" /></a>
<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7670.JPG' rel='shadowbox[sbalbum-542];player=img;' title='Adapter with CF card inserted into iPod case'><img width="112" height="150" src="http://files.lamielle.net/wordpress/2009/11/IMG_7670-112x150.jpg" class="attachment-thumbnail" alt="Adapter with CF card inserted into iPod case" title="Adapter with CF card inserted into iPod case" /></a>
<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7671.JPG' rel='shadowbox[sbalbum-542];player=img;' title='Adapter with CF card inserted into iPod case'><img width="112" height="150" src="http://files.lamielle.net/wordpress/2009/11/IMG_7671-112x150.jpg" class="attachment-thumbnail" alt="Adapter with CF card inserted into iPod case" title="Adapter with CF card inserted into iPod case" /></a>
<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7672.JPG' rel='shadowbox[sbalbum-542];player=img;' title='iPod on first boot after upgrade'><img width="112" height="150" src="http://files.lamielle.net/wordpress/2009/11/IMG_7672-112x150.jpg" class="attachment-thumbnail" alt="iPod on first boot after upgrade" title="iPod on first boot after upgrade" /></a>
<a href='http://files.lamielle.net/wordpress/2009/11/IMG_7674.JPG' rel='shadowbox[sbalbum-542];player=img;' title='iPod after iTunes format'><img width="112" height="150" src="http://files.lamielle.net/wordpress/2009/11/IMG_7674-112x150.jpg" class="attachment-thumbnail" alt="iPod after iTunes format" title="iPod after iTunes format" /></a>

]]></content:encoded>
			<wfw:commentRss>http://alan.lamielle.net/2010/01/22/ipod-classic-compact-flash-upgrade/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Thinkpad Trackpoint Scrolling in Ubuntu Karmic Koala</title>
		<link>http://alan.lamielle.net/2009/10/07/thinkpad-trackpoint-scrolling-in-ubuntu-karmic-koala</link>
		<comments>http://alan.lamielle.net/2009/10/07/thinkpad-trackpoint-scrolling-in-ubuntu-karmic-koala#comments</comments>
		<pubDate>Wed, 07 Oct 2009 12:52:56 +0000</pubDate>
		<dc:creator>Alan LaMielle</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[fdi]]></category>
		<category><![CDATA[gdm]]></category>
		<category><![CDATA[hal]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[karmic koala]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[policy]]></category>
		<category><![CDATA[scroll]]></category>
		<category><![CDATA[scrolling]]></category>
		<category><![CDATA[thinkpad]]></category>
		<category><![CDATA[trackpoint]]></category>

		<guid isPermaLink="false">http://alan.lamielle.net/?p=529</guid>
		<description><![CDATA[Scrolling using the Thinkpad Trackpoint (middle click/hold + mouse nub) is still not fixed by default in Ubuntu 9.10 (Karmic Koala).  Here&#8217;s how I fixed it. Following the instructions on this site, I created a new file (/etc/hal/fdi/policy/mouse-wheel.fdi) as root that contains: &#60;match key="info.product" string="TPPS/2 IBM TrackPoint"&#62; &#60;merge key="input.x11_options.EmulateWheel" type="string"&#62;true&#60;/merge&#62; &#60;merge key="input.x11_options.EmulateWheelButton" type="string"&#62;2&#60;/merge&#62; &#60;merge key="input.x11_options.XAxisMapping" [...]]]></description>
			<content:encoded><![CDATA[<p>Scrolling using the Thinkpad Trackpoint (middle click/hold + mouse nub) is still not fixed by default in Ubuntu 9.10 (Karmic Koala).  Here&#8217;s how I fixed it.</p>
<p><span id="more-529"></span>Following the instructions on <a href="http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html">this</a> site, I created a new file (<code>/etc/hal/fdi/policy/mouse-wheel.fdi</code>) as root that contains:</p>
<p><code>&lt;match key="info.product" string="TPPS/2 IBM TrackPoint"&gt;<br />
&lt;merge key="input.x11_options.EmulateWheel" type="string"&gt;true&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.EmulateWheelButton" type="string"&gt;2&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.XAxisMapping" type="string"&gt;6 7&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.YAxisMapping" type="string"&gt;4 5&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.ZAxisMapping" type="string"&gt;4 5&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.Emulate3Buttons" type="string"&gt;true&lt;/merge&gt;<br />
&lt;/match&gt;</code></p>
<p>If you don&#8217;t want to restart, you can log out and restart the gdm and hal services.  However, I simply restarted and scrolling worked upon logging in!</p>
<p>The document <a href="http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/">here</a> is apparently the original source of this information.  I&#8217;m mostly posting this for myself for future reference (and in case either of the afore mentioned pages go down).</p>
]]></content:encoded>
			<wfw:commentRss>http://alan.lamielle.net/2009/10/07/thinkpad-trackpoint-scrolling-in-ubuntu-karmic-koala/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Using waf to build LaTeX Documents</title>
		<link>http://alan.lamielle.net/2009/09/29/using-waf-to-build-latex-documents</link>
		<comments>http://alan.lamielle.net/2009/09/29/using-waf-to-build-latex-documents#comments</comments>
		<pubDate>Tue, 29 Sep 2009 19:47:44 +0000</pubDate>
		<dc:creator>Alan LaMielle</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[build system]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[makefile]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[tex]]></category>
		<category><![CDATA[waf]]></category>

		<guid isPermaLink="false">http://alan.lamielle.net/?p=508</guid>
		<description><![CDATA[I&#8217;ve finally made the migration away from make and the horrible system of autofoo and Makefiles.  A few years ago I discovered a build system called waf that does everything make can do, only better! Waf is a Python based build system (or more generally a task execution system).  Directly from the site: Waf is a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally made the migration away from <code>make</code> and the horrible system of <code>autofoo</code> and <code>Makefiles</code>.  A few years ago I discovered a build system called <code>waf</code> that does everything <code>make</code> can do, only better!</p>
<p><span id="more-508"></span></p>
<p><a href="http://code.google.com/p/waf/">Waf</a> is a Python based build system (or more generally a task execution system).  Directly from the site:</p>
<blockquote><p>Waf is a Python-based framework for configuring, compiling and installing applications. It derives from the concepts of other build tools such as Scons, Autotools, CMake or Ant.</p></blockquote>
<p>Just like <code>make</code>, <code>waf</code> is a quasi-declarative build system.  You define the tasks and results you require, and <code>waf</code> determines dependences and executes the tasks (in a valid order) necessary to produce the desired output.  However, <code>waf</code> differs from <code>make</code> in that <strong>waf actually uses a real programming language</strong> for declaring tasks and developing the build system (in case it wasn&#8217;t obvious, the language I&#8217;m referring to is Python).  This single fact alone is enough for me to want to move away from <code>make</code> completely.  However, <code>waf</code> also offers a whole slew of other extremely nice features that make it very powerful.  See the project site for more details.</p>
<p>Until now I&#8217;ve been using <code>make</code> to build my <code>LaTeX</code> documents.  However, I&#8217;ve finally taken the time to discover how to do this with <code>waf</code>.  The following script (really just two functions), named <code>wscript</code> in the directory with the <code>LaTeX</code> source, is the result:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="python" style="font-family:monospace;">srcdir=<span style="color: #483d8b;">'.'</span>
blddir=<span style="color: #483d8b;">'build'</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">def</span> configure<span style="color: black;">&#40;</span>conf<span style="color: black;">&#41;</span>:
   conf.<span style="color: black;">check_tool</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'tex'</span><span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">def</span> build<span style="color: black;">&#40;</span>bld<span style="color: black;">&#41;</span>:
   obj=bld.<span style="color: black;">new_task_gen</span><span style="color: black;">&#40;</span>features=<span style="color: #483d8b;">'tex'</span><span style="color: black;">&#41;</span>
   obj.<span style="color: black;">source</span>=<span style="color: #483d8b;">'source_tex_file.tex'</span>
   bld.<span style="color: black;">install_files</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'${PREFIX}'</span>,<span style="color: #483d8b;">'output_pdf_file.pdf'</span><span style="color: black;">&#41;</span></pre></td></tr></table></div>

<p>The first two lines define the source directory (the current directory is denoted by the &#8216;.&#8217;) and the name of the build directory (where all the temporary files will be stored).  The <code>configure</code> function simply tells <code>waf</code>, using the <code>check_tool</code> call, to ensure that the tools necessary for building <code>LaTeX</code> documents are present on the system.  The <code>build</code> function defines that we want to create a PDF document from the file <code>source_tex_file.tex</code> using the <code>tex</code> <code>waf</code> tool.  And that&#8217;s it&#8230; seriously.</p>
<p>My workflow with this setup is basically edit <code>LaTeX</code> file, call <code>./waf build install</code>, check the output PDF, repeat.  Easy as pie.</p>
<p>So, if you&#8217;re looking for a fabulous alternative to <code>make</code>, check out <code>waf</code>, I&#8217;m sure you&#8217;ll be impressed.</p>
]]></content:encoded>
			<wfw:commentRss>http://alan.lamielle.net/2009/09/29/using-waf-to-build-latex-documents/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Evince Document Viewer Menu Entry</title>
		<link>http://alan.lamielle.net/2009/09/23/evince-document-viewer-menu-entry</link>
		<comments>http://alan.lamielle.net/2009/09/23/evince-document-viewer-menu-entry#comments</comments>
		<pubDate>Wed, 23 Sep 2009 15:20:53 +0000</pubDate>
		<dc:creator>Alan LaMielle</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[.desktop]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[evince]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gnome-do]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[NoDisplay]]></category>

		<guid isPermaLink="false">http://alan.lamielle.net/?p=479</guid>
		<description><![CDATA[I has always bothered me that Gnome&#8217;s document viewer, evince, doesn&#8217;t show up in the Gnome menus or in Gnome-Do when I type evince.  I did a bit of searching and discovered that this is because the evince .desktop files have the property NoDisplay=true in them. Apparently this tells Gnome to ignore this application for [...]]]></description>
			<content:encoded><![CDATA[<p>I has always bothered me that Gnome&#8217;s document viewer, evince, doesn&#8217;t show up in the Gnome menus or in Gnome-Do when I type evince.  I did a bit of searching and discovered that this is because the evince .desktop files have the property <code>NoDisplay=true</code> in them.  Apparently this tells Gnome to ignore this application for display purposes (in menus, dialogs, gnome-do, etc.).  I changed this property to <code>false</code> and am waiting for whatever .desktop cache there is to update.  I&#8217;ll update this post if this actually worked for me.  I hope it does, being able to launch evince with one command in Gnome-Do would be wonderful.</p>
<p>I found <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427576">this</a> bug and <a href="http://lists.debian.org/debian-devel/2007/01/msg00448.html">this</a> discussion of why <code>NoDisplay</code> is set to <code>true</code>.</p>
<p>Update (2009-9-27 19:13): After waiting for a while to see if evince would ever show up in the menus/gnome-do, it appears that this &#8216;fix&#8217; doesn&#8217;t work.  I&#8217;m not willing to put more time into this, so my current work-around is to open a directory with the pdf of interest and open the file that way.  Not my preferred workflow, but it gets the job done.</p>
<p>Update (2009-10-7 08:46): A commenter suggested removing the <code>NoDisplay</code> line altogether.  I&#8217;ve commented these lines out in the files <code>/usr/share/applications/evince.desktop</code> and <code>/usr/share/app-install/desktop/evince.desktop</code>.  I&#8217;ll leave it like that and see if an entry for Evince shows up anwhere.  I&#8217;ve actually gotten into the habbit of opening a directory in Nautilus and opening the document in question from there.  If this works though, I&#8217;ll have multiple ways of doing what I want.</p>
<p>Update (2009-10-10 07:34): Removing the lines didn&#8217;t help.  Looks like I&#8217;ll just continue using the &#8216;Open in Nautilus&#8217; method.</p>
]]></content:encoded>
			<wfw:commentRss>http://alan.lamielle.net/2009/09/23/evince-document-viewer-menu-entry/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Windows 7 Media Center Decoder Utility</title>
		<link>http://alan.lamielle.net/2009/09/15/windows-7-media-center-decoder-utility</link>
		<comments>http://alan.lamielle.net/2009/09/15/windows-7-media-center-decoder-utility#comments</comments>
		<pubDate>Tue, 15 Sep 2009 14:48:18 +0000</pubDate>
		<dc:creator>Alan LaMielle</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[codec]]></category>
		<category><![CDATA[decoder]]></category>
		<category><![CDATA[htpc]]></category>
		<category><![CDATA[mcdu]]></category>
		<category><![CDATA[movie]]></category>
		<category><![CDATA[movies]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[pictures]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[shark007]]></category>
		<category><![CDATA[videos]]></category>
		<category><![CDATA[w7mc]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[windows 7 media center]]></category>
		<category><![CDATA[windows media center]]></category>

		<guid isPermaLink="false">http://alan.lamielle.net/?p=462</guid>
		<description><![CDATA[I&#8217;m finally happy with my HTPC project.  I&#8217;ve got all my movies, videos, pictures, and music on the 1.5TB hardware RAID5 that I setup (3x 750gb WD Caviar Blacks).  I can watch, record, and timeshift TV.  It&#8217;s working great!  I&#8217;m actually quite happy with Windows 7 (surprisingly).  Only a few problems remain&#8230; The (hopefully) last [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m finally happy with my HTPC project.  I&#8217;ve got all my movies, videos, pictures, and music on the 1.5TB hardware RAID5 that I setup (3x 750gb WD Caviar Blacks).  I can watch, record, and timeshift TV.  It&#8217;s working great!  I&#8217;m actually quite happy with Windows 7 (surprisingly).  Only a few problems remain&#8230;</p>
<p><span id="more-462"></span>The (hopefully) last major remaining problem I managed to solve last night.  I&#8217;ve been watching the 5th season of Lost (after getting it playing using <a href="http://shark007.net/">Shark007&#8242;s Codec Pack</a>).  These were 720p HD H264 mkvs and played fine.  However, another set of videos encoded with Xvid and refused to play in Media Center but would play in Media Player.</p>
<p>Media Center&#8217;s error was: Cannot Play Video: Windows Media Center cannot open the file.  Wow, such a descriptive error message.</p>
<p>I tried searching for logs to see if I could get more information about the error, but had no luck with this.</p>
<p>I tried all sorts of configuration utilities but nothing seemed to work.</p>
<p>I finally stumbled upon an <a href="http://www.hack7mc.com/2009/04/media-center-decoder-utility-mcdu-finally-comes-to-windows-7.html">article</a> on the <a href="http://www.hack7mc.com">Hack Windows 7 Media Center</a> site that talks about the <a href="http://thedigitallifestyle.com/cs/blogs/garry/archive/2009/04/14/announcing-mcdu-the-media-center-decoder-utility-replaces-vmcd.aspx">Media Center Decoder Utility (MCDU)</a>.  This tool lets one select the default audio and video decoders.  When I ran it, there was apparently no default audio decoder selected.  I selected &#8216;Microsoft DTV-DVD&#8217; as the default for for both audio and video.  After clicking &#8216;Set Defaults&#8217; and restarting Media Center,</p>
<p>Note: I had previously followed another Hack7MC article that had me &#8216;Take Ownership&#8217; of the file <code>C:\Windows\system32\MP3DMOD.dll</code> and append <code>.bak</code> to the file name.  I had to rename this file back before using MCDU.  Apparently MCDU is actually a nice GUI front end for renaming this file and setting some registry values that correspond to the defaults for the audio and video decoders.</p>
<p>So check out MCDU if you are having decoder problems, it might just fix your problems!</p>
<p>My last remaining issue is with audio, specifically with mute.  It works with my remote as expected initially, but after some unknown event, the mute button refuses to have any effect.  If you&#8217;ve managed to fix this, please let me know how!</p>
]]></content:encoded>
			<wfw:commentRss>http://alan.lamielle.net/2009/09/15/windows-7-media-center-decoder-utility/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows 7 Nonpaged Pool Srv Error 2017</title>
		<link>http://alan.lamielle.net/2009/09/03/windows-7-nonpaged-pool-srv-error-2017</link>
		<comments>http://alan.lamielle.net/2009/09/03/windows-7-nonpaged-pool-srv-error-2017#comments</comments>
		<pubDate>Thu, 03 Sep 2009 15:57:30 +0000</pubDate>
		<dc:creator>Alan LaMielle</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[cifs]]></category>
		<category><![CDATA[event id 2017]]></category>
		<category><![CDATA[file server]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[media center]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[mount error]]></category>
		<category><![CDATA[nonpaged pool]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[smb]]></category>
		<category><![CDATA[srv]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[windows 7 media center]]></category>

		<guid isPermaLink="false">http://alan.lamielle.net/?p=444</guid>
		<description><![CDATA[I&#8217;m using my Windows 7 machine as a file server in addition to it being my Media Center. I&#8217;m mounting a Samba (smb) share using CIFS from my Linux server so I can synchronize files using rsync.  However, I ran into a problem after using the mounted share for a small amount of time.  I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using my Windows 7 machine as a file server in addition to it being my Media Center. I&#8217;m mounting a Samba (smb) share using CIFS from my Linux server so I can synchronize files using rsync.  However, I ran into a problem after using the mounted share for a small amount of time.  I found a simple solution after a bit of research.<br />
<span id="more-444"></span><br />
After running rsync for a short amount of time, I discovered that I was getting memory allocation errors related to the Windows share.  After unmounting, I attempted to remount the share and received the error:</p>
<p><code>mount error(12): Cannot allocate memory<br />
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)</code></p>
<p>After checking the Event Viewer System log, I found the following error:</p>
<p><code>Source: srv<br />
Event ID: 2017<br />
Level: Error<br />
The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.</code></p>
<p>Some research led me to find this <a class="vt-p" href="http://groups.google.com/group/microsoft.public.windows.vista.networking_sharing/browse_thread/thread/345de3116d959664/ea091e5eb4a647ba?lnk=raot">Google Groups discussion</a> about the problem and this <a class="vt-p" href="http://technet.microsoft.com/en-us/sysinternals/bb897446.aspx">Microsoft Technet article</a> discussing the solution (look at the bottom of the page).  Apparently you need to tell Windows that you want to use the machine as a file server and that it should allocate resources accordingly.  Set the following registry key to &#8217;1&#8242;:</p>
<p><code>HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache</code></p>
<p>and set the following registry key to &#8217;3&#8242;:</p>
<p><code>HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size</code></p>
<p>After making these changes and restarting, I haven&#8217;t seen this issue arise again.  Fixed!</p>
<p><strong>Update </strong>(2011/9/16): I had no idea this fix would end up being so popular when I wrote it up.  It is easily the most visited page on this site.  The original Technet article seems to be gone now, but a commenter has pointed me to a text file that contains the same content.  Here is the link: <a class="vt-p" href="http://www.decuslib.com/decus/vmslt99a/nt/tips.txt">http://www.decuslib.com/decus/vmslt99a/nt/tips.txt</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alan.lamielle.net/2009/09/03/windows-7-nonpaged-pool-srv-error-2017/feed</wfw:commentRss>
		<slash:comments>144</slash:comments>
		</item>
		<item>
		<title>Filtering Windows 7 Media Center Audio Through AC3Filter</title>
		<link>http://alan.lamielle.net/2009/09/01/filtering-windows-7-media-center-audio-through-ac3filter</link>
		<comments>http://alan.lamielle.net/2009/09/01/filtering-windows-7-media-center-audio-through-ac3filter#comments</comments>
		<pubDate>Tue, 01 Sep 2009 15:13:49 +0000</pubDate>
		<dc:creator>Alan LaMielle</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[ac3filter]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[spdif]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[windows 7 media center]]></category>
		<category><![CDATA[windows 7 media center hacks]]></category>
		<category><![CDATA[windows media center]]></category>

		<guid isPermaLink="false">http://alan.lamielle.net/?p=429</guid>
		<description><![CDATA[I recently upgraded to Windows 7, mainly for the upgrades to Windows Media Center.  One problem I discovered was with digital audio from HD channels and DVDs/Blu-Ray discs.  I wasn&#8217;t able to control the volume using the media center volume (system volume).  I could only adjust the volume on my stereo.  I found an article [...]]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded to Windows 7, mainly for the upgrades to Windows Media Center.  One problem I discovered was with digital audio from HD channels and DVDs/Blu-Ray discs.  I wasn&#8217;t able to control the volume using the media center volume (system volume).  I could only adjust the volume on my stereo.  I found an article on the <a href="http://www.hack7mc.com/">Hack Windows 7 Media Center</a> site that discusses how to pipe all audio through <a href="http://ac3filter.net/">AC3Filter</a> to enable adjusting gain and using an equalizer before the audio is output from the machine.<br />
<span id="more-429"></span><br />
The two main steps are to first setup media center to <a href="http://www.hack7mc.com/2009/02/using-ac3filter-in-media-center.html">use AC3Filter</a> then <a href="http://www.hack7mc.com/2009/02/control-spdif-volume-with-ac3filter.html">configure AC3Filter</a> as you like.</p>
<p>More detailed steps are as follows:</p>
<ol>
<li>Install <a href="http://ac3filter.net/">AC3Filter</a></li>
<li>Install the <a href="http://www.hack7mc.com/wp-content/plugins/download-monitor/download.php?id=14">&#8216;Take Ownership&#8217; </a>registry hack</li>
<li>Take ownership of &#8216;C:\Windows\system32\MP3DMOD.dll&#8217; (right click -&gt; Take Ownership)</li>
<li>Rename &#8216;C:\Windows\system32\MP3DMOD.dll&#8217; to &#8216;C:\Windows\system32\MP3DMOD.dll.bak&#8217;</li>
<li>Get the CLSID of AC3Filter using <a href="http://sites.google.com/site/hack7mc/downloads/FilterManager.zip?attredirects=0">Radlight’s Filter Manager</a>.</li>
<li>Set the registry key &#8216;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\ CurrentVersion\MediaCenter\Decoder\PreferredMPEG2AudioDecoderCLSID&#8217; to the CLSID from the previous step.</li>
</ol>
<p>A restart may be required here.  After doing this, all audio for media center should be piped through AC3Filter.  Now one can adjust the settings in AC3Filter to adjust gain, surround settings, equalizer settings, etc.</p>
<p>I&#8217;m now able to control all my audio using the system volume rather than my stereo&#8217;s volume.</p>
]]></content:encoded>
			<wfw:commentRss>http://alan.lamielle.net/2009/09/01/filtering-windows-7-media-center-audio-through-ac3filter/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Disable Mozilla Weave OpenID</title>
		<link>http://alan.lamielle.net/2009/08/31/disable-mozilla-weave-openid</link>
		<comments>http://alan.lamielle.net/2009/08/31/disable-mozilla-weave-openid#comments</comments>
		<pubDate>Mon, 31 Aug 2009 23:39:29 +0000</pubDate>
		<dc:creator>Alan LaMielle</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[about:config]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[mozilla weave]]></category>
		<category><![CDATA[openid]]></category>
		<category><![CDATA[weave]]></category>

		<guid isPermaLink="false">http://alan.lamielle.net/?p=423</guid>
		<description><![CDATA[I&#8217;ve recently started using Mozilla Weave.  This is a Firefox extension that allows one to synchronize browser settings, including tabs, history, extensions, and passwords.  Another feature of this extension is OpenID integration using Mozilla&#8217;s OpenID provider.  All OpenID logins that are displayed on a page are replaced with &#8216;Sign in Using Weave&#8217;.  However, I use [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently started using <a href="http://labs.mozilla.com/weave/">Mozilla Weave</a>.  This is a <a href="http://www.mozilla.com/en-US/firefox/firefox.html">Firefox</a> extension that allows one to synchronize browser settings, including tabs, history, extensions, and passwords.  Another feature of this extension is <a href="http://openid.net/">OpenID</a> integration using Mozilla&#8217;s OpenID provider.  All OpenID logins that are displayed on a page are replaced with &#8216;Sign in Using Weave&#8217;.  However, I use this blog as an OpenID provider, so I don&#8217;t particularly like this feature.  The settings dialogs don&#8217;t make it clear how to disable it.  I&#8217;ve found a <a href="http://imaddicted.ca/internet/mozilla-weave-0-3/">post</a> that mentions an about:config setting called &#8216;extensions.weave.openId.enabled&#8217;.  One can set this setting to &#8216;False&#8217; if you don&#8217;t want the Mozilla OpenID support.  Have fun and enjoy Weave, it&#8217;s great!</p>
]]></content:encoded>
			<wfw:commentRss>http://alan.lamielle.net/2009/08/31/disable-mozilla-weave-openid/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

