[mythtv-users] LIRC Tale of Woe

Douglas Wagner douglasw0 at gmail.com
Mon May 1 18:05:43 UTC 2006


Yes, IRW is a function that works only POST /etc/lircd.conf being correct.
IRW doesn't have inherent knowledge of the buttons on your remote, it simply
reads the mappings from the lircd.conf file.  Meaning if the lircd.conf file
doesn't have the right mappings (wrong remote, buttons not showing the
correct signals, etc.) you won't be able to get anything.

There are some other tools that could help you diagnose this however:

mode2 (I know this works for serial, don't know if it works for the other
drivers tho I don't see why not) will tell you whether you're getting any
signal to the computer from the remote.  Run it with:
`mode2 -d /dev/lirc` and point your remote at your sensor and fire away, you
SHOULD see a bunch of information scroll by for each button press (basically
signal length and pause length for each button press).  The moment you see
THIS working you know the following:  1) Your IR Receiver is correctly
hooked to your card, 2) your remote is functioning and sending information,
3) your card is correctly recognized and supported by the drivers you're
using.

If mode2 fails to get anything, you have a hardware connection issue
somewhere in the mix (to test your remote, if you happen to have a
"learning" remote somewhere in your house you could attempt to "learn" one
of the buttons off of the hauppage remote just to make sure that the
hauppage remote doesn't have like a cracked IR eye or that it's actually
sending an IR signal, this at least lets you know whether you have an issue
on the receiving end or the sending end.)

Once Mode2 works, you're problem is likely to be the lircd.conf file.  You
can create your own by using irrecord <recordfile> (i.e. `irrecord
myremote`).  Follow the instructions on screen, it's easy to manage.  Done
it about a dozen times on my system while I was trying to setup my OFA
8910.  Once the LIRC file is correct, then restart lircd and re-run IRW, see
if this doesn't get you farther.

One last piece of advice, and i'm not sure if this applies to you or not,
probably not.  On my OFA8910 (universal learning remote) I had programmed
several buttons myself (setup different codes that the buttons sent).  For a
while, those codes weren't being picked up by IRW...it simply wasn't
returning anything.  I believe this got fixed either with a reboot (lircd
shutdown and restart) or when I mapped the remote to a different device and
then re-mapped back to what I was using before.  Again, I don't know how
that could help you other than information that there are times that
lircd/irw doesn't seem to like to read the signals correctly even tho the
/etc/lircd.conf file is correct.

--Douglas Wagner

On 4/30/06, Brian Wood <beww at beww.org> wrote:
>
>
> On Apr 30, 2006, at 1:46 PM, Nick wrote:
>
> > On 30/04/06, James Kaufman <jmk at kaufman.eden-prairie.mn.us> wrote:
> >> I said I had a 350, but whether I've got the correct lircd.conf or
> >> not
> >> should be irrelevant. I get no response from irw. If I got a
> >> response,
> >> then I could worry about whether I have the correct config files.
> >>
> >> I already wiggled the card and tried to get a better connection, but
> >> what the heck - I'll try it again.
>
> I meant try to get the remote sensor cable into its connector just a
> little further.
>
>
> >
> > Have you tried stopping lircd and running irrecord? This way you will
> > quickly be able to determine if your card/receiver/remote are working
> > at all.
> >
> > If you are running irw and do not have a valid lircd.conf, I don't
> > think you would get any output (IME).
> >
>
>
> That's quite correct, if the codes being transmitted don't match
> what's in lircd.conf you will get nothing from irw.
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060501/94fdc773/attachment.htm 


More information about the mythtv-users mailing list