[mythtv-users] [OT] LIRC multiple devices question/problem

Tom Lichti redpepperracing at gmail.com
Fri Dec 3 04:56:43 UTC 2010


This is not specifically a MythTV question, but I know there are many
people here who can help (yes Jarod, I'm looking at you.. :) ) me out.
I have a MCE USB receiver, and an IguanaIR receiver/transmitter that I
am trying to use on my frontend. Originally I just had the MCE
receiver, but I want to control the volume and power on my TV, so I
added the Iguana unit to do that. I could not get the two to work
together, in that it seems I could only use one or the other with
LIRC, so I am currently using just the Iguana unit, but as a receiver,
it, to be blunt, sucks. It misses probably half of the events. As a
transmitter it works, but it's a bit slow. What I would like to do is
use the receiver portion of the MCE unit, and the transmitter portion
of the Iguana unit, at the same time. The frontend is running latest
trunk SVN, on FC13, LIRC is 0.8.6-7 recompiled with IguanaIR support.

I have tried to follow the guide here:
http://www.lirc.org/html/configure.html but I think I have an issue
with the /dev/lirc2 node, I can start the second instance of lirc (for
the mceusb device) but when I try to run irw and connect to it I get
the following:

Dec  2 23:51:42 fe2 lircd-0.8.6[5275]: accepted new client on
/var/run/lirc/lircd2
Dec  2 23:51:42 fe2 lircd-0.8.6[5275]: could not open /dev/lirc2
Dec  2 23:51:42 fe2 lircd-0.8.6[5275]: default_init(): No such device or address
Dec  2 23:51:42 fe2 lircd-0.8.6[5275]: Failed to initialize hardware

Here are my device nodes:

[root at fe2 etc]# ls -ltr /dev/lirc*
crw-rw-r-- 1 root root 250, 1 Dec  2 23:24 /dev/lirc2
crw-rw---- 1 root root 250, 0 Dec  2 23:43 /dev/lirc0
[
I created lirc2 manually, but it doesn't seem to work. I am also a bit
confused as to what driver to use. Without the iguanaIR device
connected, I dpon't specify a driver for the mceusb device, I just
start LIRC and it works. for the second lircd instance (for the mceusb
device) I started it with:

lircd --device=/dev/lirc2 --output=/var/run/lirc/lircd2
--pidfile=/var/run/lirc/lircd2.pid

Is that the problem?

So confused....

Thanks in advance for any help.

Tom


More information about the mythtv-users mailing list