| |||||||
| Newcomers Forum The newcomers forum is for members who may be: new to forums; intimidated by our size; or just learning about some of the many topics being discussed on the MediaPortal Forum. |
![]() |
| | Thread Tools | Display Modes |
| | #21 (permalink) | |
| Super Moderator Join Date: Jun 2005 Location: Cheshire UK
Posts: 6,616
Thanks: 129
Thanked 233 Times in 207 Posts
Country: | Quote:
I am running Vista as administrator account only, no user and UAC disabled. Possibly looking in the wrong place for keyboard\mouse being active. Be aware, i am using a mce remote keyboard (ehome driver) and a Logitech wireless mouse, althought this should not make a difference, if you need me to use a standard keyboard will do. Cheers
__________________ Ray\PD Check your codecs are fine with Filmerit. XP\Vista known issues FOR FULL SUPPORT PLEASE GIVE USER SPECIFICATIONS AND RELEVANT LOG's as per HERE | |
| | |
| | #23 (permalink) | |
| Portal Member | Quote:
I have Windows power settings set to diasble. - TV Server Power scheduler: Set to suspend . Shutdown server after 20mins is checked as is wakeup server. Enable forced extensive logging is checked. EPG set to grab data every Sun and Thur at 6:02am. Processes preventing standby are SetupTv, Configuration. - PowerSchedule client plugin: Only allow standy when in home window. Enable extensive logging checked. Shutdown mode suspend. Shutdown after 20mins. Pre wakeup = 30secs. Pre-no-shutdown time = 120secs. After setting everything I rebooted and ran the Test tool and played with my mouse for 5mins in MP and posted the logs. Last edited by Shoey Peachew; 2008-02-19 at 21:20. | |
| | |
| | #24 (permalink) |
| Super Moderator Join Date: Jun 2005 Location: Cheshire UK
Posts: 6,616
Thanks: 129
Thanked 233 Times in 207 Posts
Country: | Hi dero USB keyboard makes no difference, still no user input detected.
__________________ Ray\PD Check your codecs are fine with Filmerit. XP\Vista known issues FOR FULL SUPPORT PLEASE GIVE USER SPECIFICATIONS AND RELEVANT LOG's as per HERE |
| | |
| | #28 (permalink) |
| Portal Member Join Date: May 2005 Location: Rotterdam, The Netherlands Age: 32
Posts: 374
Thanks: 1
Thanked 1 Time in 1 Post
| As that's why dont' have the TV3-engine. I couldn't get the code snipped to run. I tried to add the code to a forms application and the to run it trough a button click, but got all kind of errors. I also used express editon 2008 maybe should use 2005 edition. |
| | |
| | #29 (permalink) |
| Portal Member Join Date: Nov 2007 Location: Hamburg
Posts: 51
Thanks: 3
Thanked 0 Times in 0 Posts
Country: | Hi dero, I tested your snipped code as a simple consol app under Visual 2008 under Vista 32bit Ultimate and it works fine. The console app calls your GetLastInputTime() method and prints out the DateTime every second. I have tested it with an USB cable mouse, a logitech wireless mouse and a logitech wireless keyboard. All variants work fine and the time prited out is always correct. This code is not the problem. [EDIT] In the logs of my TVServer installation I never saw the mentioned line of "User input detected at ". How often is that suppose to be written to the log and to which file, to "tv.log" or is there a separate log file where the extensive logging goes ? ... ok I saw in the source code that its using Log.Debug... [/EDIT] meanwhile I got the extensive logging... dont know why I didnt see it in the first place. Now I see the "User input detected.." lines every 25 seconds.. BUT only if the PS ClientPlugin is enabled and the media portal client is running. Looking at a "future" multiseat scenario this makes sense, that the human interaction with the client counts for preventing the server machine going to sleep. However in a single seat setup if MP client is not running "the machine" which is only one, goes to sleep after that time independend of the user interaction. BTW how do I set the TVServer log level. To me its not clear yet how this PowerScheduler is working. It is my understanding that the it is the server that wakes up and goes to suspend, right. This is done via the PS plugin in the TVServer that sets the next timer event when the server goes to standby. Why do I need a client plugin. I assume only to let the server PS plugin know that MP in on the home page and nobody is actively using it, but if that is the case what are the "duplicated" settings "Shutdown mode", "pre-wakeup time" and "pre no shutdown time" in the client plugin for ? Also... As soon as I check "Wakeup server for various events" my machine somtimes wakes up every minute, meaning when you put it to sleep it wakes up one minute later. In the log it says Code: 2008-02-26 19:13:53.870000 [7]: OnPowerEvent: PowerStatus: Suspend 2008-02-26 19:13:53.871000 [7]: PowerScheduler: System is going to standby 2008-02-26 19:13:53.872000 [7]: Controller: epg stop 2008-02-26 19:13:53.873000 [7]: PowerScheduler.NextWakeupTime: inspecting handler:GenericWakeupHandler time:31.12.9999 23:59:59 2008-02-26 19:13:54.774000 [7]: PowerScheduler.NextWakeupTime: inspecting handler:ScheduledRecordingsHandler time:26.02.2008 22:29:00 2008-02-26 19:13:55.888000 [7]: PowerScheduler.NextWakeupTime: inspecting handler:PowerSchedulerClientPlugin time:27.02.2008 00:00:00 2008-02-26 19:13:55.895000 [7]: PowerScheduler.DisAllowShutdown: handler PowerSchedulerClientPlugin wants to prevent standby 2008-02-26 19:13:55.896000 [7]: PowerScheduler: Set wakeup timer to wakeup system in 1 minutes This does not happen all the time. May be only if there is no scheduled recording in the near future .. i have to further investigate on this [EDIT] from looking at the code, I can see that if one handler prevents the shutdown (DisAllowShutdown returns true), then it does exactly this... it goes to sleep for one minute and then wakes up again. My question is, why does the ClientPlugin would disallow the shutdown Also I now see Code: PowerScheduler.NextWakeupTime: inspecting handler:PowerSchedulerClientPlugin time:28.02.2008 00:00:00 I guess the question is what are the "various" makeup events ? [/EDIT] Cheers justinteractive Last edited by justinteract; 2008-02-27 at 11:02. |
| | |
| | #30 (permalink) | ||||||
| Retired Team Member Join Date: Jan 2007
Posts: 72
Thanks: 1
Thanked 1 Time in 1 Post
Country: | Quote:
Can you create a service that logs the result of the function and then play around? Quote:
Quote:
Quote:
Quote:
TVS has the builit-in logic to wakeup the PC within one minute in such a case. Quote:
Dero | ||||||
| | |
![]() |
| Bookmarks |
| Tags |
| client, inactivity, mouse, powerscheduler |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Monitor shuts down after 10 minutes of inactivity | benrjunk | MediaPortal 1 Talk | 59 | 2008-10-17 07:51 |
| Powerscheduler with Server/Client system | frenchi38 | General Talk | 24 | 2008-03-10 23:21 |
| PowerScheduler Client Plugin eating 20% of CPU | xurr | pre 1.0 RC1 | 2 | 2007-05-02 18:06 |
| PowerScheduler plugin and client. | Juppe | General Talk | 5 | 2007-03-15 21:24 |
| Mouse wheel support (Gyro Mouse) | htpcman | Improvement Suggestions | 1 | 2004-09-25 10:30 |