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

MythTV noreply at mythtv.org
Wed Aug 30 20:40:14 UTC 2017


#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
                                                 |  Head
 Severity:  medium                               |     Resolution:
 Keywords:  mythwelcome wakeup shutdown          |  Ticket locked:  0
-------------------------------------------------+-------------------------

Comment (by natanojl):

 Replying to [comment:2 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.

 This means you haven't configured mythwelcome/mythshutdown properly.
 There is one setting in mythtv-setup and another in mythwelcome.  You have
 most likely only configured the one in mythtv-setup but not the one in
 mythwelcome.  See https://www.mythtv.org/wiki/Mythwelcome and/or
 https://www.mythtv.org/wiki/ACPI_Wakeup.

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


More information about the mythtv-commits mailing list