MP ends with error coming back from suspend if remote on (1 Viewer)

Wintermute

New Member
April 25, 2006
4
0
Sweden
Area: Media Portal Program
MediaPortal Version: 0.2.0.0 RC4$CVS-25.04.2006-10:17:18,31
(2006-04-25)
MediaPortal Skin: BlueTwo
Windows Version: Windows XP (SP2)
.NET CLR Version: 2.0.50727
DirectX Version: 4.09.00.0904 (9.0c)
Audio Codec: NVIDIA Audio Decoder
Video Codec: NVIDIA Video Decoder
CPU Type: Intel Pentium 4 - 3.00GHz
Memory: 1 GB
Motherboard: FD31V10 (Shuttle Inc)
TV Card Model: FloppyDTV
TV Card Type: -
TV Card Driver: Latest
Video Card Model: Intel(r) 82945g Express Chipset Family (128 MB)
Video Card Driver: -
Video Card Resolution: 1280x1024
Video Render Type: -
Audio Card Model: Sound Blaster Live! 24-bit
Audio Card Driver: -
Synopsis::

-----

My MP ends with error when coming back from suspend if "FireDTV remote control" is enabled.

If I disable my FireDTV remote using the MP setup then coming back from suspend works.

I'm using an S3 suspend. I'm guessing that power to the floppy (where the floppyDTV remote receiver sits) drops on this setting.

Any ideas?

-----

2006-04-25 10:55:01 Exception :Error in the application.
-2005530520 (D3DERR_DEVICELOST)
at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, IntPtr overrideWindow)
at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, Control overrideWindow)
at Microsoft.DirectX.Direct3D.Device.Present()
at MediaPortalApp.Render(Single timePassed)
2006-04-25 10:55:01 Exception :Error in the application.
2006-04-25 10:55:01 site :Void PresentInternal(Microsoft.DirectX.PrivateImplementationDetails.tagRECT*, Microsoft.DirectX.PrivateImplementationDetails.tagRECT*, IntPtr)
2006-04-25 10:55:01 source :Microsoft.DirectX.Direct3D
2006-04-25 10:55:01 stacktrace: at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, IntPtr overrideWindow)
at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, Control overrideWindow)
at Microsoft.DirectX.Direct3D.Device.Present()
at MediaPortalApp.Render(Single timePassed)
2006-04-25 10:55:15 Exception :confused:ystem.Data.DataException: Invalid 'Key' node inside constraint named: Relation1.
at System.Data.XSDSchema.HandleKeyref(XmlSchemaKeyref keyref)
at System.Data.XSDSchema.HandleDataSet(XmlSchemaElement node, Boolean isNewDataSet)
at System.Data.XSDSchema.LoadSchema(XmlSchemaSet schemaSet, DataSet ds)
at System.Data.DataSet.ReadXSDSchema(XmlReader reader, Boolean denyResolving)
at System.Data.DataSet.ReadXmlSchema(XmlReader reader, Boolean denyResolving)
at System.Data.DataSet.ReadXmlSchema(String fileName)
at MediaPortal.RemoteControls.FireDTVRemote.Init(IntPtr hwnd)
at MediaPortal.InputDevices.InputDevices.Init()
at MediaPortalApp.InitializeDeviceObjects()
at MediaPortal.D3DApp.Render3DEnvironment()
at MediaPortal.D3DApp.FullRender()
2006-04-25 10:55:15 Exception :Invalid 'Key' node inside constraint named: Relation1.
2006-04-25 10:55:15 site :Void HandleKeyref(System.Xml.Schema.XmlSchemaKeyref)
2006-04-25 10:55:15 source :confused:ystem.Data
2006-04-25 10:55:15 stacktrace: at System.Data.XSDSchema.HandleKeyref(XmlSchemaKeyref keyref)
at System.Data.XSDSchema.HandleDataSet(XmlSchemaElement node, Boolean isNewDataSet)
at System.Data.XSDSchema.LoadSchema(XmlSchemaSet schemaSet, DataSet ds)
at System.Data.DataSet.ReadXSDSchema(XmlReader reader, Boolean denyResolving)
at System.Data.DataSet.ReadXmlSchema(XmlReader reader, Boolean denyResolving)
at System.Data.DataSet.ReadXmlSchema(String fileName)
at MediaPortal.RemoteControls.FireDTVRemote.Init(IntPtr hwnd)
at MediaPortal.InputDevices.InputDevices.Init()
at MediaPortalApp.InitializeDeviceObjects()
at MediaPortal.D3DApp.Render3DEnvironment()
at MediaPortal.D3DApp.FullRender()
 

Wintermute

New Member
April 25, 2006
4
0
Sweden
Might as well reply to my on post..

I found one problem being inside "FireDTVRemote.cs" function Init(..).

When it is called a second time (as when waking up from suspend I
guess) the DataSet variable _KeyMapFile is not flushed before being
re-loaded with the xml-schema.. this causes the error I reported.

A question is also why the xml key mappings are at all loaded if
advanced mode is disabled.. my case.

Anyway, I compiled my own RemotePlugins.dll "new'ing" the DataSet prior to the xml-load and my problems went away.
 

Paranoid Delusion

Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,052
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Wintermute

    Can you chat with the Devs about this on IRC chat, or post again with answer in tips and tricks.

    Thanks

    8)
     

    Users who are viewing this thread

    Top Bottom