[mythtv-users] can't set wakealarm

Mark Perkins perkins1724 at hotmail.com
Fri Aug 10 03:46:47 UTC 2018



On 10 August 2018 12:09:46 pm Douglas Peale <Douglas_Peale at comcast.net> wrote:

> I am attempting to follow these instructions here: 
> https://www.mythtv.org/wiki/ACPI_Wakeup
>
> when I test setting the wake alarm I get the following:
>
> $ echo 0 > /sys/class/rtc/rtc0/wakealarm
> bash: /sys/class/rtc/rtc0/wakealarm: Permission denied
>
>
> Even sudo does not help here:
>
> $ sudo echo 0 > /sys/class/rtc/rtc0/wakealarm
> bash: /sys/class/rtc/rtc0/wakealarm: Permission denied
>
>
> This was working before I upgraded to Mint 19. but the last time I messed 
> with this stuff was 8 years ago, so I have forgotten
> what I knew then.
>
>
> What am I missing?
>
>
>
>
>
> ----------
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
The sudo only applies to the echo or something like that. Check out a 
couple of examples here or try "sudo bash"  for elevated shell or some 
equivalent.
https://stackoverflow.com/questions/84882/sudo-echo-something-etc-privilegedfile-doesnt-work-is-there-an-alterna




More information about the mythtv-users mailing list