[mythtv-users] Fedora 16 for mythTV?

Joey Morris rjmorris at nc.rr.com
Tue Nov 22 01:40:46 UTC 2011

Phusion <phusion2k at gmail.com> wrote on Mon, Nov 21, 2011 at 05:39:20PM -0600:
> Yeah, I found that out, but still have problems.
> begin
> prog = irexec
> button = KEY_SLEEP
> config = sudo /data/scripts/suspend.sh
> repeat = 0
> end
> The suspend.sh script is echo mem > /sys/power/state. From the command
> line this suspends as well as I can run sudo /usr/sbin/pm-suspend and
> this suspends, but can't get it to work using lirc.

When you run them successfully from the command line, do you have to
enter a password for sudo? If so, you'll need to set up sudo to allow
your mythtv user to run those commands without a password. I'm not
sure about Fedora, but on Ubuntu systems you do that in /etc/sudoers
or /etc/sudoers.d

More information about the mythtv-users mailing list