Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Gyration MCE remote, HID plugin and KVM switch

If you have a question or need help, this is the place to be.
Post Reply
BeerMeMore
Posts: 9
Joined: Sat Jan 03, 2009 6:34 pm

Gyration MCE remote, HID plugin and KVM switch

Post by BeerMeMore »

Hello out there - newbie to EG and stumbling up the learning curve. Would appreciate any help or advice in the following.

I have a Gyration media center remote (RF remote to USB dongle) that I use to control two different PCs. I have a USB KVM switch between the two boxes. I'm using EG with the HID plugin configured to the Gyration entries. Everything works as designed on initial startup. When I swap boxes, EG sees that the HID deactivates and throws an error. When I swap back, the HID reactivates, but EG doesn't see it.

Is there anything I can do within EG that can restart the HID plugin?

Attached is MYCONFIG.XML for direct review.
Attachments
MyConfig.xml
(5.95 KiB) Downloaded 151 times
Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: Gyration MCE remote, HID plugin and KVM switch

Post by Bartman »

Normally this should happen automatically.
Do you use the latest beta?
Is there a System.DeviceAttached event, when you plugin in the remote? Any other HID devices to test?
BeerMeMore
Posts: 9
Joined: Sat Jan 03, 2009 6:34 pm

Re: Gyration MCE remote, HID plugin and KVM switch

Post by BeerMeMore »

Bartman wrote:Normally this should happen automatically.
Do you use the latest beta?
Is there a System.DeviceAttached event, when you plugin in the remote? Any other HID devices to test?
Thanks for the fast reply. I do not show a System.DeviceAttached event in the log. I have another joystick I can add to exercise different HID. Will set up on my second machine (primary runs SageTV).

Using 0.3.5c version of EG.
Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: Gyration MCE remote, HID plugin and KVM switch

Post by Bartman »

BeerMeMore wrote:Using 0.3.5c version of EG.
Try the latestet version. I'm not sure when Hot Plug Support was added, but I believed it was after the last release.
BeerMeMore
Posts: 9
Joined: Sat Jan 03, 2009 6:34 pm

Re: Gyration MCE remote, HID plugin and KVM switch

Post by BeerMeMore »

Thanks again for pointing me in the right direction. Here is what made it work correctly for me in hopes that it will help the next one along.

1. Use the latest beta- I used 0.3.6.1487 and saw the hot plugging.
2. Set up Gyration correctly- I found old instructions in the GBPVR forum that indicated that I should load the HID plugin and point to every instance of the Gyration handler (there are six). When the KVM swap occurred and the Gyration reactivated, the log indicated that multiple devices were found and it couldn't choose. I deleted all the HID plugins for Gyration. I added back a HID plugin for the first entry and checked the "use first device found" box in configuration. This appears to clear up the problem.
BeerMeMore
Posts: 9
Joined: Sat Jan 03, 2009 6:34 pm

Re: Gyration MCE remote, HID plugin and KVM switch

Post by BeerMeMore »

Too fast to declare the monster dead.

It appears that the elusive power button is generated by the fifth instance of the Gyration HID handler. When I add a second HID plugin, I have the same "multiple devices found" problem again. A side effect is the multiple key press events, but those can be solved with unique event prefixs for each HID plugin.

Is there a way to set a plugin for just the first and fifth instances of a HID device entry? Or do you have to enter all just to pad the useless entries in the middle?

As I can no longer use the "use first instance" checkbox to resolve the "multiple devices found" issue, is there a way to use the GUID to uniquely identify the plugin to the HID instance? It's throwing system.deviceremoved and system.deviceattached messages now.
Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: Gyration MCE remote, HID plugin and KVM switch

Post by Bartman »

Does the bottom checkbox solve your problem?
using this option kind of use a unique device path. If you plugin the device in another port you have to reconfigure the plugin.
BeerMeMore
Posts: 9
Joined: Sat Jan 03, 2009 6:34 pm

Re: Gyration MCE remote, HID plugin and KVM switch

Post by BeerMeMore »

I did use the bottom checkbox (connect to current por) on each of the five HID plugin instances. When I perform the KVM switch, the log does not have the "multiple device" errors. However it seems the plugins are deactivated. No buttons fire until I go in to the first and fifth plugin instances and reacivate.

Seems the bottom check box should be the way to go. I'm not moving the devices around - only doing KVM swap.

Do you need the log?
Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: Gyration MCE remote, HID plugin and KVM switch

Post by Bartman »

Does it work, when you manually plug in and out the remote?
May the switch is doing someting strange.
BeerMeMore
Posts: 9
Joined: Sat Jan 03, 2009 6:34 pm

Re: Gyration MCE remote, HID plugin and KVM switch

Post by BeerMeMore »

It appears to happen when I remove the Gyration dongle without doing a KVM switch. No "multiple device" messages in log (still have port box checked for all). Must be something fishy with Gyration.

Remote still functions even though EG doesn't show event.

Interesting - this time, reactivating the plugins did not restore function. Restarting EG brought it back.
Post Reply