/srv/irclogs.ubuntu.com/2015/06/10/#ubuntu-mythtv.txt

spoky99hi all08:59
spoky99someone could help me with mithwelcome?08:59
spoky99I 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
spoky99someone could help me with mithwelcome?11:53
spoky99I 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
spoky99hi all17:33
spoky99someone could help me with mithwelcome?17:33
spoky99I 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
gedakcspoky99:  Is the script contained in one of the diretories of the PATH environment variable?17:50
gedakcIf not, then the full path to the script is required.17:50
gedakcI wrote a tutorial on how to set up MythTV Automatic Wakeup and Shutdown.  See17:51
gedakchttp://gedakc.users.sourceforge.net/display-doc.php?name=pvr-mythtv-auto-wakeup17:51
spoky99the script is called with the entire path17:52
gedakcDid you test setting the Real Time Clock wakeup to be sure you have the correct date format for your BIOS?17:52
spoky99tis is what i cold understand17:53
spoky99could17:53
gedakcI'm not sure what meant by the last two sentences.17:54
gedakcDid you test wakeup from the command line?17:54
spoky99I write the script for know the time format ad adjust it into the setwakeup script17:54
spoky99yess, and it work (without write password)17:55
spoky99but the rtc time is 2 hour in the past17:55
spoky99(+1 hour for my time zone and +1 for daylight saving)17:56
spoky99I could correct time and date but now I'm not in able to see it work17:57
gedakcDid you modify /etc/sudoers.d/mythtv to ensure the mythtv user can run the script without requireing a password?17:58
spoky99yesss (with visudo comman that check it)17:58
spoky99command17:58
spoky99(excuse me for my poor english)17:58
gedakcRe: English, no worries.  :-)17:59
spoky99:)17:59
gedakcLet's ignore the 2 hour time difference for you.17:59
spoky99but the 2 hour is the second problem18:00
spoky99now I'm not in able to see it work18:00
gedakcIf I understand correctly, the problem is that the "setwakeup" script is not executed when MythTV shuts down.18:00
gedakcIs the right?18:01
spoky99i write two script that write into two log file18:01
gedakcDo you see entries in the log file after MythTV shuts down?18:01
spoky99i see only the log of the shutdown script18:02
gedakcWhat is the exact Command to Set Wakeup Time you entered?18:02
gedakcFor example mine is:18:02
gedakcsudo sh -c "/usr/bin/setwakeup.sh $time"18:02
spoky99sh -c?18:03
spoky99sudo /usr/bin/setwakeup.sh $time18:03
gedakcYes, that's what I used (sh -c).18:04
gedakcI don18:04
spoky99I try it!18:04
spoky99i will try it!18:04
gedakcI don't recall why I did it originally, but it might have been a problem passing the $time variable.18:04
gedakcAlso, be sure the the "nvram-wakeup Restart command" is empty in the MythShutdown/MythWelcome settings.18:05
spoky99Uh18:05
spoky99i put a space into nvram-wakeup command18:06
spoky99if I clear the comand mythwelcome rewrite the nvram wakeup command18:07
spoky99(that I used in a old mediacenter)18:08
spoky99I could try the sh -c (execute sh script I suppose)18:08
spoky99(I'm reading the man page of sh)18:09
spoky99thanks a lot!18:10
gedakcThere should be no space in the nvram-wakeup command.  If it contains something, then the auto wakeup/shutdown does not work.18:10
spoky99ok18:10
gedakcDelete all the characters from the nvram-wakeup command.18:11
* gedakc off to lunch18:11
spoky99but If i erase all the data18:11
spoky99and after I save and exit from mytwelcome setup18:12
spoky99when I return in mythwelcome --setup18:12
spoky99reapperas the path for nvram-wakeup18:13
spoky99reappears18:13
spoky99(I suppose was a bug of mythwelcome)18:13
spoky99where is stored the myrtwelcome setup?18:14
spoky99could I erase it in other place?18:15
spoky99I check it, all the input box completely is erased18:16
* gedakc back.18:32
gedakcIf all of the input box is completely erased, then that is how it should be set up.  :-)18:32
gedakcspoky99:  Did you try "sh -c" ?18:33
gedakcWow, the ACPI Wakeup example script has sure changed since I first looked at it back in 2011.18:38
gedakcIf auto wakeup is still not working, then I suggest trying my tutorial.18:39
gedakchttp://gedakc.users.sourceforge.net/display-doc.php?name=pvr-mythtv-auto-wakeup18:39
gedakcI 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!