CybrDisplay External Status Plugin (1 Viewer)

Status
Not open for further replies.

cybrmage

Portal Pro
May 30, 2007
498
86
Home Country
Canada Canada
cybrmage
I have a IMon HID device, a IMon remote and also a MCE remote. If it would help, i could do some tests with that combination.

Yes!!! Please.... nobody else seems to be using the iMon HID device with an MCE remote... So, although there should be support for it in the test program, I have NO idea if it works....

ANY logs you could provide would be very helpful.... Also, please indicate the model of the MCE remote that you are using, the order that you press the keys and the version of the iMon hardware you have.... Also... If you have an MCE keyboard, please try it as well (keyboard keys and mouse stick)


(The test program is NOW attached to my last post!! Sorry about not attaching it first time around...)
 

Tide

Portal Pro
April 1, 2008
57
4
Home Country
United States of America United States of America
Test 8

Here are my results for test 8. Running in Keyboard and in select with button modes.

I noticed no difference in the mouse stick actions for either one.

I did notice something odd when I press Star or Pound. In the log it shows something about buttons 8 for star and button 3 for pound.

Something like this:
Code:
2008-04-12 19:03:07.968665 - Received Input Command (Keyboard)
2008-04-12 19:03:07.968665 - RAW HID DEVICE: \??\HID#Vid_15c2&Pid_0038&MI_00&Col02#8&2ce7ba48&0&0001#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
2008-04-12 19:03:07.968665 - RAW IMON HID KEYBOARD CODE: 16  FLAGS: KeyMake  MESSAGE: 256
2008-04-12 19:03:07.968665 - CONSUMED HID KEYBOARD- CODE: 16  FLAGS: KeyMake  MESSAGE: 256
2008-04-12 19:03:07.968665 - Received Input Command (Keyboard)
2008-04-12 19:03:07.968665 - RAW HID DEVICE: \??\HID#Vid_15c2&Pid_0038&MI_00&Col02#8&2ce7ba48&0&0001#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
2008-04-12 19:03:07.968665 - RAW IMON HID KEYBOARD CODE: 51  FLAGS: KeyMake  MESSAGE: 256
2008-04-12 19:03:07.968665 - iMon HID RemoteEvent: 1096, False
2008-04-12 19:03:07.968665 - iMon HID Remote: 1096     (button = IMON_PAD_BUTTON_NUMPAD_HASH)

2008-04-12 19:03:08.093665 - Received Input Command (Keyboard)
2008-04-12 19:03:08.093665 - RAW HID DEVICE: \??\HID#Vid_15c2&Pid_0038&MI_00&Col02#8&2ce7ba48&0&0001#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
2008-04-12 19:03:08.093665 - RAW IMON HID KEYBOARD- CODE: 16  FLAGS: KeyBreak  MESSAGE: 257
2008-04-12 19:03:08.093665 - CONSUMED HID KEYBOARD- CODE: 16  FLAGS: KeyBreak  MESSAGE: 257

2008-04-12 19:03:08.093665 - Received Input Command (Keyboard)
2008-04-12 19:03:08.093665 - RAW HID DEVICE: \??\HID#Vid_15c2&Pid_0038&MI_00&Col02#8&2ce7ba48&0&0001#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
2008-04-12 19:03:08.093665 - RAW IMON HID KEYBOARD- CODE: 51  FLAGS: KeyBreak  MESSAGE: 257
2008-04-12 19:03:08.093665 - iMon HID RemoteEvent: 1050, False
2008-04-12 19:03:08.093665 - iMon HID Remote: 1050     (button = IMON_PAD_BUTTON_NUMPAD_3)

Is that normal? That was one press of #

Most responses for a button press are shorter in the HID test.

Edit : I got to thinking (scary thought) and this may be intended as Shift 3 is pound and shift 8 is star. I am thinking this is why they are longer and mention those numbers.
 

cybrmage

Portal Pro
May 30, 2007
498
86
Home Country
Canada Canada
I did notice something odd when I press Star or Pound.
.
.
.
Is that normal? That was one press of #

Yes. this is normal.... All of the numbers and the * and # keys are sent over the HID keyboard device..... The * is Shift + 8 and the # is Shift + 3... so, for these keys, the HID device sents a keydown event for the Shift key, a keydown event for the key (3 or 8), a keyup event for the Shift key and a keyup event for the key.

The logs are a little more terse in this version since I removed the logging that was no longer needed...
 

globaldonkey

MP Donator
  • Premium Supporter
  • April 23, 2007
    755
    79
    Home Country
    Test 8 Results

    Here are mine.... same observations as Tide. All the presses that decoded what they were seemed to match with the actual keypress, so all the mapping looks right.
     

    Tide

    Portal Pro
    April 1, 2008
    57
    4
    Home Country
    United States of America United States of America
    While I have a minute

    Cybermage = One unreal, dedicated, cool dude

    Thanks for working so hard on this and other projects!!!!!!!
     

    rmeredit

    MP Donator
  • Premium Supporter
  • April 10, 2007
    164
    20
    Melbourne
    Home Country
    I need logs that have Mediaportal Logging set to "Debug" AND the plugin configured for "Extensive Logging".

    Erm, yeah, that would have been helpful. Here's another go. This one took two or three goes before it crashed (hence the much larger log file), but the lockup behaviour occured on the first attempt to play a DVD file.

    Cheers,

    Rob.
     

    cybrmage

    Portal Pro
    May 30, 2007
    498
    86
    Home Country
    Canada Canada
    Here is another test of the iMon HID test program .... (Notice - This version of the iMon HID test program now SUPPORTS OLD AND NEW MODELS!!!)

    In the last version it appears that the remote mode state machine was functioning... but it dropped all other remote buttons....

    Hopefully, this version will fix that (and not break anything else!)



    Erm, yeah, that would have been helpful. Here's another go. This one took two or three goes before it crashed (hence the much larger log file), but the lockup behaviour occured on the first attempt to play a DVD file.

    Cheers,

    Rob.

    Actually... The MediaPortal logs are not preserved between runs... the logs are large because MediaPortal is doing a LOT of logging!

    Anyways.... It looks like you have a few problems... First, you are using the XFace skin... and when you go into "My Radio" it is throwing an exception.... So first of all... Change your skin back to BlueTwo... It is the default (and most tested) skin... and since you are using a recent SVN, the Xface skin you are using may be causing the problem...

    The logs appear to indicate that the main MediaPortal thread is crashing BEFORE the CybrDisplay thread crashes... The CybrDisplay thread appears to run for twelve seconds AFTER the main thread....

    But since the main thread just disappears, it doesn't log the error...

    You are also getting a number of errors (not terminal errors) when the video playback starts and stops... Recent SVNs have had problems with DVD playback and with images mounted with daemon tools...

    I have added some extra exception handling to the EQ update thread to try to catch the problem....

    So... Try this.... Mount the DVD image... run MediaPortal, and play the mounted DVD... and report the results...

    What DVD Navigator are you using?
     

    rmeredit

    MP Donator
  • Premium Supporter
  • April 10, 2007
    164
    20
    Melbourne
    Home Country
    Actually... The MediaPortal logs are not preserved between runs... the logs are large because MediaPortal is doing a LOT of logging!

    I meant that MP didn't crash until after trying to play the DVD several times. It was a single execution of MP.

    Anyways.... It looks like you have a few problems... First, you are using the XFace skin... and when you go into "My Radio" it is throwing an exception.... So first of all... Change your skin back to BlueTwo... It is the default (and most tested) skin... and since you are using a recent SVN, the Xface skin you are using may be causing the problem...

    The My Radio bug was a known problem with XFace. I've updated to a more recent SVN version of the skin and it's resolved. If you think it's a skin issue I can try it with B2 Wide, but I doubt that's the problem.

    The logs appear to indicate that the main MediaPortal thread is crashing BEFORE the CybrDisplay thread crashes... The CybrDisplay thread appears to run for twelve seconds AFTER the main thread....

    But since the main thread just disappears, it doesn't log the error...

    You are also getting a number of errors (not terminal errors) when the video playback starts and stops... Recent SVNs have had problems with DVD playback and with images mounted with daemon tools...

    The behaviour first appeared with a much older SVN version (16800 or so) - I only upgraded to my current SVN version yesterday.

    I have added some extra exception handling to the EQ update thread to try to catch the problem....

    So... Try this.... Mount the DVD image... run MediaPortal, and play the mounted DVD... and report the results...

    What DVD Navigator are you using?

    I'll give that a go when I get a chance, but for the rest of tonight the machine's being used. Probably tomorrow morning my time. I'm using the internal MP DVD navigator, with DXVA disabled and the NVidia Purevideo codec.

    Cheers,

    Rob.
     

    me1

    Portal Pro
    March 21, 2008
    73
    2
    Home Country
    Germany Germany
    cybrmage:
    Tried some tests:

    - Case Silverstone CW03 with 7" touch screen
    iMon Manager 6.20.0830 (Silverstone) (I also tried v7 beta to get rid of the mouse problem after starting MP - went beck to v6 as you recommended in a different thread...)
    iMon Firmware Ver 0x3c40 Inside HID
    - MCE remote, v2, Microsoft model 1039
    The remote is a v2 (just bought it - thought it works easy with IR Server + MP, but after S3/S4 it does not work anymore yet...)
    I did not really use the MCE remote with the iMon hardware, but if iMon has been set to work as MCE it did something...
    - I also use a Logitech diNovo mini as keyboard. with no Logitech drivers installed. It seems to works like the MCE keyboard - at least it trys to start MCE with the related button...

    I unplugged the MCE receiver
    I set the IR Service by AND-81 to disabled and did a restart of the pc. After restart i closed the automatic started MP and the iMon manager.
    The iMon remote did nothing. I removed the iMon start in the registry from hklm\software\ms\windows\current version\run and restarted. Now the iMon remote works as mouse pointer, the numeric keys are written. The MCE remote does nothing.
    I started your test v8 - seemes not to find the iMon hardware. I also switched to MCE mode, same result

    I uninstalled the iMon - Software completly + restart
    Sh..., did it for nothing - same, iMon not found.

    Did I do something wrong? Shell I do it different way?



    View attachment 19579
     

    globaldonkey

    MP Donator
  • Premium Supporter
  • April 23, 2007
    755
    79
    Home Country
    Here is another test of the iMon HID test program .... (Notice - This version of the iMon HID test program now SUPPORTS OLD AND NEW MODELS!!!)

    In the last version it appears that the remote mode state machine was functioning... but it dropped all other remote buttons....

    Hopefully, this version will fix that (and not break anything else!)

    Hey cybrmage, was there supposed to be an attachment there? ;)
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom