View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Remote key Prompt?
PostPosted: Mon Jan 03, 2011 9:25 pm 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
Hello,

Finally getting everything dialed in. My final stumbling block is configuring the power button on the remote. In my R5.5 setup, I had the power button call a script via irexec that would either:
Power on the receiver and the projector, if in the off state, or
Prompt using gxmessage to verify that you wanted to turn everything off, if you pressed OK on the remote (sent via irxevent to CurrentWindow), everything would turn off.
To determine the state, the script would create or delete a file.

Now, it took me a while to figure out that only xmessage is available on R6 (not quite as configurable as gxmessage, but gets the job done). Plus the OK remote press is only getting sent to mythtv, not the CurrentWindow. I've verified that the only lines in my lircrc related to the OK button on the remote are:
Code:
begin
        prog = irxevent
        button = OK
        config = Key return CurrentWindow
        flags = quit
end

which is what used to work in R5.5. When Mythfrontend was the current window, it would get the Return, but then after pressing "Power" and gxmessage came up, the Return key press would go to that. Or even if you were in an xterm window, that would get the Return key press. Now, no matter what window is on top, mythtv gets the return.

I have a separate /etc/runit/lirc.sh that I use to start lircd, irexec, and irxevent, which is:
Code:
/usr/sbin/lircd --driver=default --device=/dev/lirc0 --pidfile=/var/run/lircd.ati.pid --listen=8765 \
     --logfile=/var/log/lircd.ati.log /home/mythtv/.mythtv/lirc/lircd.conf.ati
/usr/sbin/lircd --driver=usb_uirt_raw --device=/dev/ttyUSB0 --pidfile=/var/run/lircd.usbuirt.pid --connect=localhost:8765 \
     --logfile=/var/log/lircd.usbuirt.log /home/mythtv/.mythtv/lirc/lircd.conf.usbuirt
/usr/bin/irxevent -d /home/mythtv/.mythtv/lirc/lircrc
/usr/bin/irexec /home/mythtv/.mythtv/lirc/lircrc

Any ideas on how to troubleshoot this?

_________________
Tim

LinHES 8.4
HDHR3
BioStar A770, AMD X2 4050e, 2GB RAM
GigaByte GeForce 8400, Chaintech AV710
USB-UIRT


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 32 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu