Page 7 of 20

Re: Microsoft MCE Remote - Vista and newer

Posted: Sat Dec 27, 2014 12:20 am
by Sem;colon
MaxMan23 wrote:Ths des not work. I tried to copy the code 2-8x but the red light of the transmitter only 1 sek on. It seems that there is a limit of the lengh.
No. Did you try to add wait time between the actions?

Re: Microsoft MCE Remote - Vista and newer

Posted: Sat Dec 27, 2014 12:26 am
by Sem;colon
MaxMan23 wrote:and i have got another problem. My Plasma TV is sending IR signals and evetghost every sek got entries like "19:49:27 MceRemote.Unknown.xx"
Can i ignor this signals? or what could i do?
Thats a common Problem with plasma tv's. There is no possibility to ignore those events. You need to position the IR receiver somewhere where it can't be effected by the plasma screen.

Re: Microsoft MCE Remote - Vista and newer

Posted: Sat Dec 27, 2014 6:30 am
by MaxMan23
Ok thank for your help, it works :-)

Re: Microsoft MCE Remote - Vista and newer

Posted: Sun Dec 28, 2014 11:11 am
by RichardH
Sem;colon wrote:If your modified service doesn't have any negative effect, I can replace the service files at the first post with the one you created so that others can find it more easy
Here's my modified source file. I've been running the modified service (Win7 64-bit) for several days now and it is fully functional. What I obviously can't say for certain is whether there will be no negative effects on all platforms with all compatible MCE IR Transceivers.

The modified service solves the following problem:
  • - you have an MCE IR Transceiver that works with the original service;
    - you installed a device on your computer that has its own built-in IR receiver, since when your MCE IR Transceiver has stopped working with this plugin;
    - when you look in Device Manager under HID Interface Devices you see more than one Microsoft eHome Infrared Transceiver (which cannot be disabled);
    - your Windows Application event log fills up with error messages from this plugin at one second intervals;
    - you have followed instructions like these http://shop.blackgold.tv/epages/BT3159. ... _installed and they don't solve this problem.
RichardH

Re: Microsoft MCE Remote - Vista and newer

Posted: Wed Dec 31, 2014 7:08 pm
by kkl
If this is a C++ file, how would a non-programmer install it? Thanks.

Re: Microsoft MCE Remote - Vista and newer

Posted: Sat Jan 03, 2015 10:44 am
by RichardH
kkl wrote:how would a non-programmer install it?
Unless you are experiencing the problem that I described just keep using the latest version of the plugin in the first post. If you do have that problem, please provide details.

Richard

Re: Microsoft MCE Remote - Vista and newer

Posted: Sat Jan 03, 2015 11:07 pm
by kkl
RichardH wrote:
kkl wrote:how would a non-programmer install it?
Unless you are experiencing the problem that I described just keep using the latest version of the plugin in the first post. If you do have that problem, please provide details.

Richard
Your version hasn't been incorporated into the plug-in yet, has it? I'm considering trying a 2nd MCE IR transceiver again and it looked like what you've done might be useful.

Re: Microsoft MCE Remote - Vista and newer

Posted: Thu Jan 08, 2015 9:36 pm
by Zer0100
Hello, I have been trying in Vain to get this running on my I3 NUC with Nuvoton IR sensor. I cannot get eventghost to pickup ANY remote from the sensor at all. I have tried both the old and the new driver, Just about every possible registry mod, Everything is running on elevated privileges.

When no drivers are running and default registry settings, Media center commands work through the remote. However nothing I do will get EG to see the remote.

Now I have successfully set this up on the Celeron NUC and it works great.

I'm wondering if some of the changes a couple posts up wouldn't help me out with this. However, not compiled and I don't have the full source so I can't try to compile it myself.

I don't suppose anyone could help me out, Id be extremely grateful.

Re: Microsoft MCE Remote - Vista and newer

Posted: Thu Jan 08, 2015 9:41 pm
by Zer0100
Hello, Im sorry I should add this is on Core I3 intel NUC running Windows 7 x64. And the remote that I am using is a RC6.

Re: Microsoft MCE Remote - Vista and newer

Posted: Wed Jan 14, 2015 9:51 am
by RichardH
Sem;colon wrote: Thank you for the detailed instructions, I will try to follow them as soon as I find some time! :-)
Just wondering if you found the time to try building the service yet :) .

Re: Microsoft MCE Remote - Vista and newer

Posted: Fri Jan 16, 2015 11:38 am
by Sem;colon
No, not yet... Sorry.
I don't know when I will find time to do that, but it's on my list!

Re: Microsoft MCE Remote - Vista and newer

Posted: Fri Jan 23, 2015 3:29 am
by peglegtv
First I want to say thank you for all the work everyone has done on this plugin, I'm using it on 3 HTPC's problem free, I wish I could say the same for the 4th HTPC

I'm running 2 Lenovo q190's and they are both using the same Hp Reciver (Model: TSGI-IR01 , HP P/N: 5070-2584) one works great but the other one is being a pain in my but,

it randomly looses connection with the "MCEIr Pipe" and then my remote controls nothing
Image

In order to get it working i have to right click "configure" the plugin and uninstall the service, (which some times gives me an error) then re-install the service, some times it works for one button press but other times it works for a full day,

what i have tried: (rebooted on every step ive tried)
  • 1.)Services.msc and stop HID and then disable HID
    2.)msconfig Uncheck HID
    3.)and Regedit (when HID still showed up in msconfig after being disabled and after being unchecked i checked regedit and it showed a value of 4 = disabled)

    4.)uninstalled plugin services then uninstalled the plugin
    rebooted and then reinstalled the plugin and re installed the services
    5.)tried the plugin at the beginning of this forum
    6.)switched to an older version of EventGhost 0.4.1.r1669 (same one I'm using on the other Lenovo PC)
the last effort gave me about 24hours before the pipe connection was lost

any help would be great, if you need more info let me know
again thanks for the great plugin

Re: Microsoft MCE Remote - Vista and newer

Posted: Fri Jan 23, 2015 1:01 pm
by Sem;colon
- place your IR sensor somewhere were it can't be influenced by direct sunlight or ligt from a plasma TV.
- If you run EG as admin, the version from the first post will restart the service as soon as it crashes.

Re: Microsoft MCE Remote - Vista and newer

Posted: Fri Jan 23, 2015 1:23 pm
by bzyrrt
I have a sort of bug report/investigation going on:

CIR header on Intel DH77DF, Nuvoton driver. Win 8.1, newest Eventghost version.
Logitech Harmony 650 remote.

The remote by itself works fine (through the eHome driver), i.e. direction keys, play/pause work in applications.

I want to intercept the key presses in Eventghost, though. If I add the MCE_Vista plugin and install the service, it shows up as running and *seems*
to intercept all IR key presses, i.e. the standard behavior of the MCE remote as handled by Windows stops (cursor keys on directional buttons, etc.).

The problem is that I do not get any events in Eventghost, even though the log says it connected to the pipe. The service is running, restarting it gets the disconnect/reconnect messages in
EG.

My investigation: I traced through the Python code in __init__.py and found that the WaitForMultipleObjects in line 588 never returns, i.e. a PrintNotice placed before

Code: Select all

588: rc = win32event.WaitForMultipleObjects(handles, False, self.timeout)
works, none that are placed after it. I believe this means that the readOvlap event that is started above:

Code: Select all

583: (hr,data) = win32file.ReadFile(self.file,nMax,self.readOvlap)
never finishes, which leads me to believe there is a bug in the service.

I managed to compile the service myself with VS2012 following the instructions from the earlier post (thanks!!), and could verify I get the same behavior in Release mode. If, on the other hand, I compile in Debug mode and run DebugView (from https://technet.microsoft.com/en-us/sys ... 96647.aspx), I see the following output:
00000003 218.38343811 [3564] Device Thread, starting IR device I/O thread
00000004 218.38426208 [3564] Attempting to open \\?\root#system#0002#{7951772d-cd50-49b7-b103-2baac494fc57}\port1
00000005 218.38540649 [3564] ***************** OutputConnectionsThreadProc() before wait
00000006 218.38577271 [3564] OpenUsb = TRUE
00000007 218.38586426 [3564] Device Thread, connected to IR device
00000008 218.38587952 [3564] VistaGetDeviceCapabilities() ENTER
00000009 218.38591003 [3564] IoControl ENTER
00000010 218.38595581 [3564] IoControl: hReadPipe is valid
00000011 218.38597107 [3564] IoControl: Event created successfully
00000012 218.38633728 [3564] IoControl: about to wait for the event...
00000013 218.38638306 [3564] IoControl: bytesReturned=40
00000014 218.38641357 [3564] IoControl EXIT
00000015 218.38642883 [3564] Device Capabilities:
00000016 218.38645935 [3564] NumTxPorts: 2
00000017 218.38647461 [3564] NumRxPorts: 2
00000018 218.38650513 [3564] LearnPortMask: 0x1
00000019 218.38652039 [3564] ReceivePort: 1
00000020 218.38656616 [3564] LearnPort: 0
00000021 218.38658142 [3564] DetailsFlags: 0x4
00000022 218.38661194 [3564] Device Thread, before StartReceive
00000023 218.38662720 [3564] VistaStartReceive() ENTER
00000024 218.38665771 [3564] IoControl ENTER
00000025 218.38667297 [3564] IoControl: hReadPipe is valid
00000026 218.38670349 [3564] IoControl: Event created successfully
00000027 218.38706970 [3564] IoControl: about to wait for the event...
00000028 218.38708496 [3564] IoControl: bytesReturned=0
00000029 218.38711548 [3564] IoControl EXIT
00000030 218.38713074 [3564] Device Thread, after StartReceive
00000031 218.38717651 [3564] Device Thread, mode set to normal receive port
00000032 218.38720703 [3564] Device Thread, before IoControl
00000033 218.38722229 [3564] IoControl ENTER
00000034 218.38723755 [3564] IoControl: hReadPipe is valid
00000035 218.38726807 [3564] IoControl: Event created successfully
00000036 218.38758850 [3564] IoControl: about to wait for the event...
00000037 219.16162109 [3564] ***************** OutputConnectionsThreadProc() after wait, Stop = 0
00000038 219.16171265 [3564] ***************** OutputConnectionsThreadProc() starting LOOP?
No more messages come through after the last line, which leads me to believe that the service enters some sort of deadlock at this point. Restarting it manually through Windows reproduces the exact same log.

This is where I'm stuck and trying to investigate further. My suspicion is that something changed in the IR drivers and handling on Win 8.1, but that's about it.

Please, if anybody with more experience in this has some pointers on where to start looking or more data I can provide, I'd be pretty happy!

Re: Microsoft MCE Remote - Vista and newer

Posted: Fri Jan 23, 2015 4:22 pm
by peglegtv
Sem;colon wrote:- place your IR sensor somewhere were it can't be influenced by direct sunlight or ligt from a plasma TV.
- If you run EG as admin, the version from the first post will restart the service as soon as it crashes.
Thanks for the reply, the receiver is out of direct sunlight and the tv is an LCD
i updated the plugin and set eventghost to run as admin, when i first started eventghost as admin the log filled up with-

Image
for about 5min, so i restarted eventghost and it connected right off the bat,
I'll do some testing over the weekend and see what we get

thanks for all the help