You are not logged in.

#1 2013-09-07 19:34:44

lewispm
Member
Registered: 2013-08-27
Posts: 5

irexec service not working

I have an ir receiver with a remote that sends codes that lirc reads as mceusb.

I have irexec.service active and running using my .lircrc file.  I've configured five buttons in this file, volume up, volume down, mute, tv power and tv input.   Tv power runs two commands: tv power and amp power.  The irexec service didn't respond when I had the .lircrc "config=" set to "irexec" the two commands, either in one "config=" like this:

begin
 prog = irexec
 remote = mceusb
 button = KEY_POWER
 config = irsend send_once Sony KEY_POWER && irsend send_once Vizio POWER &
end

or in two, like so:

begin
 prog = irexec
 remote = mceusb
 button = KEY_POWER
 config = irsend send_once Sony KEY_POWER
 config = irsend send_once Vizio POWER
end

but I fixed this by putting it in a shell script with a "sleep 1" between the two commands and now the power works.  The three volume related codes all work just fine with "config=irsend send_once" their commands.

The tv input button is not working, however.

$ irw
000000037ff07ba5 00 Teletext mceusb
000000037ff07ba5 01 Teletext mceusb
000000037ff07ba5 02 Teletext mceusb

And I have "Teletext" set in xbmc to "noop" which disables that button, and xbmc is ignoring the button, so its being received and filtered by xbmc.
Here's the .lircrc excerpt:

begin
 prog = irexec
 remote = mceusb
 button = Teletext
 config = irsend send_once Vizio INPUT
end

If I copy and paste the command:

$irsend send_once Vizio INPUT

it works.

So I thought I would put it in a script also.  If I run the script from a command line the script works and the input dialogue is brought up on the tv.

So the irexec service is working for all of my buttons except this one.  Any idea why?

Offline

Board footer

Powered by FluxBB