[mythtv-commits] Ticket #10197: Shutdown from Mythwelcome does not trigger wakeup

MythTV noreply at mythtv.org
Fri Jun 6 13:38:02 UTC 2014


#10197: Shutdown from Mythwelcome does not trigger wakeup
-------------------------------------------------+-------------------------
 Reporter:  martin.bantz@…                       |          Owner:
     Type:  Bug Report - General                 |         Status:  new
 Priority:  minor                                |      Milestone:  unknown
Component:  MythTV - Mythwelcome & Mythshutdown  |        Version:  Master
 Severity:  medium                               |  Head
 Keywords:  mythwelcome wakeup shutdown          |     Resolution:
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------

Comment (by Matthias Hofmann <borim7@…>):

 The configured "command to set wakeup time" (in my case: sudo
 /usr/sbin/rtcwake -m no -t $time)
 is not executed, when "mythshutdown --shutdown" is executed.
 Instead the default command "/usr/bin/nvram-wakeup --settime $time" is
 executed.

 In the source code at mythtv/programs/mythshutdown/main.cpp:659 the
 command is fetched from the configuration and always the default command
 is returned.
 Another point is that the configuration is fetched in another way as in
 the rest of the file. Normally the static function getGlobalSetting is
 used, but for the wakeup time command "gCoreContext->GetSetting(...)" is
 used. I do not know if this is the reason for the bug.

 When this bug gets fixed, it would be nice if mythshutdown gets an option
 to set the wakeup time without shutting down.


 I use:
 - Ubuntu 14.04 (x64)
 - Mythtv 0.27 (2:0.27.0+fixes.20140324.8ee257c-0ubuntu3)
 - Frontend and Backend on the same machine

--
Ticket URL: <https://code.mythtv.org/trac/ticket/10197#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list