Sadly, I've been down this road and it was nothing but grief for me.<br>
<br>
Try this.&nbsp; Compile libirman and run the 'test_io' program.&nbsp;
My guess is you will get garbage and/or the word 'NO' as output.&nbsp;
This is not good.&nbsp; If you can't get this bit to work then you can
forget about LIRC, irrecord, irw, etc.<br>
<br>
What test_io should do is send the characters 'I' and 'R' to the
receiver.&nbsp; This should trigger an initialization of the chip in
the receiver and it should respond with 'OK'.&nbsp; Mine didn't.&nbsp;
But I found the problem.&nbsp; If you look in irio.c (I think it was
that one), they don't set the number of stop bits.&nbsp; If, on you
Gentoo machine, the number of stop bits was set correctly to begin with
then you are in good shape.&nbsp; If, like me, you happen to have no
stop bits as the &quot;default&quot; then you are just out of luck.<br>
<br>
So, if you add the line to set the stop bits (you have to or the CSTOPB
constant back into the settings, IIRC) then you should be able to run
test_io and get 'OK' as the response.<br>
<br>
OK, if you get that far don't be too happy because that is where things
went really south for me.&nbsp; I got the device initialized and after
getting 'OK' from the remote, I was getting my nice 6 byte stream in
response to every button I pressed on the remote.&nbsp; The problem
was, I would sometimes get a different 6 bytes for the same remote
key.&nbsp; You can see this with 'test_io' as well.&nbsp; Just run
'test_io' and hold down a remote key (one the repeats).&nbsp; Now move
the remote around while holding the key down.&nbsp; If your unit is
like mine, you will not get the same code for every key press.<br>
<br>
I sincerely hope it works for you and hopefully some of this info will help.&nbsp; But I'm returning mine...<br>
<br>
--<br>
Mike<br>
<br><div><span class="gmail_quote">On 9/2/05, <b class="gmail_sendername">Ali Asad Lotia</b> &lt;<a href="mailto:ali.asad.lotia@gmail.com">ali.asad.lotia@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
i've tried it that way, with the lirc_serial module inserted and had<br>even less success with it. apparently, with the irman based devices,<br>you need to have lircd listen to the serial port using the regular<br>serial port drivers and not the lirc_serial module.
<br><br>when i specify the irman driver and build from source, it doesn't even<br>build the lirc_serial.ko module, which would indicate that the modules<br>aren't needed when using the irman driver in lirc. on another gentoo
<br>machine at my office, i was able to get it to run irrecord and irw<br>when lircd was monitoring ttyS0, its just on this box that it appears<br>to have a problem.<br><br>so running lircd -d /dev/ttyS0 and then running irw, i was able to
<br>have the client attach to the deamon and successfully get signals from<br>the remote.<br><br>On 9/2/05, Justin Hornsby &lt;<a href="mailto:justin.hornsby2@ntlworld.com">justin.hornsby2@ntlworld.com</a>&gt; wrote:<br>&gt; Ali Asad Lotia wrote:
<br>&gt; &gt; Hello All,<br>&gt; &gt; I know that this may be OT, but I've seen other lirc related posts on<br>&gt; &gt; this list and am sufficiently desperate. Please accept my apologies if<br>&gt; &gt; this is OT enough to be annoying. I initially posted this to the lirc
<br>&gt; &gt; list, but have not received a response yet and am hoping that a fellow<br>&gt; &gt; mythtv user may have seen something similar and fixed it.<br>&gt; &gt;<br>&gt; &gt; I am currently trying to set up lirc with a IRA-3 receiver that i
<br>&gt; &gt; purchased from Home Electronics<br>&gt; &gt; (<a href="http://www.home-electro.com/ira3.php">http://www.home-electro.com/ira3.php</a>). The receiver is hooked up to<br>&gt; &gt; serial port 1 (ttyS0) and when I cat /dev/ttyS0, i can see it print
<br>&gt; &gt; output to the screen when I send it commands from a Radio Shack<br>&gt; &gt; 15-2116 remote control.<br>&gt; &gt;<br>&gt; &gt; I have installed libirman-0.4.3, which I compiled from source after<br>&gt; &gt; applying the patch for IRA-3 devices that Pratap Pereira release on
<br>&gt; &gt; this list (<a href="http://sourceforge.net/mailarchive/message.php?msg_id=10826076">http://sourceforge.net/mailarchive/message.php?msg_id=10826076</a>).<br>&gt; &gt; I am running Gentoo and the kernel is 2.6.12-gentoo-r9
. The serial<br>&gt; &gt; driver is compiled into the kernel. I installed lirc-0.7.2 using the<br>&gt; &gt; Gentoo ebuild and did pass options to build the irman driver when<br>&gt; &gt; installing.<br>&gt; &lt;snip&gt;<br>
&gt;<br>&gt; Well, why not try doing what the LIRC documentation recommends and take<br>&gt; the serial port drivers out of the kernel... if the system is already<br>&gt; allocating /dev/ttyS0, then LIRC can't use it.<br>
&gt;<br>&gt; _______________________________________________<br>&gt; mythtv-users mailing list<br>&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>&gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>&gt;<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>