SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-30-2007, 09:30 PM
DWeade DWeade is offline
Sage User
 
Join Date: Nov 2004
Posts: 19
Simple steps for getting remote to work without SageTV focus

Hello,

I've been pouring over the information to get SageTV to work when the window is not in focus. I tried once before and found a workaround after I couldn't get the windows messaging option to work. However, after upgrading to version 6 recently I am unable to get the remote to control Sage. Instead, I have to use Remote Desktop Connection to control playback and/or bring the window to focus and then use the remote control.

Maybe someone can help me understand where things are now as I am having problems figuring out which of the entries on this forum are relevant to the current version of SageTV.

I am running:
SageTV 6.1.9.146
704 MB RAM (768 total, 64 going to video card)
AMD Athlon 3200+
Windows XP SP2
Hauppauge 45 button remote

If what I read is correct (from this post) then: "June 23,2004 UPDATE: The Hauppauge remote software now supports a command within iremote.ini to send messages to other windows: SendMsg(). Usage to control SageTV"

Hoping that was true, I followed these steps:

1. Turned off ir.exe
2. Opened the Hauppauge Irremote.ini file (located in the Windows folder) and changed the two locations which point to the sagetv.exe file to:

GRNPOWER={run(C:\Progra~1\SageTV\SageTV\SageTV.exe)}{mode(SageTV)}

GO={run(C:\Progra~1\SageTV\SageTV\SageTV.exe)}{mode(SageTV)}

On my system, sage is installed on the C drive in the Program Files folder in a SageTV folder and then inside another SageTV folder. This was the default install path when I installed the program on a clean OS install this morning.

3. Restarted ir.exe
4. Brought a different program to focus and tried the remote. No go. I didn't even get the old failure where the focus on the SageTV interface elements jumped from the bottom to the top.

I am assuming I have oversimplified this process. I have tried other irremote.ini files today, just to see if any others would work. I have also compared the files and could not see any major differences aside from the location the GO and GRNPOWER lines point to when referencing the SageTV.exe app location.

Can someone please help me (and others I'll bet) to understand the steps necessary to get the remote to work with SageTV out of focus?

Thanks,
D
Reply With Quote
  #2  
Old 08-30-2007, 09:45 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Is the rest of the irremote.ini the one from that post (#15) & uses SendMsg() in the [SageTV] section to send commands?

Did you use the Power button on the remote to put it into SageTV mode? If not, the it will just act in regards to whatever program has focus.

Are you using a Client installation? If so, you have to change the target for findwnd().

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #3  
Old 08-31-2007, 06:38 AM
DWeade DWeade is offline
Sage User
 
Join Date: Nov 2004
Posts: 19
Andy, thanks for the quick response. Here are some answers:

Quote:
Is the rest of the irremote.ini the one from that post (#15) & uses SendMsg() in the [SageTV] section to send commands?
No, I made the correction to the original irremote.ini as the post 15 version was not making a difference.

Quote:
Did you use the Power button on the remote to put it into SageTV mode? If not, the it will just act in regards to whatever program has focus.
This is one of those things which I overlooked or isn't well documented. I never knew you could bring the program to focus using the power button.
I've always tested it with the front page of Sage to see if I could simply navigate the options.

I guess that is my one thing to learn today. This seems to put me in a good place until I have more time to work on this more.

I am still bit unclear on one thing: What would I put into the irremote.ini file to make SageTV the ONLY program the remote would work with on that specific machine? I have no interest for getting the remote to control anything else as the computer Sage is installed on is a small box which runs Sage and a few lightweight apps.

Thanks again,
D
Reply With Quote
  #4  
Old 08-31-2007, 08:34 AM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
Which IR reciever?
Reply With Quote
  #5  
Old 08-31-2007, 09:49 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by DWeade View Post
No, I made the correction to the original irremote.ini as the post 15 version was not making a difference.
The original irremote.ini (the one modified by the SageTV installer) won't work this way because it sends keystrokes, not event codes via Windows messages.

Quote:
This is one of those things which I overlooked or isn't well documented. I never knew you could bring the program to focus using the power button.
This was the whole reason for modifying the path to the exe - so it could run the exe (which would either start SageTV if it wasn't running yet or wake it/bring it into focus if it was already running), then set the remote to SageTV mode.

Quote:
I am still bit unclear on one thing: What would I put into the irremote.ini file to make SageTV the ONLY program the remote would work with on that specific machine? I have no interest for getting the remote to control anything else as the computer Sage is installed on is a small box which runs Sage and a few lightweight apps.
I thought this was discussed in one of those remote threads in my sig lines... essentially, you would rename/remove the [Default] section in irremote.ini & change the [SageTV] section name to [Default]. Then, remove all but Default= from the [Applications] section. I don't remember if there is anything else that needs to be done.


Quote:
Originally Posted by CollinR View Post
Which IR reciever?
I guess this would mean: are you really using the Hauppauge IR receiver & remote, or do you have an MCE kit, which has an MCE remote + receiver? If it is an MCE kit, all this irremote.ini editing is pointless.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #6  
Old 08-31-2007, 11:51 AM
mikesm mikesm is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,293
Is this an issue because Sage drops into the tray and you are trying to get it back?

I had this problem in spades in XP. I would stop playback, suspend the system via remote, and then later wake up the system via remote, only to find Sage minimized in the tray, and the remote commands being ignored, so no way to get sage restored to full screen mode. Since the clients normally operate without keyboard or mouse, I had to plug in a mouse, click on Sage top get it back in focus and full screen.

This was a pain for me, but toxic for WAF. I played around with sending messages to sage, used the hibernator utility to try and send messages to Sage to go to full screen mode upon resume, etc... Nothing worked reliably.

Since I am a MSFT developer I had Vista licenses lying around, and converted one client to Vista. Volia - no more problems with Sage hiding in the tray on resume.

Of course, this means dealing with all the video decoder issues in Vista.

Thx
Mike
Reply With Quote
  #7  
Old 09-01-2007, 11:23 AM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
Quote:
Originally Posted by Opus4 View Post
I guess this would mean: are you really using the Hauppauge IR receiver & remote, or do you have an MCE kit, which has an MCE remote + receiver? If it is an MCE kit, all this irremote.ini editing is pointless.

- Andy
Sorry I'll expand, or the USB UIRT so that Sage can control your cable boxes as well. This the Hauppauge reciever will not do however the USB UIRT will work with the original Hauppauge remote and the UIRT doesn't come with a remote itself.

Many ways to skin a cat.
Reply With Quote
  #8  
Old 09-01-2007, 04:44 PM
DWeade DWeade is offline
Sage User
 
Join Date: Nov 2004
Posts: 19
Which remote?

I'm using the Hauppage 45 button remote at the moment. I have purchased a learning remote, which I programmed with the basic functionality for running Sage TV in the auxiliary settings, but that is currently in storage until we settle in our new home.

The option for bringing it to focus with the power button is a great solution. I don't know why I didn't play around to figure this out previously. I guess you sometimes get caught up with what works when you're busy and stop testing options.

Thanks again.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Harmony 520 Remote With Hauppauge Commands Taddeusz Hardware Support 5 04-27-2007 06:04 AM
Harmony Remote IR Reciever Help brundag5 Hardware Support 2 01-13-2007 09:08 PM
MCE Remote : stop, next and previous buttons don't work C14 Hardware Support 4 09-26-2006 03:50 AM
Do i have my remote control options understood orangezero Hardware Support 6 05-05-2006 10:32 PM
ATI Remote Wonder Qualme Hardware Support 0 04-03-2006 06:31 PM


All times are GMT -6. The time now is 11:40 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.