[mythtv-users] Is anybody able to change channels on a 4250HDC STB via firewire?

Matt Emmott memmott at gmail.com
Tue Jun 2 01:24:13 UTC 2009

On Wed, May 13, 2009 at 8:24 PM, Larry T <larryt at gmail.com> wrote:

> On Tue, May 12, 2009 at 7:24 PM, Christian Szpilfogel <
> chrisznews4 at rogers.com> wrote:
>> Larry T wrote:
>>> I have never had any success controlling my 4250hdc (provided by BHN)
>>> until I saw the email from Christian Szpilfogel linked above. That one can
>>> at least get on/off/status. I have never had any luck changing the channels.
>>> I can capture video though.
>> Larry,
>> that's good to know. Did you also try the version of channel changer I
>> was referring to listed (specifically at
>> http://ubuntuforums.org/showthread.php?t=756508). It is modified from
>> the original one in contribs but fixes the channel digits issue and also
>> adds the ability to select a specific node. If it fails too then what do
>> you see on the box? Does the script report any errors with -v flag?
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> I tried that and it fails without reporting errors. I did google search and
> found that the 6200ch script with the -s flag changed the channels for me.
> Unfortunately the channels I wanted to record were encrypted so I was
> thwarted. I guess I will have to get a HD PVR eventually so I can record the
> HD cable (non-broadcast) channels.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> So I've downloaded and compiled the modified script. It gave me the same
error so I attempted to modify sa4250_ch_new.c but I must be doing something
wrong because compilation throws an error at me and running the
sa4250_ch_guid script gives me a seg fault. Here's the order of events:

I was unable to figure out the vendor and model ids until I messed with the
included 6200ch script (using the GUID from plugreport):
./6200ch -s -g 0x0022ce14782e0000 786 -v
starting with node: 0
node 1: vendor_id = 0x000022ce model_id = 0x000010cc
Could not find Motorola DCT-6200 on the 1394 bus.

So I then went into sa4250_ch_new.c and added the lines with the vendor and
model ids but I must have added it wrong. I added it to what I thought was
the right section as follows:

/* SA42xxHD IDs */
#define SA4200HD_VENDOR_ID1     0x000014f8
#define SA4200HD_MODEL_ID1      0x00001072
#define SA4250HD_VENDOR_ID1     0x00001cea  /* samo's stb */
#define SA4250HD_VENDOR_ID1     0x000022ce  /* jerkychew's stb */
#define SA4250HD_MODEL_ID1      0x000010cc  /* jerkychew's stb */

The last two lines are mine, I removed one redundant line where samo had the
same model id as myself.

I then recompiled the file using the following:

sudo gcc -o sa4250_ch_new sa4250_ch_new.c -lrom1394 -lavc1394 -lraw1394

And got the following two responses:

sa4250_ch_new.c:47:1: warning: "SA4250HD_VENDOR_ID1" redefined
sa4250_ch_new.c:46:1: warning: this is the location of the previous

Since I had no idea what that means I copied the newly found sa4250_ch_new
file to /usr/local/bin alongside the sa4250_ch_guid file and then ran the
following (786 is the local 720p Fox HD channel on my lineup):

 sa4250_ch_guid 786
Segmentation fault

So I have no idea where to go from here. I assume I modified the wrong
section of code but have no idea where the "right" section is. Help?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090601/cb93f89f/attachment.htm>

More information about the mythtv-users mailing list