CybrDisplay External Status Plugin (1 Viewer)

Status
Not open for further replies.

globaldonkey

MP Donator
  • Premium Supporter
  • April 23, 2007
    755
    79
    Home Country
    Test 13 Hardware Removal

    It all looks good.

    I have attached two logs, because it demonstrates what I was talking about earlier that MediaPortal does to the IMON remote when it starts - ie it throws the pad into mouse mode. This is without cybrdisplay running, so it has nothing to do with the plugin.

    In the first log, I started my machine, which auto-starts MP. I then exited MP and started the test program. In the log, you can see that even though the test program says it is in keyboard mode, the test program seems to output mouse input from the remote. After the physical disconnect, the pad presents keyboard data as expected.

    In the second log, which is after I stop and restart the test program, everything is normal. The program starts in keyboard mode and seems to output keyboard data, both before and after the disconnect.
     

    cybrmage

    Portal Pro
    May 30, 2007
    498
    86
    Home Country
    Canada Canada
    Press some more buttons and everything was still being recognized by the HID test.

    Well.... At least we now know that the test application survives surprise removal of the device without problems....


    it demonstrates what I was talking about earlier that MediaPortal does to the IMON remote when it starts - ie it throws the pad into mouse mode.

    It's not actually MediaPortal that causes this problem.... running any program that uses the DirectX DirectInput system will cause the device to disconnect/reconnect.... It is a BAD implimentation of the USB HID standard by Soundgraph....

    even though the test program says it is in keyboard mode, the test program seems to output mouse input from the remote.

    I suspect that when your computer starts up, it automatically runs iMon Manager as wel??? Is this correct???
    The Test Application IS still in mouse mode... but the device has been reset, and is now sending the mouse data using the HID Remote device instead of the USB Mouse device.

    Fortunately, the data sent is in the same format as the used by the legacy devices, so it can be accounted for....

    In the second log, which is after I stop and restart the test program, everything is normal. The program starts in keyboard mode and seems to output keyboard data, both before and after the disconnect.

    But it doesn't process mouse input, as the device is sending mouse data via the HID Remote device.... but, as already mentioned... easy enough to fix.



    Can you both do another test for me....

    1) make sure that iMon Manager is NOT set to run at windows startup.
    2) restart windows
    3) WITHOUT running iMon Manager, mouse the remote's mouse pad... what happens??? does the mouse pointer move???
    4) WITHOUT running iMon Manager, open notepad and make sure it has focus. Pres the "1", "2" and "3" buttons on the remote... what happens??? do the numbers appear in notepad???
    5) run iMon manager and then shut it down
    6) repeat steps 3 and 4. Is the behaviour different???
    7) unplug the iMon device... wait for the disconnect notification... reconnect the device... wait for the reconnect notification.
    8) repeat steps 3 and 4. describe the behavior...

    Thanks.... While waiting for more info, I'll add support for the "anomolous" behaviour.
     

    globaldonkey

    MP Donator
  • Premium Supporter
  • April 23, 2007
    755
    79
    Home Country
    It's not actually MediaPortal that causes this problem.... running any program that uses the DirectX DirectInput system will cause the device to disconnect/reconnect.... It is a BAD implimentation of the USB HID standard by Soundgraph....

    Ah that makes sense then..... was wondering why I heard a USB disconnect when dxdiag was run, and per the testing below, it also finally explains why the pad gets thrown back into mouse mode. It would appear this is the default mode after the device is disconnected / reconnected, or otherwise starts without iMON Manager.

    BTW it isn't every time you hear the USB device actually disconnect / reconnect (when MP starts, MP Config starts, dxdiag is run), BUT EVERY time that Media Portal is run it kicks the pad into mouse mode.


    I suspect that when your computer starts up, it automatically runs iMon Manager as wel??? Is this correct???

    Yes that is correct.


    1) make sure that iMon Manager is NOT set to run at windows startup.
    Check
    2) restart windows
    Check
    3) WITHOUT running iMon Manager, mouse the remote's mouse pad... what happens??? does the mouse pointer move???
    Yes, the mouse pointer moves
    4) WITHOUT running iMon Manager, open notepad and make sure it has focus. Pres the "1", "2" and "3" buttons on the remote... what happens??? do the numbers appear in notepad???
    Yes all the numbers, *, #, space, backspace and enter work in Notepad.
    5) run iMon manager and then shut it down
    Check
    6) repeat steps 3 and 4. Is the behaviour different???
    Yes, for step 3, the mouse no longer moves. I daresay this is because I have keyboard mode selected in IMON Manager as the default startup mode, and that's the mode it is left in when iMON exits. For Step 4, the behaviour is the same - the keys still work in Notepad.
    7) unplug the iMon device... wait for the disconnect notification... reconnect the device... wait for the reconnect notification.
    Check
    8) repeat steps 3 and 4. describe the behavior...
    The mouse pointer now moves again (ie back to "default" behaviour) and the keypresses still work in Notepad.
     

    Tide

    Portal Pro
    April 1, 2008
    57
    4
    Home Country
    United States of America United States of America
    It's not actually MediaPortal that causes this problem.... running any program that uses the DirectX DirectInput system will cause the device to disconnect/reconnect.... It is a BAD implimentation of the USB HID standard by Soundgraph....

    That explains a lot. How annoying!! I get tired of that.

    1) make sure that iMon Manager is NOT set to run at windows startup.
    2) restart windows
    3) WITHOUT running iMon Manager, mouse the remote's mouse pad... what happens??? does the mouse pointer move???
    4) WITHOUT running iMon Manager, open notepad and make sure it has focus. Pres the "1", "2" and "3" buttons on the remote... what happens??? do the numbers appear in notepad???
    5) run iMon manager and then shut it down
    6) repeat steps 3 and 4. Is the behaviour different???
    7) unplug the iMon device... wait for the disconnect notification... reconnect the device... wait for the reconnect notification.
    8) repeat steps 3 and 4. describe the behavior...

    3 = Yes the mouse pointer moves in mouse mode
    4 = Yes all numbers as well as * and # appear in notepad
    6 = Behavior remains the same
    8 = Behavior remains the same

    I do not get the same results as globaldonkey for 6. I double checked and all functions remain the same after iMon Manger startup and exit. I too have keyboard as the default setting in iMon Manager.
     

    cybrmage

    Portal Pro
    May 30, 2007
    498
    86
    Home Country
    Canada Canada
    Yes, for step 3, the mouse no longer moves.

    Ok... So iMon manager must send a command to the device to disable the HID mouse device....

    I daresay this is because I have keyboard mode selected in IMON Manager

    Which is what I suspected...

    3 = Yes the mouse pointer moves in mouse mode
    .
    .
    .
    I too have keyboard as the default setting in iMon Manager.

    Ummm.... that is strange.... (Have I ever mentioned that I HATE SoundGraph devices!!!)

    When you run iMon Manager and set to keyboard mode, does the mousepad on the remote still control the mouse???


    Do either of you have a USB logger on your system???
     

    Tide

    Portal Pro
    April 1, 2008
    57
    4
    Home Country
    United States of America United States of America
    ok very odd (not that you are surprised). Now the keyboard/mouse button does not have any affect on the mouse stick at all now. The IMon Manager is showing me switching from keyboard to mouse but it is not doing anything. I will reboot and try some more.

    No I do not have USB logger.

    Edit:

    Did a reboot - no help it appears the mouse stick stays in mouse mode all the time now. I have rebooted 2 times, added back my registry entry to autostart, and tried disconnecting and reconnecting. Nothing seems to work.

    All buttons are funcioting but the keyboard/mouse button. It is recognized as being pressed but it will not changed the actual function of the mouse stick. It just stays in mouse mode.
     

    cybrmage

    Portal Pro
    May 30, 2007
    498
    86
    Home Country
    Canada Canada
    The IMon Manager is showing me switching from keyboard to mouse but it is not doing anything.

    Try a complete powerdown.... These devices have a tendency to malfunction (complete lockup, stops responding to commands, strange behavior, garbled display, etc)

    Here is the new version of the test app... updated to support the anomolous mouse report behaviour...

    please rerun the device removal test with this version.
     

    Tide

    Portal Pro
    April 1, 2008
    57
    4
    Home Country
    United States of America United States of America
    You have to laugh

    Well nothing seems to be helping. I tried the power down and changing from keyboard to mouse in iMon Manager for initial mode. Powered down again. Removed the USB, about anything I could thnk of.

    I ran test 14. Not sure what you wanted exactly.

    - I moved the mouse stick. Pressed keyboard/mouse. Moved the mouse stick. Pressed keyboard/mouse. Moved the mouse stick.
    - Unplugged the USB
    - Plugged it back in
    - Ran test again
     

    globaldonkey

    MP Donator
  • Premium Supporter
  • April 23, 2007
    755
    79
    Home Country
    Yeah I've seen that sort of nonsense happen with this iMON c**p too Tide.

    I did a couple of extra tests with stopping and starting iMON just to confirm. If I start iMON with keyboard mode selected, that is the way it leaves the device when it exits. If I go into notepad after exiting iMON and put a few empty lines in, I can cursor up and down (with notepad focussed of course). So the pad is definitely functioning in keyboard mode after iMON exits. If I set iMON to start in mouse mode and exit, it leaves the pad in mouse mode, and I can move the mouse after exiting.

    I'll get onto Test 14 in a couple of hours after dinner. You guys should get some sleep, assuming you're somewhere on the east coast ;)
     

    Tide

    Portal Pro
    April 1, 2008
    57
    4
    Home Country
    United States of America United States of America
    New stuff

    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.

    Now that it is working (sort of) what exactly do you want me to do in test 14? I will get it done in the morning.
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom