| |||||||
| Support Support for external displays. |
![]() |
| | Thread Tools | Display Modes |
| | #71 (permalink) |
| Portal Member Join Date: Jul 2005
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
| Hello everybody, it works pretty good. The backlight turns off when you turn mediaportal or your computer off. You have to set the hook at backlight in setup. But i cant see any icons? Anyway thank you for that enhancement |
| |
| | #72 (permalink) |
| Portal Developer Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts
Country: | Kossan: the logs are in the "log" directory of the location where MediaPortal is installed. This is probable c:\Program Files\MediaPortal\log\ Johan: Your problem is NOT with the iMONLCDg driver! 2007-09-04 19:43:16.921875 [Info.][MPMain]: Main: MediaPortal is starting up 2007-09-04 19:43:16.937500 [Info.][MPMain]: Main: Assembly creation time: 2007-06-13 10:27:16 (UTC) 2007-09-04 19:43:16.937500 [Warn.][MPMain]: Main: MediaPortal is already running 2007-09-04 19:43:16.968750 [Info.][MPMain]: D3D: Restoring from tray This indicates that you already have an instance of MediaPortal running... This instance does not have the externaldisplay drivers loaded... so your display will not work... The other exceptions (Method not found) are thrown by audioscrobbler... not related to the iMONLCDg driver... This could be caused by either A) you are running a v0.2.3 build of MediaPortal with a plugin designed for v0.2.3, or B) that you are running a v0.2.2 build of MediaPortal with plugins designed for v0.2.3. Your first step is to make sure that you shut down MediaPortal... the install the drivers, then run configure to configure the plugin, and then run MediaPortal to see the results. Try this and let us know what happens. fetzbraun: A few questions... 1) what device (Antec, soundgraph, silverstone, etc...) do you have? 2) Are you using the latest (debug) version of the plugin? if so, please post your log file... Regards, cybrmage |
| |
| | #73 (permalink) |
| Portal Member Join Date: Jul 2005
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
| Hi cybrmage, i use a soundgraph lcd in a silverstone ml-02 case. I got no display at all with the ProcessPlugins.dll.debug version (09_03_2007). But the display works with ProcessPlugins.dll.release. Here is the error.log: <error.log> 2007-09-04 21:53:13.437500 [ERROR][MPMain]: Exception ystem.NullReferenceException: Object reference not set to an instance of an object.at ProcessPlugins.ExternalDisplay.ExternalDisplay.Sto p() at MediaPortal.GUI.Library.PluginManager.Stop() at MediaPortalApp.OnExit() at MediaPortalApp.Main(String[] args) 2007-09-04 21:53:13.437500 [ERROR][MPMain]: Exception :Object reference not set to an instance of an object. 2007-09-04 21:53:13.437500 [ERROR][MPMain]: site :Void Stop() 2007-09-04 21:53:13.437500 [ERROR][MPMain]: source rocessPlugins2007-09-04 21:53:13.437500 [ERROR][MPMain]: stacktrace: at ProcessPlugins.ExternalDisplay.ExternalDisplay.Sto p() at MediaPortal.GUI.Library.PluginManager.Stop() at MediaPortalApp.OnExit() at MediaPortalApp.Main(String[] args) 2007-09-04 21:53:13.437500 [ERROR][MPMain]: MediaPortal stopped due 2 an exception Object reference not set to an instance of an object. ProcessPlugins at ProcessPlugins.ExternalDisplay.ExternalDisplay.Sto p() at MediaPortal.GUI.Library.PluginManager.Stop() at MediaPortalApp.OnExit() at MediaPortalApp.Main(String[] args) </error.log> Thanks for your help Sorry for these icons! I dont know what i did to put theme there?! Dont care shoulb be an P and an S If i use the ProcessPlugins.dll.release version i found this line in error.log. 2007-09-04 22:04:36.875000 [ERROR][ExternalDisplay]: ERROR in iMONLCD SendPixelArray Last edited by fetzbraun; 2007-09-04 at 22:06. Reason: Automerged Doublepost |
| |
| | #74 (permalink) |
| Portal Member | This somewhat cryptic error message of mine means that the pixel array size is of the wrong dimensions. In config, you need to set no more than 96 columns and 16 rows. The "TODO" list includes checking that the user does not exceed these dimensions, and if the user does, reset to a max of 96 and 16. Such a simple test (min(_grows,16) and min(_gcols,96), I can't think of why I didn't implement it already! cynbrmage has made some more changes, I am not sure if I have the latest source to make this minor change. Last edited by ralphy; 2007-09-05 at 01:38. |
| |
| | #75 (permalink) |
| Portal Developer Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts
Country: | Time for an updated version... Added: simple display test ( On the configuration screen, click "Advanced"... the display will be activated according to the options that you have set, display two lines of test and flash all the icons, then the display will be deactivated. Fixed: limit display size to 96 x 16 pixels. Source and debug/release versions of the DLL are included... Last edited by cybrmage; 2008-03-14 at 08:10. |
| |
| | #77 (permalink) |
| Retired Team Member Join Date: Sep 2004 Location: Belgium Age: 40
Posts: 425
Thanks: 1
Thanked 17 Times in 5 Posts
| Excellent work guys Some remarks though... Why do you keep a static reference ('instance') to the driver instance? I guess you are implementing some kind of Singleton Pattern? IMO this is not needed. The only place where it is actually used is in the OpenLcd method where you start the update icon thread. You can use this.UpdateIcons there instead. Also, at shutdown, in CloseLcd you do not wait until the icon update thread is actually stopped. After setting stopUpdateIconThread to true you should implement Code: while(_iconThread.IsAlive) Thread.Sleep(100); If you think my comments are inappropriate, leave your remarks here. I will wait for an updated version to put it in SVN... Joe |
| |
| | #78 (permalink) | |
| Portal Member | Still no luck. I tried the Advanced button on plugin-setting page and the display blinks and show "testing something". But when starting MP it crashes. My error.log Quote:
Last edited by Kossan; 2007-09-05 at 18:46. | |
| |
| | #79 (permalink) | ||
| Portal Developer Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts
Country: | Please post your MediaPortal.log anyways... it may provide some clues. I'm looking into it... hopefully, i'll have something for you soon... Quote:
Quote:
I have attached an updated version appropriate for SVN commit for your perusal. Also , I have been looking at the RC component of the device, with view of getting a workable API built (and as a way of determining if a VFD or LCD display is being used)... So I have added some experimental (but safe to use) code to the driver... so that I can gather some device specific information. To gather the information: 1) install the ProcessPlugin.dll (either debug or release) 2) copy SG_RC.dll to your MediaPortal directory. 3) run MediaPortal. 4) stop MediaPortal. 5) load the MediaPortal.log file and search for a line that starts with "IDisplay(API) iMONLCDg.Setup() RC TEST". If the line reads "RC TEST FAILED", you have not placed the SG_VFD.dll in the MediaPortal directory. 6) please post the device that you have (i.e. Antec Fusion Black display or SoundGraph MFC51, etc...) and the values returned by the RC TEST. 7) regardless of success or failure of the RC test, your display will function normally. I thank you, in advance, for taking the time to run the test and post the information. Regards, Cybrmage Last edited by cybrmage; 2008-03-14 at 08:10. | ||
| |
| | #80 (permalink) | |
| Portal Member Join Date: Apr 2006 Age: 32
Posts: 277
Thanks: 2
Thanked 3 Times in 2 Posts
Country: | Quote:
Well there is at least something weird going on for me with the later version of imon driver. The latest version that is working for me is the version where the displays turns off when MP exits but not when it goes to standby. To show what I mean I have attached two pictures where I do the exact same thing. Playing the exact same mp3 but with different versions of the imon driver. The one where the "Now playing" window is not shown is the one with the latest driver. With this version I also only get "/" in the display instead of "artist / track" Also note that the track is actually playing but I can not stop without closing MP. Video is also not working at all. I installed the debug version for logging and made the same procedure again. logfiles are included. However with debug version I don't get anything at all in the display. I have also restarted and checked so I am not running double instances of MP. I can not find this warning message in the logfile this time either. | |
| |
![]() |
| Bookmarks |
| Tags |
| driver, imon, lcd, soundgraph, updated |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fernbedienung - Soundgraph iMon | robbie | Media Portal - Support | 3 | 2008-08-21 12:05 |
| MediaPortal & iMON ULTRA Bay (Soundgraph) | Testudo | Media Portal - Allgemeines | 27 | 2008-02-04 13:10 |
| soundgraph imon direction pad sensitivity | Sentinel | General Support | 4 | 2007-10-13 14:32 |
| Driver Available for Soundgraph OEM LCD / UltraBay | ralphy | Support | 38 | 2007-08-30 23:58 |
| Soundgraph iMon remote direct my xx buttons | DonBogo | General | 4 | 2006-12-10 01:46 |