PHX01RN remote control plugin

Questions and comments specific to a particular plugin should go here.
User avatar
WharfRat
Experienced User
Posts: 159
Joined: Wed Dec 25, 2013 11:56 am

Re: PHX01RN remote control plugin

Post by WharfRat » Tue May 06, 2014 1:56 pm

incongruent...

I haven't forgotten about you yet. I will get it done by tomorrow. I have the solution, just slightly busy right now.
EventGhost 0.4.1.r1640
PHX01RN plugin v3.0.1
Windows XP 32bit (v5.1 Build 2600 Service Pack 2)
Windows7 64bit (v6.1 Build 7601 Service Pack 1)

User avatar
WharfRat
Experienced User
Posts: 159
Joined: Wed Dec 25, 2013 11:56 am

Re: PHX01RN remote control plugin

Post by WharfRat » Tue May 06, 2014 2:08 pm

blodskjegg...

A plugin just makes something work with EventGhost.

The keyboard keys are handled by the keyboard plugin, so EventGhost can trap a certain keyboard key if you want it to, otherwise the keyboard key goes back to Windows so that it can behave normally. This is what makes the keyboard plugin different from all the other plugins.

A plugin for a remote does not bheve like that. Remote plugins trap whatever buttons are pressed on the remote and do not pass them on to Windows if you do not need them. The remote plugins also do not treat the remote buttons as keyboard keys.

You can of course use standard EventGhost actions to make remote buttons behave like keyboad keys (or mouse clicks, or whatever).

I wrote a simple EventGhost tutorial here (viewtopic.php?f=2&t=6063), which will hopefully be included with EventGhost in the future.
EventGhost 0.4.1.r1640
PHX01RN plugin v3.0.1
Windows XP 32bit (v5.1 Build 2600 Service Pack 2)
Windows7 64bit (v6.1 Build 7601 Service Pack 1)

User avatar
WharfRat
Experienced User
Posts: 159
Joined: Wed Dec 25, 2013 11:56 am

Re: PHX01RN remote control plugin

Post by WharfRat » Wed May 07, 2014 9:49 am

incongruent...

Okay, now things are getting a little weird.

I am still working on automatically re-enabling the remote, but forgot to answer your other question about waking up the system.

Firstly, what versions of EventGhost and of Windows do you have?

Let me explain. I have -
PC1: desktop PC, Windows XP SP2, EventGhost v0.4.1.r1640
PC2 : laptop PC, Windows 7 SP1, EventGhost v0.4.1.r1610

I had always thought that none of the remote controls that use WinUSB could wake up the computer.

On PC1 I can go into standby, and then resume if I press the PHX01RN Power button, but then the remote buttons do not work until I reload the plugin.
on PC2 I cannot resume from standby with any remote button, but when it resumes the remote buttons do work.

Now I do know that laptops tend to have all kinds of power-saving features running, so I will have to sort through that mess a bit.
I will also have to take a look at the BIOS settings for both computers for some clues.

There is also another thing that I want to know from you.
Go to Control Panel and choose System, then open up Device Manager.
Expand Human Interface Devices, and you should see two PHX01RN W-01RN MI_0x items, where x is 0 or 1.
For each of those two items do the following:
  • right-click PHX01RN W-01RN MI_0x
    select Properties
    go to the Power Management tab
    is 'Allow this device to bring the computer out of standby' checked ?
    (in Windows XP the text is 'Allow this device to bring the computer out of standby')
    (in Windows 7 the text is 'Allow this device to wake up the computer')
Let me know what they were set as, and if they were not, enable that option for both and see if it makes a difference. (I always have them enabled)
EventGhost 0.4.1.r1640
PHX01RN plugin v3.0.1
Windows XP 32bit (v5.1 Build 2600 Service Pack 2)
Windows7 64bit (v6.1 Build 7601 Service Pack 1)

User avatar
WharfRat
Experienced User
Posts: 159
Joined: Wed Dec 25, 2013 11:56 am

Re: PHX01RN remote control plugin

Post by WharfRat » Wed May 07, 2014 5:05 pm

incongruent...

I still want the info from the previous post.

In the meantime, here is a preliminary fix for resuming from standby.
PHX01RN_test.zip
for incongruent
(1.48 KiB) Downloaded 131 times
Give it a test.
This is not something I consider to be perfect.

Resume works with Windows XP and Windows 7 as set up from the previous post.
It will also resume from standy using the PHX01RN Power button on Windows XP, but not Win7.
The XP resume method sometimes has about 5 garbage events after resumption, which I will try to fix sometime later.
EventGhost 0.4.1.r1640
PHX01RN plugin v3.0.1
Windows XP 32bit (v5.1 Build 2600 Service Pack 2)
Windows7 64bit (v6.1 Build 7601 Service Pack 1)

incongruent
Posts: 7
Joined: Sat Jan 04, 2014 4:40 pm

Re: PHX01RN remote control plugin

Post by incongruent » Sun May 25, 2014 12:50 pm

Sorry for the delay... 3 kids and sometimes communications are limited...

I have Windows 7 SP1, Event Ghost 0.4.1r1640
WharfRat wrote: Expand Human Interface Devices, and you should see two PHX01RN W-01RN MI_0x items, where x is 0 or 1.
For each of those two items do the following:
  • right-click PHX01RN W-01RN MI_0x
    select Properties
    go to the Power Management tab
    is 'Allow this device to bring the computer out of standby' checked ?
    (in Windows XP the text is 'Allow this device to bring the computer out of standby')
    (in Windows 7 the text is 'Allow this device to wake up the computer')
Let me know what they were set as, and if they were not, enable that option for both and see if it makes a difference. (I always have them enabled)
MI_00:
-allow this device to wake the computer: enabled
-allow computer to turn this device off to save power: disabled
MI_01
-does not have the power management tab

thanks I'll try your test.zip plugin and see if it makes any difference... I was disabling and re-enabling the plugin on system resume events for a while and that was working... but a few times i've heard the windows sound of a device being removed and added and after that the remote usually doesn't recover... probably one of those 5 errors you were mentioning.

--after replacing the init.py and restarting the computer... I haven't noticed any change. Resume from Standby doesn't seem to work. But also the buttons were not working after resume. I still have disable and enable plugin activities happening on system.resume and system.unidle.

User avatar
WharfRat
Experienced User
Posts: 159
Joined: Wed Dec 25, 2013 11:56 am

Re: PHX01RN remote control plugin

Post by WharfRat » Thu May 29, 2014 6:24 pm

incongruent...

I think you may need to try and go into a lower state when your computer goes into when you sleep/hibernate.

The various states are known as S0 S1 S2 S3 S4 S5

This kind of information is found in your BIOS settings.

I am guessing that you are going into S4, so try S3 instead.

Unfortunately, on my laptop (Lenovo b570e) with Windows 7, those settings are not available in the BIOS Setup screens, so I cannot be certain as to what it is.
However, the plugin works OK for me in Win7 on that machine.

As for the desktop with Windows XP, everything works.
EventGhost 0.4.1.r1640
PHX01RN plugin v3.0.1
Windows XP 32bit (v5.1 Build 2600 Service Pack 2)
Windows7 64bit (v6.1 Build 7601 Service Pack 1)

blodskjegg
Posts: 15
Joined: Mon May 05, 2014 11:08 am

Re: PHX01RN remote control plugin

Post by blodskjegg » Mon Jun 02, 2014 5:43 pm

Hello, I need some help, I followed your guide from a-z and can't get the remote to work.
I tried on two different computers.
Comp1 I insertes the usb, downloaded eventghost and copied the phx files to the pluginfolder replacing the one already there.
Installed the driver with winusb and eventghost plugin, does not work. No response.

Comp2 I tried everything and did not plug in the usb untill later, still same. The control works on my com, moving the mouse but shows nothing in eventghost...

any tips?

edit: on my second comp I can't even install the driver with eventghost, get installation failed...

I've tried removing eventghost and reinstalling it too, does not work.

User avatar
WharfRat
Experienced User
Posts: 159
Joined: Wed Dec 25, 2013 11:56 am

Re: PHX01RN remote control plugin

Post by WharfRat » Tue Jun 03, 2014 8:10 am

Hi blodskjegg,

Can you be more specific about your setups: i.e. Windows versions and EventGhost versions
EventGhost 0.4.1.r1640
PHX01RN plugin v3.0.1
Windows XP 32bit (v5.1 Build 2600 Service Pack 2)
Windows7 64bit (v6.1 Build 7601 Service Pack 1)

User avatar
WharfRat
Experienced User
Posts: 159
Joined: Wed Dec 25, 2013 11:56 am

Re: PHX01RN remote control plugin

Post by WharfRat » Tue Jun 03, 2014 9:52 am

blodskjegg...

In case you are using Windows8, then you might want to follow the procedure mentioned in the Re: Vrc-1100 with windows 8 topic.

I think I need someone with Windows 8 give me a thorough explanation so that I can add that procedure to the Remote Controls Diagnostics topic.
EventGhost 0.4.1.r1640
PHX01RN plugin v3.0.1
Windows XP 32bit (v5.1 Build 2600 Service Pack 2)
Windows7 64bit (v6.1 Build 7601 Service Pack 1)

blodskjegg
Posts: 15
Joined: Mon May 05, 2014 11:08 am

Re: PHX01RN remote control plugin

Post by blodskjegg » Tue Jun 03, 2014 11:28 am

On my mediacenter I'm using win7, that's the computer I'm gonna use the remote for.

On my second computer I run win8, that explains why I get failed installation, but just tried on this computer to see if it worked there.

Any tips on the win7 machine? Shall I try to reinstall eventghost again?

blodskjegg
Posts: 15
Joined: Mon May 05, 2014 11:08 am

Re: PHX01RN remote control plugin

Post by blodskjegg » Tue Jun 03, 2014 4:59 pm

The thing that's happening on my windows 7 machine is that I go trough the driver installation in evenghost after adding the plugin.
Then after the installation comes up with succeed message it only starts right over again with this message:

---------------------------
EventGhost Plugin: PHX01RN
---------------------------
You need to install the proper driver for this PHX01RN device.

Should EventGhost start the driver installation for you now?


I've tried to go trough it several times but it does not work.
On the left side in eventghost I get the messages:
Error starting plugin: PHX01RN
and
Driver not found!

Please help. :(

User avatar
WharfRat
Experienced User
Posts: 159
Joined: Wed Dec 25, 2013 11:56 am

Re: PHX01RN remote control plugin

Post by WharfRat » Wed Jun 04, 2014 9:51 am

blodskjegg...

Hi, sorry I was busy attending to some matters of the heart...

We will get this working for you.

Firstly, which version of EventGhost do you have?

Secondly, since you want to use it on your Win7 HTPC computer, let us focus on it only, for now.

We will be referring to Part II and Part III on the first page of this topic.

Is that computer connected to the Internet, or do you have a copy of EventGhost WinUSB Add-on.zip ?
Are you running EventGhost with Administrator permissions, or do you have user accounts in effect.

We will also just focus on getting the remote control to work right now.

Close EventGhost.
Unplug the USB dongle.
Perform step 5 of Part III
Delete the C:\ProgramData\EventGhost folder.
Restart EventGhost and create a new file, do not add any plugins, and save it somewhere useful (like My Documents or something).
Close EventGhost.
Restart EventGhost.
Follow the steps outlined in Part II (if not connected to the Internet)
Follow the steps outlined in Part III (skip step 5, plug in USB dongle at step 6, perform step 10)
Tell me at which particular step (or steps) things are not proceeding correctly.

I just need to understand exactly where your problem is occuring.
EventGhost 0.4.1.r1640
PHX01RN plugin v3.0.1
Windows XP 32bit (v5.1 Build 2600 Service Pack 2)
Windows7 64bit (v6.1 Build 7601 Service Pack 1)

blodskjegg
Posts: 15
Joined: Mon May 05, 2014 11:08 am

Re: PHX01RN remote control plugin

Post by blodskjegg » Fri Jun 06, 2014 5:16 pm

Thanks for the reply. I tried the steps you outlined now and when I get to step 17 part III I instantly get this message when I press the "finish" button.

---------------------------
EventGhost Plugin: PHX01RN
---------------------------
You need to install the proper driver for this PHX01RN device.

Should EventGhost start the driver installation for you now?

and in EG it says Error starting plugin
Driver not found.

It's like it just can't install the driver properly... Even tough I get the message driver installed successfully.

Answers to your questions:
Version of Eventghost: 041.r1640
I have internetconnection on the computer. I've tried to install win usb manually also, just to see if that worked.
I have only one user on my computer with admin rights.
I also tried "right click, run as administrator", but just got the same message as above..
:shock:

User avatar
WharfRat
Experienced User
Posts: 159
Joined: Wed Dec 25, 2013 11:56 am

Re: PHX01RN remote control plugin

Post by WharfRat » Sat Jun 07, 2014 10:22 am

blodskjegg...

for step 5b of Part III, choose Programs and Features

I do not know if you performed Step 5, but in Windows 7, step 5b is not called Add or Remove Programs
Do the whole of Step 5
I will change Part III step 5b to be compatible with both Win XP and Win7

If this does not work, then go to C:\ProgramData\EventGhost\drivers\WinUSB\x64
(or x32)
and place driver.inf in a ZIP archive for me and post it here so that I can take a look at it.

Hopefully, it is just step 5b that was not correct

Edit: I have changed Step 5 of Part III to reflect these changes, so repeat my instructions from the previous post using the new Part III
If that is not the solution, then do the 'If this does not work' stuff for me
EventGhost 0.4.1.r1640
PHX01RN plugin v3.0.1
Windows XP 32bit (v5.1 Build 2600 Service Pack 2)
Windows7 64bit (v6.1 Build 7601 Service Pack 1)

blodskjegg
Posts: 15
Joined: Mon May 05, 2014 11:08 am

Re: PHX01RN remote control plugin

Post by blodskjegg » Sun Jun 08, 2014 3:45 pm

Unfourtunately the same result as last time.
Uploading the driver.inf here.

In EG i also get GetUNCpathof error 1200. Don't know if that has something to do with it.
Attachments
driver.zip
(1013 Bytes) Downloaded 130 times

Post Reply