<?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>Frozentux &#187; iMON</title>
	<atom:link href="http://www.frozentux.net/tag/imon/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.frozentux.net</link>
	<description>Yet another site</description>
	<lastBuildDate>Thu, 13 Oct 2011 19:37:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Linux iMON pad remote controller with lirc</title>
		<link>http://www.frozentux.net/2008/09/linux-imon-pad-remote-controller-with-lirc/</link>
		<comments>http://www.frozentux.net/2008/09/linux-imon-pad-remote-controller-with-lirc/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 20:03:00 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[iMON]]></category>
		<category><![CDATA[lirc]]></category>
		<category><![CDATA[mythtv]]></category>
		<category><![CDATA[Remote Control]]></category>

		<guid isPermaLink="false">http://fs1/fs1/?p=184</guid>
		<description><![CDATA[Introduction In short, the SoundGraph iMON PAD that came with my SilverStone LC20 doesn&#8217;t work very well with the default ubuntu 8.04 installation. I&#8217;ve previously discussed how to get the VFD running, and am now turning my attention to the remote control and how to get it decently working in mythtv with lirc. Let&#8217;s start [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight: bold;">Introduction</span><br />
In short, the SoundGraph iMON PAD that came with my <a href="http://www.silverstonetek.com/products/p_contents.php?pno=lc20">SilverStone LC20</a> doesn&#8217;t work very well with the default <a href="http://www.ubuntu.com/">ubuntu</a> 8.04 installation. I&#8217;ve previously discussed how to get the VFD running, and am now turning my attention to the remote control and how to get it decently working in mythtv with lirc.</p>
<p>Let&#8217;s start by looking at the following image:<br />
<a href="http://1.bp.blogspot.com/_kST6cmGpvFc/SMl6ls_XIhI/AAAAAAAAAaA/sPoh8kfKdTI/s1600-h/lirc.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5244858029200318994" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_kST6cmGpvFc/SMl6ls_XIhI/AAAAAAAAAaA/sPoh8kfKdTI/s400/lirc.png" border="0" alt="" /></a>In short, red files are &#8220;main steps&#8221; which the &#8220;packets&#8221; flow from the remote control, and finally reaching lircd where they are converted from a binary stream into something intelligeble (with the help of the lircrc file, which specifies names for the different hex codes).</p>
<p>blue boxes are configuration files, green boxes are &#8220;users&#8221; of lircrc &#8212; ie, they will connect to lircd and receive all the updates from lircd as needed. Finally, magenta boxes are different things needed to build to get stuff running.</p>
<p><span style="font-weight: bold;">Installation</span><br />
Everything will work out of the (ubuntu 8.04) box more or less, except for the big blobby nice mousepad on the remote control. That one is a mouse &#8212; sort of &#8212; and doesn&#8217;t work at all for me, your mileage may vary however (ie, it didn&#8217;t work for me, it might change fast)</p>
<p>Install Xorg, mythtv, mplayer, linux-kernel sources (needed later) and lirc via apt-get or your prefered frontend. Configure the packages, start xorg and make mythtvfrontend start from the .xinitrc if you so wish, and then start via the startx script, or rather make it start up as you feel most comfortable with. I&#8217;m an old fart and I like my startx.</p>
<p>Once all this is set up, all things should work, except the remote control, as already said. Most buttons will work, but not the big blobby knob (a.k.a. mousepad).</p>
<p><span style="font-weight: bold;">HACK</span><br />
Well, it&#8217;s time to hack the horrible hack I guess. Download lirc-0.8.3 from <a href="http://www.lirc.org/">www.lirc.org</a>. Also, download the pad2keys patch from <a href="http://brakemeier.de/electronics/vdr/lirc-imon.html">http://brakemeier.de/electronics/vdr/lirc-imon.html</a>.</p>
<p>1. Unpack the lirc package.<br />
2. Patch the lirc package with the pad2keys patch (it will most likely fail with some chunks, just look at the patch, and add the code manually, are you a hacker or not?!).<br />
3. Configure and make the lirc package. <span style="font-weight: bold;">Don&#8217;t install it</span>.<br />
4. run <span style="font-style: italic;">uname -r</span>, note your kernel version (<span style="font-style: italic;">2.6.24-19-server</span> for example).<br />
5. run &#8220;locate lirc_imon.ko&#8221; (have you updated your locate database? man updatedb, hint hint). If there are more than one in the list showing up, find the one in <span style="font-style: italic;">/lib/modules//blah blah</span>.<br />
6. Copy <span style="font-style: italic;">lirc-0.8.3/drivers/lirc_imon/lirc_imon.ko</span> to the file you found in step 5, and replace the old one.<br />
7. Either reboot, or if you know how to <span style="font-style: italic;">rmmod lirc_imon.ko</span> and <span style="font-style: italic;">modprobe </span>the new one. This might fail if you followed my previous post on islcd=0 etc, if you did, remove that line again.</p>
<p>Don&#8217;t forget to edit your lircd.conf with the new IR codes from the <a href="http://brakemeier.de/electronics/vdr/lirc-imon.html">brakemeyer.de</a> webpage. Set PAD key&#8217;s to good values, such as this:</p>
<p><span style="font-style: italic;"> Up                       0x690281B7</span><br />
<span style="font-style: italic;"> Right                   0x688A81B7</span><br />
<span style="font-style: italic;"> Down                  0x688291B7</span><br />
<span style="font-style: italic;"> Left                     0x6A8281B7</span></p>
<p>Finally add them to your lircrc in a good way, such as this:</p>
<p><span style="font-style: italic;">begin</span><br />
<span style="font-style: italic;"> prog = mythtv</span><br />
<span style="font-style: italic;"> button = Up</span><br />
<span style="font-style: italic;"> config = Up</span><br />
<span style="font-style: italic;"> delay = 2</span><br />
<span style="font-style: italic;"> repeat = 1</span><br />
<span style="font-style: italic;">end</span></p>
<p><span style="font-style: italic;">begin</span><br />
<span style="font-style: italic;"> prog = mythtv</span><br />
<span style="font-style: italic;"> button = Down</span><br />
<span style="font-style: italic;"> config = Down</span><br />
<span style="font-style: italic;"> delay = 2</span><br />
<span style="font-style: italic;"> repeat = 1</span><br />
<span style="font-style: italic;">end</span></p>
<p><span style="font-style: italic;">begin</span><br />
<span style="font-style: italic;"> prog = mythtv</span><br />
<span style="font-style: italic;"> button = Left</span><br />
<span style="font-style: italic;"> config = Left</span><br />
<span style="font-style: italic;"> delay = 2</span><br />
<span style="font-style: italic;"> repeat = 1</span><br />
<span style="font-style: italic;">end</span></p>
<p><span style="font-style: italic;">begin</span><br />
<span style="font-style: italic;"> prog = mythtv</span><br />
<span style="font-style: italic;"> button = Right</span><br />
<span style="font-style: italic;"> config = Right</span><br />
<span style="font-style: italic;"> delay = 2</span><br />
<span style="font-style: italic;"> repeat = 1</span><br />
<span style="font-style: italic;">end</span></p>
<p>So, you&#8217;re now a hacker of immense proportions. Celebrate with some mead and grow a beard like the rest of the hackers <img src='http://www.frozentux.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2008/09/linux-imon-pad-remote-controller-with-lirc/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu 8.04 lirc_imon VFD&#8217;s</title>
		<link>http://www.frozentux.net/2008/09/ubuntu-804-lirc_imon-vfds/</link>
		<comments>http://www.frozentux.net/2008/09/ubuntu-804-lirc_imon-vfds/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 16:43:00 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[iMON]]></category>
		<category><![CDATA[LCD]]></category>
		<category><![CDATA[lirc]]></category>
		<category><![CDATA[Remote Control]]></category>
		<category><![CDATA[VFD]]></category>

		<guid isPermaLink="false">http://fs1/fs1/?p=181</guid>
		<description><![CDATA[I got a silverstone LC20 chassi with a built in iMON vacuum fluorescent display (VFD) and IR remote control. I recently upgraded to Ubuntu 8.04 from 7.10 &#8212; yes I know, I am a bit late, but generally you don&#8217;t have to deal with kinks like this one when that happens. Ubuntu 7.10 -&#62; 8.04 [...]]]></description>
			<content:encoded><![CDATA[<p>I got a silverstone LC20 chassi with a built in iMON <a href="http://en.wikipedia.org/wiki/Vacuum_fluorescent_display">vacuum fluorescent display</a> (VFD) and IR remote control. I recently upgraded to Ubuntu 8.04 from 7.10 &#8212; yes I know, I am a bit late, but generally you don&#8217;t have to deal with kinks like this one when that happens.</p>
<p>Ubuntu 7.10 -&gt; 8.04 changed the behaviour of the lirc_imon module pretty little, yet radically. The old default was to treat all iMON driven screens as VFD&#8217;s, but it now defaults to treat all iMON modules as LCD modules instead.</p>
<p>This results in tons of errors being pumped out (10&#8242;s-100&#8242;s per second), like this one:</p>
<p><span style="font-style: italic;">Sep  9 21:35:00 fs1 kernel: [   71.481262] /var/lib/dkms/lirc/0.8.3~pre1/build/drivers/lirc_imon/lirc_imon.c: lcd_write: invalid payload size: 32 (expecting <img src='http://www.frozentux.net/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> </span></p>
<p>Also, the VFD will not work. To make a long story short, to fix it, you need to tell the kernel module that the VFD is in fact a VFD and not a LCD, by giving the kernel module the option <span style="font-style: italic;">islcd=0</span>. For example, in /etc/modprobe.d/options:</p>
<p><span style="font-style: italic;">options lirc_imon islcd=0</span></p>
<p>I hope this helps anyone out there. I will soon try to have something together on getting the iMON PAD working properly. The basics was simple to get  working, but the &#8220;mousepad&#8221; has been a general pain to get up and running properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2008/09/ubuntu-804-lirc_imon-vfds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

