[mythtv-users] MythTv BE/FE go to sleep but doesn't wake up

ganassa ganassa at gmail.com
Thu Feb 16 18:08:18 UTC 2012


Thank you Ian, now it makes sense (it happened with other sys devices in
the past, now I realized why)

2012/2/16 Ian Clark <mrrooster at gmail.com>

> On 12 February 2012 17:56, ganassa <ganassa at gmail.com> wrote:
> >> Date: Sun, 12 Feb 2012 15:51:45 +0100
> >> From: ganassa <ganassa at gmail.com>
> [snip]
>
> Apologies if this is slightly off topic....
> >> >
> >> > It looks like I don't have permission to do that. Let's try with sudo:
> >> >
> >> > $ sudo echo 0 > /sys/class/rtc/rtc0/wakealarm
> >> > -bash: /sys/class/rtc/rtc0/wakealarm: Permission denied
> >> >
>
> Just FYI, what you are doing here is running 'echo 0' as root, but you
> are using the shell to redirect the standard output to
> /sys/class/rtc/rtc0/wakealarm, because the shell process is
> responsible for the redirect and is running as a non root user you get
> the permission denied error.
>
> This subtlety has caught me out in the past!
>
> Ian
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20120216/ee57d1c9/attachment-0001.html 


More information about the mythtv-users mailing list