Tools and other software [HID Demo] Crash when using SoundGraph iMON (1 Viewer)

Stéphane Lenclud

Development Group
  • Team MediaPortal
  • April 29, 2013
    Germany Germany
    Country flag
    From Max:

    I was trying to use HID Demo with Soundgraph IMON in MCE mode and Philips Pronto remote (TSU9200) configured as MCE IR remote and got System.ArgumentNullException while sending “non-keyboard” commands like Play, Pause, etc. (“keyboard” commands like UP, DOWN, Escape, Return, numbers, etc, work fine).

    Surprisingly in MP Play, Pause, etc work (Generic HID device, classic profile) , though I do not see anything in logs (extended logging enabled) and I cannot figure out how to configure eg Play to work as Play/Pause when media is playing and say as Select Item when in GUI and obviously cannot configure teletext color and some other buttons.

    The same behavior is when using Philips SRM7500 remote (is uses ieee 802.15.4 usb dongle with VID_0617&PID_0471 and several virtual HID devices are created under MCE Remote control with VID_BEEF&PID_FEED ), BUT only when one of those VID_BEEF&PID_FEED devices having usage page/collection FF00/0001 is selected.

    I will very much appreciate if you could have a look, full exception report is below.

    Подробная информация об использовании оперативной
    (JIT) отладки вместо данного диалогового
    окна содержится в конце этого сообщения.

    ************** Текст исключения **************
    System.ArgumentNullException: Значение не может быть неопределенным.
    Имя параметра: enumType
    в System.Enum.GetName(Type enumType, Object value)
    в SharpLib.Hid.Event.UsageCollectionName()
    в SharpLib.Hid.Event.UsageCollectionNameAndValue()
    в SharpLib.Hid.Event.ToListViewItem()
    в HidDemo.MainForm.HandleHidEventThreadSafe(Object aSender, Event aHidEvent)
    в SharpLib.Hid.Handler.ProcessInput(Message& aMessage)
    в HidDemo.MainForm.WndProc(Message& message)
    в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Загруженные сборки **************
    Версия сборки:
    Версия Win32: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    Версия сборки:
    Версия Win32: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    Версия сборки: 1.0.5977.35418
    Версия Win32: 1.0.5977.35418
    CodeBase: file:///C:/Users/HTPC/AppData/Local/Apps/2.0/OH8OR9B6.EAH/MR7DWNBB.BQJ/hidd..tion_b9669f7d4698cae0_0001.0004_53d4e2cd5923ed71/HidDemo.exe
    Версия сборки:
    Версия Win32: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    Версия сборки:
    Версия Win32: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    Версия сборки:
    Версия Win32: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    Версия сборки:
    Версия Win32: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    Версия сборки:
    Версия Win32: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    Версия сборки:
    Версия Win32:
    CodeBase: file:///C:/Users/HTPC/AppData/Local/Apps/2.0/OH8OR9B6.EAH/MR7DWNBB.BQJ/hidd..tion_b9669f7d4698cae0_0001.0004_53d4e2cd5923ed71/SharpLibHid.DLL
    Версия сборки:
    Версия Win32: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
    Версия сборки:
    Версия Win32:
    CodeBase: file:///C:/Users/HTPC/AppData/Local/Apps/2.0/OH8OR9B6.EAH/MR7DWNBB.BQJ/hidd..tion_b9669f7d4698cae0_0001.0004_53d4e2cd5923ed71/SharpLibWin32.DLL
    Версия сборки:
    Версия Win32: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/mscorlib.resources.dll
    Версия сборки:
    Версия Win32: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll

    ************** Оперативная отладка (JIT) **************
    Для подключения оперативной (JIT) отладки файл .config данного
    приложения или компьютера (machine.config) должен иметь
    значение jitDebugging, установленное в секции
    Приложение также должно быть скомпилировано с включенной


    < jitDebugging="true" />

    При включенной отладке JIT любое необрабатываемое исключение
    пересылается отладчику JIT, зарегистрированному на данном компьютере,
    вместо того чтобы обрабатываться данным диалоговым окном.
    Last edited:

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    S Problem with Remote Control One-for-all Streamer Newcomers Forum 6
    brena MCE Remote Disable Volume Mapping Input / Output interfaces 0
    U [DVD] DVD Menu Navigation for HID keyboard Improvement Suggestions 0
    D [solved] HID remote for mp2 and w10 64 bit? using all tools: sony, cisco, homeworkx ng General 2
    D [solved] Map "media keys" on HID device to MP2 actions? General 17
    MrGrymReaper Remote HID compatibility question Remotes 2
    U [solved] MediaPortal crashing on startup General Support 10
    RoChess Weird GPU crash -- possible cause: resizing media MediaPortal 1 Talk 8
    torone Dritter versuch mit Mediaportal 2 Allgemeines Support- und Diskussionsforum 1
    W [solved] MP suddenly Crashes when starting live TV on most channels and on recordings from the same channels General Support 20
    W [solved] MP suddenly Crashes when starting live TV on some channels and on some recordings Television (MyTV frontend and TV-Server) 1
    D [solved] Changed username in Win10, now TV Server config crashes on fresh install Installation, configuration support 1
    ajs Trakt error when start with MP crash Trakt 1
    R TV server crash with WintTV quadHD General 0
    Dark Eyes TVService locks up or fails to restart on resuming from sleep, and crashes when grabbing EPG Installation, configuration support 7
    atlantic [solved] MP1.24 Pre released crash in TV General Support 12
    RoChess Random GPU crash leads to MePo restart, but works fine afterwards MediaPortal 1 14
    R [fixed] [MP2-819] MP2 Server crashes on ATSC OTA channel scan Submit: Bug Reports 33
    doskabouter 1.23.0 Crash when skipping in a dvd Bugreports 3
    J [fixed] [MP2-833] 2.2.2 server crash during import Submit: Bug Reports 50
    P MP2 TV Server crashes when starting - throws error remoting exception General 2
    G MP Crashed during setting up recording. Newcomers Forum 1
    Rob Hexenmeister DVD Skip steps causing crash General Support 2
    badboyxx MP 1.22 final is crashing when jumping forward while playing DVD-Iso watch/edit Videos 26
    Terra Crash when opening ACTORS list My TVSeries 3
    Similar threads

    Top Bottom