MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 2 » General Talk


General Talk Talk about MediaPortal 2.

Reply
 
LinkBack Thread Tools Display Modes
Old 2008-05-19, 01:35   #1 (permalink)
Portal User
 
Join Date: Apr 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


Default Solution: Wake-Up for Mainboard PCCHIPS M811LU

Hi all,

I own a PCChips M811LU mainboard. So far, I was not able to make Mediaportal wake my system from S4 / S5 for scheduled recordings. I believe that this is not a MP specific problem, but a problem ... somewhere between Windows and that motherboard's BIOS / ACPI implementation.

Anyway, before I installed Mediaportal on my system I tried VDR under Linux and there, wakeup did work with a program called nvram-wakeup. Through some research I found out, that CMOSTimer is the equivalent program under Windows. But unfortunately, the M811LU has a southbridge that is not yet supported in CMOSTimer.

So I dug a bit into the linux program and found, that it is actually not too difficult to write the settings to the CMOS RAM. Next, I downloaded the free VB.net Express Edition from Microsoft, brushed up on my programming skills and wrote a command line application that immitates the CMOSTimer.

Since the M811LU does not need a re-boot after setting the timer, I only implemented the parameters /wakeup and /off. But these are exactly the parameters that PVR-Scheduler uses with the "external wakeup" option. So now I can wake my board through PVR-Scheduler.

I have to say that PVR-Scheduler is not really my cup of tea. It is too powerful for my purposes. I would much prefer an "external wakeup" option in the power-scheduler plug-in for Mediaportal. But that is a different matter...


Installation:

M811Timer does not use any registry or other settings. Since it was written for one specific board there are no settings. Just copy the exe to a directory of your choice. For I/O-port access I am using a library called inpout32.dll from Embedded System, Digital Signal Processing and Parallel Port Interfacing. Copy this dll to the same directory. Then change the settings of PVR-Scheduler accordingly (i.e. under Settings -> General -> External Wakeup enter the path to M811Timer and tick the activate box). That's it.


Usage:

Since the program is usually only invoked by PVR-Scheduler, there is not much to be said. For troubleshooting purposes, you could invoke it from a command line prompt. There are only two parameters (with the same format as in CMOSTimer):

/wakeup=dd.mm.yyyy hh:mm
Sets the timer and activates it

OR

/off
Deactivates the wake-up function in the bios.


Revision History:

Rev. 01 (19. May 2008)
* Initial version


Please note: This software was written for the M811LU mainboard and will most likely not work with any other board. On other systems it might corrupt your CMOS settings. I have only tested it under firmware 20-10-2005, so cannot guarantee that it works for other firmware versions.

Any feedback is welcome!

Tom
Attached Files
File Type: zip M811Timer.zip (18.7 KB, 3 views)
tom_frey is offline   Reply With Quote
Reply

Bookmarks

Tags
m811lu, mainboard, pcchips, solution, wakeup

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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for suitable mainboard AM2 Kian Hardware Selection Help 16 2008-02-06 23:45
my htpc (mainboard and graphiccard needed) hanoota Hardware Selection Help 3 2007-12-11 23:44
Mediaportal @ Epia Mainboard schnurzli Software/Codecs Mediaportal 19 2007-07-10 09:48
Mainboard gesucht G.B. Wolf Hardware 33 2007-07-06 07:55
Recommend Mainboard / TVcard please jcee General Support 2 2006-06-01 11:43


All times are GMT +1. The time now is 07:59.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress