<p>More details about ubuntu lirc init.d script problem?  (I&#39;m currently working on translating into init [upstart] scripts and want to avoid/fix problems while I&#39;m at it ;-)</p>
<p>Craig.</p>
<div class="gmail_quote">On May 23, 2011 9:58 AM, &quot;Jarod Wilson&quot; &lt;<a href="mailto:jarod@wilsonet.com">jarod@wilsonet.com</a>&gt; wrote:<br type="attribution">&gt; On May 19, 2011, at 6:18 PM, John McFadden wrote:<br>
&gt; <br>&gt;&gt; On Tue, May 17, 2011 at 12:23 PM, Jarod Wilson &lt;<a href="mailto:jarod@wilsonet.com">jarod@wilsonet.com</a>&gt; wrote:<br>&gt;&gt;&gt; On May 15, 2011, at 7:39 PM, John McFadden wrote:<br>&gt;&gt;&gt; <br>
&gt;&gt;&gt;&gt; I have an mceusb receiver (/dev/lircd) and a USB FTDI blaster<br>&gt;&gt;&gt;&gt; (/dev/lircd1) with LIRC 0.9.0 and I can&#39;t seem to find the right way<br>&gt;&gt;&gt;&gt; to tell LIRC that the FTDI is the blaster and the mceusb is the<br>
&gt;&gt;&gt;&gt; receiver.<br>&gt;&gt;&gt;&gt; <br>&gt;&gt;&gt;&gt; When I use<br>&gt;&gt;&gt;&gt; irsend -d /dev/lircd SEND_ONCE DTA100 KEY_1<br>&gt;&gt;&gt;&gt; nothing happens as lircd is only a receiver, but I do not get an error message.<br>
&gt;&gt;&gt;&gt; <br>&gt;&gt;&gt;&gt; When I use<br>&gt;&gt;&gt;&gt; irsend -d /dev/lircd1 SEND_ONCE DTA100 KEY_1<br>&gt;&gt;&gt;&gt; I receive<br>&gt;&gt;&gt;&gt; irsend: command failed: SEND_ONCE DTA100 KEY_1<br>&gt;&gt;&gt;&gt; irsend: hardware does not support sending<br>
&gt;&gt;&gt;&gt; <br>&gt;&gt;&gt;&gt; <br>&gt;&gt;&gt;&gt; I can use other scripts to make the blaster transmit test patterns, so<br>&gt;&gt;&gt;&gt; it seems to be only an LIRC configuration issue.<br>&gt;&gt;&gt;&gt; <br>
&gt;&gt;&gt;&gt; Can anyone suggest a path forward?<br>&gt;&gt;&gt; <br>&gt;&gt;&gt; Output of the following, please:<br>&gt;&gt;&gt; <br>&gt;&gt;&gt; # ls -l /dev/lirc*<br>&gt;&gt;&gt; <br>&gt;&gt;&gt; Need to know how you&#39;re launching your two lircd instances too. Distro<br>
&gt;&gt;&gt; and kernel version would be useful to know.<br>&gt;&gt;&gt; <br>&gt;&gt;&gt; <br>&gt;&gt; john@AMDQuad:~/Desktop$ ls -l /dev/lirc*<br>&gt;&gt; crw-rw---- 1 root root 61, 0 2011-05-15 12:44 /dev/lirc0<br>&gt;&gt; lrwxrwxrwx 1 root root    19 2011-05-15 19:28 /dev/lircd -&gt; /var/run/lirc/lircd<br>
&gt;&gt; lrwxrwxrwx 1 root root    21 2011-05-15 19:28 /dev/lircd1 -&gt;<br>&gt;&gt; /var/run/lirc/lircd11<br>&gt;&gt; <br>&gt;&gt; I&#39;m not sure what you mean by launching the two lircd instances, I<br>&gt;&gt; used the built-in Mythbuntu LIRC configuration generator to set it for<br>
&gt;&gt; my remote and a different blaster/STB combo and then changed<br>&gt;&gt; hardware.conf and lircd.conf to reflect my blaster and STB<br>&gt;&gt; <br>&gt;&gt; The system is running Mythbuntu 10.04, kernal 2.6.32-31-generic<br>
&gt; <br>&gt; <br>&gt; In which case, you&#39;re launching lircds by way of the ubuntu lirc initscript,<br>&gt; as configured by hardware.conf, which has been known to screw things up from<br>&gt; time to time...<br>&gt; <br>
&gt; Halt the initscript, and try starting up two lircd instances by hand with<br>&gt; all the necessary args passed to them, see if things behave any better.<br>&gt; <br>&gt; -- <br>&gt; Jarod Wilson<br>&gt; <a href="mailto:jarod@wilsonet.com">jarod@wilsonet.com</a><br>
&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; ------------------------------------------------------------------------------<br>&gt; What Every C/C++ and Fortran developer Should Know!<br>&gt; Read this article and learn how Intel has extended the reach of its <br>
&gt; next-generation tools to help Windows* and Linux* C/C++ and Fortran <br>&gt; developers boost performance applications - including clusters. <br>&gt; <a href="http://p.sf.net/sfu/intel-dev2devmay">http://p.sf.net/sfu/intel-dev2devmay</a><br>
</div>