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
  #41  
Old 01-13-2010, 09:52 AM
elfman elfman is offline
Sage User
 
Join Date: Jan 2009
Location: Oregon
Posts: 15
Quote:
Originally Posted by mike_15 View Post
I have had a recent event where I had my channel not catch all the digits, instead of 127 it recorded 12. I believe that it was due to my emitter being misaligned. but to satisify my curousity what do you have for the timings, ms between signals and ms between channel changes.? I wonder if I have my set poorly, or maybe they are not used.
The command that hava_channel sends to hava sends the whole channel at the same time (i.e., it sends "127" (actually 007f) not three separate commands 1-2-7). Inside of the hava itself it makes the decision about the timing between digits. I was initially surprised to discover that this was how the protocol worked but it did simplify hava_channel logic. So if you are saw "12" it probably points to a hava->set top box communication problem instead of a hava_channel->hava problem.

hava_channel only worries about timing between button presses (power, menu, select, etc) and that is configurable based on request from Jason.

I do rarely see a lost digit but attribute it to misalignment or interference between emitter and the set top box. I recently switched from dish to fiostv and got a motorola set top box (like that used with comcast). It seems to have an ir input jack in the back. Has anyone tried connecting the blaster out from hava to the ir input jack on their set top box to avoid the alignment and noise issues? I'm curious if a trip to radioshack would be worthwhile.

thx,
Elfman
Reply With Quote
  #42  
Old 01-14-2010, 06:37 AM
mike_15's Avatar
mike_15 mike_15 is offline
Sage Advanced User
 
Join Date: Nov 2004
Location: Pittsburgh
Posts: 158
Thanks for explaining how the channels are sent. I will have to get some better double sided tape to hold the emitter in a good place. when I had the problem it was bumped out of place.


Quote:
Originally Posted by elfman View Post
I recently switched from dish to fiostv and got a motorola set top box (like that used with comcast). It seems to have an ir input jack in the back. Has anyone tried connecting the blaster out from hava to the ir input jack on their set top box to avoid the alignment and noise issues? I'm curious if a trip to radioshack would be worthwhile.
I did some checking on the IR port. it seems to be an output to control a VCR. which are disabled. I don't think we will have any luck using it as an input from the hava.
http://www.remotecentral.com/cgi-bin...thread.cgi?853
Reply With Quote
  #43  
Old 08-09-2010, 02:00 PM
Rogier Rogier is offline
New Member
 
Join Date: Aug 2010
Location: Netherlands
Posts: 1
Hi Elfman/Jason,

I tried getting hava_channel working with the TV tuner (implementing it I mean). I was wondering if one of you get give me some information on what you guys have figured out on how the packets are built up.

Hope you guys can give me some pointers.

Regards,

Rogier
Reply With Quote
  #44  
Old 08-09-2010, 04:42 PM
elfman elfman is offline
Sage User
 
Join Date: Jan 2009
Location: Oregon
Posts: 15
Quote:
Originally Posted by Rogier View Post
I tried getting hava_channel working with the TV tuner (implementing it I mean). I was wondering if one of you get give me some information on what you guys have figured out on how the packets are built up.
It looks like the discussions from a year or so back on myhava.com have timed out and are all gone now. Sigh. Have you checked out the havafun sources at http://sourceforge.net/projects/havafun/ The hava_util.h hava_util_interenals.h, and hava_util.c essentially gives the details of what we've deduced about the protocol. hava_util_internals.h contains the template of the different packet types that I've had to work with for channel, button, and mpeg2 streaming. There are #defines for offsets into the packets for poking interesting values (like the device type to do remote codes for etc). We don't understand everything but channel changing and button pressing seems to have been pretty stable for sage users.

I didn't create a .doc file about the protocol... Though at this point I kindof wish I had because I got sidetracked with other stuff after a move and am just getting back to my pet project of getting hava video streaming working with mythtv.

Loosely its all UDP based. I know that the protocol has some assorted timeout/retransmit to get past UDB lossiness but I've been ignoring that part since on a home net loss is rare). Essentially you have to send hava an initial packet (init_pkt in hava_util_interenals.h] I'm not certain what all the bit fields are in it but you need to do this or hava won't talk to you. After that packet, you can send it different command packets. There is a channel setting command packet which encodes the channel as a 16bit quantity (see channel_set). There is a button pressing command packet that encodes the type of set top box as a 16bit quantity and the buttonid as a byte (see button_push). There are also what I call a start_video command packet and a continue_video command packet.

Regards,
Elfman
Reply With Quote
  #45  
Old 08-10-2010, 02:42 PM
Jason's Avatar
Jason Jason is offline
Sage Expert
 
Join Date: Nov 2003
Location: Texas
Posts: 598
Quote:
Originally Posted by elfman View Post
It looks like the discussions from a year or so back on myhava.com have timed out and are all gone now.

Regards,
Elfman
I submitted a request to recall/repost the affected board entries...


-Jason


http://www.myhava.com/forum/viewtopic.php?f=4&t=5561
__________________
True standalone tuner functionality with the --> HAVA Channel Changer<--
Reply With Quote
  #46  
Old 12-23-2010, 02:19 AM
Tuaca Tuaca is offline
New Member
 
Join Date: Dec 2010
Location: Kansas
Posts: 1
In have fun can you use learned codes? I have searched and see nothing about this ?
Reply With Quote
  #47  
Old 12-24-2010, 04:55 PM
elfman elfman is offline
Sage User
 
Join Date: Jan 2009
Location: Oregon
Posts: 15
We put some patches in for this a while back after alpha3 (the default download up on sourceforge). I've not tried it myself but others sent some packet trace info to me and I hacked in some test attempts. I never got final confirmation from them that it was working so i didn't cut an alpha4. The commands are slightly different for learned remotes and only a few "named" buttons were there. (see hava_channel showlearnedbuttons).

hava_channel 192.168.1.253 Component Learned nobind Power w3 122

The "Scratch" version from post alpha3 tryme2-win.zip had this trial functionality (see http://sourceforge.net/projects/havafun/files/Scratch/).

i really need to cut a beta1 one of these days. while I've not evolved channel changing the mythtv integration is coming along well and there have been a few contributions for "recorder" support.

thx,
ElfMan
Reply With Quote
Reply

Tags
changer, channel, exetuner, hava


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
Channel Surfing HelenWeathers SageTV Beta Test Software 0 12-06-2008 12:58 PM
Turning off STB / Channel Changing / Mouse Wheel bellyman Hardware Support 0 11-28-2008 12:34 PM
USBUIRT Slow Channel Change mbowling Hardware Support 0 11-08-2008 01:18 PM
HDHomeRun / SageTV unintuitive channel mapping mkanet Hardware Support 33 09-14-2008 11:56 AM
StephaneM's XMLTV importer Question gerberdude SageTV EPG Service 11 07-31-2006 06:50 PM


All times are GMT -6. The time now is 08:45 PM.


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