From: Marco Sinhoreli <msinhore@gm...> - 2006-04-27 17:27:49
I'm newbie with lirc.
I built a infrared receptor circuit (from lirc site) and I connect on
ttyS0. I have compiled/installed and inserted the modules (0.8.0)
'lirc_serial' and I have no problem at moment. I start the lirc and
the deamon is running. I'm testing the receptor with 'irw' command
but, the lirc does not receive the signals from remote control.
What is the problem on my configuration?
Tanks for all.
Have you tried `mode2 -d /dev/lircd`?
This should tell you whether your serial lirc device is receiving signal or
not. As far as I can tell it works this way:
mode2 tells you whether your serial device is even reading your ir receiver.
Pressing buttons on your remote should show you send and pause signals that
tell you that the IR device is actualy working. Beyond recognizing that
your button is held down or let go, mode2 does pretty much nothing for you.
Once Mode2 is receiving your signal, it's time to either do it the hard way
with IRRECORD: `irrecord myremote` (you must have lirc shutdown to do this,
but make sure the kernel modules are still loaded via `lsmod`) or find and
download an lircd.conf file from the net (for my particular remote, an OFA
8910 there is no pre-built file that I can find). If you find your
lircd.conf file for your remote, copy it to /etc/lircd.conf and move on to
the next step. If you can't, create one via the irrecord above.
Once IRRECORD has finished with your lircd.conf file (spend time with this,
get it right or you will be frustrated later) copy it to /etc/lircd.conf.
In any case at this point you should have a valid /etc/lircd.conf file
(supposedly, see a post i'm about to make to this list) that has all the
buttons on your remote mapped to their particular key codes.
At this point you want to run IRW: `irw` which should read the lircd.conf
file from /etc. IRW Again is nothing more than a test program, but it does
allow you to see if your lircd.conf file is setup correctly.
with IRW running, you point your remote at the receiver and press a button,
it should print the name that you gave to the button from the lircd.conf
file. So irw takes the input signal 0x0000001842 for instance, finds that
number in the lookup in lircd.conf and retreives the button name that you
pressed...it should then display the button name from lircd.conf on your
Assuming all this works, your next step is to build or find a lircd file for
mythtv which maps the names comming from the lircd.conf file to functions
Good luck, my remote control won't map correctly, all of my buttons are
showing correctly (as far as I know) in lircd.conf but IRW won't print the
names of half of them.
--Douglas Wagner (new to the list).
View this message in context: http://www.nabble.com/Problem-with-lirc_serial-t1519590.html#a4149064
Sent from the LIRC forum at Nabble.com.