[HID Demo] Crash when using SoundGraph iMON

Discussion in 'Tools and other software' started by Stéphane Lenclud, December 20, 2016.

  1. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,563
    Likes Received:
    657
    Gender:
    Male
    Ratings:
    +1,270 / 8
    Home Country:
    Germany Germany
    Show System Specs
    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.

    Exception logs (open)

    Подробная информация об использовании оперативной
    (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)

    ************** Загруженные сборки **************
    mscorlib
    Версия сборки: 4.0.0.0
    Версия Win32: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    System
    Версия сборки: 4.0.0.0
    Версия 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
    ----------------------------------------
    HidDemo
    Версия сборки: 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
    ----------------------------------------
    System.Windows.Forms
    Версия сборки: 4.0.0.0
    Версия 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
    ----------------------------------------
    System.Drawing
    Версия сборки: 4.0.0.0
    Версия 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
    ----------------------------------------
    System.Configuration
    Версия сборки: 4.0.0.0
    Версия 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
    ----------------------------------------
    System.Core
    Версия сборки: 4.0.0.0
    Версия 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
    ----------------------------------------
    System.Xml
    Версия сборки: 4.0.0.0
    Версия 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
    ----------------------------------------
    SharpLibHid
    Версия сборки: 1.0.0.0
    Версия Win32: 1.0.0.0
    CodeBase: file:///C:/Users/HTPC/AppData/Local/Apps/2.0/OH8OR9B6.EAH/MR7DWNBB.BQJ/hidd..tion_b9669f7d4698cae0_0001.0004_53d4e2cd5923ed71/SharpLibHid.DLL
    ----------------------------------------
    System.Deployment
    Версия сборки: 4.0.0.0
    Версия 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
    ----------------------------------------
    SharpLibWin32
    Версия сборки: 1.0.0.0
    Версия Win32: 1.0.0.0
    CodeBase: file:///C:/Users/HTPC/AppData/Local/Apps/2.0/OH8OR9B6.EAH/MR7DWNBB.BQJ/hidd..tion_b9669f7d4698cae0_0001.0004_53d4e2cd5923ed71/SharpLibWin32.DLL
    ----------------------------------------
    mscorlib.resources
    Версия сборки: 4.0.0.0
    Версия 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
    ----------------------------------------
    System.Windows.Forms.resources
    Версия сборки: 4.0.0.0
    Версия 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, установленное в секции system.windows.forms.
    Приложение также должно быть скомпилировано с включенной
    отладкой.

    Например:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

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


     
    Last edited: December 20, 2016
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!