USB-UIRT problem with IRSS: fixed (1 Viewer)

chemelli

Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    51
    Milano, Italy
    Home Country
    Italy Italy
    TB to output DCT-2000 IR codes. When I use test to change the channel nothing happens.

    I ahve attached the logs. THe IR server log has an ominous error

    Technotrend: exception Unable to load DLL 'ttBdaDrvApi_Dll.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) so perhaps that is the cause.

    I have confirmed that the file is in the tvserver folder.

    Seems is needed in the IRSS folder, or better to say in the same dir where the invoking app is. As an alternative you can out it in a dir that is present in %PATH%, c:\windows is a good candidate.

    Simone
     

    ijourneaux

    Portal Pro
    June 28, 2011
    86
    6
    Home Country
    United States of America United States of America
    I will try that when I have a chance to get on my PVR system. Does this point to a problem with the instll packages that needs to be corrected?

    Take Care
     

    ijourneaux

    Portal Pro
    June 28, 2011
    86
    6
    Home Country
    United States of America United States of America
    I moved the dll from the TVServer folde to the c:\windows folder and created the first debug log. After a coupld of fits, everythiong seemed to be working so I thought i was good.

    So exit debug mode reboot the computer and it wasn't working any more.

    So I exite MediaPortal created the second log. Get into mediaportal try changing channels and nothing. OK exit EventGhost, restart TVServer, restart IRSS startup TVServerConfig. Channel changing works. Confirm that it works in Media Portal. Try starting up eventghost Event Ghost complains that the USB-UIRT is not available.

    In talking to the duy who developed the USB-UIRT, the USB-UIRT has the ability to handle multiple clients. Unfortunately for me not being able to use eventghost is a show stopper.

    So although I may have gotten past the first hurdle, How do I get IRSS and EventGhost to coexist nicely.
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    51
    Milano, Italy
    Home Country
    Italy Italy
    Why you want to use Eventghost ? Some feature missing in IRSS ?

    Anyway afaik, a device is used in exclusive mode so IRSS or Eventghost, but not both.

    Simone

    EDIT: logs provided are from MP not from IRSS
     

    ijourneaux

    Portal Pro
    June 28, 2011
    86
    6
    Home Country
    United States of America United States of America
    Sorry used the debug mode in MEdia Portal assuming it would pick up all of the logs. Will get the IRSS logs tonight.

    I talked with the USBUIRT developer. USBUIRT supports multiple connection form different programs. Here is his comment

    "The usbuirt driver will support multiple connections or sharing. However, if any app includes it's own copy of uuirtdrv.dll then sharing will not work. Jon"

    Perhaps IRSS is using its own version of USB-UIRT?

    Regarding EventGhost, I use it to control more than just MediaPortal. I use EventGhost to control all applications and home automation tasks. (Turn TV on/off, turn lights on/off, restart computer when a specif error shows up in a log, etc)
     

    ijourneaux

    Portal Pro
    June 28, 2011
    86
    6
    Home Country
    United States of America United States of America
    Here are the IRSS logs for the period in question.

    I noticed that there is a DLL call USB-UIRT Transciever.dll located in the IRSS plugins folder. Does this DLL call the uuirtdrv.dll that is located in the system32 folder? If not that could be the conflict between EventGhost and IRSS. As I understand it, if all access to USB-UIRT is not through uuirtdrv.dll then access to the USB-UIRT is mutually exclusive.

    Take Care
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    51
    Milano, Italy
    Home Country
    Italy Italy
    uuirtdrv.dll is not part of IRSS, so must already be present in the system.

    You can see how we call it from https://mp-plugins.svn.sourceforge.net/svnroot/mp-plugins/trunk/plugins/IR Server Suite/IR Server Suite/IR Server Plugins/USB-UIRT Transceiver/UirtTransceiver.cs:

    Code:
        [DllImport("uuirtdrv.dll")]
        private static extern IntPtr UUIRTOpen();
    
        [DllImport("uuirtdrv.dll")]
        [return: MarshalAs(UnmanagedType.Bool)]
        private static extern bool UUIRTClose(
          IntPtr hHandle);

    Simone
     

    Users who are viewing this thread

    Top Bottom