MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Get Support » General Support


General Support Post problems you have when using MediaPortal, or pre installation questions in here.

Reply
 
Thread Tools Display Modes
Old 2008-08-19, 00:01   #1 (permalink)
Portal Member
 
Join Date: Jun 2008
Posts: 26
Thanks: 0
Thanked 2 Times in 1 Post


Exclamation PowerScheduler errors - Bug??

TV-Server Version: RC2 - SVN 19936
MediaPortal Version: RC2 - SVN 19936
MediaPortal Skin: Xface
Windows Version: XP Pro - SP2
CPU Type: AMD Athlon 6000+
HDD: 500GB
Memory: 2GB
Motherboard: AsRock a780G
Video Card: Ati HD 3200
Video Card Driver: Catalyst 8.5
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card: Pinnacle PCIExpress 3010ix
1. TV Card Type: DVB-t
1. TV Card Driver:
2. TV Card: SkyStar 2
2. TV Card Type: DVB-S
2. TV Card Driver: 4.4.3
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: Dscaler
MPEG2 Audio Codec: Dscaler
h.264 Video Codec: PowerDVD 8
Satelite/CableTV Provider: Sky Italia
HTPC Case: ThermalTake Mozart
Cooling: Standard
Power Supply: 500W
Remote: MCE
TV: Samsund HD Ready 40"
TV - HTPC Connection: VGA

I'm trying to use PowerScheduler Plugin since fthe rc1 but without success. After activating the plugin I can't go to standby manually, but only automatically (after the time specified in the plugin configuration). Also in this case a lot of time I see that the command on resume that I've specified will not start and I've error in the tvserver log:

2008-08-18 23.42.42.578125 [PowerEventThread]: TV service PowerEventThread: Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at TvEngine.PowerScheduler.PowerScheduler.get_DisAllo wShutdown()
at TvEngine.PowerScheduler.PowerScheduler.SetWakeupTi mer()
at TvEngine.PowerScheduler.PowerScheduler.OnPowerEven t(PowerEventType powerStatus)
at TvService.Service1.OnPowerEvent(PowerEventType powerStatus)
at TvService.Service1.PowerEventThreadWndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at TvService.Service1.GetMessageA(MSG& msg, IntPtr hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax)
at TvService.Service1.PowerEventThread()

This error happens ALWAYS when for the second time i try to sent the pc to standby manually. The first time i get no errors but in the sìtvserver log i've a message "standby disallowed" (blocked).
So I'm not happy to use alternatives as pvrscheduler, because i'e a lot of problem with these... There is a way to get the default powerscheduler works? I've always obtained the same error log...
adams79 is offline   Reply With Quote
Old 2008-08-19, 10:48   #2 (permalink)
Portal Member
 
Join Date: Aug 2007
Posts: 218
Thanks: 1
Thanked 5 Times in 5 Posts

Country:

My System

Default

This is a known problem:

PowerScheduler synchronization/concurrency bug
seco is offline   Reply With Quote
Old 2008-08-19, 11:23   #3 (permalink)
Portal Member
 
Join Date: Jun 2008
Posts: 26
Thanks: 0
Thanked 2 Times in 1 Post


Default

I've tried the dll attached in the post but with no result...
I noticed that also with powerscheduler plugin disabled, if th tvservice will not be stopped before standby, sometimes the pc doesn't resume after the S3 but restart. Stopping the service before suspend the pc wakeup normally.
I've also tried to use pvr-scheduler, but I noticed that programming a recordings with the option "each time on this channel" onlyone time the pvr-scheduler make the recording...
I think that the better solution will be a little software that write in the windows scheduled operations an event to wakeup for next recordings, reading from the tvserver database...
adams79 is offline   Reply With Quote
Old 2008-08-19, 11:54   #4 (permalink)
Portal Member
 
Join Date: Aug 2007
Posts: 218
Thanks: 1
Thanked 5 Times in 5 Posts

Country:

My System

Default

I don't have any problems with Powerscheduler at the moment, using .dll from the thread that I posted link to above.

Going to standby and wake up for scheduled recordings etc. works fine.
seco is offline   Reply With Quote
Old 2008-08-19, 11:56   #5 (permalink)
Portal Member
 
Join Date: Jun 2008
Posts: 26
Thanks: 0
Thanked 2 Times in 1 Post


Default

Are you using RC2 with latest SVN and you've only replaced the DLL?
Thx
adams79 is offline   Reply With Quote
Old 2008-08-19, 12:05   #6 (permalink)
Portal Member
 
Join Date: Aug 2007
Posts: 218
Thanks: 1
Thanked 5 Times in 5 Posts

Country:

My System

Default

No, as you can see from my profile system settings, I'm running 1.0 RC1 SVN 19574

I have no issues with this version so I'm not ready to update just yet, maybe waiting for final.
seco is offline   Reply With Quote
Old 2008-08-19, 14:36   #7 (permalink)
Portal Member
 
Join Date: Jun 2008
Posts: 26
Thanks: 0
Thanked 2 Times in 1 Post


Default

Deactivating the option "Reinitialize service at startup" as suggested in other posts I get no errors, but the command to execute before the suspend and after the restart works only for wakeup....

EDIT: Viewing the PowerScheduler source, as I can see there is no call at the RunExternalCommand("standby")... probabily this is the reason for whic the command before the standby doesn't start...


I hope that this problem will be solved, because I think that the real (and unique) limit of mediaportal is a poor power management system....

Last edited by adams79; 2008-08-19 at 15:40.
adams79 is offline   Reply With Quote
Reply

Bookmarks

Tags
errors, powerscheduler

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PowerScheduler synchronization/concurrency bug seco 1.0 RC1 and SVN Builds 16 2008-08-05 14:34
Powerscheduler bug? Mantis pre 1.0 RC1 2 2007-11-23 09:58
Powerscheduler problems with MP 2.2 bug? Bratpitt 0.2.2.0 Final and SVN Builds 25 2007-01-05 09:20
BUG: Recordings in powerscheduler Glith The old Bugreport Forum 8 2006-07-13 13:38
Errors with texts in skins, VMP9 visualisation window bug Sentinel The old Bugreport Forum 2 2006-05-29 22:05


All times are GMT +1. The time now is 10:54.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden