Two Questions: Standby & Monitor Off when idle (2 Viewers)

Tazman

Portal Pro
May 15, 2006
173
0
Home Country
Denmark Denmark
Hey again..

Found out that a bios update solved the problem...
 

cheetah05

Portal Pro
April 9, 2006
328
5
London
Home Country
United Kingdom United Kingdom
I have sorted out the standby problems, but whenever I put my computer into standby, the TV automatically goes into a standby mode (orange light as opposed to the red light when manually switched off), but the screen doesn't come back on when I resume from standby and I have to switch it on manually.

Is there anyway to get around this?
 

NickName

MP Donator
  • Premium Supporter
  • June 23, 2006
    359
    12
    Gold Coast
    Home Country
    I have sorted out the standby problems, but whenever I put my computer into standby, the TV automatically goes into a standby mode (orange light as opposed to the red light when manually switched off), but the screen doesn't come back on when I resume from standby and I have to switch it on manually.

    Is there anyway to get around this?

    You could map a remote button to turn on the TV.
    Hint: Try using the MCE Replacement driver plugin to 'blast' the TV 'on' signal to the TV.
     

    cheetah05

    Portal Pro
    April 9, 2006
    328
    5
    London
    Home Country
    United Kingdom United Kingdom
    Do I need to setup one of those IR blasters or something or do I need no extra hardware?

    I am messing around at the moment with the whole "sending signal" concept and it seems that if I send an "on" signal to the monitor (TV) via a quick .NET program I put together it doesn't come on, but I can send an "off" signal and it would switch off [the program is not at fault it works properly on other monitors]. The only thing that seems to make the TV come on is changing the resolution.
     

    NickName

    MP Donator
  • Premium Supporter
  • June 23, 2006
    359
    12
    Gold Coast
    Home Country
    Do I need to setup one of those IR blasters or something or do I need no extra hardware?
    No, provided you are using an MCE Remote (as it has 2 plugin cables to blast signals to 2 external devices).
    If you do have an MCE remote then you just need to get the MCE Replacement driver and configure that. (Hint: Just search for it here in the forums.)
    It's a great application that will allow you runs programs, macros and more from your remote.
    For example I have mapped a button to open/close my DVD tray. This is done via a simple 'exe' I wrote that.
     

    cheetah05

    Portal Pro
    April 9, 2006
    328
    5
    London
    Home Country
    United Kingdom United Kingdom
    So I have to plug one of those and point it at the TV?

    I will use that as a last resort, because I don't want the ugly wire sticking out to be honest.
     

    SMa

    Retired Team Member
  • Premium Supporter
  • June 15, 2007
    194
    13
    Helsinki - Finland
    Home Country
    Belgium Belgium
    Hi Cheetah05,
    1) Simply put, your system has to be 'enabled' to allow your USB remote to wake up the system. The simplest way to do this is with this freeware tool:
    http://www.xs4all.nl/~hveijk/mst/indexe.htm
    Very cool :) It fixes some of XP's quirks with Standby functionality to!
    I tried that tool, but when waking up from standby using the remote, the same remote doesn't work anymore. [I'm using X10 model]
    Am I doing something wrong? :confused:
     

    NickName

    MP Donator
  • Premium Supporter
  • June 23, 2006
    359
    12
    Gold Coast
    Home Country
    So I have to plug one of those and point it at the TV?

    I will use that as a last resort, because I don't want the ugly wire sticking out to be honest.
    Yes you do. You only need to put the end of the wire over the reciever on the TV so with some tape or something you may be able to hide most of the wire behind the TV(?)
    You could just train the MCE remote to blast the signal without needing the external wires but I find it easier to use the (hidden) wire.

    Am I doing something wrong?
    I don't think so. It's probably just a 'feature' of the X10 driver. Mayber you could kill the remote on suspend and restart it on resume?
     

    cheetah05

    Portal Pro
    April 9, 2006
    328
    5
    London
    Home Country
    United Kingdom United Kingdom
    Just to let you know, I managed to fix this without using any extra wires.

    I created a small program which changes the resolution to something small and then changes it back to the default resolution when the computer comes out of standby.

    Thanks for your help though.

    For anyone that wants the code:

    Code:
    #Region "Imports"
    
    Imports Microsoft.Win32
    
    #End Region
    
    Public Class mainForm
    
    #Region "Change Resolution Function"
    
        Const CCDEVICENAME As Short = 32
        Const CCFORMNAME As Short = 32
        Const DM_BITSPERPEL As Integer = &H40000
        Const DM_PELSWIDTH As Integer = &H80000
        Const DM_PELSHEIGHT As Integer = &H100000
        Const CDS_UPDATEREGISTRY As Short = &H1S
        Const CDS_TEST As Short = &H4S
        Const DISP_CHANGE_SUCCESSFUL As Short = 0
        Const DISP_CHANGE_RESTART As Short = 1
        Const BITSPIXEL As Short = 12
    
        Private Structure DEVMODE
            <VBFixedString(CCDEVICENAME), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst:=CCDEVICENAME)> Public dmDeviceName As String
            Dim dmSpecVersion As Short
            Dim dmDriverVersion As Short
            Dim dmSize As Short
            Dim dmDriverExtra As Short
            Dim dmFields As Integer
            Dim dmOrientation As Short
            Dim dmPaperSize As Short
            Dim dmPaperLength As Short
            Dim dmPaperWidth As Short
            Dim dmScale As Short
            Dim dmCopies As Short
            Dim dmDefaultSource As Short
            Dim dmPrintQuality As Short
            Dim dmColor As Short
            Dim dmDuplex As Short
            Dim dmYResolution As Short
            Dim dmTTOption As Short
            Dim dmCollate As Short
            <VBFixedString(CCFORMNAME), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst:=CCFORMNAME)> Public dmFormName As String
            Dim dmUnusedPadding As Short
            Dim dmBitsPerPel As Short
            Dim dmPelsWidth As Integer
            Dim dmPelsHeight As Integer
            Dim dmDisplayFlags As Integer
            Dim dmDisplayFrequency As Integer
        End Structure
    
        Private Declare Function EnumDisplaySettings Lib "user32" Alias "EnumDisplaySettingsA" (ByVal lpszDeviceName As Integer, ByVal iModeNum As Integer, ByRef lpDevMode As DEVMODE) As Boolean
        Private Declare Function ChangeDisplaySettings Lib "user32" Alias "ChangeDisplaySettingsA" (ByRef lpDevMode As DEVMODE, ByVal dwFlags As Integer) As Integer
    
        Private Sub ChangeRes(ByRef X As Integer, ByRef Y As Integer, ByRef Bits As Integer)
            Dim DevM As DEVMODE = Nothing
            Dim erg As Integer
            'Get the info into DevM
            erg = EnumDisplaySettings(0, 0, DevM)
            'This is what we're going to change
            DevM.dmFields = DM_PELSWIDTH Or DM_PELSHEIGHT Or DM_BITSPERPEL
            DevM.dmPelsWidth = X 'ScreenWidth
            DevM.dmPelsHeight = Y 'ScreenHeight
            DevM.dmBitsPerPel = Bits '(can be 8, 16, 24, 32 or even 4)
            'Now change the display and check if possible
            erg = ChangeDisplaySettings(DevM, CDS_TEST)
        End Sub
    
    #End Region
    
    #Region "Declarations"
    
        Dim WithEvents systemEvent As SystemEvents
    
    #End Region
    
        Private Sub On_Standby_Resume(ByVal sender As Object, ByVal e As Microsoft.Win32.PowerModeChangedEventArgs) Handles systemEvent.PowerModeChanged
    
            If e.Mode = PowerModes.Resume Then
    
                ChangeRes(1280, 768, 32)
                ChangeRes(1360, 768, 32)
    
            End If
    
        End Sub
    
    End Class
     

    Users who are viewing this thread

    Top Bottom