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