<?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>gaspode.org</title>
	<atom:link href="http://www.gaspode.org/wp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gaspode.org/wp</link>
	<description></description>
	<lastBuildDate>Thu, 15 Dec 2011 12:13:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Coromaster Mach II hack</title>
		<link>http://www.gaspode.org/wp/2011/12/15/coromaster-mach-ii-hack/</link>
		<comments>http://www.gaspode.org/wp/2011/12/15/coromaster-mach-ii-hack/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 11:57:02 +0000</pubDate>
		<dc:creator>PI</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[coroma]]></category>
		<category><![CDATA[coromaster]]></category>
		<category><![CDATA[mach]]></category>

		<guid isPermaLink="false">http://www.gaspode.org/wp/?p=109</guid>
		<description><![CDATA[Had this problem with my garage door opening at random times. Figured it was the external fixed code receiver, so I replaced everything with rolling code receivers, with matching transmitters obviously. So big was my surprise when a friend visited and my garage door opened as he was locking his car. Turns out I forgot <a href='http://www.gaspode.org/wp/2011/12/15/coromaster-mach-ii-hack/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gaspode.org/wp/wp-content/uploads/2011/12/coromaster.jpg"><img src="http://www.gaspode.org/wp/wp-content/uploads/2011/12/coromaster.jpg" alt="" title="Coromaster Mach II hack" width="200" height="150" class="alignright size-full wp-image-112" /></a>Had this problem with my garage door opening at random times. Figured it was the external fixed code receiver, so I replaced everything with rolling code receivers, with matching transmitters obviously. So big was my surprise when a friend visited and my garage door opened as he was locking his car. Turns out I forgot about the integrated receiver on the garage opener. And this turned out to be a fixed code one as well. Had no luck in getting any information from the company who installed the garage opener about disabling the receiver, and google led me to other people who had the same experience. So firstly I cut the aerial off the built-in, which limited the range of the old transmitter, but it was still triggering if I got closer to the unit. Turns out the solution was even simpler. Just put the integrated receiver into learning mode with a simple jumper (connect middle and B as per the image) and no remote will ever trigger it again. Problem solved.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gaspode.org/wp/2011/12/15/coromaster-mach-ii-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian 6.0/squeeze, chapter 1b</title>
		<link>http://www.gaspode.org/wp/2011/06/11/debian-squeeze-chapter-1b/</link>
		<comments>http://www.gaspode.org/wp/2011/06/11/debian-squeeze-chapter-1b/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 21:57:41 +0000</pubDate>
		<dc:creator>PI</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[svgatextmode]]></category>
		<category><![CDATA[text mode]]></category>
		<category><![CDATA[vga]]></category>

		<guid isPermaLink="false">http://www.gaspode.org/wp/?p=79</guid>
		<description><![CDATA[Having spent a morning helping to neaten a server cabinet of a client, I figured it was a good day to neaten a few other things as well. First I did some cabling inside my new Debian box. Then it was time to update my first article on text modes. Wanted to list the effect <a href='http://www.gaspode.org/wp/2011/06/11/debian-squeeze-chapter-1b/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Having spent a morning helping to neaten a server cabinet of a client, I figured it was a good day to neaten a few other things as well. First I did some cabling inside my new Debian box. Then it was time to update my <a href="http://www.gaspode.org/wp/2011/03/10/debian-squeeze-chapter-1/">first article</a> on text modes. Wanted to list the effect of various font sizes on the text modes, in case someone was interested in them. In each case I rebooted with the relevant text mode as boot parameter and no font specified in /etc/default/console-setup and loaded the various fonts by hand, eg.</p>
<pre>
# setfont lat1u-08
</pre>
<p>Here&#8217;s what I found:</p>
<pre>
                          08      10      12      14      16
80x25 - 0xF00 (3840) - 80x50 - 80x40 - 80x33 - 80x28 - 80x25
80x50 - 0xF01 (3841) - 80x50 - 80x40 - 80x33 - 80x28 - 80x25
80x43 - 0xF02 (3842) - 80x43 - 80x34 - 80x28 - 80x24 - 80x21
80x28 - 0xF03 (3843) - 80x49 - 80x39 - 80x32 - 80x28 - 80x24
80x30 - 0xF05 (3845) - 80x60 - 80x48 - 80x40 - 80x34 - 80x30
80x34 - 0xF06 (3846) - 80x59 - 80x47 - 80x39 - 80x34 - 80x29
80x60 - 0xF07 (3847) - 80x60 - 80x48 - 80x40 - 80x34 - 80x30
</pre>
<p>No real surprises with the 80&#215;50, 80&#215;43 or 80&#215;60 modes. 80&#215;28 was the first weird one, which almost seems to first double up the rows (to match 80&#215;50), but then subtracted one row? 80&#215;30 and 80&#215;25 ended up being the same as 80&#215;60 and 80&#215;50, a little bit unexpected. 80&#215;34 continued the weirdness experienced with the 80&#215;28 mode.</p>
<p>I later discovered most of them in /etc/TextConfig (svgatextmode) on my old Debian 4.0/etch box, so maybe they&#8217;re not quite as weird. But there you go, try any of the above if you&#8217;re looking for a weirdly sized text mode.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gaspode.org/wp/2011/06/11/debian-squeeze-chapter-1b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian 6.0/squeeze, chapter 1</title>
		<link>http://www.gaspode.org/wp/2011/03/10/debian-squeeze-chapter-1/</link>
		<comments>http://www.gaspode.org/wp/2011/03/10/debian-squeeze-chapter-1/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 05:30:55 +0000</pubDate>
		<dc:creator>PI</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[grub2]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[svgatextmode]]></category>
		<category><![CDATA[text mode]]></category>
		<category><![CDATA[vga]]></category>

		<guid isPermaLink="false">http://gaspode.org/wp/?p=6</guid>
		<description><![CDATA[In with the new, Debian 6.0/squeeze. Unfortunately the new isn&#8217;t always all good. It seems the trend nowadays is to move to graphical interfaces, which leaves us old console hackers out in the cold. Yes, I prefer good old fashioned text modes. And when I say text mode, I mean hardware text mode, not the <a href='http://www.gaspode.org/wp/2011/03/10/debian-squeeze-chapter-1/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>In with the new, Debian 6.0/squeeze. Unfortunately the new isn&#8217;t always all good. It seems the trend nowadays is to move to graphical interfaces, which leaves us old console hackers out in the cold. Yes, I prefer good old fashioned text modes. And when I say text mode, I mean hardware text mode, not the new fangled framebuffer and graphical text modes. Why waste resources (memory, CPU) on headless servers that will never show one pixel of graphics? Why not enjoy the speed you can get from text whizzing past on those big directory listings?</p>
<p>After a bit of googling, it surfaced that I was not alone in this quest, as posted by Stephen Powell on <a href="http://lists.debian.org/debian-user/2009/12/msg01438.html">debian-user</a>. His solution was to use vga=X during the kernel boot process. However, vga=X has been deprecated in grub2, so Stephen dumped grub2 and reverted to lilo. After struggling for some hours trying to make grub2 accept vga=X, I also had to bite the bullet. Welcome back, lilo, old friend. At least now I had vga=ask available, to find the right VGA mode. At first I was glamored by the VESA modes, only to realize later that they were not text modes, but graphic modes. At last the penny dropped, use the VGA modes from the vga=ask list! After experimenting, I found that vga=0xF07 was the mode for me, which is a 80&#215;60 text mode. Slap on the lat1u-12 font, and I once again had my favorite text mode, 80&#215;40.</p>
<p>However, lilo was irritating me. Surely this must work in grub2 as well? A footnote in the <a href="http://wiki.debian.org/GrubTransition">GrubTransition</a> page led me to the solution. Simply replace the default <a href="http://www.gnu.org/software/grub/manual/grub.html#linux">linux</a> loader with <a href="http://www.gnu.org/software/grub/manual/grub.html#linux16">linux16</a>, which is the 16-bit loader and supports vga=X. One would wonder what effect a 16-bit loader has on the 64-bit kernel, but so far it seems to all work.</p>
<p>To implement hardware text mode in Debian 6.0/squeeze, add &#8220;16&#8243; to the linux and initrd lines in /etc/grub.d/10_linux:</p>
<pre>
linux16 ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
initrd16 ${rel_dirname}/${initrd}
</pre>
<p>circa lines 83 and 89. Also make sure you have the following in /etc/default/grub:</p>
<pre>
GRUB_CMDLINE_LINUX="vga=0xF07"
GRUB_TERMINAL=console"
#GRUB_GFXMODE=640x480
</pre>
<p>ie. make sure GRUB_GFXMODE is commented. For other text modes as per <a href="http://www.kernel.org/doc/Documentation/svga.txt">svga.txt</a>:</p>
<pre>
80x25 - 0xF00 (3840)
80x50 - 0xF01 (3841)
80x43 - 0xF02 (3842)
80x28 - 0xF03 (3843)
80x30 - 0xF05 (3845)
80x34 - 0xF06 (3846)
80x60 - 0xF07 (3847)
</pre>
<p>For fonts that are more pleasing on the eye (in my opinion), install the console-data package:</p>
<pre>
# apt-get install console-data
</pre>
<p>to give you the latX fonts in /usr/share/consolefonts, which you can load at boot time by editing /etc/default/console-setup:</p>
<pre>
FONTFACE=""
FONTSIZE=""
FONT="lat1u-12.psf.gz"
</pre>
<p>ie. make sure FONTFACE and FONTSIZE variables are empty, and specify a font to be loaded. Make sure grub is updated:</p>
<pre>
# update-grub
</pre>
<p>And reboot. You can experiment with other font sizes, eg.</p>
<pre>
# setfont lat1u-10.psf.gz
# stty -a
</pre>
<p>The last command (first line of output) will show you the text screen size, which you can adjust to preference by loading different fonts, limited to 8, 10, 12, 14 and 16 point.</p>
<p>Viola, text mode goodness.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gaspode.org/wp/2011/03/10/debian-squeeze-chapter-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.gaspode.org/wp/2011/03/09/hello-world/</link>
		<comments>http://www.gaspode.org/wp/2011/03/09/hello-world/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 21:30:01 +0000</pubDate>
		<dc:creator>PI</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gaspode.org/wp/?p=32</guid>
		<description><![CDATA[Been considering doing some writing for some time now. Maybe pen down solutions to problems I encountered and struggled with for a while. Maybe someone else would find my solutions worthwhile. Maybe it will help me as well. So, here goes. Hello world!]]></description>
			<content:encoded><![CDATA[<p>Been considering doing some writing for some time now. Maybe pen down solutions to problems I encountered and struggled with for a while. Maybe someone else would find my solutions worthwhile. Maybe it will help me as well. So, here goes. Hello world!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gaspode.org/wp/2011/03/09/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

