[08:59] hi all [08:59] someone could help me with mithwelcome? [09:12] I had some problem to understand how it work, I follow the offical mythbuntu hoh-to, it seem that mytwlecome execute the shutdown comand but not te setwakeup $time, I replacede the script with a log script for capture the time format ad write it into a log file, mytwelcome execute the shutdown but not the script (the script is executable and work from bash without problem) [11:53] someone could help me with mithwelcome? [11:53] I had some problem to understand how it work, I follow the offical mythbuntu hoh-to, it seem that mytwlecome execute the shutdown comand but not te setwakeup $time, I replacede the script with a log script for capture the time format ad write it into a log file, mythwelcome execute the shutdown but not the script (the script is executable and work from bash without problem) [17:33] hi all [17:33] someone could help me with mithwelcome? [17:33] I had some problem to understand how it work, I follow the offical mythbuntu hoh-to, it seem that mytwlecome execute the shutdown comand but not te setwakeup $time, I replacede the script with a log script for capture the time format ad write it into a log file, mythwelcome execute the shutdown but not the script (the script is executable and work from bash without problem) [17:50] spoky99: Is the script contained in one of the diretories of the PATH environment variable? [17:50] If not, then the full path to the script is required. [17:51] I wrote a tutorial on how to set up MythTV Automatic Wakeup and Shutdown. See [17:51] http://gedakc.users.sourceforge.net/display-doc.php?name=pvr-mythtv-auto-wakeup [17:52] the script is called with the entire path [17:52] Did you test setting the Real Time Clock wakeup to be sure you have the correct date format for your BIOS? [17:53] tis is what i cold understand [17:53] could [17:54] I'm not sure what meant by the last two sentences. [17:54] Did you test wakeup from the command line? [17:54] I write the script for know the time format ad adjust it into the setwakeup script [17:55] yess, and it work (without write password) [17:55] but the rtc time is 2 hour in the past [17:56] (+1 hour for my time zone and +1 for daylight saving) [17:57] I could correct time and date but now I'm not in able to see it work [17:58] Did you modify /etc/sudoers.d/mythtv to ensure the mythtv user can run the script without requireing a password? [17:58] yesss (with visudo comman that check it) [17:58] command [17:58] (excuse me for my poor english) [17:59] Re: English, no worries. :-) [17:59] :) [17:59] Let's ignore the 2 hour time difference for you. [18:00] but the 2 hour is the second problem [18:00] now I'm not in able to see it work [18:00] If I understand correctly, the problem is that the "setwakeup" script is not executed when MythTV shuts down. [18:01] Is the right? [18:01] i write two script that write into two log file [18:01] Do you see entries in the log file after MythTV shuts down? [18:02] i see only the log of the shutdown script [18:02] What is the exact Command to Set Wakeup Time you entered? [18:02] For example mine is: [18:02] sudo sh -c "/usr/bin/setwakeup.sh $time" [18:03] sh -c? [18:03] sudo /usr/bin/setwakeup.sh $time [18:04] Yes, that's what I used (sh -c). [18:04] I don [18:04] I try it! [18:04] i will try it! [18:04] I don't recall why I did it originally, but it might have been a problem passing the $time variable. [18:05] Also, be sure the the "nvram-wakeup Restart command" is empty in the MythShutdown/MythWelcome settings. [18:05] Uh [18:06] i put a space into nvram-wakeup command [18:07] if I clear the comand mythwelcome rewrite the nvram wakeup command [18:08] (that I used in a old mediacenter) [18:08] I could try the sh -c (execute sh script I suppose) [18:09] (I'm reading the man page of sh) [18:10] thanks a lot! [18:10] There should be no space in the nvram-wakeup command. If it contains something, then the auto wakeup/shutdown does not work. [18:10] ok [18:11] Delete all the characters from the nvram-wakeup command. [18:11] * gedakc off to lunch [18:11] but If i erase all the data [18:12] and after I save and exit from mytwelcome setup [18:12] when I return in mythwelcome --setup [18:13] reapperas the path for nvram-wakeup [18:13] reappears [18:13] (I suppose was a bug of mythwelcome) [18:14] where is stored the myrtwelcome setup? [18:15] could I erase it in other place? [18:16] I check it, all the input box completely is erased [18:32] * gedakc back. [18:32] If all of the input box is completely erased, then that is how it should be set up. :-) [18:33] spoky99: Did you try "sh -c" ? [18:38] Wow, the ACPI Wakeup example script has sure changed since I first looked at it back in 2011. [18:39] If auto wakeup is still not working, then I suggest trying my tutorial. [18:39] http://gedakc.users.sourceforge.net/display-doc.php?name=pvr-mythtv-auto-wakeup [18:41] I used the tutorial with Mythbuntu 12.04 and 14.04.