<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">
<channel>
    <title>Anthology of Interest</title>
    <link>http://anthology.spacemonkeys.ca/</link>
    <description>Bastard coated bastard with a creamy bastard centre</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.0 - http://www.s9y.org/</generator>
    <pubDate>Thu, 12 Aug 2010 02:28:47 GMT</pubDate>

    <image>
        <url>http://anthology.spacemonkeys.ca/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Anthology of Interest - Bastard coated bastard with a creamy bastard centre</title>
        <link>http://anthology.spacemonkeys.ca/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Mythbuntu upstart job to set channel 3</title>
    <link>http://anthology.spacemonkeys.ca/archives/946-Mythbuntu-upstart-job-to-set-channel-3.html</link>
    
    <comments>http://anthology.spacemonkeys.ca/archives/946-Mythbuntu-upstart-job-to-set-channel-3.html#comments</comments>
    <wfw:comment>http://anthology.spacemonkeys.ca/wfwcomment.php?cid=946</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://anthology.spacemonkeys.ca/rss.php?version=2.0&amp;type=comments&amp;cid=946</wfw:commentRss>
    

    <author>nospam@example.com (Matt Hughes)</author>
    <content:encoded>
    &lt;p&gt;I switched to digital cable recently, which means that there is now an external cable box for tuning.  That means the analog tuner on my mythbox must be set to channel 3 to receive the input from the cable box.  Unfortunately, &lt;tt&gt;ivtv-tune&lt;/tt&gt; has a quirk that made it difficult to get the PVR-250 tuned to channel 3.  The problem is that &lt;tt&gt;ivtv-tune&lt;/tt&gt; needs the HOME environment variable to be set, and it needs there to be a ~/.ivtv-tune file there.  Finally I got it working with this upstart script:&lt;/p&gt;

&lt;pre&gt;&lt;tt&gt;
# Ensures the PVR 250 card is set to channel 3 so that the cable box works.

description &quot;Ensures the PVR 250 card is set to channel 3&quot;
author &quot;Matt Hughes &lt;matt.c.hughes@gmail.com&gt;&quot;

start on mounted
stop on starting shutdown 

task

console output

script
echo &quot;Changing tuner to channel 3...&quot;
export HOME=/tmp
echo &quot;device /dev/video0&quot; &gt; /tmp/.ivtv-tune
echo &quot;freqtable us-cable&quot; &gt;&gt; /tmp/.ivtv-tune
exec /usr/bin/ivtv-tune -c 3 -d /dev/video0
end script
&lt;/tt&gt;&lt;/pre&gt;

&lt;p&gt;Now the ir-blaster can do it&#039;s thing and everything works.  As a side note, if your remove control stops working, you should replace the batteries be for messing with the LIRC configuration, even if you just updated your kernel.   !$!@#$@# Linux.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 11 Aug 2010 22:28:47 -0400</pubDate>
    <guid isPermaLink="false">http://anthology.spacemonkeys.ca/archives/946-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license>
</item>

</channel>
</rss>
