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.
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.
Generic HID plugin not working after resume from standby
Generic HID plugin not working after resume from standby
Hi,
I've noticed that there is a problem when i resume my computer from standby; after that, all events from my HID device are not being registered by Eventghost (i press keys but event doesn't appear on the log window). There is any way to solve this? This also happens when returning from hibernation.
I've noticed that there is a problem when i resume my computer from standby; after that, all events from my HID device are not being registered by Eventghost (i press keys but event doesn't appear on the log window). There is any way to solve this? This also happens when returning from hibernation.
Re: Generic HID plugin not working after resume from standby
Well finally i've concluded that problem is windows related. With the help of devcon.exe app i've tried to remove the device from device manager and then reeable it, and this way it works fine. The problem is that EG doesn't find the egeneric HID device after device rescan. There is a error in EG log that says: "Error finding HID device:" and no text after that. The device is a multimedia keyboard and it shows 4 HID entries with identical names in EG, si i think that this is the source of this problem. Can anyone help me with this issue? How can i identify my device?
If i unplug and the plug the device to the usb port then EG stops finding it. What's the method to locate HID devices?
If i unplug and the plug the device to the usb port then EG stops finding it. What's the method to locate HID devices?
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Generic HID plugin not working after resume from standby
I do not know if it helps, but try this:Pako
Re: Generic HID plugin not working after resume from standby
Thanks for the tip, but i've already tried this and it doesn't help. I'm trying with devcon to simulate device unplug but the problem is that when device is plugged again it's not being recogniced by EG because there is 4 HID devices with same name. I think that there is a problem with the generic HID plugin, but i don't know how to solve it and how it identifies each HID device to create a unique name.
Re: Generic HID plugin not working after resume from standby
Hi,
I have a similar problem using the MCE Remote Plugin. EventGhost does not recognize the Remote anymore after resume or reboot. Devcon the Remote as well as Deact/act the Plugin does not work. Was is working is to Terminate and restart Eventghost, then the MCE Remote is working again.
Seems to me that the support of the Plugin services for these conditions in EventGhost is faulty!
Hope this helps you to fix your problem, and hopefully someone of the development team is looking into this problem.
thanks, Joe
I have a similar problem using the MCE Remote Plugin. EventGhost does not recognize the Remote anymore after resume or reboot. Devcon the Remote as well as Deact/act the Plugin does not work. Was is working is to Terminate and restart Eventghost, then the MCE Remote is working again.
Seems to me that the support of the Plugin services for these conditions in EventGhost is faulty!
Hope this helps you to fix your problem, and hopefully someone of the development team is looking into this problem.
thanks, Joe
Re: Generic HID plugin not working after resume from standby
Yes, i'm almost sure that the problem is with the Generic HID plugin that doesn't identify the right device when it's plugged again... let's hope that Bartman could read this and fixes it soon.
Re: Generic HID plugin not working after resume from standby
There is no support or help from developers here?
Re: Generic HID plugin not working after resume from standby
Yes there is.fidoboy wrote:There is no support or help from developers here?
Sometimes it takes a while fido.
Have you tried here....
search.php?keywords=Resume+from+standby ... mit=Search
eventghost.net
Be there or be square.
Be there or be square.
Re: Generic HID plugin not working after resume from standby
Yes i've tried it all... that's the reason why i'm almost sure that there is a problem with Generic HID plugin. I would like to have the impressions from bartman or another EG developer
Re: Generic HID plugin not working after resume from standby
No answers yet?? Cmon...
Re: Generic HID plugin not working after resume from standby
I started with Pako's suggestion and got it working after adding a delay:
Hopefully someone will read this after 5 years 
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Generic HID plugin not working after resume from standby
ok after 5 years. I added the ability to have the plugin disable it's self on suspend and re enable it's self after resume. this all can be set from the plugin configuration dialog.
you can enable or disable it and also set the amount of time to have it delay on startup. that way you can fine tune it with as little wait on start as possible.
I have not tested it i do not have a computer that i suspend. so if someone is willing to test it out for me and let me know if it works that would be great.
and if it does possibly the modifications can be added to the next release of eventghost
i also added a close method to the plugin there wasn't one and the plugin has running threads in it. so it may help the shutdown speed of eventghost.
the file is attached
you should be able to just drop this right in without having to do anything inside of EventGhost except for restart it. but just in case i would make a backup of the original and a backup of your tree as well..
K
you can enable or disable it and also set the amount of time to have it delay on startup. that way you can fine tune it with as little wait on start as possible.
I have not tested it i do not have a computer that i suspend. so if someone is willing to test it out for me and let me know if it works that would be great.
and if it does possibly the modifications can be added to the next release of eventghost
i also added a close method to the plugin there wasn't one and the plugin has running threads in it. so it may help the shutdown speed of eventghost.
the file is attached
you should be able to just drop this right in without having to do anything inside of EventGhost except for restart it. but just in case i would make a backup of the original and a backup of your tree as well..
K
- Attachments
-
- __init__.py
- (14.57 KiB) Downloaded 224 times
