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.
SoundGraph iMON HID plugin
Re: SoundGraph iMON HID plugin
to Bartman
IRSS also use standard winapi for HID iMON devices.
And raw for non-HID.
There is three types of iMONs - one HID and two raw with different drivers.
My plugin work only with first one.
Incidentally, I have similar reconnect problem with Serial plugin.
I partly solve problem changing line "INVALID_HANDLE_VALUE = -1" to "INVALID_HANDLE_VALUE = 0xFFFFFFFF" in EventGhost\eg\WinApi\Dynamic.py
It let me to find the real problem.
Please check that WINAPI return handle as DWORD so negative value for handle in Pyton is incorrect.
It in Win7 32 bit, I don`t know how for other system...
Maybe problem it the same or similar?
IRSS also use standard winapi for HID iMON devices.
And raw for non-HID.
There is three types of iMONs - one HID and two raw with different drivers.
My plugin work only with first one.
Incidentally, I have similar reconnect problem with Serial plugin.
I partly solve problem changing line "INVALID_HANDLE_VALUE = -1" to "INVALID_HANDLE_VALUE = 0xFFFFFFFF" in EventGhost\eg\WinApi\Dynamic.py
It let me to find the real problem.
Please check that WINAPI return handle as DWORD so negative value for handle in Pyton is incorrect.
It in Win7 32 bit, I don`t know how for other system...
Maybe problem it the same or similar?
Re: SoundGraph iMON HID plugin
You can also enumerate access HID devices via Raw input and get the raw data of device. While ultimately getting the same data the process before is different.
Maybe knowing which step causes the reconnect gives us a clue.
Maybe knowing which step causes the reconnect gives us a clue.
Re: SoundGraph iMON HID plugin
How I can do it?Bartman wrote:You can also enumerate access HID devices via Raw input and get the raw data of device. While ultimately getting the same data the process before is different.
Maybe knowing which step causes the reconnect gives us a clue.
Last edited by Johnson on Mon May 03, 2010 3:50 pm, edited 2 times in total.
Re: SoundGraph iMON HID plugin
I think that could work.Johnson wrote:How I can do it?Bartman wrote:You can also enumerate access HID devices via Raw input and get the raw data of device. While ultimately getting the same data the process before is different.
Maybe knowing which step causes the reconnect gives us a clue.
Bartman wrote:Maybe someone with a little bit programming experience and such a device can modify the GetDeviceDescriptions in EG's HID.py to detect which step causes the disconnect. Some continues in the while loop should do it.
Re: SoundGraph iMON HID plugin
I don't has this problem with my device so I can't test itBartman wrote:Maybe someone with a little bit programming experience and such a device can modify the GetDeviceDescriptions in EG's HID.py to detect which step causes the disconnect. Some continues in the while loop should do it.
In my opinion problem not in ReadFile or WriteFile but CreateFile return incorrect handle. In HID.py doesn't check handle for incorrect...
I don't know how defined INVALID_HANDLE_VALUE in win32file but if like -1 we can't see real problem so long as CreateFile return 0xFFFFFFFF like invalid handle.
Please somebody with reconnect problem change line "INVALID_HANDLE_VALUE = -1" to "INVALID_HANDLE_VALUE = 0xFFFFFFFF" in EventGhost\eg\WinApi\Dynamic.py
Something is happens?
Re: SoundGraph iMON HID plugin
Then let's wait for some with such a device.
I don't think it's read or write either. Maybe it is even before opening the device.
I don't think it's read or write either. Maybe it is even before opening the device.
Re: SoundGraph iMON HID plugin
Ok, waiting is goodBartman wrote:Then let's wait for some with such a device.
I don't think it's read or write either. Maybe it is even before opening the device.
Please change line "INVALID_HANDLE_VALUE = -1" to "INVALID_HANDLE_VALUE = 0xFFFFFFFF" in EventGhost\eg\WinApi\Dynamic.py
Maybe it's not this problem but -1 isn't right...
Re: SoundGraph iMON HID plugin
I changed the Value to your suggestion but it does not solve the Problem.Johnson wrote:Please change line "INVALID_HANDLE_VALUE = -1" to "INVALID_HANDLE_VALUE = 0xFFFFFFFF" in EventGhost\eg\WinApi\Dynamic.py
Maybe it's not this problem but -1 isn't right...
Heres a Screenshot about my EG Situation... I wonder about the Device Name "@input.inf,%hid_device%,HID....". Every other device in the list appears with a "normal" name.
Re: SoundGraph iMON HID plugin
In version 0.3 the problem of broken name is corrected. I'm only remove the consequence - now name of all iMON devices is "SoundGraph iMON HID".brand10 wrote:Heres a Screenshot about my EG Situation... I wonder about the Device Name "@input.inf,%hid_device%,HID....". Every other device in the list appears with a "normal" name.
The real cause is more depper and not in plugin.
-
Metylisator
- Posts: 3
- Joined: Thu Jul 02, 2009 8:51 am
Re: SoundGraph iMON HID plugin
Hi,
first of all many thanks for this plugin.
I have two Questions:
1. How can I use the Events generated by the Volume Knob of my Antec Fusion Remote Max Case in Eventghost.
I see Events Imon.Volume 1 and Imon.Volume -1 in the Eventlog but i don┬┤t know,how to use the values 1/-1.
2. Will you implement MCE Remote in the Future?
Thank you.
first of all many thanks for this plugin.
I have two Questions:
1. How can I use the Events generated by the Volume Knob of my Antec Fusion Remote Max Case in Eventghost.
I see Events Imon.Volume 1 and Imon.Volume -1 in the Eventlog but i don┬┤t know,how to use the values 1/-1.
2. Will you implement MCE Remote in the Future?
Thank you.
-
NicCOConnor
- Posts: 3
- Joined: Mon Sep 27, 2010 6:54 pm
Re: SoundGraph iMON HID plugin
I have the iMon Mini USB adapter.
I am using the latest version of EventGhost and I have downloaded this plugin, Created a folder in the Plugin's directory and restarted Event Ghost. I still can't get this plugin to show up under Devices. Can anybody assist? I've tried to follow the developers guide but it seems that all that is required is the __init__.py which exist and has the .RegisterPlugin event/method
Some info about my configuration. I do have the iMon manager installed so could this be blocking event ghost from accessing the device? I Don't have any errors in the event log.
Also are there any developer logs that I can access that may show what is going wrong while trying to load this plugin?
Thanks for any help you can give.
Nic
I am using the latest version of EventGhost and I have downloaded this plugin, Created a folder in the Plugin's directory and restarted Event Ghost. I still can't get this plugin to show up under Devices. Can anybody assist? I've tried to follow the developers guide but it seems that all that is required is the __init__.py which exist and has the .RegisterPlugin event/method
Some info about my configuration. I do have the iMon manager installed so could this be blocking event ghost from accessing the device? I Don't have any errors in the event log.
Also are there any developer logs that I can access that may show what is going wrong while trying to load this plugin?
Thanks for any help you can give.
Nic
Re: SoundGraph iMON HID plugin
Click "Add Plugin...", under Remote recievers select "SoundGraph iMON HID".
-
NicCOConnor
- Posts: 3
- Joined: Mon Sep 27, 2010 6:54 pm
Re: SoundGraph iMON HID plugin
No I mean it doesn't show up in the Add Plugin List. Wish it were that simple 
Nic
Nic
Re: SoundGraph iMON HID plugin
The path to plugin file must be "<EventGhost>\plugins\iMON\__init__.py" exactly.
Is it?
Is it?
-
NicCOConnor
- Posts: 3
- Joined: Mon Sep 27, 2010 6:54 pm
Re: SoundGraph iMON HID plugin
yes it's exactly as shown.
Nic
Nic