On Dec 14, 2010, at 1:26 PM, Nick Morrott wrote:
> On 14 December 2010 17:56, Paul Check <paul@...> wrote:
>> Hi: I am trying to get lirc working for an IR blaster and pvr350. I've
>> tried a few iterations and changed things around each time, but it seems
>> that I can only get one of the two working, eg. the one that compiles
>> last. I know years ago there was a method to compile two separate
>> instances of lirc....is this still necessary?
> I believe this requirement still exists for LIRC kernel modules, even
> on current kernels and LIRC releases . I don't know if this
> restriction can be lifted with the current LIRC architecture (Jarod or
> Christoph can correct me here on either or both points - it would be
> nice for a definitive answer on this as a lot of work has been put
> into LIRC recently which may have changed things).
> Back in the day (running a 2.6.16 kernel) when I started using
> lirc_i2c for my IR receiver and later lirc_serial for a homebrew
> transmitter I was building a second renamed instance of LIRC for this
> exact reason - using the ledxmit script. Not long after I simplified
> things immensely by adding a homebrew IR receiver to the serial
> transmitter (discarding the IR receiver from the PVR-350) and have
> used a single instance of LIRC with lirc_serial for both receiving and
> sending with no problems some several years.
> Whilst it's getting harder to find boxes and boards supporting a
> serial port, many USB MCE IR receivers (transceivers) also come with
> IR transmitters which are well supported in LIRC now. In fact, I use
> the receiver portion on a MythTV frontend running on an Acer Revo 3610
> with no problems, and would most probably get another MCE device if my
> serial IR devices fail in the future.
There are only a few cases where you need a modified 2nd build, and
its only at the driver level when you want to use multiple devices
driven by the same driver, for drivers that only support a single
device at a time, such as lirc_serial. i.e., if you have both a serial
receiver and transmitter, on distinct serial ports, you need two
lirc_serial driver builds, the second renamed to something else.
Otherwise, its entirely possible to use multiple different drivers
at the same time.