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.

USB-UIRT resume trouble

If you have a question or need help, this is the place to be.
Post Reply
Sheugel
Posts: 16
Joined: Sat Apr 25, 2009 5:30 pm

USB-UIRT resume trouble

Post by Sheugel »

Hello,

I'm a very satisfied user of this great app. I recently bought a usb-uirt device. I notice that I'm not able to use the wake-up code flashed in the device. The wake-up "call" works however when Girder (v. 3.3) alone is loaded in memory. My system is Windows XP SP3.
I hope someone can help me to use that function in conjunction with EventGhost.
Thanks,

Sheugel
RobWW
Posts: 2
Joined: Fri Jul 03, 2009 6:17 am

Re: USB-UIRT resume trouble

Post by RobWW »

I believe I am having the same problem with the USB-UIRT. Specifically, using the lrnhelper program I a set the USB-UIRT to resume my computer from S3 sleep when a specific IR command is sent. The resume works fine before EventGhost is started, or if I run Girder. However, once Eventghost has been started the USB-UIRT will not wake the computer (even though the red led flashes, indicating that it receives a signal.) All other functions (send, receive, etc) still work fine.

Interestingly, after exiting EventGhost or even rebooting the computer, the USB-UIRT will not wake the computer. To restore functionality, the USB-UIRT has to be physically unplugged. This made me think that EventGhost was somehow sending an incorrect configuration to the USB-UIRT. Looking at EventGhost\plugins\USB-UIRT\__init__.py, I tried commenting out the lines:

Code: Select all

if not self.dll.UUIRTSetUUIRTConfig(self.hDrvHandle, UINT32(value)):
    self.dll = None
    raise self.Exception("Error calling UUIRTSetUUIRTConfig")
However, the problem still occurred.

After commenting out some more dll calls, I eventually found that eliminating the lines:

Code: Select all

res = dll.UUIRTSetRawReceiveCallback(self.hDrvHandle, self.receiveProc, 0)
if not res:
    self.dll = None
    raise self.Exception("Error calling UUIRTSetReceiveCallback")
allowed the computer to resume from standby, however, as expected it would no longer register ir commands.

Hmm, as I was writing this, I decided to take a look at the symbols exported by uuirtdrv.dll. Changing UUIRTSetRawReceiveCallback to UUIRTSetReceiveCallback has solved the problem and resume works!

However, EventGhost now reports received events as: USB_UIRT.Unknown.880008023AA201003000080025100002400428025520708400020C600800D000B0 [many more digits trimmed] instead of USB_UIRT.Mce.Num2, so I am not sure if this is a good solution. Unfortunately, I have no idea what a good solution would be.

Hope this helps, Rob
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: USB-UIRT resume trouble

Post by Bitmonster »

=> 0.3.7.r1076
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
RobWW
Posts: 2
Joined: Fri Jul 03, 2009 6:17 am

Re: USB-UIRT resume trouble

Post by RobWW »

Thanks, that seems to have fixed it.

Also, thanks for all the work put into EventGhost. I really like the interface design - its the easiest to use remote software that I have tried.

Rob
renan
Posts: 1
Joined: Sun Aug 23, 2009 9:54 pm

Re: USB-UIRT resume trouble

Post by renan »

I did have the same problem and this is not fixed either using the 0.3.7.r1076 or the 0.3.7.r1194

I was using girder 3.2.9 on windows xp. Since i recently move to vista the master volume control automation is not working properly. So i was using 2 instance of girder: one girder 3.2.9 for my overall automation except the master volume and one girder5 for the volume control. girder5 is a trial version for 30 days. Everything was working fine and my usb-uirt was able to wake up my HTPC.

Then i discovered eventghost which present a great advantage over girder 3.2.9 to be able to control the master volume in vista. Just that i loose the possibility to wake up my pc when eventghost is running.

I use Xlobby, girder 3.2.9 for my overall automation and eventghost for the volume control.
if girder and eventghost are running the usb-uirt is not able to resume
if evenghost alone is running the usb-uirt is not able to resume
if girder is alone the usb-uirt works and resume.
Conclusion, it seems in my settings that eventghost block the wake up option of my usb-uirt.

If you have any idea , I would appreciate. thank you very much for that nice application.
Driiven
Posts: 1
Joined: Mon Dec 28, 2009 11:10 pm

Re: USB-UIRT resume trouble

Post by Driiven »

Hey all, I seem to be having the same trouble described above. If eventghost is running before I get to s3 I wont be able to resume from remote keypress but if eventghost is shutdown prior to s3 I can resume from standby with the remote no problem. Very weird indeed, anyone have any clues to how to get this working reliable? Thanks again
mickelin
Experienced User
Posts: 85
Joined: Sun Jan 04, 2009 5:54 pm

Re: USB-UIRT resume trouble

Post by mickelin »

Here is a workaround: Use Hibernate Trigger or similar to kill EG before standby and restart EG after resume

http://www.desimonesystems.com/suspendtrigger/index.php
scat
Posts: 31
Joined: Sat May 05, 2007 12:55 pm

Re: USB-UIRT resume trouble

Post by scat »

I have no trouble waking my computer up from S3 sleep
I have flashed the USB-UIRT and use my Harmony 880 to send the
request to the USB-UIRT to wake up the pc.

There are two guides
1.) using Girder
or
2.) using the USB-UIRT's Learn Helper Utility

I just posted a new guide here: http://www.eventghost.org/forum/viewtop ... 058#p11058

Scat
Post Reply