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 03-25-2010, 11:15 AM
dc9mm dc9mm is offline
Sage Advanced User
 
Join Date: Dec 2008
Location: Buffalo NY
Posts: 147
Can usb-uirt receive and send signals

I have a USB-uirt and have been using it to cotrol my STB and that works fine. For a remote control i was using a black Hauppauge remote and the IR receiver that came with that remote. BUT i have recently bought the newer 45 button gray colored Hauppauge remote and it doesnt work with the hauppauge IR receiver and confirmed that with tech support from Hauppauge.

So i want to be able if possable to use the USB_UIRT for both controlling my STB and ALSO receiving remote control signals from my new 45 button hauppauge remote to control Sagetv. Only problem is i have no clue on how to setup the USB_UIRT to receive signals from remote. I see in Sagetv under setup/commands were i can pick usb-uirt send and receive with any remote choice but i dont see were i can pick to teach the USB-Uirt for receiving.

So do setup the USB-UIRT for receiving signals from my remote in SageTv somewere were i can teach it commands from new remote? or do i do this outside of sagetv and if so with what?. I saw that program Girder over were they sell the USB-UIRT do i need that? I dont want to have to buy that if i dont need too.
Reply With Quote
  #2  
Old 03-25-2010, 02:39 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
the answer is... maybe. the usb-uirt is perfectly capable of both sending and receiving IR signals, and both functions are supported in sage. there are some restrictions though. If you are using Win7, and running in service mode, it is not possible. this is because only one 'session' can access the USB-UIRT at the same time. In Win7, the service and the UI Client are run in different sessions, even if the service is logged in as the same user. This was the case with vista as well, but there was an option in vista to 'allow service to interact with desktop', which forced it to work in the desktop session... this feature has been removed in win7 for security reasons.

So, you have options... either use sage outside of service mode, in which case you will ahve no problems using the usb-uirt for both.. or use winxp, which always runs the service in the desktop session...
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #3  
Old 03-25-2010, 03:34 PM
dc9mm dc9mm is offline
Sage Advanced User
 
Join Date: Dec 2008
Location: Buffalo NY
Posts: 147
I should have put more info, sorry about that.
Running Win XP pro 32 bit on a P4 3.0 1 gig ram 2 hard drives, gefoce vid car 256 ram.

Whats is service mode??

I looked in the manual and it looks like i should use the link keystroke/infrared to sage tv command. BUT i cant get it to work. I start with a command like prevous channel. I click on it with my mouse and box pops up saying press the remote control button or keystrok to link to sage tv command i press the remote i have aimed right at the USB-UIRT i see the USB-UIRT flash so its getting the signal but sage doesnt seem to get the IR command. What iam i doing wrong??
Reply With Quote
  #4  
Old 03-25-2010, 03:40 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I believe you will want to make sure that the SageTVService, if you are using this mode, is using the same User as the SageTV app. You can easily change the User running a service by going into the Control Panel.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #5  
Old 03-25-2010, 03:52 PM
dc9mm dc9mm is offline
Sage Advanced User
 
Join Date: Dec 2008
Location: Buffalo NY
Posts: 147
Ok i got it working were its allowing me to link commands to the remote BUT it takes me to pushes on the remote to get it to do the command. In other words i need to hit as an example prevous channel twice on the remote before it goes to the prevous channel. This applies to all copmmands on the remote. I must hit the button on the remote twice before it does what i want it to. I remember reading something about Hauppauge remotes that they double the command or something like that. I cant remember. How do i get around this? Iam using the Grey colored Hauppauge 45 button remote.
Reply With Quote
  #6  
Old 03-25-2010, 04:30 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
It sounds like your remote uses alternating codes. Every button has two distinct transmissions associated with it. each press of the button sends alternating signals. this was created to be able to more easily recognize the difference between a bunch of successive button presses, and one long button hold (the long hold would simply constantly repeat a single transmission, while a bunch of individual button presses would result in alternating codes with each button press).

Sage is not specifically aware of this situation, but you can make it work by learning each of the two codes to each command. For instance, learn your prev-chan button in sage.. then choose to learn prev-chan again, and press and hold the button again. You should end up with two separate IR codes listed in sage for that command. You'll have to repeat this for each command you need to program.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #7  
Old 03-25-2010, 07:35 PM
dc9mm dc9mm is offline
Sage Advanced User
 
Join Date: Dec 2008
Location: Buffalo NY
Posts: 147
Thanks much, that worked. This forum is great.

Quote:
Originally Posted by Fuzzy View Post
It sounds like your remote uses alternating codes. Every button has two distinct transmissions associated with it. each press of the button sends alternating signals. this was created to be able to more easily recognize the difference between a bunch of successive button presses, and one long button hold (the long hold would simply constantly repeat a single transmission, while a bunch of individual button presses would result in alternating codes with each button press).

Sage is not specifically aware of this situation, but you can make it work by learning each of the two codes to each command. For instance, learn your prev-chan button in sage.. then choose to learn prev-chan again, and press and hold the button again. You should end up with two separate IR codes listed in sage for that command. You'll have to repeat this for each command you need to program.
Reply With Quote
  #8  
Old 06-04-2016, 03:46 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
Folks,

I'm missing something here. I have a remote that doesn't just rotate a pair of codes, but rotates through a long list of codes per button. I've captured (2) codes per button using IR Learn, and tested these two codes in IR Learn and they always tune consecutively, as I was hopping. Of course, I can never use the same code twice in a row, so thought I had this licked when it worked manually in IR Learn.

Unfortunately in Sage, it's not executing the alternating codes as I thought it would. The USB-UIRT IR file that I manually created is attached (file extension changed from ir to txt for forum) - clearly there's something wrong with my syntax, and I'm stuck.
Attached Files
File Type: txt LINKSYS.txt (7.1 KB, 126 views)
Reply With Quote
  #9  
Old 06-04-2016, 05:46 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
I should probably mention that I'm actually trying to get the USB-UIRT to channel change the Linksys DMA2100. I'm not trying to program a remote control to work with Sage.
Reply With Quote
  #10  
Old 06-05-2016, 01:04 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
For blasting channel changes, the 2-mode IR codes are not all that important. Yes, normally it will only accept one button press per code alteration, but there's a timeout in there. So if it gets code A, 5 times in a row immediately, then it will treat it as one button push. However, if it gets code A, then a second or so later, gets code A again, it WILL treat it as a second button push. You may have to increase the delay in-between digits if you are using an alternating code device, so it 'forgets' the previous alternation that it was waiting for. In short, Sage should only ever need to learn one of the alternating code for the purpose of blasting.

Now, when learning for blasting, you also have to remember to hold your remote only about an inch or so from the USB-UIRT. It needs an incredibly strong and clean signal to learn and properly decode it to the right string.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #11  
Old 06-05-2016, 04:12 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
Yeah, I found pretty quick that you have to hold the remote fairly close. I played with that for a couple hours, and then again in a dark basement. Then again with another remote that I had already done this with successfully to be sure I wasn't screwing this up.

In Sage, testing an infrared code that I had programmed successfully earlier - I send the "1" code, the DMA2100 responds that it received a "1."

I've waiting anywhere from 1 second to 2 minutes between emitting the same code for the same keypress (in that same Sage IR code testing area), but never get any response from the second attempt of sending the "1" code.

Last edited by KryptoNyte; 06-05-2016 at 04:17 PM.
Reply With Quote
  #12  
Old 06-05-2016, 07:40 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by KryptoNyte View Post
Yeah, I found pretty quick that you have to hold the remote fairly close. I played with that for a couple hours, and then again in a dark basement. Then again with another remote that I had already done this with successfully to be sure I wasn't screwing this up.

In Sage, testing an infrared code that I had programmed successfully earlier - I send the "1" code, the DMA2100 responds that it received a "1."

I've waiting anywhere from 1 second to 2 minutes between emitting the same code for the same keypress (in that same Sage IR code testing area), but never get any response from the second attempt of sending the "1" code.
That's because as you suspected, RC6 36-bit (which is what the WMC IR codes are encoded as) requires some additional bits between transmissions of the same button. Not all devices reset after some time of not receiving the alternate code. On some of them you would need to hit another button first to be able to repeat the same button without using the alternate code. I think you can get it to fire off both codes if you get both of them and place them on the same line, but that might also just send two button presses. I believe Telecore did this to send two buttons to a FiOS STB, so it will send Menu, then Exit. The STB's are very simple since they mostly use NEC codes.

As an alternative, it would be nice to be able to tell SageTV that it needs to alternate codes. RC5 and RC6 have always been a pain when they are learned by a program that doesn't understand that it needs to flip a bit/add bits between transmissions. I'm not actually sure I've seen a program that handles the USB-UIRT differently when these kinds of code are learned.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
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
USB-UIRT will not send code... robhix Hardware Support 11 09-02-2008 05:43 PM
How do I send a Channel Prefix with a USB-UIRT? 2FarGone Hardware Support 7 07-24-2008 02:54 PM
USB-UIRT - IR Blaster does not send signal to STB??? autocadpro Hardware Support 3 04-24-2008 05:00 PM
Using USB-UIRT to recieve and send GlennPT Hardware Support 5 06-06-2006 05:41 PM
USB-UIRT IR commands receive delay? [one press=several events] IVB SageTV Software 10 02-25-2005 03:55 PM


All times are GMT -6. The time now is 04:34 AM.


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