MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Input / Output interfaces » External Display » Support


Support Support for external displays.

Closed Thread
 
Thread Tools Display Modes
Old 2008-04-15, 12:03   #341 (permalink)
Portal Member
 
armandp's Avatar
 
Join Date: Apr 2008
Age: 28
Posts: 328
Thanks: 17
Thanked 44 Times in 23 Posts

Country:

My System

Default

To fix the display after it "hangs" i usually do this:

- Exit Media Portal
- Start IMON manager
- Set "3rd party is controlling IMON" and click Apply
- Go to Media Portal configuration and the CybrDisplay plugin configuration.
- Click TEST and display will function again.
- Close configuration
- Start Media Portal
- After this IMON manager resets the "3rd party is controlling IMON" to unchecked and it will function again till the next lockup

Hope this helps.

(allthough it is unrecommended by Cybr, i use the latest IMON manager beta software so i don't know if you'll have the option of 3rd party control)
armandp is offline  
Old 2008-04-15, 12:34   #342 (permalink)
Portal Member
 
globaldonkey's Avatar
 
Join Date: Apr 2007
Posts: 275
Thanks: 6
Thanked 5 Times in 5 Posts

Country:

My System

Default Test 14 Results

As promised. Used this test procedure:

1) run the test application
2) press a few button to ensure that the remote is working.
3) unlug the USB cable for the iMon device.
4) wait for the device removal tone from windows
5) plug the USB cable for the iMon device back in.
6) wait for the device insertion tone from windows.
7) press a few buttons on the remote....
8) report the results (are the button presses recognized? does the test application crash?, etc...)

Everything seemed to work after the disconnect / reconnect, although the output didn't seem like keyboard mode output from the pad, ie

2008-04-15 20:26:57.109375 - Received Input Command (Mouse)
2008-04-15 20:26:57.109375 - RAW HID DEVICE: \??\HID#Vid_15c2&Pid_0036&MI_00&Col01#7&23d1ddc3&0 &0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
2008-04-15 20:26:57.109375 - RAW IMON HID MOUSE - lLastX: 0 lLastY: 2 Buttons: 0
2008-04-15 20:26:57.109375 - RAW IMON HID MOUSE - Ignoring


even though it was in keyboard mode.
Attached Files
File Type: log iMonTestApp.log (76.1 KB, 2 views)
globaldonkey is offline  
Old 2008-04-15, 13:47   #343 (permalink)
Portal Member
 
globaldonkey's Avatar
 
Join Date: Apr 2007
Posts: 275
Thanks: 6
Thanked 5 Times in 5 Posts

Country:

My System

Default

Quote:
Originally Posted by Tide View Post
I have it working again.

I had a hunch to launch a Direct X application to see if it would "reset" it. I opened MP with iMon Manager open (I am using the external display plugin which takes over iMon) I then closed MP. I have a setting in external display set to close display on exit I think and to reopen iMon Manger. I am not sure on these 2 settings I will check them. Anyway, it never has restarted Imon Manger on exit but I figure that is for another day. The good part is it did close IMon Manger from when it was initially running when MP started.

I opened iMon Manger. I then noticed my display (fontview) restarted on "Auto" mode. I had it set to never start fontview when iMon Manager starts. Somehow it magically changed. Something in this crazy process fixed it back.

Side Note: Whether i put the initial setting to keyboard or mouse in iMon Manger when I close iMon Manger the mouse stick no longer functions period. The numbers and the other default type buttons still work in Notepad but the mouse stick is dead. Maybe it will be different tomorrow.
I think I can explain some of what you describe, but some of it does not make sense and maybe cybrmage can fill in the blanks.

When you say "external display plugin" I assume you're talking about cybrdisplay, not the old original external display plugin by Joe Dalton? Certainly some of the behaviour you describe seems to match up with what I know of cybrdisplay.

The later versions of cybrdisplay definitely stop and restart iMON at MP startup, and I think also restart it on exit. Cybrdisplay also disables the frontview component on startup (ie sets it to never) because frontview and cybrdisplay conflict with each other and both try to write to the display if they are both enabled. It then re-enables frontview (sets it to automatic) when MP exits. This at least explains some of the behaviour you describe. You still need iMON Manager running though to allow the remote to work (well at least until and-81 can take all this work and integrate it into IR Server).

What you say in the side note is definitely not the way my system works. The raw HID device(s) still work even if iMON manager is not running, or even never started. Maybe you are running a different version of iMON Manager that disables them on exit? For reference:

My IMON Manager: 6.20.830 (Silverstone)
My F/W : iMON Firmware Ver 0x3601
My case : Silverstone LC16M


Per this link, Soundgraph call my device OEM VFD Type C. ie it has the duplicated play, stop etc buttons on the LC16M case, and the volume control.

::oundGraph::: Innovation of Human on Digital Network
globaldonkey is offline  
Old 2008-04-15, 18:15   #344 (permalink)
me1
Portal Member
 
Join Date: Mar 2008
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

cybrmage:
Here are the tests done with the MCE remote.

Anything more?
TestWithMCEremote.zip
me1 is offline  
Old 2008-04-15, 18:42   #345 (permalink)
Portal Developer
 
chemelli's Avatar
 
Join Date: Sep 2006
Location: Italy - Padova
Age: 34
Posts: 1,351
Thanks: 75
Thanked 73 Times in 58 Posts

Country:

My System

Send a message via Skype™ to chemelli
Default

Cybrmage,

I updated the plugin to the 12-04-08 version and the MediaPortal.log is now clean. Thx.
I noticed that during TV playback every 5 secs. the VFD display channel name and epg data even if I checked the blank VFD after 30secs idle.

Can you check this for me please ?

Simone

BTW, sorry MP is not in debug mode. If you need it let me know...
Attached Files
File Type: rar log_mp.rar (10.3 KB, 0 views)
__________________
If you do what you've always done, you'll get what you've always gotten
chemelli is offline  
Old 2008-04-15, 18:42   #346 (permalink)
Portal Member
 
Join Date: Apr 2008
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

A little update:

Yes globaldonkey, you are right on. That is what I meant to say. It was late. I am using CybrDisplay. I am using a different LCD screen than you. I have the LCD2 screen. I am using iMON_7_01_0204_BETA_ENG as my driver.

Well iMon Manager has really started acting strange. I started a notepad document to document what was going on. If I posted it here you would all fall on the floor laughing. What I say in one sentence gets contradicted by something in another sentence. It seeems the iMon Manager will now not do anything regularly. If you try one thing then go back and try it again you get different results. It is very odd.

I think I will do a clean install on another partition and see what happens.

I am not sure how reliable these logs are but here you go.
Attached Files
File Type: zip test14_logs_2.zip (2.7 KB, 2 views)

Last edited by Tide; 2008-04-15 at 18:46.
Tide is offline  
Old 2008-04-15, 19:11   #347 (permalink)
Portal Developer
 
Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts

Country:


Default

Quote:
Originally Posted by Tide View Post
I think I will do a clean install on another partition and see what happens.
NO!!!!!!!!!!!!!!!!!!!!

It is not your software that's operating incorrectly.... it's the display device....

Do a complete powerdown!!!!.... That means: shut down windows... physically go to your computer, reach around to the back of the computer and turn the switch on the power supply to the OFF position and wait one minute. Then turn the switch back on...

Most people forget that these devices do NOT turn off when the computer shuts down ( I even forget sometimes...).... When the computer shuts down the device is still powered by the +5VSB line of the power supply!!!! On my test system (Antec 430 Black case) , I leave the screws on the case top removed so that I can slide the top back and disconnect the +5VSB connector without having to remove the system from the TV stand.
cybrmage is offline  
Old 2008-04-15, 19:13   #348 (permalink)
Portal Member
 
Join Date: Apr 2008
Posts: 26
Thanks: 4
Thanked 0 Times in 0 Posts

Country:

My System

Default

just wanted to pay respect to cybrmage and the work on this thread
antec v2 black, with lcd, on vista, running imon beta and cybr's dll, i have good response from mce remote
i've some tweaking to do, but must read the 34 pages of this thread and the others before asking any foolish questions
i'll be back !
Ur[s]uS is offline  
Old 2008-04-15, 21:19   #349 (permalink)
Portal Developer
 
Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts

Country:


Default

Quote:
Originally Posted by globaldonkey View Post
Everything seemed to work after the disconnect / reconnect, although the output didn't seem like keyboard mode output from the pad, ie

2008-04-15 20:26:57.109375 - Received Input Command (Mouse)
2008-04-15 20:26:57.109375 - RAW HID DEVICE: \??\HID#Vid_15c2&Pid_0036&MI_00&Col01#7&23d1ddc3&0 &0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
2008-04-15 20:26:57.109375 - RAW IMON HID MOUSE - lLastX: 0 lLastY: 2 Buttons: 0
2008-04-15 20:26:57.109375 - RAW IMON HID MOUSE - Ignoring


even though it was in keyboard mode.
What you are seeing is correct behavior... the device is sending a mousepad action as an HID mouse command... and the driver is ignoring it (the Y movement is too small to trigger a keyboard action in keyboard mode.... If the X or Y delta was greater than 10, it would trigger a mouse or keyboard action.. this is done to prevent an action when you accidentally brush the pad)


Keyboard mode:
2008-04-15 20:26:57.703125 - RAW HID DEVICE: \??\HID#Vid_15c2&Pid_0036&MI_00&Col01#7&23d1ddc3&0 &0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
2008-04-15 20:26:57.703125 - RAW IMON HID MOUSE - lLastX: -2 lLastY: -10 Buttons: 0
2008-04-15 20:26:57.718750 - iMon RemoteEvent: 1250, False
2008-04-15 20:26:57.718750 - iMon HID Remote: 1250 (button = IMON_PAD_BUTTON_UP)

Mouse mode:
2008-04-15 12:44:31.093750 - Received Input Command (Mouse)
2008-04-15 12:44:31.093750 - RAW HID DEVICE: \??\HID#Vid_15c2&Pid_0038&MI_00&Col01#8&2ce7ba48&0 &0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
2008-04-15 12:44:31.093750 - RAW IMON HID MOUSE - lLastX: 0 lLastY: 2 Buttons: 0
2008-04-15 12:44:31.093750 - iMon MouseEvent: DX 0, DY 2, Right: False, Left: False
2008-04-15 12:44:31.140625 - Received Input Command (Mouse)

The key lines are:
2008-04-15 20:26:57.718750 - iMon RemoteEvent: 1250, False
and
2008-04-15 12:44:31.093750 - iMon MouseEvent: DX 0, DY 2, Right: False, Left: False

indicating that the driver actually did something with the data.



The HID devices seem to have two modes....
1) the device appears as 3 seperate HID devices: Remote, Keyboard and Mouse... The HID Keyboard and HID Mouse devices are inactive, and all data is transferred to the PC over the HID Remote device.
2) the device appears as 3 seperate HID devices: Remote, Keyboard and Mouse... data is transferred to the PC over the appropriate device.

It appears that this is the sequence of events:
1) On device powerup - all three devices are active... device is in mode 1.
2) When iMon Manager runs... and is set to mouse mode, it sends a command that set the device to mode 2.
3) With iMon Manager running, pressing the "mouse/keyboard" button will send a command to the device to change it to the appropriate mode.
4) when iMon Manager exits, it leave the device in the last mode that was active...

Additionally, when a DirectX application that uses the DirectInput system ( such as DirectX Diag or MediaPortal ) is run, the device does a reset (with causes it to disconnect and then reconnect) and is in mode 1.

For our purposes, we want the device to be in mode 1 at all times.... this leaves various options...
1) determine the command to set the device to mode 1.
2) force a device reset to get the device into mode 1.
3) use a helper application to get the device into mode 1.
4) use an explicit set of instructions for use of the plugin.

Remeber, IR Server Suite does not run as a plugin inside MediaPortal... It is a global application for managing the remote.... so we can't rely on the device being in mode 1... the IR Server suite will start during windows startup...

option 1 is the ideal option, and give the most flexibility, but we will need someone with the device and a USB logger to determine the commands...

option 2 is the next best, but I don't know which part of the DirectInput system causes the device to reset... and adding DirectX and DirectInput to the driver will make it HUGE!! Also, so far the driver does not have any support for sending commands to the device... I would have to determine how to do that... (and USB programming on windows is a very inexact art)

option 3 is probably the easiest to impliment (since I don't have the iMon HID device)... Find the iMon installation, set the manager with the appropriate options, run it... wait a second to ensure it has done the deed, and then kill it

option 4 is, in my opinion, the least desirable option... it means that, if you run iMon Manager, and least the remote in mouse mode, the driver will know that the device has the mouse and keyboard active, but will not be able to change that behavior...

ok... So... opinions??? (sorry... I'm thinking out loud again... 8-} )


Quote:
Originally Posted by globaldonkey View Post
I think also restart it on exit.
only if the restart option is selected

Quote:
Originally Posted by globaldonkey View Post
Cybrdisplay also disables the frontview component on startup (ie sets it to never)
correct!

Quote:
Originally Posted by globaldonkey View Post
It then re-enables frontview (sets it to automatic) when MP exits.
if the restart option is selected, correct!

Quote:
Originally Posted by globaldonkey View Post
You still need iMON Manager running though to allow the remote to work (well at least until and-81 can take all this work and integrate it into IR Server).
The sweet part about all this work on the test app is.... The test app IS the plugin for IR Server Suite.... As soon as we get the test app working, I change a compile flag, and we have the IR Server Suite plugin....


Quote:
Originally Posted by globaldonkey View Post
For reference:

My IMON Manager: 6.20.830 (Silverstone)
My F/W : iMON Firmware Ver 0x3601
My case : Silverstone LC16M
You are using different hardware than Tide is... Tide has a Firmware ver 0x3801 LCD... I don't know which version of iMon he is running....

Each version seems to have it's own peculiar quirks (both hardware versions and iMon Manager versions)...


Quote:
Originally Posted by globaldonkey View Post
Per this link
I think we are going to change the slogan to something more fitting... like...

::oundGraph::: Destruction of the Human on Digital Network



Quote:
Originally Posted by me1 View Post
cybrmage:
Here are the tests done with the MCE remote.

Anything more?
Very helpful!! Thank you...

Please run the tests again with the test app 15 (once I post it a little later.... lots of logs to go through... 8-} )
It looks like the device is mapping the "ok" and the "clear" buttons to the same keycode... that could be a problem... Also, an additional log with just the "ok" and "clear" buttons being pressed (10 or 15 times) would be helpful...

Are you able to run the device disconnect test (please see post re the disconnect test from yesterday)??


Quote:
Originally Posted by chemelli View Post
during TV playback every 5 secs. the VFD display channel name and epg data even if I checked the blank VFD after 30secs idle.
I'll think about it.... 8-}

It will be fixed in the next release.

Last edited by cybrmage; 2008-04-15 at 21:24.
cybrmage is offline  
Old 2008-04-15, 22:07   #350 (permalink)
Portal Developer
 
chemelli's Avatar
 
Join Date: Sep 2006
Location: Italy - Padova
Age: 34
Posts: 1,351
Thanks: 75
Thanked 73 Times in 58 Posts

Country:

My System

Send a message via Skype™ to chemelli
Default

Quote:
Originally Posted by cybrmage View Post
Quote:
Originally Posted by chemelli View Post
during TV playback every 5 secs. the VFD display channel name and epg data even if I checked the blank VFD after 30secs idle.
I'll think about it.... 8-}

It will be fixed in the next release.
in advance

Simone
__________________
If you do what you've always done, you'll get what you've always gotten
chemelli is offline  
Closed Thread

Bookmarks

Tags
cybrdisplay, external, plugin, status

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 Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MCE display plugin in cybrdisplay plugin not working in vista? wim168 Support 4 2008-07-18 10:57
Fehlermeldung bei CybrDisplay Plugin Luna96 Plugins/Erweiterungen 0 2008-04-08 10:17
Following plugin status\obsolete Paranoid Delusion Website/Forum/Wiki Feedback 1 2008-01-21 15:19
New status plugin. regeszter Improvement Suggestions 2 2007-12-18 18:21
Variables for the status-plugin merci1983 Skins 0 2004-12-16 19:22


All times are GMT +1. The time now is 18:24.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden