Sadly, I've been down this road and it was nothing but grief for me.<br>
<br>
Try this. Compile libirman and run the 'test_io' program.
My guess is you will get garbage and/or the word 'NO' as output.
This is not good. 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. This should trigger an initialization of the chip in
the receiver and it should respond with 'OK'. Mine didn't.
But I found the problem. If you look in irio.c (I think it was
that one), they don't set the number of stop bits. If, on you
Gentoo machine, the number of stop bits was set correctly to begin with
then you are in good shape. If, like me, you happen to have no
stop bits as the "default" 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. 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. The problem
was, I would sometimes get a different 6 bytes for the same remote
key. You can see this with 'test_io' as well. Just run
'test_io' and hold down a remote key (one the repeats). Now move
the remote around while holding the key down. 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. 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> <<a href="mailto:ali.asad.lotia@gmail.com">ali.asad.lotia@gmail.com</a>> 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 <<a href="mailto:justin.hornsby2@ntlworld.com">justin.hornsby2@ntlworld.com</a>> wrote:<br>> Ali Asad Lotia wrote:
<br>> > Hello All,<br>> > I know that this may be OT, but I've seen other lirc related posts on<br>> > this list and am sufficiently desperate. Please accept my apologies if<br>> > this is OT enough to be annoying. I initially posted this to the lirc
<br>> > list, but have not received a response yet and am hoping that a fellow<br>> > mythtv user may have seen something similar and fixed it.<br>> ><br>> > I am currently trying to set up lirc with a IRA-3 receiver that i
<br>> > purchased from Home Electronics<br>> > (<a href="http://www.home-electro.com/ira3.php">http://www.home-electro.com/ira3.php</a>). The receiver is hooked up to<br>> > serial port 1 (ttyS0) and when I cat /dev/ttyS0, i can see it print
<br>> > output to the screen when I send it commands from a Radio Shack<br>> > 15-2116 remote control.<br>> ><br>> > I have installed libirman-0.4.3, which I compiled from source after<br>> > applying the patch for IRA-3 devices that Pratap Pereira release on
<br>> > this list (<a href="http://sourceforge.net/mailarchive/message.php?msg_id=10826076">http://sourceforge.net/mailarchive/message.php?msg_id=10826076</a>).<br>> > I am running Gentoo and the kernel is 2.6.12-gentoo-r9
. The serial<br>> > driver is compiled into the kernel. I installed lirc-0.7.2 using the<br>> > Gentoo ebuild and did pass options to build the irman driver when<br>> > installing.<br>> <snip><br>
><br>> Well, why not try doing what the LIRC documentation recommends and take<br>> the serial port drivers out of the kernel... if the system is already<br>> allocating /dev/ttyS0, then LIRC can't use it.<br>
><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>><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>