[mythtv-users] Lirc and jvc_send?

Owen Williams ywwg at usa.net
Mon Apr 14 13:45:01 EDT 2003


On Mon, 2003-04-14 at 12:01, mythtv-users-request at snowman.net wrote:
>    8. Lirc and jvc_send? (jasonmiller)
> Date: Mon, 14 Apr 2003 08:17:53 -0600
> From: jasonmiller <jasonmiller at micron.com>
> To: "'mythtv-users at snowman.net'" <mythtv-users at snowman.net>
> Subject: [mythtv-users] Lirc and jvc_send?
> Message-ID: <3607D767B8E1D311A24F0008C7590A961218BC09 at ntexchange07.micron.com>
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> MIME-Version: 1.0
> Precedence: list
> Reply-To: Discussion about mythtv <mythtv-users at snowman.net>
> Message: 8
> 
> Is anyone succesfully using lirc with a receiver/transmitter combo to both control mythtv with a remote and control a jvc/dishnetwork box with jvc_send?  My receiver works great but when irxevent is running, the jvc_send fails because it can't open the lirc device.  If irxevent isn't running it works just fine.  I'm assuming irxevent is polling /dev/lirc thus locking it up but I would think that would be a problem for any transmitter.  


I am currently using an irman to receive remote signals and an ir
blaster to send to my cable box.  It's actually quite easy to get two
lircd drivers running simultaneously.  Install the first one as normal,
and save all of the utilities it builds (the driver, irexec, etc).  Then
edit the config.h.in file, changing the following:

change all the devices to lirc2 and whatnot
increment the default port number

then reconfigure and recompile, but don't install.  Make sure the new
devices are properly created.

Now, you have two copies of lircd, irexec, and all those.  I renamed my
daemons lircd-irman and lircd-blaster.  Then I copied the rc
corresponding to the irblaster build to /usr/local/bin, and also copied
the irexec and irxevent corresponding to the irman build.

So now, when it wants to change the channel, the rc program is built
against one set of devices, and the ir* programs are built against the
other device.  It works perfectly.

owen williams


More information about the mythtv-users mailing list