[mythtv-users] Mythwelcome and ACPI wake up

Paul Harrison mythtv at dsl.pipex.com
Wed Nov 14 23:27:12 UTC 2007



fb517255 at skynet.be wrote:
> even when I run it as mythtv user I got this output (verbose log)
>
> 2007-11-14 22:18:55.317 MSqlQuery: SELECT data FROM settings WHERE value
> = 'MythShutdownNextScheduled' AND hostname IS NULL;
> 2007-11-14 22:18:55.317 no recording time is set
> 2007-11-14 22:18:55.317 no wake up time set and no scheduled program
> 2007-11-14 22:18:55.324 MSqlQuery: DELETE FROM settings WHERE value =
> 'MythShutdownWakeupTime';
> 2007-11-14 22:18:55.325 MSqlQuery: INSERT INTO settings ( value, data )
> VALUES ( 'MythShutdownWakeupTime', NULL );
> 2007-11-14 22:18:55.326 MSqlQuery: SELECT data FROM settings WHERE value
> = 'MythShutdownNvramRestartCmd' AND hostname = 'wsubu' ;
> 2007-11-14 22:18:55.326 everything looks fine, shutting down ...
> 2007-11-14 22:18:55.327 MSqlQuery: SELECT data FROM settings WHERE value
> = 'MythShutdownPoweroff' AND hostname = 'wsubu' ;
> 2007-11-14 22:18:55.327 ..
> 2007-11-14 22:18:55.327 .
> 2007-11-14 22:18:55.327 shutting down ...
> QSqlQuery::exec: database not open
> QSqlQuery::exec: database not open
> mythshutdown: Could not initialize myth context. Exiting.
> 2007-11-14 22:19:34.631 SSDPCache - Destructor
> 2007-11-14 22:19:34.636 UPnpDeviceDesc - Destructor
>
>
> At least we see that the value 'MythShutdownWakeupTime' is set correctly
> in the verbose log but the system doesn't shutdown.
>
> I could write a script to execute the mythshutdown and then do a normal
> shutdown command but this isn't really a cleanway to do it.
>
> Regards,
>
> Matthews
>   

On the MythWelcome settings  page you should be using the normal  Power
Off and Reboot comands and not be calling mythshutdown.

http://www.mythtv.org/wiki/index.php/Mythwelcome

Paul H.


More information about the mythtv-users mailing list