LinHES Forums
http://forums.linhes.org/

Problem getting 6200ch to work
http://forums.linhes.org/viewtopic.php?f=6&t=17955
Page 1 of 1

Author:  timcough [ Mon Feb 25, 2008 1:08 am ]
Post subject:  Problem getting 6200ch to work

Greetings!
I just got Knoppmyth back running after having to whole critter packed up in a box after moving a few months ago. After a couple minor hardware upgrades, I proceeded to install F27 on the beastie. I was looking forward to getting my myth system hooked, via firewire, to the evil Comcast box that is sitting next to it.

After a no problem install (knoppmyth's trademark), I found that 6200ch wouldn't work. After much poking, I found that the Vendor ID of my DCT3416 didn't match any of the ones listed in http://svn.mythtv.org/svn/branches/release-0-20-fixes/mythtv/contrib/channel_changers/6200ch.c. At this point, I figured I try and revive decade old comp sci skills and recompile 6200ch with:
Code:
#define DCT3416_VENDOR_ID3 0x000019a6

and
Code:
(dir.vendor_id == DCT3416_VENDOR_ID3) ||

included.

Gcc returned the message:
Code:
6200-1.c: In function 'main':
6200-1.c:193: error: 'LLONG_MAX' undeclared (first use in this function)
6200-1.c:193: error: (Each undeclared identifier is reported only once
6200-1.c:193: error: for each function it appears in.)
6200-1.c:193: error: 'LLONG_MIN' undeclared (first use in this function)


After further poking with the wonderful world of Google, it appears that both LLONG_MAX and LLONG_MIN are part of limits.h which I'll assume is not located anywhere on the system.

So my question is two fold: First, am I barking up the wrong tree trying to get 6200ch working this way? Next, how do I go about installing the missing header file?

Many thanks for any responses to this rambling question :),
Tim

Author:  slowbiscuit [ Mon Feb 25, 2008 8:22 pm ]
Post subject: 

You shouldn't need 6200ch with R5F27 and the 3416. Current versions of Myth have internal channel changing and firewire priming built-in. I'm using a 3412 with Myth 0.20-1 SVN and it does work to change the channel, but sometimes the firewire record will not. I see Firewire: TS out of sync or Timeout after 15 seconds on the port in the backend log, not sure what's causing that yet.

My current settings for the firewire input in Myth are: DCT6200 STB, Broadcast, Port 0/Node 1, 200mbps, and external channel changer is blank.

Author:  one30nav [ Fri Mar 28, 2008 2:26 pm ]
Post subject:  Compiling 6200ch and "limit.h" error -- fix

Hey folks,

Just to save everyone some grief:

Like me, you may still require 6200ch to work with the awesome & relatively new Firewire stabilizer script, "6200changer.sh." This particular script references 6200ch as a subroutine.

Only the newest 6200ch will accommodate the use of the "-g" or GUID switch. So, download the newest svn of 6200ch.c then apply the following:

Code:
 cc -w -std=c99 -o 6200ch 6200ch.c -lrom1394 -lavc1394 -lraw1394


This did the trick for me! You can now use the 6200changer.sh to help maintain a stable Firewire connection.

Hope this helps.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/