[mythtv-users] irexec and power button issue
Klaubert Herr da Silveira
klauberts at yahoo.com
Thu Jun 22 02:09:17 UTC 2006
I found the problem...
The .lircrc file was copied from jarod's tips, as
# Power Button
begin
prog = irexec
button = OFF
#button = POWER # (for my RS15-2116 remote)
repeat = 4
config = /usr/local/bin/mythpowerbutton.sh
end
How I use Power, I comment
# button = OFF
and uncomment
button = POWER # (for my RS15-2116 remote)
This is the problem, the hash mark after keywork POWER, as soon I remove it, ir
works.
Thanks all for help.
Klaubert
--- scottc7l <scottc7l at adelphia.net> wrote:
> I was just working on this on my box.
>
> I ran irexec as root using /etc/init.d/rc.local
> I needed to pass the location of the lircrc to make it work
>
> /usr/bin/irexec --daemon /root/.lircrc
>
>
> On Mon, 2006-06-19 at 15:21 -0400, Tom Lichti wrote:
> > Michael Lynch wrote:
> > > On 6/19/06, Tom Lichti <tom at redpepperracing.com> wrote:
> > >
> > >> Klaubert Herr da Silveira wrote:
> > >>
> > >>> --- Tom Lichti <tom at redpepperracing.com> wrote:
> > >>>
> > >>>
> > >>>
> > >>>> Works fine for me. Have you tried running the mythpowerbutton.sh
> script
> > >>>> from the command-line to see if there are any error messages?
> > >>>>
> > >>>> Tom
> > >>>>
> > >>>> _______________________________________________
> > >>>> mythtv-users mailing list
> > >>>> mythtv-users at mythtv.org
> > >>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > >>>>
> > >>>>
> > >>>>
> > >>> Running it from command line works, the problem is with irexec.
> > >>>
> > >>> Klaubert
> > >>>
> > >>>
> > >>>
> > >> Okay, is irexec set to run when the users session starts? I have mine in
> > >> a script (I don't remember why) that is called when X starts. My system
> > >>
> > >
> > > I remember I had to have irexec start by the user running the X
> > > session or irexec wouldn't work for that user. This could be why you
> > > have done this, and could also be the OP's issue.
> > >
> > >
> > Yes, I'm pretty sure you are correct. It was almost 2 years ago that I
> > did this originally, the details are a little fuzzy... :)
> >
> > Tom
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the mythtv-users
mailing list