<?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"
	>

<channel>
	<title>djwhitt.com/blog</title>
	<atom:link href="http://djwhitt.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://djwhitt.com/blog</link>
	<description></description>
	<pubDate>Sun, 31 Aug 2008 00:26:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Hacks for Intel 3945ABG Wireless Card</title>
		<link>http://djwhitt.com/blog/2008/08/31/intel-wireless-hacks/</link>
		<comments>http://djwhitt.com/blog/2008/08/31/intel-wireless-hacks/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 00:26:14 +0000</pubDate>
		<dc:creator>djwhitt</dc:creator>
		
		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[T61p]]></category>

		<guid isPermaLink="false">http://djwhitt.com/blog/?p=11</guid>
		<description><![CDATA[My laptop has an Intel 3945ABG mini-pci wireless card. Overall it seems to be a pretty good card, but there are some driver issues on Linux (as of 2.6.24). First wpa_supplicant has an annoying habbit of spewing out an error message (ioctl[SIOCSIWAUTH]: Operation not supported) whenever I start up the network interface. It seems to [...]]]></description>
			<content:encoded><![CDATA[<p>My laptop has an Intel 3945ABG mini-pci wireless card. Overall it seems to be a pretty good card, but there are some driver issues on Linux (as of 2.6.24). First wpa_supplicant has an annoying habbit of spewing out an error message (ioctl[SIOCSIWAUTH]: Operation not supported) whenever I start up the network interface. It seems to work fine regardless, but the message annoys me. I silenced it by adding the following line to my /etc/conf.d/net:</p>
<p><code>wpa_supplicant_wlan0="-Dwext 2&gt; /dev/null"</code></p>
<p>Another problem I had was that the card wasn&#8217;t properly powering itself up and down when I restarted the network interface. I took care of that with this little preup script which I also added to /etc/conf.d/net:</p>
<p><code>preup() {<br />
&nbsp;&nbsp;if [ ${IFACE} = "wlan0" ]; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo 0 &gt; /sys/bus/pci/drivers/iwl3945/*/rf_kill<br />
&nbsp;&nbsp;&nbsp;&nbsp;iwconfig wlan0 txpower on<br />
&nbsp;&nbsp;fi<br />
}</code></p>
<p>Update: As of 2.6.25 the powerup issue seems to be resolved, but I still see the error message from wpa_supplicant.</p>
]]></content:encoded>
			<wfw:commentRss>http://djwhitt.com/blog/2008/08/31/intel-wireless-hacks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>LeechBlock</title>
		<link>http://djwhitt.com/blog/2008/08/29/leechblock/</link>
		<comments>http://djwhitt.com/blog/2008/08/29/leechblock/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 02:12:45 +0000</pubDate>
		<dc:creator>djwhitt</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://djwhitt.com/blog/?p=15</guid>
		<description><![CDATA[If you want pontification on distraction go here. If you want a solution go here.
]]></description>
			<content:encoded><![CDATA[<p>If you want pontification on distraction go <a href="http://www.paulgraham.com/distraction.html">here</a>. If you want a solution go <a href="https://addons.mozilla.org/en-US/firefox/addon/4476">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://djwhitt.com/blog/2008/08/29/leechblock/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Remapping Capslock</title>
		<link>http://djwhitt.com/blog/2008/07/18/remapping-capslock/</link>
		<comments>http://djwhitt.com/blog/2008/07/18/remapping-capslock/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 18:46:12 +0000</pubDate>
		<dc:creator>djwhitt</dc:creator>
		
		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://djwhitt.com/blog/?p=12</guid>
		<description><![CDATA[Despite its uselessness Capslock takes up some pretty prime realestate on the keyboard. Control, on the other hand, though extremely useful, languishes in the corners. To help fight this injustice I remap Capslock to Control.
For the console on Gentoo I put the following in /usr/share/keymap/i386/include/nocaps.map (I also gzip the file but you don&#8217;t have to):
keycode [...]]]></description>
			<content:encoded><![CDATA[<p>Despite its uselessness Capslock takes up some pretty prime realestate on the keyboard. Control, on the other hand, though extremely useful, languishes in the corners. To help fight this injustice I remap Capslock to Control.</p>
<p>For the console on Gentoo I put the following in /usr/share/keymap/i386/include/nocaps.map (I also gzip the file but you don&#8217;t have to):</p>
<p><code>keycode 58 = Control</code></p>
<p>and add the following to /etc/conf.d/keymaps:</p>
<p><code>EXTENDED_KEYMAPS="nocaps"</code></p>
<p>For X I add the following to my ~/.Xmodmap (which I load using xmodmap in my .xinitrc):</p>
<p><code>remove Lock = Caps_Lock<br />
remove Control = Control_L<br />
keysym Caps_Lock = Control_L<br />
add Control = Control_L</code></p>
<p>On Windows I use SysInternals excellent <a href="http://technet.microsoft.com/en-us/sysinternals/bb897578.aspx">Ctrl2cap utility</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://djwhitt.com/blog/2008/07/18/remapping-capslock/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cable Deregulation</title>
		<link>http://djwhitt.com/blog/2008/06/15/cable-deregulation/</link>
		<comments>http://djwhitt.com/blog/2008/06/15/cable-deregulation/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 04:50:59 +0000</pubDate>
		<dc:creator>djwhitt</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://djwhitt.com/blog/?p=9</guid>
		<description><![CDATA[I&#8217;m not going to venture and opinion on the subject because I&#8217;m not terribly well informed about it, but I found this Ars Technica article on cable deregulation interesting.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not going to venture and opinion on the subject because I&#8217;m not terribly well informed about it, but I found this Ars Technica <a href="http://arstechnica.com/news.ars/post/20080610-cable-deregulation-good-for-consumers-ars-like-hell-it-is.html">article</a> on cable deregulation interesting.</p>
]]></content:encoded>
			<wfw:commentRss>http://djwhitt.com/blog/2008/06/15/cable-deregulation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CPU Frequency Scaling</title>
		<link>http://djwhitt.com/blog/2008/06/03/cpu-frequency-scaling/</link>
		<comments>http://djwhitt.com/blog/2008/06/03/cpu-frequency-scaling/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 23:44:05 +0000</pubDate>
		<dc:creator>djwhitt</dc:creator>
		
		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Meta]]></category>

		<category><![CDATA[Ruby]]></category>

		<category><![CDATA[T61p]]></category>

		<guid isPermaLink="false">http://djwhitt.com/blog/?p=7</guid>
		<description><![CDATA[I just setup CPU frequency scaling in Gentoo on my Thinkpad T61p (Intel Core 2 Duo). These are the steps I followed:

Enable relevant kernel modules/options:
#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=m
CONFIG_CPU_FREQ_DEBUG=y
CONFIG_CPU_FREQ_STAT=m
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=m
CONFIG_CPU_FREQ_GOV_ONDEMAND=m
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
#
# CPUFreq processor drivers
#
CONFIG_X86_ACPI_CPUFREQ=m
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# [...]]]></description>
			<content:encoded><![CDATA[<p>I just setup CPU frequency scaling in Gentoo on my Thinkpad T61p (Intel Core 2 Duo). These are the steps I followed:</p>
<ol>
<li>Enable relevant kernel modules/options:<br />
<code>#<br />
# CPU Frequency scaling<br />
#<br />
CONFIG_CPU_FREQ=y<br />
CONFIG_CPU_FREQ_TABLE=m<br />
CONFIG_CPU_FREQ_DEBUG=y<br />
CONFIG_CPU_FREQ_STAT=m<br />
# CONFIG_CPU_FREQ_STAT_DETAILS is not set<br />
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y<br />
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set<br />
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set<br />
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set<br />
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y<br />
CONFIG_CPU_FREQ_GOV_POWERSAVE=m<br />
CONFIG_CPU_FREQ_GOV_USERSPACE=m<br />
CONFIG_CPU_FREQ_GOV_ONDEMAND=m<br />
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m</code></p>
<p>#<br />
# CPUFreq processor drivers<br />
#<br />
CONFIG_X86_ACPI_CPUFREQ=m<br />
# CONFIG_X86_POWERNOW_K8 is not set<br />
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set<br />
# CONFIG_X86_P4_CLOCKMOD is not set</p>
<p><a href="http://djwhitt.com/blog/wp-content/uploads/2008/06/t61p_cpu_frequency_scaling.png"><img class="alignnone size-medium wp-image-8" title="T61p CPU frequency scaling kernel config" src="http://djwhitt.com/blog/wp-content/uploads/2008/06/t61p_cpu_frequency_scaling-300x231.png" alt="Screenshot linux kernel CPU frequency scaling menuconfig on my T61p" width="300" height="231" /></a></li>
<li>Add the appropriate modules to /etc/modules.autoload.d/kernel-2.6 so that they are loaded at boot time:<br />
<code># cpu frequency scaling<br />
acpi-cpufreq<br />
cpufreq_ondemand</code></li>
<li>Install cpufrequtils:<br />
<code>emerge cpufrequtils</code></li>
<li>Set CPU frequency governor in /etc/conf.d/cpufrequtils:<br />
<code># /etc/conf.d/cpufrequtils: config file for /etc/init.d/cpufrequtils<br />
# Which governor to use. Must be one of the governors listed in:<br />
#   cat /sys/devices/system/cpu/cpu?/cpufreq/scaling_available_governors<br />
#<br />
GOVERNOR="ondemand"</code></li>
<li>Add cpufrequtils to boot runlevel:<br />
<code>rc-update add cpufrequtils boot</code></li>
<li>Reboot (or start the stuff by hand) and enjoy a more efficient system.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://djwhitt.com/blog/2008/06/03/cpu-frequency-scaling/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ruby 1.8.7</title>
		<link>http://djwhitt.com/blog/2008/06/03/ruby-187/</link>
		<comments>http://djwhitt.com/blog/2008/06/03/ruby-187/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 20:31:26 +0000</pubDate>
		<dc:creator>djwhitt</dc:creator>
		
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://djwhitt.com/blog/?p=6</guid>
		<description><![CDATA[Hold off on that upgrade for now. Ruby 1.8.7 is not a minor release + it breaks things.
]]></description>
			<content:encoded><![CDATA[<p>Hold off on that upgrade for now. Ruby 1.8.7 is <a href="http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7/NEWS">not a minor release</a> + <a href="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/17042">it breaks things</a>.<a href="http://rubyspec.org/"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://djwhitt.com/blog/2008/06/03/ruby-187/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Welcome to Wordpress (again)</title>
		<link>http://djwhitt.com/blog/2008/06/02/welcome-to-wordpress/</link>
		<comments>http://djwhitt.com/blog/2008/06/02/welcome-to-wordpress/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 01:43:08 +0000</pubDate>
		<dc:creator>djwhitt</dc:creator>
		
		<category><![CDATA[Meta]]></category>

		<guid isPermaLink="false">http://djwhitt.com/blog/?p=3</guid>
		<description><![CDATA[In the interest of actually writing something I&#8217;ve installed Wordpress and I&#8217;m going to try to stick with it. It&#8217;s not my favorite piece of software in the world, but then again the alternatives aren&#8217;t that much better and I might actually, you know, use this, so here goes.
]]></description>
			<content:encoded><![CDATA[<p>In the interest of actually writing something I&#8217;ve installed Wordpress and I&#8217;m going to try to stick with it. It&#8217;s not my favorite piece of software in the world, but then again the alternatives aren&#8217;t that much better and I might actually, you know, use this, so here goes.</p>
]]></content:encoded>
			<wfw:commentRss>http://djwhitt.com/blog/2008/06/02/welcome-to-wordpress/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.081 seconds -->
