<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>lirc &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/lirc/</link>
	<description>Feed of posts on WordPress.com tagged "lirc"</description>
	<pubDate>Mon, 30 Nov 2009 10:17:44 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Problema con dispositivo "input layer" en LIRC]]></title>
<link>http://solognu.wordpress.com/2009/11/17/problema-con-dispositivo-input-layer-en-lirc/</link>
<pubDate>Mon, 16 Nov 2009 22:25:44 +0000</pubDate>
<dc:creator>sosias</dc:creator>
<guid>http://solognu.wordpress.com/2009/11/17/problema-con-dispositivo-input-layer-en-lirc/</guid>
<description><![CDATA[Llevo arrastrando un error en mi configuración de LIRC desde hace mucho tiempo. Sin ponerme a buscar]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:left;">Llevo arrastrando un error en mi configuración de <a title="LIRC" href="http://www.lirc.org" target="_blank">LIRC</a> desde hace mucho tiempo. Sin ponerme a buscar el origen lo achacaba a un fallo del propio núcleo del sistema <a title="The GNU Operating System" href="http://www.gnu.org/" target="_blank">GNU</a> al <em>mapear</em> los dispositivos <em>input layer</em>.</p>
<p style="text-align:left;">Leyendo la documentación de LIRC -cosa que debería hacer siempre- he encontrado la parte dedicada a <a title="LIRC - Linux input layer driver" href="http://www.lirc.org/html/devinput.html" target="_blank">Linux input layer driver</a>. Se dice en él:</p>
<blockquote><p>Sometimes the input device mapping changes between system reboots. In that case you are also able to specify the correct input device by its name or physical location [...]</p></blockquote>
<p style="text-align:left;">Al parecer es un comportamiento normal que en cada reinicio no se asegure siempre que un dispositivo se le asigne el mismo número en <em>/dev/input/event</em>. En mi caso el mando a distancia suele asignarse el número 5 ó 6. A veces, al iniciar de nuevo el sistema, se daba que LIRC bloqueaba el ratón. Cambiar el archivo <em>/etc/lirc/hardware.conf</em> y reiniciar el servicio lirc cada vez que ocurría era, como mínimo, muy molesto.</p>
<p style="text-align:left;">La solución pasa por indicar el valor <strong><em>Phys</em></strong> de proporciona <em>/proc/bus/input/devices</em> en cada dispositivo. A continuación la salida de<em> cat /proc/bus/input/devices</em>:</p>
<blockquote><p>I: Bus=0011 Vendor=0002 Product=0004 Version=0000<br />
N: Name=&#8221;<strong>GenPS/2 Genius Mouse</strong>&#8220;<br />
P: Phys=isa0060/serio1/input0<br />
S: Sysfs=/devices/platform/i8042/serio1/input/<strong>input5</strong><br />
[...]</p>
<p>I: Bus=0001 Vendor=1461 Product=2c05 Version=0001<br />
N: Name=&#8221;<strong>saa7134 IR (AverTV DVB-T 777)</strong>&#8220;<br />
P: <strong>Phys</strong>=<strong>pci</strong>-0000:03:01.0<strong>/ir0</strong><br />
S: Sysfs=/devices/pci0000:00/0000:00:1e.0/0000:03:01.0/input/<strong>input6</strong><br />
[...]</p></blockquote>
<p style="text-align:left;">Como resultado REMOTE_DEVICE de /etc/lirc/hardware.conf queda con el siguiente valor:</p>
<blockquote><p>REMOTE_DEVICE=phys=&#8217;<strong>pci</strong>*<strong>/ir0</strong>&#8216;</p></blockquote>
<p style="text-align:right;">El asterisco (*) es un comodín.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[lirc]]></title>
<link>http://csecyborg.wordpress.com/2009/09/09/lirc/</link>
<pubDate>Wed, 09 Sep 2009 10:02:01 +0000</pubDate>
<dc:creator>csecyborg</dc:creator>
<guid>http://csecyborg.wordpress.com/2009/09/09/lirc/</guid>
<description><![CDATA[LIRC-LINUX INFRARED REMOTE CONTROL LIRC is a package that allows you to decode and send infra-red si]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } --></p>
<p style="margin-bottom:0;"><span style="font-size:large;">LIRC-LINUX INFRARED REMOTE CONTROL</span></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;"><span style="font-size:small;">LIRC is a package that allows you to decode and send infra-red signals of many (but not all) commonly used remote controls. </span></p>
<p style="margin-bottom:0;"><span style="font-size:small;">The most important part of LIRC is the lircd daemon that will decode IR signals received by the device drivers and provide the information on a socket. It will also accept commands for IR signals to be sent if the hardware supports this. The second daemon program called lircmd will connect to lircd and translate the decoded IR signals to mouse movements.</span></p>
<p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 		H1 { margin-bottom: 0.21cm } 		H1.western { font-family: "Nimbus Roman No9 L", serif } 		H1.cjk { font-family: "DejaVu Sans" } 		H1.ctl { font-family: "DejaVu Sans" } 		A:link { so-language: zxx } --></p>
<h1><span style="font-size:medium;">Sending infrared signals</span></h1>
<hr /><span style="font-size:small;">The LIRC package contains the <a href="http://www.lirc.org/html/irsend.html">irsend</a> tool for sending infrared signals to e.g. your TV or CD player. For reliable transmission a good config file is even more important than for receiving</span></p>
<p><span style="font-size:medium;">SOFTWARE:</span> LIRC <a href="http://prdownloads.sourceforge.net/lirc/lirc-0.8.5.tar.bz2">lirc-0.8.5.tar.bz2</a>, 700 kB</p>
<pre style="margin-bottom:.5cm;"><span style="font-size:small;">
LIRC is a package that supports receiving and sending IR signals of the most common IR remote controls. A list of supported hardware is available on the <a href="http://www.lirc.org/software.html">main page</a>. It contains a daemon that decodes and sends IR signals, a mouse daemon that translates IR signals to mouse movements and a couple of user programs that allow to control your computer with a remote control.
For Irman support download the latest <a href="http://sourceforge.net/project/showfiles.php?group_id=5444&#38;package_id=317936">libirman</a> library. If you want to link the LIRC drivers statically to your kernel, have a look at Karsten Scheibler's <a href="http://unusedino.de/lirc/lirc_static.html">static LIRC package</a>. </span></pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[lirc]]></title>
<link>http://csecyborg.wordpress.com/2009/09/08/lirc-2/</link>
<pubDate>Tue, 08 Sep 2009 12:48:26 +0000</pubDate>
<dc:creator>csecyborg</dc:creator>
<guid>http://csecyborg.wordpress.com/2009/09/08/lirc-2/</guid>
<description><![CDATA[In our college our department has an expo based on LINUX .In that our team had selected to do LIRC. ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } --></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;"><span style="color:#ff00ff;">In our college our department has an expo based on LINUX .In that our team had selected to do LIRC.</span></p>
<p style="margin-bottom:0;"><span style="color:#ffffff;">You may ask what is LIRC?</span></p>
<p style="margin-bottom:0;"><span style="color:#ffffff;"> </span></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">To know in detail about lirc refer the site “<a title="lirc" href="http://www.lirc.org">www.lirc.org</a>”</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">I searched how to do this project in linux.In that i had seen a website <a title="lirc" href="http://lnx.manoweb.com">“lnx manoweb.com”.</a></p>
<p style="margin-bottom:0;"><span style="color:#ff0000;">In that they given how to do an lirc receiver.The components neede are</span></p>
<ol>
<li>
<p style="margin-bottom:0;"><span style="color:#ff0000;">TSOP 1738 Irreceiver</span></p>
</li>
<li><span style="color:#ff0000;">C1 &#8211; 4.7µF capacitor</span></li>
<li><span style="color:#ff0000;">D1 &#8211; 1N4148 diode</span></li>
<li><span style="color:#ff0000;">R1 &#8211; 4k7 resistor (4.7 kOhm)</span></li>
<li><span style="color:#ff0000;">IC2 &#8211; 78L05, 100mA, voltage regulator (TO-92 casing)</span></li>
<li><span style="color:#ff0000;">9-pin or 25-pin SUB-D socket</span></li>
</ol>
<p><span style="color:#ff0000;">The circuit is connected as in “manoweb.com” and we get the LIRC Receiver.</span></p>
<p>Connect to the serial port of the system and do the following</p>
<ol>
<li><span style="color:#00ccff;">Download pacakage of lirc(lirc-0.8.5.tar.bz2)</span></li>
</ol>
<p><span style="color:#00ccff;">extract it as  “<strong>tar jxvf lirc-0.8.5.tar.bz2”</strong></span></p>
<ol><span style="color:#00ccff;">After this all the command are done in terminal of linux. We 	had downloaded lirc package in desktop.</span></ol>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">In terminal we do the following</span></p>
<ol>
<li>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>cd Desktop </strong></span></p>
</li>
</ol>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>2.   cd lirc-0.8.5 </strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>3.   ./setup.sh </strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">setup.sh written by Karsten Scheibler, 1999-JUN-28</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">If you have problems or questions please consult the mailing list</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">&#60;http://lists.sourceforge.net/mailman/listinfo/lirc-list&#62;</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">Configuration: .setup.config, executable shell script: configure.sh</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">Starting the generated shell script which will call configure with the right</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">parameters&#8230;</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for a BSD-compatible install&#8230; /usr/bin/install -c</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking whether build environment is sane&#8230; yes</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for gawk&#8230; no</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for mawk&#8230; mawk</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking whether make sets $(MAKE)&#8230; yes</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for gcc&#8230; gcc</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for C compiler default output file name&#8230; a.out</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking whether the C compiler works&#8230; yes</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking whether we are cross compiling&#8230; no</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for suffix of executables&#8230;</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for suffix of object files&#8230; o</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking whether we are using the GNU C compiler&#8230; yes</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking whether gcc accepts -g&#8230; yes</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for gcc option to accept ISO C89&#8230; none needed</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for style of include used by make&#8230; GNU</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking dependency style of gcc&#8230; gcc3</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking whether gcc and cc understand -c and -o together&#8230; yes</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for a BSD-compatible install&#8230; /usr/bin/install -c</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking whether make sets $(MAKE)&#8230; (cached) yes</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for mknod&#8230; /bin/mknod</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for mkfifo&#8230; /usr/bin/mkfifo</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for depmod&#8230; /sbin/depmod</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for libusb-config&#8230; no</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking whether ln -s works&#8230; yes</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking build system type&#8230; i686-pc-linux-gnu</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking host system type&#8230; i686-pc-linux-gnu</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for a sed that does not truncate output&#8230; /bin/sed</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for grep that handles long lines and -e&#8230; /bin/grep</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for egrep&#8230; /bin/grep -E</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for ld used by gcc&#8230; /usr/bin/ld</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking if the linker (/usr/bin/ld) is GNU ld&#8230; yes</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for /usr/bin/ld option to reload object files&#8230; -r</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking for BSD-compatible nm&#8230; /usr/bin/nm -B</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">checking how to recognise dependent libraries&#8230; pass_all</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">.</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">.</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">.</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">.</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">.</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">Now enter <strong>&#8216;make&#8217; and &#8216;make install&#8217;</strong> to compile and install the package.</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">kamban@kamban-desktop:~/Desktop/lirc-0.8.5$</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>4.sudo make </strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>5.sudo make install </strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">Afer this it is necessary to connect lirc receiver in the system</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>6.sudo setserial /dev/ttyS0 uart none </strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>7.sudo depmod -a </strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>8.sudo modprobe lirc_serial </strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>9.sudo lircd </strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">After this  some time we get the error</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">lircd: there seems to already be a lircd process with pid 12653 </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">lircd: otherwise delete stale lockfile /var/run/lircd.pid</span></p>
<ol>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>10.sudo rm/var/run/lircd.pid</strong></span></p>
</ol>
<p style="margin-bottom:0;"><span style="color:#00ccff;">then give</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>sudo lircd</strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>12.sudo mode2</strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">mode2:could not open /dev/lirc </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">mode2: default_init(): Device or resource busy</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">to remove this  we give this command</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>13.sudo rm/dev/lirc </strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">then give the command</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong> sudo mode2 </strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">after this we get the pulse</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">pulse 100</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">space 123</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">.</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">.</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">.</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">.</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">.</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">.</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">.</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">.</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">to quit from this ctrl c</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">then record it using</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>14. sudo irrecord /etc/lircd.conf</strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">if any error appears then record it by</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>15.sudo irrecord -f /etc/lircd.conf</strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">we can record it with our own name to the button by disabling the default button.</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>16. sudo irrecord /etc/lircd.conf –disable namespace</strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">now  record the signal for each button by holding the button.</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">After this we give restart the lircd then</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>17.sudo irw</strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">it will test our remote</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">The connection of our system with remote had been done succesfully if  upto this step is done .</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">If you have doubt inthe above description please refer “lnx.manoweb.com”</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">In our project we did how to connect an mplayer with the remote  and we done it by downloading</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>Mplayer-mingw.zip</strong></span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">installing it by refer the procedure </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">In terminal we give </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"><strong>cd </strong> which come out from desktop</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">1. $ mplayer</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">2.$  mplayer -lircconf saranya.conf </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;">3.$ sudo mplayer -lircconf saranya.conf *.mp3</span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
<p style="margin-bottom:0;"><span style="color:#00ccff;"> </span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[LIRC............]]></title>
<link>http://csecyborg.wordpress.com/2009/08/11/119/</link>
<pubDate>Mon, 10 Aug 2009 20:57:56 +0000</pubDate>
<dc:creator>csecyborg</dc:creator>
<guid>http://csecyborg.wordpress.com/2009/08/11/119/</guid>
<description><![CDATA[Hi&#8230;&#8230;. friends&#8230;. LIRC is a Linux Infrared Remote Control and the complete details a]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Hi&#8230;&#8230;. friends&#8230;.</p>
<p>LIRC is a Linux Infrared Remote Control and the complete details about the documentation, software usage, software downloads all are given in detail in following link.</p>
<p><a href="http://www.lirc.org/html/index.html">http://www.lirc.org/arahtml/index.html</a></p>
<p>See to this link for LIRC components required and for the connections</p>
<p>The most <span style="color:rgb(255,102,0);">important part of LIRC</span> is the lircd daemon that will decode IR signals received by the device drivers and provide the information on a socket. It will also accept commands for IR signals to be sent if the hardware supports this. <span style="color:rgb(204,255,255);">The second daemon program called lircmd will connect to lircd and translate the decoded IR signals to mouse movements.</span></p>
<p>The <span style="color:rgb(51,153,102);">LIRC package contains the irsend tool</span> for sending infrared signals to e.g. your TV or CD player. For reliable transmission a good config file is even more important than for receiving</p>
<p><span style="color:rgb(0,0,255);">SOFTWARE:</span></p>
<p><span style="color:rgb(153,204,0);">LIRC lirc-0.8.5.tar.bz2, 700 kB</span></p>
<p><span style="color:rgb(0,204,255);">LIRC is a package that supports receiving and sending IR signals of the most common IR remote controls. A list of supported hardware is available on the main page. It contains a daemon that decodes and sends IR signals, a mouse daemon that translates IR signals to mouse movements and a couple of user programs that allow to control your computer with a remote control.</span><br />
For Irman support download the latest libirman library. If you want to link the LIRC drivers statically to your kernel, have a look at Karsten Scheibler&#8217;s static LIRC package.</p>
<p><a href="http://www.linuxjournal.com/article/8811"><span style="color:rgb(255,102,0);">http://www.linuxjournal.com/article/8811</span></a></p>
<p>(refer this above website for reference)</p>
<p><a href="http://lnx.manoweb.com/lirc/?partType=section&#38;partName=introduction"><span style="color:rgb(204,153,255);">http://lnx.manoweb.com/lirc/?partType=section&#38;partName=introduction</span></a></p>
<p>(refer above for how to build serial receiver)</p>
<p><a href="http://www.engadget.com/2006/05/16/how-to-ir-remote-control-your-computer/"></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[MythTV and XBMC integration]]></title>
<link>http://doitdifferent.wordpress.com/2009/07/04/mythtv-and-xbmc-integration/</link>
<pubDate>Sat, 04 Jul 2009 13:54:04 +0000</pubDate>
<dc:creator>I</dc:creator>
<guid>http://doitdifferent.wordpress.com/2009/07/04/mythtv-and-xbmc-integration/</guid>
<description><![CDATA[OK, my system works like this. MythTV for most purposes, video/TV etc. but then I also want iPlayer ]]></description>
<content:encoded><![CDATA[OK, my system works like this. MythTV for most purposes, video/TV etc. but then I also want iPlayer ]]></content:encoded>
</item>
<item>
<title><![CDATA[LIRC Config]]></title>
<link>http://doitdifferent.wordpress.com/2009/06/30/lirc-config/</link>
<pubDate>Tue, 30 Jun 2009 18:28:31 +0000</pubDate>
<dc:creator>I</dc:creator>
<guid>http://doitdifferent.wordpress.com/2009/06/30/lirc-config/</guid>
<description><![CDATA[OK, getting it working in mythbuntu was easy &#8211; I just selected the appropriate remote from the]]></description>
<content:encoded><![CDATA[OK, getting it working in mythbuntu was easy &#8211; I just selected the appropriate remote from the]]></content:encoded>
</item>
<item>
<title><![CDATA[Media Center con Ubuntu - Parte 3]]></title>
<link>http://farrebyc.wordpress.com/2009/05/31/media-center-con-ubuntu-parte-3/</link>
<pubDate>Sun, 31 May 2009 14:33:15 +0000</pubDate>
<dc:creator>farrebyc</dc:creator>
<guid>http://farrebyc.wordpress.com/2009/05/31/media-center-con-ubuntu-parte-3/</guid>
<description><![CDATA[Introduzione In questa terza parte della guida spieghero&#8217; come installare e configurare il tel]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h2>Introduzione</h2>
<p>In questa terza parte della guida spieghero&#8217; come installare e configurare il telecomando <a href="http://www.mythtv.org/wiki/index.php/MCE_Remote">MCE versione 2</a> che ho trovato insieme alla scheda TV (Hauppauge PVR-500).</p>
<p><img src="http://www.farrebyc.com/files/guide/mediacenter-su-ubuntu/9.04/p3/pvr500remote.jpg" alt="PVR 500 Kit - Remote" /></p>
<p>Per questa guida ho utilizzato e &#8216;<i>mixato</i>&#8216; alcune informazioni trovate su:</p>
<ul>
<li>La mia <em>vecchia</em> guida <a href="http://farrebyc.wordpress.com/2007/08/05/mythtv-su-ubuntu-parte-4/">MythTV su Ubuntu – Parte 4</a></li>
</ul>
<h2>Parte 3: Argomenti trattati</h2>
<ul>
<li>3.1: Installazione Lirc</li>
<li>3.2: Test telecomando</li>
<li>3.3: Copia del &#8216;Key mapping&#8217; nella cartella home</li>
<li>3.4: Fine installazione</li>
</ul>
<p><!--more--></p>
<h2>3.1: Installazione Lirc</h2>
<p>Prima di tutto ho installato <a href="http://www.lirc.org/">Lirc</a>, il programma che permette al PC di ricevere ed inviare i segnali infrarossi di moltissimi telecomandi:</p>
<table class="wp-caption" width="95%">
<tr>
<td align="center" valign="top" width="70"><img src="http://www.farrebyc.com/images/terminal.png" alt="Terminal" /></td>
<td align="left" valign="top">
			<code>sudo apt-get install lirc lirc-modules-source setserial</code>
		</td>
</tr>
</table>
<p><img src="http://www.farrebyc.com/files/guide/mediacenter-su-ubuntu/9.04/p3/01.jpg" alt="Installazione Lirc 1" /></p>
<p>Rispetto a due anni fa ora l&#8217;installazione del telecomando e&#8217; semplicissima, gia&#8217; in questa fase viene richiesto di scegliere quale telecomando si sta installando. Nel mio caso ho selezionato <em>&#8216;Windows Media Center Remotes (new version Philips et al.)&#8217;</em>:</p>
<p><img src="http://www.farrebyc.com/files/guide/mediacenter-su-ubuntu/9.04/p3/02.jpg" alt="Installazione Lirc 2" /></p>
<p>Successivamente viene richiesto se si vuole configurare anche un trasmettitore IR, che io non utilizzo, ho quindi selezionato la voce <em>&#8216;None&#8217;</em>.</p>
<p><img src="http://www.farrebyc.com/files/guide/mediacenter-su-ubuntu/9.04/p3/03.jpg" alt="Installazione Lirc 3" /></p>
<p>Al termine dell&#8217;installazione e configurazione il sistema indica che ha correttamente avviato il demone di Lirc:</p>
<p><img src="http://www.farrebyc.com/files/guide/mediacenter-su-ubuntu/9.04/p3/04.jpg" alt="Installazione Lirc 4" /></p>
<h2>3.2: Test telecomando</h2>
<p>Con IRW e&#8217; possibile testare se tutti i pulsanti del proprio telecomando sono stati correttamente configurati:</p>
<table class="wp-caption" width="95%">
<tr>
<td align="center" valign="top" width="70"><img src="http://www.farrebyc.com/images/terminal.png" alt="Terminal" /></td>
<td align="left" valign="top">
			<code>irw</code>
		</td>
</tr>
</table>
<p>Premendo alcuni tasti sul telecomando vengono visualizzati sullo schermo i relativi codici riconosciuti da Lirc:</p>
<p><img src="http://www.farrebyc.com/files/guide/mediacenter-su-ubuntu/9.04/p3/05.jpg" alt="Installazione Lirc 5" /></p>
<h2>3.3: Copia del &#8216;Key mapping&#8217; nella cartella home</h2>
<p>Con questo ulteriore comando viene scaricato il file <i>&#8216;lircrc&#8217;</i>:</p>
<table class="wp-caption" width="95%">
<tr>
<td align="center" valign="top" width="70"><img src="http://www.farrebyc.com/images/terminal.png" alt="Terminal" /></td>
<td align="left" valign="top">
			<code>wget <a href="http://www.farrebyc.com/files/guide/mediacenter-su-ubuntu/9.04/p3/.lircrc" rel="nofollow" title="http://www.farrebyc.com/files/guide/mediacenter-su-ubuntu/9.04/p3/.lircrc" class="external free">http://www.farrebyc.com/files/guide/mediacenter-su-ubuntu/9.04/p3/.lircrc</a><br />
cp .lircrc ~/.lircrc</code>
		</td>
</tr>
</table>
<p>Infine ho creato un link simbolico per permettere a Mythtv di utilizzare il file appena scaricato:</p>
<table class="wp-caption" width="95%">
<tr>
<td align="center" valign="top" width="70"><img src="http://www.farrebyc.com/images/terminal.png" alt="Terminal" /></td>
<td align="left" valign="top">
			<code>ln -s ~/.lircrc ~/.mythtv/lircrc</code>
		</td>
</tr>
</table>
<table class="wp-caption" width="95%">
<tr>
<td align="center" valign="top" width="70"><img src="http://www.farrebyc.com/images/information.png" alt="Information" /></td>
<td align="left" valign="top">
			<b>Nota:</b><br />
			questo e&#8217; il file di configurazione di Lirc che mi &#8216;porto dietro&#8217; da ormai molto tempo, oltre a quella per MythTV contiene anche le mappature dei tasti per Mplayer, Xine, VLC, Totem ed Elisa.
		</td>
</tr>
</table>
<h2>3.4: Fine installazione</h2>
<p>A questo punto il telecomando è stato installato e configurato correttamente, ed è ora pronto per essere utilizzato.</p>
<h2>Guida &#8211; Media Center con Ubuntu</h2>
<p><a href="http://farrebyc.wordpress.com/2009/05/15/media-center-con-ubuntu-parte-1/">Parte 1</a> &#8212; <a href="http://farrebyc.wordpress.com/2009/05/24/media-center-con-ubuntu-parte-2/">Parte 2</a> &#8212; Parte 3 &#8212; Parte 4</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[At the end of the day - It's all about service]]></title>
<link>http://tvwhere.wordpress.com/2009/05/04/at-the-end-of-the-day-its-all-about-service/</link>
<pubDate>Mon, 04 May 2009 12:47:26 +0000</pubDate>
<dc:creator>bcjenkins</dc:creator>
<guid>http://tvwhere.wordpress.com/2009/05/04/at-the-end-of-the-day-its-all-about-service/</guid>
<description><![CDATA[In case you&#8217;ve been wondering, and I know you are all very concerned about this; CommandIR shi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>In case you&#8217;ve been wondering, and I know you are all very concerned about this; CommandIR shipped me a replacement module which has solved my issues. It was simple to plug it in and have it work with Jaunty. They have great <a href="http://www.commandir.com/content/view/62/84/">install instructions</a> on their site as well. Thanks CommandIR!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Lirc Round Two]]></title>
<link>http://tvwhere.wordpress.com/2009/04/20/lirc-round-two/</link>
<pubDate>Mon, 20 Apr 2009 14:24:40 +0000</pubDate>
<dc:creator>bcjenkins</dc:creator>
<guid>http://tvwhere.wordpress.com/2009/04/20/lirc-round-two/</guid>
<description><![CDATA[Do you collect miscellaneous computer parts? Sometimes they actually come in handy! I found a HP eHo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Do you collect miscellaneous computer parts? Sometimes they actually come in handy! I found a HP eHome transceiver in my bin and hooked it up to the server and I now have 2 set top boxes firing again. It relieves some of the familial pressure, but I need to get all four set top boxes in rotation. Fortunately most of the recorded programming is OTA high definition, though.</p>
<p>I did receive a response back from CommandIR this morning, and I responded with an invitation to work together over the phone, irc, instant messaging, chat and any other form of real time communication I could think of. Let&#8217;s see if they respond favorably.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[MythTV Channel Changing didn't work...]]></title>
<link>http://petersopus.wordpress.com/2009/03/09/mythtv-channel-changing-didnt-work/</link>
<pubDate>Mon, 09 Mar 2009 19:29:00 +0000</pubDate>
<dc:creator>schneideris</dc:creator>
<guid>http://petersopus.wordpress.com/2009/03/09/mythtv-channel-changing-didnt-work/</guid>
<description><![CDATA[I need to start documenting more about some of the issues that I have while setting up my MythTV box]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I need to start documenting more about some of the issues that I have while setting up my MythTV box.  I spend so much time searching for solutions and when I finally find it forget to record it.
<div></div>
<div>The latest problem relates to the fact that my change channel script (change_chan.sh) wouldn&#8217;t work.  I enhanced it to do some debug output but it never appeared to execute (the debug code simply wrote a line entry into a log file).  This was driving me crazy until I finally found the answer in the channel listing.  </div>
<div></div>
<div>It seams that something got broken in the listing of channels.  When I tried deleting all the channels it wouldn&#8217;t do it.  So, after deleting one at a time and then re-fetching from the channel listing (<a href="http://www.schedulesdirect.org/">http://www.schedulesdirect.org</a>).  After this the channel changer worked again.</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Getting lirc started...]]></title>
<link>http://petersopus.wordpress.com/2009/01/18/getting-lirc-started/</link>
<pubDate>Sun, 18 Jan 2009 20:04:00 +0000</pubDate>
<dc:creator>schneideris</dc:creator>
<guid>http://petersopus.wordpress.com/2009/01/18/getting-lirc-started/</guid>
<description><![CDATA[I had ben trying to get my IguanaWorks USB IR Blaster working but not having much success.  As it tu]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I had ben trying to get my IguanaWorks USB IR Blaster working but not having much success.  As it turned out the biggest problem I had was a error in the configuration of my /etc/licr/hardware.conf file.  In the instarctions from Iguanaworks it called for placing:
<div></div>
<div><span class="Apple-style-span" style="font-family:'courier new';">DRIVER=&#8221;iguanaIR&#8221;</span></div>
<div><span class="Apple-style-span" style="font-family:'courier new';">DEVICE=&#8221;/dev/iguanaIR/0&#8243;</span></div>
<div></div>
<div>As it turns out it should have been:</div>
<div></div>
<div>
<div>
<div><span class="Apple-style-span" style="font-family:'courier new';">REMOTE_DRIVER=&#8221;iguanaIR&#8221;</span></div>
<div><span class="Apple-style-span" style="font-family:'courier new';">REMOTE_DEVICE=&#8221;/dev/iguanaIR/0&#8243;</span></div>
<div></div>
</div>
<div>Doing so corrected the problem and now &#8220;lirc&#8221; starts without error.  With that I now have all my remote commands working.</div>
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Another try at the Iguanaworks driver...]]></title>
<link>http://petersopus.wordpress.com/2009/01/11/another-try-at-the-iguanaworks-driver/</link>
<pubDate>Sun, 11 Jan 2009 08:34:00 +0000</pubDate>
<dc:creator>schneideris</dc:creator>
<guid>http://petersopus.wordpress.com/2009/01/11/another-try-at-the-iguanaworks-driver/</guid>
<description><![CDATA[After several e-mails with support at Iguanawors I finally got the driver installed, and this time w]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>After several e-mails with support at Iguanawors I finally got the driver installed, and this time with all the other drivers still available.  Big thanks go out to Ben at Iguanaworks for his helping work this one out.  In the end he managed to build a Debian package that prompted you for the selection of the driver.  The interesting thing that I noticed though was that it did not work at first.  That is to say that when I already had the IguanaIR driver installed and then installed the LIRC package.  What I had to do was completely remove LIRC and the IguanaIR driver, reboot (to be safe), install the LIRC package and then the IguanaIR package.  Now everything works.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Lirc the pcHD5500 and E\/il]]></title>
<link>http://luzidity.wordpress.com/2009/01/03/lirc-the-pchd5500-and-eil/</link>
<pubDate>Sat, 03 Jan 2009 16:10:56 +0000</pubDate>
<dc:creator>lucidity</dc:creator>
<guid>http://luzidity.wordpress.com/2009/01/03/lirc-the-pchd5500-and-eil/</guid>
<description><![CDATA[A couple days ago, (at least 100 years ago) i managed to break the ir receiver&#8217;s connector to ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>A couple days ago, <a href="http://www.encyclopediadramatica.com/At_least_100_years_ago"> (at least 100 years ago) </a> i managed to break the ir receiver&#8217;s connector to my Hauppauge PVR-150 leading to Epic FAIL.  I had the device and the remote working perfectly with <a href="http://www.lirc.org/">lirc</a> using the hauppauge driver that comes with lirc.  Being the lazy person that i am, i&#8217;m very irritated in having to get up and walk to the keyboard near the TV to change channels or volume (or anything else) with MythTV.<br />
<br />
Just when all seemed lost, i remembered that the pcHDTV card that i have also has an IR receiver.  I remembered that when i purchased the card, this feature was unsupported, but i assumed being several years later that developers would be all over that.  I was wrong.  It seems like it can be done, but it&#8217;s certainly not a self-explanatory process.  Hopefully my journey will be useful to others:<br />
<br />
First off, all i really had to go on was this newsgroup thread from 2006: <a href="http://www.pchdtv.com/forum/viewtopic.php?t=1529"> pcHDTV &#8211; Infrared Chip</a>.  It looks like very little to no work has been done in this area (which seems typical of the pcHDTV team).<br />
<br />
The first thing that must be done is to modify the kernel source slightly:<br />
<br />
if you look at the <tt>cx88-input.c</tt> file in <tt>./linux-2.6.X-whatever/drivers/media/video/cx88</tt> in the kernel sources, you can see two places where there&#8217;s a line:<br />
<br />
<tt>case CX88_BOARD_HAUPPAUGE_HVR1100:</tt><br />
<br />
In both places add the following line directly under the previous:<br />
<tt>case CX88_BOARD_PCHDTV_HD5500:</tt><br />
<br />
now recompile:<br />
<tt>make clean<br />
make modules</tt><br />
<br />
I&#8217;ll let you decide how you want to get the new cx8800.ko and cx88xx.ko files into the tree.  (I did it the &#8220;bad&#8221; way, but technically you should completely regenerate the kernel and module tree.)  Whatever you do, don&#8217;t forget:<br />
<br />
<tt>depmod -a</tt><br />
<br />
I&#8217;m using Gentoo, so my instructions from this point are specific to this distribution.  If you&#8217;re using a different distro, your mileage may very.  Next edit: <tt>/etc/make.conf</tt> add the line (or change the existing line) to be:<br />
<br />
<tt>LIRC_DEVICES="devinput"</tt><br />
<br />
Now (as root, of course) recompile lirc.<br />
<tt>emerge -v lirc</tt><br />
<br />
Here&#8217;s where it starts to get a little dodgy:  You need to edit the keyboard entry in <tt>/etc/X11/xorg.conf</tt> add the lines:<br />
<tt><br />
<del datetime="00"><br />
Option "Dev Phys"   "isa0060/serio0/input0"<br />
Option "CoreKeyboard"<br />
Option "Protocol"   "evdev"<br />
</del></tt><br />
<br />
into <tt> Section "InputDevice"</tt><br />
<br />
The reason for doing this is because X11 will detect the input device that will be created (/class/input/input5 your input# may be different) as being a keyboard.  The arrow keys and the enter key will work, but none of the other keys on the remote.  To have lirc working properly, we don&#8217;t want X using the remote as a keyboard as well.  The above lines explicitly specify the keyboard by bus ID.  You can check which device your keyboard is be running:<br />
<tt>cat /proc/bus/input/devices</tt><br />
<br />
At this point, reboot your machine.  This will allow the newly created cx88 and lirc kernel modules to be loaded.<br />
<br />
<i>This is where i currently am.  I&#8217;ll be updating this as i proceed in the debugging process</i><br />
<br />
~~~-edits: 4:08PM CST 1/3/09<br />
<br />
Okay 180 degree turn in strategy here.  It appears that the kbd driver is somehow being assigned to the ir device.  It seems when most other people have this problem it&#8217;s the <i>Hardware Abstraction Layer</i> of Linux, but i don&#8217;t have HAL installed, so it must be something similar, but not quite the same.  Current suspect is udev.  It appears that it has all to do with lircd being able to &#8220;lock&#8221; the input.  Clearly this isn&#8217;t happening.  It seems like all the codes in <tt>/etc/lircd.conf</tt> may need to change because of the different input interface.  Also the way the kernel module works it assigned keycode to most of the bottens on the remote anyway.<br />
<br />
It just so happens there&#8217;s another very small, simple program called <a href="http://www.nabble.com/inputlirc%3A-zeroconf-LIRC-daemon-using-Linux-input-event-devices-td2857590.html"> inputlirc </a>  It&#8217;s very simple, but it interfaces with all the apps that lircd does, but take only one configuration file (since the buttons are already assigned codes, there&#8217;s not need for two set of files).<br />
<br />
The program can be compiled easily by checking it out of subversion:<br />
<tt><br />
svn co http://svn.sliepen.eu.org/inputlirc/trunk/<br />
cd trunk<br />
make<br />
</tt><br />
<br />
The program created is the entire inputlirc system.  Further updates (and the .lircrc file) i end up using once i&#8217;m done.</p>
<p><b>Web pages with useful or related information:</b><br />
<br />
http://www.pchdtv.com/forum/viewtopic.php?t=1529<br />
http://www.mythtv.org/wiki/index.php/LIRC<br />
http://ubuntuforums.org/showthread.php?t=985311<br />
http://parker1.co.uk/mythtv_tips.php<br />
http://ubuntuforums.org/showthread.php?t=678835</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Configuring LIRC for remote control on MythTV]]></title>
<link>http://petersopus.wordpress.com/2009/01/03/configuring-lirc-for-remote-control-on-mythtv/</link>
<pubDate>Sat, 03 Jan 2009 09:05:00 +0000</pubDate>
<dc:creator>schneideris</dc:creator>
<guid>http://petersopus.wordpress.com/2009/01/03/configuring-lirc-for-remote-control-on-mythtv/</guid>
<description><![CDATA[I have been working on what is becoming an obsession this holiday season, my MythTV setup.  I would ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div>I have been working on what is becoming an obsession this holiday season, my MythTV setup.  I would not say that it has been easy or difficult, just a pain in the but.  So far this is not a MythTV issue but rather one of getting my IR transmitter going.  Most of it stems from my lack of understanding the Linux world as of yet but I am learning.  As I learn I get over some of the hurdles.  This post then is a recording of some of the lessons learned and perhaps will assist others attempting to get their Iguanaworks IguanaIR receiver/transmitter working with MythBuntu.  In reality all that I am interested in getting with this post at this time is that the Iguanaworks device can transmit, receiving is not a priority at the moment as this is the back-end that I am working on.</div>
<p>
<div>The first thing that I want to note is that to really work with and get Linux to work one MUST understand the Terminal and more importantly how to compile tools, kernels, drivers, and anything else you can think of and not think of.  The last 48 hours has convinced me that I seriously need to find some reading/research materials on this aspect of Linux.</div>
<p>
<div>Something that always seams to happen is that after you struggle for some unreasonable amount of time you stumble upon a resource that could have been a significant assistance much earlier (i.e. before you resolved some of the things that you already have resolved).  One such resource that I found and will pass along is a great post by George Notoras on &#8220;<a href="http://www.g-loaded.eu/2006/01/10/how-to-configure-and-use-lirc/">How to configure and use LIRC</a>&#8220;.  His post gets into all the main aspects of what you need to know.  Hopefully it will save you some time that I wish I could have gotten back.</div>
<div></div>
<div>So, some meat and potatoes on the Iguanaworks IguanaIR receiver/transmitter.  My biggest issue was that I could not get &#8220;lircd -H ?&#8221; to show the iguanaIR driver in the list.  In other words it was not available.  After trying so many different ways and beating my head against the wall, the floor, and the ceiling, I finally managed to get success.  Success though required several different tactics and in the following steps I am not even sure that I will have gotten it all correct.  If you have any corrections to provide please let me know so that I can make the modifications.  Of particular concern is that I ay have missed some privileges that needed to be assigned to a folder in order to make it accessible to some part of the build process.</div>
<div>
<ol>
<li>You need to uninstall LIRC.  I know this seams extreme but lets start from a clean slate.  Run (without quotes) the following from the terminal (your new best friend) session &#8220;sudo apt-get autoremove lirc&#8221;.  This will remove LIRC and all other associated packages.</li>
<p>
<li>Download and install the Iguanaworks driver.  For me this was &#8220;dpkg -i iguanaIR-0.24-1.i386.deb&#8221; as defined in the &#8220;<a href="http://iguanaworks.net/projects/IguanaIR/wiki/GettingStarted">Getting Started</a>&#8221; section of the Iguanaworks web site.  During this install the source code for the driver also gets uploaded.  You should now be able to check and see that the driver is working by starting it.</li>
<p>
<li>Here is one that I only noticed later but I think was important.  From the Iguanaworks <a href="http://iguanaworks.net/downloads.php?distro=deb">Downloads</a> page for Debian there is a note to edit the &#8220;/etc/apt/sources.list&#8221; file and add the &#8220;deb-src&#8221; and appropriate &#8220;deb&#8221; entries.  You will need this when performing the update command soon.</li>
<p>
<li>The next part need to note the link I found to a <a href="https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/153457">bug report</a> where &#8220;Ilkka Tuohela&#8221; provided some assistance.  Ilkka noted the commands needed to download the LIRC source code and then compile it.  From my experimentation with it I found a couple of changes that were needed but the following is based on this original work.<br /><span style="margin-left:25pt;font:courier;"><br /><span class="Apple-style-span" style="font-family:'courier new';">sudo apt-get source lirc</span><br /><span class="Apple-style-span" style="font-family:'courier new';">sudo apt-get build-dep lirc</span></p>
<p>This will build a new folder in the current folder that your terminal session has created.  the folder will start with &#8220;lirc&#8221; and then contain the version numbers so a quick &#8220;ls&#8221; will tell you what you have.  Now &#8220;cd&#8221; into this new folder (i.e. &#8220;cd lirc_0.8.4a&#8221;).</p>
<p>That was as far as I found Ilkka&#8217;s instructions of value.  I did determine that the next instruction that Ilkka gave to &#8220;dpkg-buildpackage-us -uc&#8221; should have actually been &#8220;dpkg-buildpackage -us -uc&#8221; but it still wasn&#8217;t of value.  Instead I decided to resort to the LIRC specific commands.<br /></span></li>
<p>
<li>Now I, from within the new LIRC folder, run the setup command via &#8220;sudo ./setup.sh&#8221;.  Doing so will allow you to pick the driver that you want to use.  For me this was the Iguanaworks one found under the USB devices.  When you have selected the right driver then you can &#8220;Save and Run Configuration&#8221;.  This option could be replaced though with George&#8217;s instructions that would result in multiple drivers.  The process of using setup results in a single driver installation.</li>
<p>
<li>Now you can build the actual LIRC package by running the &#8220;sudo make&#8221; command.  For this one you don&#8217;t need &#8220;sudo&#8221; privileges but I have become paranoid about not using the right privileges when I needed them.  This build/compiles the actual LIRC components but does not install them.</li>
<p>
<li>Run &#8220;sudo make install&#8221; to now install the LIRC components.  You do need &#8220;sudo&#8221; for this part.</li>
<p>
<li>Now you need to edit another file called &#8220;/etc/lirc/hardware.conf&#8221; to add the following entries:<br /><span class="Apple-style-span" style="font-family:'courier new';">DRIVER=&#8221;iguanaIR&#8221;</span><br /><span class="Apple-style-span" style="font-family:'courier new';">DEVICE=&#8221;/dev/iguanaIR/0&#8243;</span></p>
<p>I placed these at the end of the file. Note that if you have multiple Iguanaworks devices you would have additional lines replacing the &#8220;0&#8243; with &#8220;1&#8243;, &#8220;2&#8243;, ect.</li>
<p>
<li>If you now run &#8220;lircd -H ?&#8221; and don&#8217;t see anything other than an error you will want to reboot.  I am sure there is a way of doing this without a boot but I have found it cleaner when I am not sure about things.</li>
<p>
<li>Register the Iguanaworks driver with LIRC, or at least I think this is what it is doing, by running &#8220;sudo lircd -H iguanaIR&#8221;.</li>
<p>
<li>Here is another part of the mystery that had me baffled.  I needed to get LIRC to talk the same language as the remote that I wanted to transmit from.  Off to the LIRC <a href="http://lirc.sourceforge.net/remotes/">remotes download site</a> to find the appropriate file.  This file is then put into the &#8220;/etc&#8221; folder and named &#8220;lircd.conf&#8221;.  There are others that talk about how to build this file for your remote but I have no experience with that activity and do not want to mislead anyone here. </li>
<p>
<li>When changing the &#8220;lircd.conf&#8221; file (you will need to use a command such as &#8220;sudo gedit /etc/lircd.conf&#8221; to get the right privileges) you will need to restart LIRC.  George provided the answer for me on this one (this is actually when I found his post).  You execute &#8220;sudo killall lircd&#8221; and then rerun LIRC with &#8220;sudo lircd&#8221;.  Now your remote should be able to work.  You will want to note the &#8220;NAME&#8221; of the remote (for me it is &#8220;Motorola_IRC442-2&#8243;) in the file and the names of the commands.</li>
<p>
<li>Test the remote by executing a send command.  I first hooked up a TV to my StarChoice satellite receiver so that I could see the results of the commands that I sent.  Now I needed to initiate the Iguanaworksdriver to use the channel of interest.  For me, right now, I am willing to use all the channels so I go with the command from the Iguanaworks &#8220;getting Started&#8221; web site, &#8220;irsend set_transmi<br />
tters 1 2 3 4&#8243;.  With the command &#8220;irsend send_once Motorola_IRC442-2 GUIDE&#8221; and the satellite receiver popped up the interactive guide (note that I already had the power on).</li>
</ol>
<p>It works!!!!</p></div>
<div></div>
<div>Now I can go on to understanding the setup of &#8220;lircrc&#8221;.   Hopefully George will be of great help on this one.</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Hello there, it's been a while..]]></title>
<link>http://tvwhere.wordpress.com/2008/12/28/hello-there-its-been-a-while/</link>
<pubDate>Sun, 28 Dec 2008 10:40:19 +0000</pubDate>
<dc:creator>bcjenkins</dc:creator>
<guid>http://tvwhere.wordpress.com/2008/12/28/hello-there-its-been-a-while/</guid>
<description><![CDATA[Hi there blogosphere, I am sorry I haven&#8217;t posted in a while. Things have, as of late, been ru]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Hi there blogosphere, I am sorry I haven&#8217;t posted in a while. Things have, as of late, been running really well with SageTV but there&#8217;s been quite a few changes.</p>
<p>SageTV is in RC stages of its 6.5 version of the product. The biggest change for this version is the addition of their new HD-200 product support. This device is capable of playing back internet, local network, and SageTV fed content at resolutions of up to 1080p via component or HDMI. The internet and local aspects do not require the use of SageTV&#8217;s server component. I&#8217;ll go into more detail in a separate post. My home setup now has 6 HD extenders for watching TV. I recently removed my last PC being used for playback.</p>
<p>Aside from firmware issues which plague Windows users as well, my HDPVR has been running well in Linux. This device allows you to capture TV from component outputs up to 1080i on your cable or sat provider set top box. There are a few minor things to tweak when building the drivers. I will go into more detail, you guessed it, in a separate post.</p>
<p>HVR-1600 drivers have never been better! I use 3 of these PCI cards to capture OTA HD signals and standard definition cable box channels. I&#8217;ll cover recent changes in a separate post shortly. If you have this card, you&#8217;ll want to do a pull from v4l-dvb&#8217;s mercurial!</p>
<p>Lastly, in the next few days I will be setting up a method to automatically convert my favorite TV shows to iPod Touch format and mark chapters at commercial break points. The TV shows will be downloaded into iTunes via an RSS feed from a server on my local network. I&#8217;ll document the process and provide the scripts make this work.</p>
<p>Thanks for reading!</p>
<p>B</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Samsung remote for win XP]]></title>
<link>http://lemurt.wordpress.com/2008/11/03/samsung-remote-for-win-xp/</link>
<pubDate>Mon, 03 Nov 2008 22:04:43 +0000</pubDate>
<dc:creator>lemurt</dc:creator>
<guid>http://lemurt.wordpress.com/2008/11/03/samsung-remote-for-win-xp/</guid>
<description><![CDATA[  I read on HackADay that u cud make a usb-ir input device, that cud register the input from an ordi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;"> </p>
<p style="text-align:center;">I read on HackADay that u cud make a usb-ir input device, that cud register the input from an ordinary remote, for a tv/hif device.</p>
<p> </p>
<p>I then found, a guide to making a an ir receiver, for use via serial pin-9 ( COM ) port. Much simpler and cheaper, not even a micro controller needed <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p> </p>
<p>Then i realised, after buing the parts, that i didn&#8217;t have a com port on the back of my pc, but that i did have an internal connector ( phew !).</p>
<p> </p>
<p style="text-align:center;">Here is the deal:</p>
<p style="text-align:center;"><img class="aligncenter" src="http://i244.photobucket.com/albums/gg36/lemurt/SN851506-0006.jpg" alt="" width="405" height="305" /></p>
<p style="text-align:center;">Capacitor, resistor, diode, ir modulator, voltage regulator&#8230;. ( the diagram is wrong, by the way, for these component, and the capacitor is missing&#8230; <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Had to read allot of data sheets to do it with what components i cud get! ) </p>
<p style="text-align:center;"><img class="aligncenter" src="http://i244.photobucket.com/albums/gg36/lemurt/SN851507-0002.jpg" alt="" width="430" height="323" /></p>
<p style="text-align:center;">Found this cable, that i never used. Its not the right one for the COMA connector, but tuned it &#8220;upside down&#8221;, and connected it &#8220;to the side&#8221; of the pins, and it would do the job <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align:center;"><img class="aligncenter" src="http://i244.photobucket.com/albums/gg36/lemurt/SN851509-0003.jpg" alt="" width="430" height="323" /></p>
<p style="text-align:center;">This is my make-shift soldering platform. A piece of wood, with some rubber bands..  :D</p>
<p style="text-align:center;"><img class="aligncenter" src="http://i244.photobucket.com/albums/gg36/lemurt/SN851512-0004.jpg" alt="" width="430" height="323" /></p>
<p style="text-align:center;">Here it is, danling outside my pc case&#8230; testing to see if it works at all&#8230;.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://i244.photobucket.com/albums/gg36/lemurt/SN851513-0005.jpg" alt="" width="430" height="323" /></p>
<p style="text-align:center;">Connected inside&#8230;.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://i244.photobucket.com/albums/gg36/lemurt/SN851514-0000.jpg" alt="" width="430" height="323" /></p>
<p style="text-align:center;">After installing WinLirc, and seeing the COM1 port was workin&#8217;, in tried sending some signals with my trusty samsung remote&#8230;.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://i244.photobucket.com/albums/gg36/lemurt/SN851515-0001.jpg" alt="" width="430" height="323" /></p>
<p style="text-align:center;">Wuhuu! we get signal!!!!! Ie, its working!!!</p>
<p style="text-align:center;"> </p>
<p style="text-align:left;">Then i found a nice application, &#8220;UIce&#8221;, that could register the remte, and assign events to the keystrokes all in one. Then i assigned the &#8220;up&#8221;, &#8220;down&#8221;, &#8220;right&#8221;, &#8220;left&#8221; and &#8220;ok&#8221; buttons to the corrosponsing mouse events, on the pc&#8230;. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  now i can move around my cursor with my samsung remote&#8230;</p>
<p style="text-align:left;"> </p>
<p style="text-align:left;"> </p>
<p style="text-align:left;">I will make a nice mount for the reciever one of the next days <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Installing MythTV]]></title>
<link>http://kilokat7.wordpress.com/2008/10/19/installing-mythtv/</link>
<pubDate>Sun, 19 Oct 2008 15:07:57 +0000</pubDate>
<dc:creator>kilokat7</dc:creator>
<guid>http://kilokat7.wordpress.com/2008/10/19/installing-mythtv/</guid>
<description><![CDATA[I chose to install Knoppmyth (R5.5) since it&#8217;s Debian based and it&#8217;s somewhat familiar t]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I chose to install Knoppmyth (R5.5) since it&#8217;s Debian based and it&#8217;s somewhat familiar to me from having messed around with it three years ago.  There&#8217;s also a good community forum built around Knoppmyth for support.  Mythbuntu also looks nice and I will probably try it out later when I have more time to see how each distro compares with one another.</p>
<p>Installation on the new system was a breeze but I did run into some minor snags.  The installation was done with the HTPC connected to my Westinghouse 22&#8243; LCD, and subsequent tweaks are being done via VNC on my Window&#8217;s box.  Once I feel comfortable with the install, I will reconfigure xorg.conf to play nice with my Sony KDS-55A2000 HDTV @1080p.</p>
<p>A nice feature of the Knoppmyth installer is the remote control script.  During installation, I was prompted to select a remote control to use with Myth, and I choose the Imon-Pad option to match the Moneual&#8217;s Imon pad remote.  Without any issues, I was able to use my remote immediately without hassling with recompiling LIRC or config files &#8211; nice!</p>
<p><strong>Soundgraph Imon VFD<br />
<span style="font-weight:normal;">The VFD wasn&#8217;t working out of the box.  A few minutes on the Knoppmyth forum yielded a quick solution.  As root, running this script brought the VFD to life:</span></strong></p>
<pre>/usr/local/bin/vfd_install.sh</pre>
<p>When prompted to configure, hit &#8220;y&#8221;.  A reboot was then required before the VFD would activate.  Note: the large clock mode isn&#8217;t compatible with my VFD&#8217;s two line display so I had to disable this option under the Appearance &#62; LCD settings within MythTV.</p>
<p><strong>EDIT:</strong> The VFD install script has broken the pad function on the Imon remote.  All other buttons function normally, however the pad is no longer responsive.  The &#8220;pad&#8221; on this remote provides up, down, left and right navigation and is essential for myth menu navigation.  After spending several hours trying to resolve this, I gave up and mapped some other buttons to perform the same function by editing:</p>
<pre>/home/mythtv/.lircrc</pre>
<p><strong>DVD Playback</strong><br />
DVD&#8217;s aren&#8217;t working out of the box with my system either.  Xine throws this error at me when trying to play a DVD (both <span style="text-decoration:underline;">unencrypted</span> and encrypted):</p>
<p><a href="http://kilokat7.files.wordpress.com/2008/10/xine-engine-error.jpg"><img class="size-medium wp-image-262 alignnone" title="xine-engine-error" src="http://kilokat7.wordpress.com/files/2008/10/xine-engine-error.jpg?w=300" alt="" width="300" height="130" /></a></p>
<p>Per Myth&#8217;s general settings, the DVD device is set to /dev/dvd which didn&#8217;t exist on my system:</p>
<p><a href="http://kilokat7.files.wordpress.com/2008/10/dvd-device.jpg"><img class="size-medium wp-image-263 alignnone" title="dvd-device" src="http://kilokat7.wordpress.com/files/2008/10/dvd-device.jpg?w=300" alt="" width="300" height="225" /></a></p>
<p>Creating a symbolic link fixed the problem allowing me to view a DVD when inserted in the drive:</p>
<pre>ln -s /dev/scd0 /dev/dvd</pre>
<p>with &#8220;scd0&#8243; being my optical drive and &#8220;/dev/dvd&#8221; the location of the DVD device as defined in Myth&#8217;s general settings.  However, when rebooting the machine, the symbolic link is lost every time.  I fixed this by modifying (as root):</p>
<pre>/etc/udev/rules.d/z25_persistent-cd.rules</pre>
<p>The lines that contained the string <em>&#8220;SYMLINK+=&#8221;cdrom1&#8243;  </em>were changed to <em>&#8220;SYMLINK+=&#8221;cdrom&#8221;</em>, and similiarly for <em>SYMLINK+=&#8221;cdrw1&#8243;</em>, <em>SYMLINK+=&#8221;dvd1&#8243;</em>, and <em>SYMLINK+=&#8221;dvdrw1&#8243; &#8211; </em>the &#8220;1&#8243; had to be dropped from each instance.</p>
<p><strong>EDIT: </strong>After writing the above, and after a fresh &#8220;re-install&#8221; (long story), the DVD issue did not manifest itself and the DVD functionality works as expected the second time around.  I have no explanation for the DVD problem on the initial install&#8230;</p>
<p><strong>Fix Myth Gallery mount failure messages</strong></p>
<p>When myth starts, I was greeted with the following each time:</p>
<p>&#8220;Failed to mount device /dev/sde, showing default myth gallery directory&#8221;</p>
<p>This is probably caused by myth trying to mount the empty slots of the USB card reader.  For the meantime, I disabled them by adding the following to the &#8220;Ignore Devices&#8221; list:</p>
<pre>/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde</pre>
<div><a href="http://kilokat7.files.wordpress.com/2008/10/ignore_devices2.jpg"><img class="alignnone size-medium wp-image-285" title="ignore_devices2" src="http://kilokat7.wordpress.com/files/2008/10/ignore_devices2.jpg?w=300" alt="" width="300" height="225" /></a><a href="http://kilokat7.wordpress.com/files/2008/10/ignore_devices1.jpg"></a></div>
<div><strong></strong> </div>
<div><strong>Tweaks</strong></div>
<p><strong></strong></p>
<p><strong><span style="font-weight:normal;">Make <strong>Samba </strong>autostart on reboot so I can copy files to the HTPC at anytime from a Window&#8217;s box.  From a terminal as root:</span></strong></p>
<pre>update-rc.d samba defaults</pre>
<p><strong><span style="font-weight:normal;"><strong><span style="font-weight:normal;"><span style="font-style:normal;">Connecting from Window&#8217;s, the default username and password are both </span><em>mythtv</em> </span></strong></span></strong></p>
<p><strong>X11VNC</strong>  - get it working correctly with Nvidia and install TightVNC on my Window&#8217;s box.  I&#8217;m using VNC on my Window&#8217;s box to control the Myth frontend while I setup and tweak things.  Remember, I don&#8217;t have xorg.conf configured yet to communicate with my HDTV, and I don&#8217;t have a spare monitor sitting around to use to connect to the HTPC.  The HTPC at this point is a headless box &#8211; meaning it does not have a monitor, keyboard, or other peripherals connected to it at this point.  VNC is not practical for video streaming but well suited to navigate the myth frontend menus. There are issues with nvidia, so first edit:</p>
<pre>/home/mythtv/.fluxbox</pre>
<p>uncomment and alter the following line (change is in red):</p>
<pre><span style="font-family:Lucida Sans Unicode;">[startup] {/usr/bin/x11vnc -nap -wait 50 <span style="color:#ff0000;">-noxdamage</span> -passwd fubar -display :0 -forever -o /var/log/x11vnc.log -bg}</span></pre>
<p>Next, turn off OpenGL flipping by right clicking on the Fluxbox desktop &#38; Apps &#62; Tools &#62; nvidia-settings to bring up the settings panel.  Uncheck &#8220;Allow Flipping&#8221;:</p>
<p><a href="http://kilokat7.files.wordpress.com/2008/10/nvidia-settings.jpg"><img class="alignnone size-medium wp-image-300" title="nvidia-settings" src="http://kilokat7.wordpress.com/files/2008/10/nvidia-settings.jpg?w=300" alt="" width="300" height="163" /></a></p>
<p>Results: Remote access to the new headless HTPC from Windows:</p>
<p><a href="http://kilokat7.files.wordpress.com/2008/10/dsc_07371.jpg"><img class="alignnone size-medium wp-image-304" title="dsc_07371" src="http://kilokat7.wordpress.com/files/2008/10/dsc_07371.jpg?w=300" alt="" width="300" height="227" /><br />
</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[antec fusion v2 volume knob and lirc]]></title>
<link>http://gentoomythtv.wordpress.com/2008/09/07/antec-fusion-v2-volume-knob-and-lirc/</link>
<pubDate>Sun, 07 Sep 2008 18:49:34 +0000</pubDate>
<dc:creator>niko86</dc:creator>
<guid>http://gentoomythtv.wordpress.com/2008/09/07/antec-fusion-v2-volume-knob-and-lirc/</guid>
<description><![CDATA[different subject same story, there are no exact instructions on how to make the volume knob work wi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>different subject same story, there are no exact instructions on how to make the volume knob work with lirc, so i will do a quick howto on that too.</p>
<p>for me there was nothing special about getting the knob to work.<br />
i just installed lirc as described in the post below, after that i played around with irrecord and that&#8217;s it.<br />
(fyi: irrecord creates a [remote] section for the lirc config)<br />
if you want to do this yourself use this command:<br />
<code>#irrecord -d=/dev/lirc</code><br />
follow the instructions.<br />
<!--more--><br />
if you are lazy you could use my config:<br />
<code>begin remote<br />
  name  ClickWheel<br />
  bits           16<br />
  eps            30<br />
  aeps          100<br />
  one             0     0<br />
  zero            0     0<br />
  post_data_bits  16<br />
  post_data      0x0<br />
  gap          131995<br />
  toggle_bit_mask 0x30000<br />
      begin codes<br />
          VolUp                    0x0001<br />
          VolDown                  0x0100<br />
      end codes<br />
end remote<br />
</code></p>
<p>simple as that.</p>
<p>i did not come around to setup the ir reciever since i bought the wrong remote&#8230;. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
i read that the version2 of the microsoft mce remote should work, so i bought a fake one at amazon.<br />
but unfortunately it is not a microsoft mce remote clone, it acutally is mce compatible but only if you use the receiver shipped with the remote.<br />
it is labeled &#8220;ar remote mce&#8221; on the back and says &#8220;X10 Remote&#8221;.<br />
so i figure it will work with the atiusb module if you use the reciever shipped with the remote.<br />
but it won&#8217;t work with the imon receiver since the imon uses IR and the X10 uses RF.<br />
that&#8217;s not a big problem since i will use the X10 one for my other frontend (see the epia c3 project)</p>
<p>i am searching another remote right now, i have read that the xbox360 universal remote should work, i also found an original microsoft mce remote.<br />
but these are priced at around 30€ so i will do a lil research before spending another 30 for a remote that may not work with imon&#8230;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[antec fusion v2 imon vfd + lirc/LCDd howto]]></title>
<link>http://gentoomythtv.wordpress.com/2008/09/07/antec-fusion-v2-imon-vfd-lirclcdd-howto/</link>
<pubDate>Sun, 07 Sep 2008 18:24:58 +0000</pubDate>
<dc:creator>niko86</dc:creator>
<guid>http://gentoomythtv.wordpress.com/2008/09/07/antec-fusion-v2-imon-vfd-lirclcdd-howto/</guid>
<description><![CDATA[since there are no exact instructions on how to get the vfd to work with LCDd/lirc i will write a qu]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>since there are no exact instructions on how to get the vfd to work with LCDd/lirc i will write a quick HowTo.</p>
<p>if you know the thread on codeka.com about how to get it to work it might be helpful, but the instructions there are not all you need to know.</p>
<p>first you need lirc and LCDd.<br />
use these vars in your make.conf:<br />
<code>LCD_DEVICES="imon"<br />
LIRC_DEVICES="imon imon_knob imon_lcd imon_pad"</code></p>
<p>add this line to your /etc/portage/package.use file<br />
<code>app-misc/lcdproc lirc usb</code></p>
<p>now just emerge lirc and lcdproc.</p>
<p><!--more--></p>
<p>let&#8217;s see if there is an usb device we can use:<br />
<code>#lsusb<br />
Bus 002 Device 002: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller<br />
Bus 002 Device 001: ID 1d6b:0001<br />
Bus 001 Device 001: ID 1d6b:0002<br />
</code><br />
if you got the ffdc model, than this instructions are for you, i read that some other models requiere patching, i don&#8217;t know what to do exactly because i got the ffdc model shipped with the newer fusion v2 cases.</p>
<p>now let&#8217;s see if the modules are already loaded:<br />
<code>#lsmod &#124; grep lirc<br />
lirc_imon              15372  0<br />
lirc_dev               12904  1 lirc_imon<br />
usbcore               148632  4 lirc_imon,ohci_hcd,ehci_hcd<br />
</code></p>
<p>remove the module:<br />
<code>rmmod lirc_imon</code></p>
<p>and modprobe it withe the <strong>important argument</strong> is_lcd=0<br />
where 0 is the older vfd display (16&#215;2 characters, negative blue backlight, appears to be off when no text is displayed)<br />
1 is the newer lcd display.<br />
if you do not supply is_lcd=0 it will simply not work.<br />
<code>#modprobe lirc_imon is_lcd=0</code></p>
<p>start LCDd and see if it succesfully created the device:<br />
<code>#/etc/init.d/LCDd start<br />
#ls /dev/lcd*<br />
/dev/lcd0<br />
#ls /dev/lirc*<br />
/dev/lirc /dev/lirc0 /dev/lircd<br />
</code></p>
<p>you are ready to go! (if there is no lircd device you may have to start lircd as well)<br />
test the LCD:<br />
<code>#echo "TESTME" &#62; /dev/lcd0</code></p>
<p>if the string appears on the display you got it right!</p>
<p>now what to do to make this permanent?</p>
<p>first add this to /etc/modprode.d/lirc<br />
<code>options lirc_imon is_lcd=0</code><br />
add the lirc_imon module to /etc/modules.autoload.d/kernel-2.6</p>
<p>that&#8217;s it.</p>
<p>just for you to understand (i didn&#8217;t know this at first)<br />
LCDd is the Server, it &#8220;wakes&#8221; the Display and takes connections from clients, these clients are telling LCDd what to do with the Display.<br />
lcdproc is one of these clients for example, it will loop several info screens about the computer state.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[CommandIR II takes the cake]]></title>
<link>http://tvwhere.wordpress.com/2008/08/22/commandir-ii-takes-the-cake/</link>
<pubDate>Fri, 22 Aug 2008 10:44:33 +0000</pubDate>
<dc:creator>bcjenkins</dc:creator>
<guid>http://tvwhere.wordpress.com/2008/08/22/commandir-ii-takes-the-cake/</guid>
<description><![CDATA[And changes channels flawlessly! As I have mentioned earlier I originally had an IguanaIR device whi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>And changes channels flawlessly! As I have mentioned earlier I originally had an IguanaIR device which was billed as 4 IR blasting capable ports. I could never get it to work with more than 2 devices and their support was terrible.</p>
<p>I purchased the CommandIR II, and installed it in an available USB header port on the motherboard. A pull from lirc cvs, a quick compile of the driver (make sure to choose CommandIR under USB devices) had me up and running in no time. I am still using a tuning plugin written by a fellow SageTVer, with a script I wrote to perform the channel changes. All is working great. &#8211;b</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Placa Encore TV-FM (ENLTV) en Ubuntu]]></title>
<link>http://horusint.wordpress.com/2008/08/04/placa-encore-tv-fm-enltv-en-ubuntu/</link>
<pubDate>Mon, 04 Aug 2008 15:18:36 +0000</pubDate>
<dc:creator>Horus Int</dc:creator>
<guid>http://horusint.wordpress.com/2008/08/04/placa-encore-tv-fm-enltv-en-ubuntu/</guid>
<description><![CDATA[Bueno, acá nuevamente para Contarles Como Instalé Mi Placa Encore TV FM (ENLTV-FM) para ver la Tele ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Bueno, acá nuevamente para Contarles Como Instalé Mi Placa Encore TV FM (ENLTV-FM) para ver la Tele en Ubuntu Hardy.</p>
<p>Quizá el Primer paso ha sido un error pues el chip saa7134 ya esta incluido aparentemente en hardy pero ya esta hecho.</p>
<div style="text-align:justify;">El procedimiento que seguimos está en el <a href="http://www.ubuntu-es.org/index.php?q=node/45630">foro de ubuntu</a></div>
<p>En la consola hacer lo siguiente:</p>
<p>1) Instalar mercurial:</p>
<p>sudo apt-get install mercurial</p>
<p>2) Descargar el fuente del driver:</p>
<p>hg clone http://linuxtv.org/hg/v4l-dvb</p>
<p>3) Instalar el driver:</p>
<p>cd v4l-dvb<br />
sudo make , o sudo make all<br />
sudo make install</p>
<div style="text-align:justify;">Cuando el <span style="font-weight:bold;">Ubuntu</span> empieza a cargar, carga por defecto del <span style="font-weight:bold;">driver saa7134_alsa</span> pero sin reconocer la &#8220;card&#8221; y el &#8220;tuner, es por eso hay que especificarlo.</div>
<p>4) sudo gedit /etc/modprobe.d/alsa_base</p>
<p>Buscamos</p>
<p># Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)<br />
install saa7134 modprobe &#8211;ignore-install saa7134 $CMDLINE_OPTS &#38;&#38; { modprobe -Qb saa7134-alsa ; : ; }</p>
<p>Le agregamos  la identifiacación de la <span style="font-weight:bold;">Encore TV</span>, para que cargue el driver correcto, quedando así:<br />
# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)<br />
install saa7134 modprobe &#8211;ignore-install saa7134 $CMDLINE_OPTS &#38;&#38; { modprobe -Qb saa7134-alsa -card=3 tuner=69 ; : ; }</p>
<div style="text-align:justify;">En Argentina y la norma es Pal_NC, y para que funcione el tuner se debe poner 69, Tambien pueden Probar Con 37 aunque este me funcionó mejor,</div>
<div style="text-align:justify;">La tarjeta en realidad debería ser &#8220;card=107&#8243;, pero no levanta el sonido, he leído que aparentemente hay un bit 0&#215;40001 por 0&#215;4401 que hay que cambiar en saa7134cards.c pero no puedo hablar de ello, la Card=3 corresponde a LifeView/Typhoon FlyVIDEO2000, y anda muy bien</div>
<p>Tambien vamos a editar el Archivo Options de módulos:</p>
<p>sudo gedit /etc/modprobe.d/options</p>
<p># opciones para tarjeta de captura de video con chip phillips<br />
options saa7134 card=3 tuner=69 i2c_scan=1 ir_debug=1</p>
<p>Esto lo que hará es cargar la configuracion de la <span style="font-weight:bold;">Encore Tv</span> al iniciar Ubuntu.</p>
<p>Sigan leyendo más Abajo</p>
<h3 class="post-title entry-title">Visto en <a href="http://linux-yyo.blogspot.com/2007/08/instalar-encore-tv-fm-tuner-pro-enltv.html">Instalar Encore TV FM Tuner Pro (ENLTV) en Ubuntu 7.04 Feisty Fawn</a></h3>
<p><!--more--></p>
<p>Tenemos que hacer Funcionar</p>
<ul>
<li>la TV</li>
<li>La Radio</li>
<li>En Control Remoto</li>
</ul>
<p>Para Las Dos primeras nos basta con un:</p>
<p>sudo aptitude install tvtime gnomeradio (o kradio en KDE)</p>
<p>Respecto a Gnomeradio, ya debería funcionar tomando desde /dev/radio0 el otigen.</p>
<p>Con tvtime, elegimos frecuencia personalizada y primero debemos escanear los parametros disponible.</p>
<p>En Argentina la Norma es PAL-Nc, si Tenemos cable elegimos directamente us-cable sino o argentina o personalizada</p>
<p>por ejemplo</p>
<pre>tvtime-configure --norm=PAL-Nc --frequencies=us-cable</pre>
<p>Luego para que deje de sonar el tvtime cuando se cierra:</p>
<p>sudo gedit ~/.tvtime/tvtime.xml</p>
<p>y agregamos</p>
<p>&#8220;option name=&#8221;MuteOnExit&#8221; value=&#8221;1&#8243; &#8220;</p>
<p>Nuestro Item pendiente es el Remoto</p>
<p>Veo en  &#8220;<a href="http://lihuen.info.unlp.edu.ar/index.php/Configuraci%C3%B3n_de_placa_sintonizadora_de_tv_encore_enltv-fm_pci">http://lihuen.info.unlp.edu.ar/index.php/Configuraci%C3%B3n_de_placa_sintonizadora_de_tv_encore_enltv-fm_pci</a>&#8220;</p>
<p>Debemos Instalar lirc</p>
<pre>#sudo aptitude install lirc</pre>
<p>luego</p>
<pre>#sudo /etc/init.d/lirc stop</pre>
<p>Si necesitamos Bajar y Volver a levantar saa7134 debemos</p>
<p>Ver si esta cargado</p>
<pre>lsmod &#124; grep saa</pre>
<p>si algun modulo esta cargado entonces</p>
<pre>sudo rmmod saa7134</pre>
<p>ahora ejecutamos</p>
<pre>sudo depmod -ae</pre>
<p>volvemos a cargar el modulo</p>
<pre>sudo modprobe saa7134 card=3 tuner=69 i2c_scan=1 ir_debug=1</pre>
<p>recordar que si necesitamos probar otros valores Comentar lo que pusimos en Options o tomará esos valores al cargarlo</p>
<p>Vemos cual es nuestra Entrada de Control remoto</p>
<pre>cat /proc/bus/input/devices</pre>
<pre>I: Bus=0001 Vendor=1a7f Product=2004 Version=0001
N: Name="saa7134 IR (Encore ENLTV-FM2)"
P: Phys=pci-0000:00:0a.0/ir0
S: Sysfs=/class/input/input2
H: Handlers=kbd event2
B: EV=100003
B: KEY=10a00800 0 0 0 0 0 8000 80 0 21680 0 0 10000ffe</pre>
<p>ahora vamos a sacar la información del dispositivo en cuestión</p>
<pre>udevinfo -a -p `udevinfo -q path -n /dev/input/event2`</pre>
<pre>  looking at device '/class/input/input2/event2':
    KERNEL=="event2"
    SUBSYSTEM=="input"
    DRIVER==""
    ATTR{dev}=="13:66"

  looking at parent device '/class/input/input2':
    KERNELS=="input2"
    SUBSYSTEMS=="input"
    DRIVERS==""
    ATTRS{modalias}=="input:b0001v1A7Fp2004e0001-e0,1,14,k71,A7,CF,18B,195,197,19C,ramlsfw"
    ATTRS{uniq}==""
    ATTRS{phys}=="pci-0000:00:0a.0/ir0"
    ATTRS{name}=="saa7134 IR _Encore ENLTV-FM2_" 

  looking at parent device '/devices/pci0000:00/0000:00:0a.0':
    KERNELS=="0000:00:0a.0"
    SUBSYSTEMS=="pci"
    DRIVERS=="saa7134"
    ATTRS{broken_parity_status}=="0"
    ATTRS{enable}=="1"
    ATTRS{modalias}=="pci:v00001131d00007130sv00001A7Fsd00002004bc04sc80i00"
    ATTRS{local_cpus}=="ff"
    ATTRS{irq}=="193"
    ATTRS{class}=="0x048000"
    ATTRS{subsystem_device}=="0x2004"
    ATTRS{subsystem_vendor}=="0x1a7f"
    ATTRS{device}=="0x7130"
    ATTRS{vendor}=="0x1131"

  looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""</pre>
<p>Probamos nuestro Control</p>
<pre>tail -f /var/log/syslog</pre>
<p>y apreten los botones del control remoto si aparecen secuencias distintas como:</p>
<pre>Jul 26 21:53:27 localhost kernel: saa7130[0]/ir: build_key gpio=0x191149 mask=0x7f data=73
Jul 26 21:53:27 localhost kernel: saa7130[0]/ir: build_key gpio=0x511ff mask=0x7f data=127
Jul 26 21:53:29 localhost kernel: saa7130[0]/ir: build_key gpio=0x19114c mask=0x7f data=76</pre>
<p>esta de maravillas, si no</p>
<pre>Jul 26 21:53:27 localhost kernel: saa7130[0]/ir: build_key gpio=0x191149 mask=0x7f data=0
Jul 26 21:53:27 localhost kernel: saa7130[0]/ir: build_key gpio=0x511ff mask=0x7f data=0
Jul 26 21:53:29 localhost kernel: saa7130[0]/ir: build_key gpio=0x19114c mask=0x7f data=0</pre>
<p>tienen un error, mi caso.</p>
<p>si no tienen el error continuamos</p>
<pre>$irrecord -H dev/input -d /dev/input/event2 /tmp/lircd.conf</pre>
<p>aparecera algo como esto</p>
<pre>Please enter the name for the next button (press to finish recording)
nombreDelBoton
Now hold down button “nombreDelBoton”.
Please enter the name for the next button (press to finish recording)</pre>
<p>bueno ahi aprentan los botones y listo.</p>
<p>una vez configurados los botones pasamos a copiar el archivo /tmp/lircd.conf al directorio correcto</p>
<pre>cp /tmp/lircd.conf /etc/lirc/lircd.conf</pre>
<p>bueno ahora configuramos el resto de los archivos</p>
<pre># /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS="-d /dev/input/event2" 

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD=false

#Try to load appropriate kernel modules
LOAD_MODULES=true 

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="dev/input"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/lirc"
MODULES="UNCONFIGURED"

# Default configuration files for your hardware if any
LIRCD_CONF="/etc/lirc/lircd.conf"
LIRCMD_CONF="UNCONFIGURED"</pre>
<p>el remoto deberia quedar algo como esto</p>
<pre># Please make this file available to others
# by sending it to &#60;lirc@bartelmus.de&#62;
#
# this config file was automatically generated
# using lirc-0.8.0(userspace) on Sat Jul 26 20:18:40 2008
#
# contributed by
#
# brand:                       /tmp/lircd.conf
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote 

  name  /tmp/lircd.conf
  bits           32
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  gap          147849
  toggle_bit      0 

      begin codes
          1                        0x80010002
          2                        0x80010003
          3                        0x80010004
          4                        0x80010005
          5                        0x80010006
          6                        0x80010007
          7                        0x80010008
          8                        0x80010009
          9                        0x8001000A
          0                        0x8001000B
      end codes 

end remote</pre>
<p>bueno si quieren pueden poner mas botones aquí solo se agregan los números como ejemplo.</p>
<p>ahora si quieren pueden usar tvtime para ver la tv y gradio o kradio etc para la radio.</p>
<p>en el directorio home del usuario puede crear o se creara con las aplicaciones un archivo</p>
<pre>.lircrc</pre>
<p>pueden editarlo de la siguiente manera</p>
<pre>begin
        remote = encore
        button = POWER
        prog   = irexec
        repeat = 0
        config = tvtime&#38;
    end
begin
    prog   = tvtime
    button = 1
    config = keypad 1
end
begin
    prog   = tvtime
    button = 2
    config = keypad 2
end
begin
    prog   = tvtime
    button = 3
    config = keypad 3
end
begin
    prog   = tvtime
    button = 4
    config = keypad 4
end
begin
    prog   = tvtime
    button = 5
    config = keypad 5
end
begin
    prog   = tvtime
    button = 6
    config = keypad 6
end
begin
    prog   = tvtime
    button = 7
    config = keypad 7
end
begin
    prog   = tvtime
    button = 8
    config = keypad 8
end
begin
    prog   = tvtime
    button = 9
    config = keypad 9
end
begin
    prog   = tvtime
    button = 0
    config = keypad 0
end
begin
	prog   = kradio
	config = eventmap
    repeat = 1
 end</pre>
<div id="bodyContent">Atencion, en mi caso no funciono esto,</div>
<div>Esto tal como en <a href="http://linuxtv.org/v4lwiki/index.php/Remote_controllers">http://linuxtv.org/v4lwiki/index.php/Remote_controllers</a></div>
<div>
<h3><span class="mw-headline">Combined GPIO remotes</span></h3>
<p>Sometimes remotes are not pure gpio and acts a bit differently. For example, keypress can be signalled by gpio and keyvalue can be read from i2c device. If you seen only 1 bit is changing in gpio once it&#8217;s probably this situation.</p>
<pre>saa7133[0]/ir: build_key gpio=0x0 mask=0x0 data=0
saa7133[0]/ir: build_key gpio=0x40 mask=0x0 data=0</pre>
<p>Sometimes the rc5 value is delivered directly to gpio. In that case you&#8217;ll see a lot of changes when you press a single key</p>
<pre>saa7133[0]/ir: build_key gpio=0x0 mask=0x0 data=0
saa7133[0]/ir: build_key gpio=0x40 mask=0x0 data=0
saa7133[0]/ir: build_key gpio=0x0 mask=0x0 data=0
saa7133[0]/ir: build_key gpio=0x40 mask=0x0 data=0
saa7133[0]/ir: build_key gpio=0x0 mask=0x0 data=0
saa7133[0]/ir: build_key gpio=0x40 mask=0x0 data=0
saa7133[0]/ir: build_key gpio=0x0 mask=0x0 data=0
saa7133[0]/ir: build_key gpio=0x40 mask=0x0 data=0</pre>
</div>
<p>Any help to resolve this will be aprecciated.</p>
<p>He avanzado bastante pero aún falta con este tema</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Goodbye iguanaIR, hello CommandIR II]]></title>
<link>http://tvwhere.wordpress.com/2008/07/20/goodbye-iguanair-hello-commandir-ii/</link>
<pubDate>Sun, 20 Jul 2008 16:50:17 +0000</pubDate>
<dc:creator>bcjenkins</dc:creator>
<guid>http://tvwhere.wordpress.com/2008/07/20/goodbye-iguanair-hello-commandir-ii/</guid>
<description><![CDATA[After becoming very frustrated with the lack of support from IguanaWorks, I have decided to replace ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>After becoming very frustrated with the lack of support from IguanaWorks, I have decided to replace their device with the internal unit from CommandIR.</p>
<p>The Iguana device had been working great when I was running 2 tuners. After adding the 3rd tuner/DCT700 cable box to the mix, I could not get it to work. I opened a ticket with Iguana and I get the impression my issue is not high enough on their priority list to address. As a result I would NOT recommend this company to anyone to do business with.</p>
<p>Stay tuned for CommandIR feedback. I selected their new internal version and am looking forward to the install. I need to have all my tuners operational before the kickoff of the new TV season!</p>
<p>B</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Infrared in Linux: LIRC]]></title>
<link>http://idebian.wordpress.com/2008/07/15/infrared-in-linux-lirc/</link>
<pubDate>Tue, 15 Jul 2008 07:50:03 +0000</pubDate>
<dc:creator>idebian</dc:creator>
<guid>http://idebian.wordpress.com/2008/07/15/infrared-in-linux-lirc/</guid>
<description><![CDATA[LIRC is the Linux Infrared Remote Control framework: it&#8217;s widely used to control the computer ]]></description>
<content:encoded><![CDATA[LIRC is the Linux Infrared Remote Control framework: it&#8217;s widely used to control the computer ]]></content:encoded>
</item>
<item>
<title><![CDATA[Hauppauge WinTV-NOVA-T-Stick y mando a distancia funcionando (¡por fin!)]]></title>
<link>http://javierarias.wordpress.com/2008/07/01/hauppauge-wintv-nova-t-stick-y-mando-a-distancia-funcionando-%c2%a1por-fin/</link>
<pubDate>Tue, 01 Jul 2008 11:46:28 +0000</pubDate>
<dc:creator>Javi</dc:creator>
<guid>http://javierarias.wordpress.com/2008/07/01/hauppauge-wintv-nova-t-stick-y-mando-a-distancia-funcionando-%c2%a1por-fin/</guid>
<description><![CDATA[Hace un par de meses compré una Hauppauge WinTV-NOTA-T-Stick y me funciona a la perfección tras habe]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Hace un par de meses compré una <a title="Página del fabricante de WinTV-NOVA-T-Stick" href="http://www.hauppauge.fr/Spain/pages/products/data_novatstick.html">Hauppauge WinTV-NOTA-T-Stick</a> y me funciona a la perfección tras haber seguido las <a title="Instrucciones para instalar Hauppauge WinTV-NOVA-T-Stick" href="http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-NOVA-T-Stick">instrucciones de instalación de LinuxTV</a>. Lo que nunca logré hacer funcionar fue el mando a distancia: miles de <a title="Mando a distancia Hauppauge modelo número DSR-0112" href="http://javierarias.wordpress.com/files/2008/07/img_4613.jpg"><img class="size-thumbnail wp-image-46 alignleft" style="border:1px solid black;margin:10px 10px 10px 0;" src="http://javierarias.wordpress.com/files/2008/07/img_4613.jpg?w=67" alt="Mando a distancia Hauppauge modelo número DSR-0112" width="67" height="96" /></a>pruebas que nunca funcionaron acabaron por desquiciarme, san Google no me ayudó y acabé por pasar del mando&#8230; hasta ayer por la tarde. Volví a entrar en las instrucciones de LinuxTV y vi que habían añadido una sección para el mando a distancia, pero esas instrucciones no funcionaban pues explican la instalación para dos modelos de mando diferentes al que viene con mi <em>stick</em>, cuyo <strong>número de modelo es DSR-0112</strong> (lo podéis ver en la parte trasera), de 35 teclas, gris por la parte delantera y negro por la trasera; lo podéis ver en la foto de la izquierda (clic en ella para verla a tamaño completo). Total, que pongo a funcionar <a title="Página oficial de LIRC" href="http://www.lirc.org/">LIRC</a>, intento capturar las teclas de mi mando usando <code>irrecord</code> para generar mi <code>lircd.conf</code> y me da los siguientes errores siempre:</p>
<blockquote><p><code>$ irrecord </code>-<code>H devinput </code>-<code>d /dev/input/by</code>-<code>path/pci</code>-<code>5</code>-<code>6</code>&#8211;<code>event</code>-<code>ir  /tmp/lircd.conf<br />
[...]<br />
<em> irrecord: gap not found, can't continue<br />
irrecord: closing '/dev/input/by</em></code>-<code><em>path/pci</em></code>-<code><em>5</em></code>-<code><em>6</em></code>&#8211;<code><em>event</em></code>-<code><em>ir'</em><br />
</code></p></blockquote>
<p>Estos errores son debidos a que las pulsaciones en el mando a distancia no son detectadas por LIRC pese a que el sistema sí reconoce un receptor de infrarrojos incrustado en el receptor TDT/DVB. Para hacer que el LIRC reconozca las pulsaciones desde el mando se debe aplicar un parche al driver de la Hauppauge; explicaré el procedimiento que seguí en mi Mandriva 2008.0 (para otras distribuciones el proceso será el mismo con algún comando cambiado, como por ejemplo <code>urpmi</code>). Así, abrimos una consola de <em>root</em> y seguimos estas instrucciones:</p>
<blockquote><p><code>$ urpmi mercurial<br />
$ hg clone http://linuxtv.org/hg/v4l</code>-<code>dvb<br />
$ cd v4l</code>-<code>dvb/linux/drivers/media/dvb/dvb</code>-<code>usb/<br />
$ wget http://cache.gmane.org/gmane/linux/drivers/dvb/42458</code>-<code>001.bin </code>-<code>O dib0700_devices_ir_DSR</code>-<code>0112.diff<br />
$ patch </code>&#8211;<code>verbose </code>&#8211;<code>dry</code>-<code>run &#60; dib0700_devices_ir_DSR</code>-<code>0112.diff<br />
$ cd ../../../../..</code></p></blockquote>
<p>Y luego ya seguimos con el procedimiento explicado en LinuxTV:</p>
<blockquote><p><code>$ make &#38;&#38; make install<br />
</code></p></blockquote>
<p>Una vez hecho esto ya tenemos nuestro <em>driver</em> para la Hauppauge listo para funcionar y para reconocer las teclas pulsadas en el mando a distancia. Ahora reiniciamos el sistema (extrañamente hacer un <em>reload</em> de los módulos no me funcionó <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_confused.gif' alt=':-?' class='wp-smiley' /> ) y lo que nos queda es configurar el mando a distancia; esto consiste en asignar al código enviado por cada tecla del mando un &#8220;nombre&#8221;. Esto se hace en el fichero <code>lircd.conf</code> y para configurarlo podemos hacerlo a mano (usando <em>irrecord</em>) o podemos usar un <code>lircd.conf</code> ya preparado para este mando. Para hacerlo de esta última manera abrimos otra consola como <em>root</em> y ejecutamos los siguientes comandos:</p>
<blockquote><p><code>$ cd /etc/<br />
$ wget http://cache.gmane.org//gmane/linux/drivers/dvb/42458-002.bin </code>-<code>O lircd.conf</code></p></blockquote>
<p>Arrancamos el servicio LIRC:</p>
<blockquote><p><code>$ service lircd restart<br />
<em> Deteniendo demonio de control remoto infrarrojo de Linux:       [FALLÓ ]<br />
Deteniendo demonio de Control Remoto Infrarrojo de Linux:       [FALLÓ ]<br />
Iniciando demonio de Control Remoto Infrarrojo de Linux:        [  OK  ]<br />
Iniciando demonio del ratón para Control Remoto Infrarrojo de Li[  OK  ]</em></code></p></blockquote>
<p>Si todo va bien ahora deberían funcionar tanto el dispositivo de TDT como el mando a distancia. El primero lo podemos comprobar con el Kaffeine o mplayer por ejemplo y para probar el segundo ejecutamos el programa <code>irw</code> en una consola y pulsamos algunas teclas en el mando:</p>
<blockquote><p><code>$ irw<br />
<em> 0000000000010073 00 vol+ hauppauge<br />
0000000000010073 00 vol+ hauppauge<br />
000000000001008b 00 menu hauppauge<br />
000000000001008b 00 menu hauppauge<br />
000000000001009e 00 back hauppauge<br />
000000000001009e 00 back hauppauge<br />
00000000000100cf 00 play hauppauge<br />
00000000000100cf 00 play hauppauge<br />
0000000000010077 00 pause hauppauge<br />
0000000000010077 00 pause hauppauge</em></code></p></blockquote>
<p>Si os sale algo parecido a esto enhorabuena, ya podéis usar el mando a distancia de la Hauppauge WinTV-NOVA-T-Stick en vuestras aplicaciones favoritas. <span style="text-decoration:line-through;">Únicamente tengo el problema de que el sistema reconoce cada pulsación como doble, de manera que si doy a la tecla bajar volumen me bajará &#8220;dos veces&#8221; de volumen, y si pulso la tecla 4 para ir al canal número 4 en realidad intenta ir al canal 44</span>. <strong>Actualización</strong>: en los comentarios han pegado un parche que soluciona el problema de la doble pulsación.<span style="text-decoration:line-through;"><br />
</span></p>
<p>Si usáis KDE os recomendaría echar un vistazo a IRKick (que básicamente es una manera de hacer más fácil la configuración de LIRC bajo KDE), que forma parte del paquete <strong><code>kdeutils-common</code></strong>. Quizás algún día escriba un post sobre IRKick, que éste ya es demasiado largo.</p>
<p>Fuentes:</p>
<ul>
<li><a title="Instrucciones para instalar Hauppauge WinTV-NOVA-T-Stick" href="http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-NOVA-T-Stick">LinuxTV.org: instrucciones para instalar Hauppauge WinTV-NOVA-T-Stick</a></li>
<li><a title="Cómo instalar drivers de dispositivos DVB (LinuxTV)" href="http://linuxtv.org/wiki/index.php/How_to_install_DVB_device_drivers">LinuxTV.org: cómo instalar drivers de dispositivos DVB en Linux</a></li>
<li><a title="Lista de correo de linux-dvb" href="http://article.gmane.org/gmane.linux.drivers.dvb/42458">Lista de correo de linux-dvb</a></li>
</ul>
</div>]]></content:encoded>
</item>

</channel>
</rss>
