LinHES Forums
http://forums.linhes.org/

HOWTO: ACPI Wakeup w/ Mythwelcome on R5.5
http://forums.linhes.org/viewtopic.php?f=11&t=18605
Page 2 of 3

Author:  alien [ Wed Jan 20, 2010 1:19 am ]
Post subject: 

Teemu wrote:
There were not jobs stuck on transcoding. I made the output file --> http://pastebin.ca/1757809 .
That seems short. I don't even see the the start of the SHUTDOWN_COUNTDOWN messages. Did you remember the "-v all"?

EDIT: I just realised the errors probably go to stderr. You need to execute the following to get them in the file:
Code:
mythwelcome -v all > output.txt 2>&1


Teemu wrote:
Should it be UTC?
Things work best when the BIOS is set to UTC. These values look okay. Might have to wait until mythwelcome is working to debug the incorrect wakeup time (if it is still there). Although.... you are UTC+2 and the error is 2 hours which is pretty suspicious.

Teemu wrote:
Small offtopic question.What does this mean:
Code:
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Severals of those messages comes when I launch firefox and when I used that mythwelcome -v all command.
Harmless. http://bugs.archlinux.org/task/13223

Author:  Teemu [ Wed Jan 20, 2010 11:32 am ]
Post subject: 

alien wrote:
EDIT: I just realised the errors probably go to stderr. You need to execute the following to get them in the file:
Code:
mythwelcome -v all > output.txt 2>&1


There you go http://pastebin.ca/1759153

alien wrote:
Things work best when the BIOS is set to UTC. These values look okay. Might have to wait until mythwelcome is working to debug the incorrect wakeup time (if it is still there). Although.... you are UTC+2 and the error is 2 hours which is pretty suspicious.
Bios time was correct UTC. That my time is UTC+2 is suspicious but I dont think its about that because the boot was actually 2,5 h later.

alien wrote:
Ok, thx.

Author:  alien [ Thu Jan 21, 2010 4:18 am ]
Post subject: 

I still only see 12s of output (19:21:08.505-19:21:20.157). The countdown timer is set to 120s, so that isn't enough.

Can you make sure you wait for the timer to count down to 10 and restart. Then exit mythwelcome before you grab the output file to make sure all is written to the file. That should capture the logs of the problem occuring.

Cheers,

Allen

Author:  Teemu [ Fri Jan 22, 2010 8:53 am ]
Post subject: 

I got it working! Dunno what exactly I did, but it just worked. I actually had to make an upgrade install on the R6 because I had some other problems on booting. So maybe that did it. Now im rumbling with an other problem. Gonna test it again after I get my recordings work better.

Edit: Thanks for ur help :!:

Author:  Teemu [ Thu Jun 03, 2010 7:00 am ]
Post subject:  Re: HOWTO: ACPI Wakeup w/ Mythwelcome on R5.5

graysky wrote:
To setup mythwelcome, simply modify your .fluxbox/apps so that mythwelcome starts:

Code:
$ nano /home/mythtv/.fluxbox/apps
I just installed whole system again (6.0.2... something.....) and now im trying to get Mythwelcome to work, but there is no "/.fluxbox/apps" file. So where can I find it?

Author:  brfransen [ Thu Jun 03, 2010 9:05 am ]
Post subject: 

In the Service Menu-->LinHES Configuration-->System Type there is a Run MythWelcome checkbox. That should enable MythWelcome for LinHES.

You should have a /home/mythtv/.fluxbox/apps file. Does mythfrontend start at boot for you?

Britney

Author:  Teemu [ Thu Jun 03, 2010 10:06 am ]
Post subject: 

brfransen wrote:
In the Service Menu-->LinHES Configuration-->System Type there is a Run MythWelcome checkbox. That should enable MythWelcome for LinHES.

You should have a /home/mythtv/.fluxbox/apps file. Does mythfrontend start at boot for you?

Britney
Got it working. Thx. Does the same wakeup settings (in the 1st post) work for 6.0.2?

Author:  tophee [ Thu Jun 03, 2010 10:45 am ]
Post subject: 

'Fraid not. I'm not sure if this has been fixed in 6.02, but I see there is a ticket to correct the settings for 6.03.

The paths have changed, but there is change in the time format.

Check out here.

HTH

Author:  Teemu [ Tue Jun 08, 2010 11:28 am ]
Post subject: 

So can I find correct settings for 6.02 from somewhere? Didnt really figure out anything from that topic :oops:.

Getting pissed at linux.. wants windows mythtv..

Author:  brfransen [ Tue Jun 08, 2010 11:43 am ]
Post subject: 

Upgrade to 6.03.00: http://www.linhes.org/bugs/projects/linhes/wiki/Upgrade_LinHES#LinHES-60300

The upgrade_linhes.sh will run the mythwelcome-config.py which should set the correct settings for you.

Author:  Teemu [ Tue Jun 08, 2010 3:26 pm ]
Post subject: 

^It worked! Thanks!

Author:  TVBox [ Tue Jun 15, 2010 1:57 am ]
Post subject:  MythWelcome broke on 6.03.00 install CD

I just downloaded 6.03.00 iso a couple of days ago and did a clean install and setup a standalone system. The "Run MythWelcome" was checked during the configuration part of the install. The results where a Mythwelcome screen that counts down to 10sec and restarts the sequence over again. On checking the backend setup settings as follows.

Wakup time format: HH:MM yyyy-MM-dd
Command to set time: (blank)
Server halt command: sudo /sbin/halt -p
Pre shutdown check-command: (blank)

among other things no "T" in time format. It appears to be the default data.

MythWelcome Settings

Command to set wakeup Time: /usr/bin/nvram-wakeup --settime $time
Wakeup time format: time_t
nvram-wakeup Restart Command: /sbin/grub-set-default 1
Command to reboot: /sbin/reboot
Command to shutdown: /sbin/poweroff
Command to run Xterm: xterm
Command to run to start frontend: /usr/bin/mythfrontend

I don't know what the correct settings are for R6. but it appears that some are similar here.

/home/mythtv/.fluxbox/apps

#Uncomment below if you are using firewire
#[startup] {/usr/bin/plugctl -n 0 "oPCR[0].n_p2pconnections=1"}
[startup] {feh --bg-scale ~/.fluxbox/wallpaper.png}
[startup] {/usr/LH/bin/LinHES-run}

No MythWelcome statement in apps but MythWelcome dos start

As a last stitch effort I unclicked the Mythwelcome box in the LinHES
Configuration Menu and rebooted . MythWelcome did not start

I re enabled the box and reinstalled with the same results as above. From what I can see the Bug #630 is closed. http://www.linhes.org/bugs/issues/630#change-2988

If no one sees any garring errors I will open a flyspray bug report.
Also what entries do I need to have to make it work? If someone could post what they have in a working R6.03 system.
This is on a test machine right now so it can be a guinea pig if need be.

Thanks
TVBox

Author:  brfransen [ Tue Jun 15, 2010 9:35 am ]
Post subject: 

TVBox, you should only need to run the /usr/LH/bin/mythwelcome-config.py script to correct your settings.

Author:  TVBox [ Tue Jun 15, 2010 11:14 am ]
Post subject: 

Ran /usr/LH/bin/mythwelcome-config.py

my xTerm window
Code:
[root@BE1 mythtv]# /usr/LH/bin/mythwelcome-config.py
2010-06-15 11:10:04.448 Python Database Connection: Using connection settings from root/.mythtv/config.xml
/usr/lib/python2.6/site-packages/MythTV/MythBase.py:1770: DeprecationWarning: BaseException.message has been deprecated as of pylon 2.6
   self.message = str(self.args[0])
Traceback  (most recent call last):
   File “/usr/LH/bin/mythwelcome-config.py” , line 7, in <module> mythdb = MythDB()
   
   File “/usr/Lib/python2.6/site-packages/MythTV/MythBase.py”, line 1045, in__init__
      Self.db = MythDBConn (dbconn)
   File “/usr/Lib/python2.6/site-packages/MythTV/MythBase.py”, line 801, in__init__
      Raise MythDBError(MythError.DB_CONNECTION, dbconn)
MythTV.MythBase.MythDBError: Failed to connect to database at  ‘mythconverg’@192.168.1.51’ for user ‘mythtv’ with password ‘mythtv”
[root@BE1 mythtv]#



All screen configurations remain the same as original post

Backend
Wakup time format: HH:MM yyyy-MM-dd
Command to set time: (blank)
Server halt command: sudo /sbin/halt -p
Pre shutdown check-command: (blank)

front end
Command to set wakeup Time: /usr/bin/nvram-wakeup --settime $time
Wakeup time format: time_t
nvram-wakeup Restart Command: /sbin/grub-set-default 1
Command to reboot: /sbin/reboot
Command to shutdown: /sbin/poweroff
Command to run Xterm: xterm
Command to run to start frontend: /usr/bin/mythfrontend

What appears to me as the problem is that in the last line the new (6.03 system @ 192.168.1.41) is trying to connect to a non running (R5.5 Master @ 192.168.1.51)

It is a stand alone box. How do I stop this from happing?

TVBox

Author:  brfransen [ Tue Jun 15, 2010 11:47 am ]
Post subject: 

My guess is that the backend settings are misconfigured. Run mythtv-setup and make sure your backend ip addresses are correct.

Page 2 of 3 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/