Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Is anybody able to change channels on a 4250HDC STB via firewire?

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


memmott at gmail

May 10, 2009, 5:56 PM

Post #1 of 22 (5023 views)
Permalink
Is anybody able to change channels on a 4250HDC STB via firewire?

I've got Mythbuntu 8.10 running with 0.22-trunk and have set up a slave BE
with an HD-PVR. I have succesfully been able to capture video from my
SA4250HDC STB and would like to use one of the firewire contrib scripts to
change the channel. However, none of the scripts work. When I attempt to use
the SA3250 script, I get the message "Ignoring SA 4250HDC on node 1 -- sorry
not supported yet Could not find SA3250HD or SA4200HD on the IEEE 1394 bus."

Has anybody found a way to change the channel on this STB? I'm open to any
option. Thanks in advance.


DEPontius at edgehp

May 10, 2009, 6:34 PM

Post #2 of 22 (4960 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

Matt Emmott wrote:
> I've got Mythbuntu 8.10 running with 0.22-trunk and have set up a slave BE
> with an HD-PVR. I have succesfully been able to capture video from my
> SA4250HDC STB and would like to use one of the firewire contrib scripts to
> change the channel. However, none of the scripts work. When I attempt to use
> the SA3250 script, I get the message "Ignoring SA 4250HDC on node 1 -- sorry
> not supported yet Could not find SA3250HD or SA4200HD on the IEEE 1394 bus."
>
> Has anybody found a way to change the channel on this STB? I'm open to any
> option. Thanks in advance.

I don't have the 4250HDC, but I do have the 4250C. I don't know how
similar they are, or if the "HD" in there make them completely different
STBs. Theoretically, I plan to run mine with the IR-blaster on my
HVR-1600, but I recognize that that IR blaster is a bit of an oddity,
and I've had trouble trying to use a conventional IR repeater with the
STB, so I'm a little fearful that there's something non-standard about
the frequency/protocol.

The box also has a USB jack on the front, so one day just for jollies I
plugged a keyboard into it. The number keys work, and change the
channels. I didn't mess much more than that, and in particular I don't
know if there is some sort of keycode that will turn the STB off. The
linux kernel has support for "USB gadgets", meaning that with the
appropriate cable can act like a USB peripheral (such as a keyboard) to
some other USB host controller. (like the STB) One of those gadget
devices that was planned was a keyboard, but I haven't been able to find
anything further than "planned." Still, it may be an option. If I get
to the point of trying my IR blaster and fail, I may have to be
reexamining this one.

Dale Pontius
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


bradallenfuller at gmail

May 10, 2009, 8:25 PM

Post #3 of 22 (4955 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

On Sun, May 10, 2009 at 5:56 PM, Matt Emmott <memmott [at] gmail> wrote:
> I've got Mythbuntu 8.10 running with 0.22-trunk and have set up a slave BE
> with an HD-PVR. I have succesfully been able to capture video from my
> SA4250HDC STB and would like to use one of the firewire contrib scripts to
> change the channel. However, none of the scripts work. When I attempt to use
> the SA3250 script, I get the message "Ignoring SA 4250HDC on node 1 -- sorry
> not supported yet Could not find SA3250HD or SA4200HD on the IEEE 1394 bus."
>
> Has anybody found a way to change the channel on this STB? I'm open to any
> option. Thanks in advance.

If you are using the 6200ch script, you must add the STB's vendorID
and modelID in the source code and recompile.
I found it by running 6200ch with the args:

6200ch -v -n <node> 2

example for node 0:

6200ch -v -n0 2

This will report the vendorID and modelID that you need to place in
6200ch. You add it to the top of the code and there is a place near
the bottom to add as well.

If you are not using 6200ch, I don't know what to tell you. Sorry.


--
Brad Fuller
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


memmott at gmail

May 11, 2009, 8:40 AM

Post #4 of 22 (4924 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

On Sun, May 10, 2009 at 11:25 PM, Brad Fuller <bradallenfuller [at] gmail>wrote:

> On Sun, May 10, 2009 at 5:56 PM, Matt Emmott <memmott [at] gmail> wrote:
> > I've got Mythbuntu 8.10 running with 0.22-trunk and have set up a slave
> BE
> > with an HD-PVR. I have succesfully been able to capture video from my
> > SA4250HDC STB and would like to use one of the firewire contrib scripts
> to
> > change the channel. However, none of the scripts work. When I attempt to
> use
> > the SA3250 script, I get the message "Ignoring SA 4250HDC on node 1 --
> sorry
> > not supported yet Could not find SA3250HD or SA4200HD on the IEEE 1394
> bus."
> >
> > Has anybody found a way to change the channel on this STB? I'm open to
> any
> > option. Thanks in advance.
>
> If you are using the 6200ch script, you must add the STB's vendorID
> and modelID in the source code and recompile.
> I found it by running 6200ch with the args:
>
> 6200ch -v -n <node> 2
>
> example for node 0:
>
> 6200ch -v -n0 2
>
> This will report the vendorID and modelID that you need to place in
> 6200ch. You add it to the top of the code and there is a place near
> the bottom to add as well.
>
> If you are not using 6200ch, I don't know what to tell you. Sorry.
>
>
> --
> Brad Fuller
>

Thanks for the tip. However, I end up with two different IDs even though I
only have one firewire device attached:

node 0: vendor_id = 0x00001106 model_id = 0x00000000
node 1: vendor_id = 0x000022ce model_id = 0x000010cc

Do I assume it's the second one, since node 0's model_id is all zeroes?


bradallenfuller at gmail

May 11, 2009, 7:05 PM

Post #5 of 22 (4921 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

On Mon, May 11, 2009 at 6:51 PM, Matt Emmott <memmott [at] gmail> wrote:

>
>
> On Mon, May 11, 2009 at 3:02 PM, Christian Szpilfogel <
> chrisznews4 [at] rogers> wrote:
>
>> Matt Emmott wrote:
>>
>>> I've got Mythbuntu 8.10 running with 0.22-trunk and have set up a slave
>>> BE with an HD-PVR. I have succesfully been able to capture video from my
>>> SA4250HDC STB and would like to use one of the firewire contrib scripts to
>>> change the channel. However, none of the scripts work. When I attempt to use
>>> the SA3250 script, I get the message "Ignoring SA 4250HDC on node 1 -- sorry
>>> not supported yet Could not find SA3250HD or SA4200HD on the IEEE 1394 bus."
>>>
>>> Has anybody found a way to change the channel on this STB? I'm open to
>>> any option. Thanks in advance.
>>>
>> Perhaps the following will help you...
>>
>> http://mythtv.org/pipermail/mythtv-users/2009-May/255029.html
>>
>> Changes 3250HD/4250HD channels and ensures all is powered on before
>> doing so.
>>
>> The current 3250 in contribs is broken.
>>
>> Christian
>>
>>
> Thanks for all the help, it looks like majoridiot is the go-to guy for
> channel changing on this box. I downloaded and compiled his script, however
> I'm still running into the same issue as stated above - it shows 2 devices
> on my firewire bus and I don't know which is the STB:
>
> /sa4250_ch -v
> node 0: vendor_id = 0x00001106 model_id = 0x00000000
> node 1: vendor_id = 0x000022ce model_id = 0x000010cc
> Could not find SA42XXHD on the 1394 bus!
>


I'd try the second one, since the 1st has an model_id of 0



--
Brad Fuller


rhatguy at gmail

May 11, 2009, 7:08 PM

Post #6 of 22 (4911 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

On Mon, May 11, 2009 at 10:05 PM, Brad Fuller <bradallenfuller [at] gmail>wrote:

>
>
> On Mon, May 11, 2009 at 6:51 PM, Matt Emmott <memmott [at] gmail> wrote:
>
>>
>>
>> On Mon, May 11, 2009 at 3:02 PM, Christian Szpilfogel <
>> chrisznews4 [at] rogers> wrote:
>>
>>> Matt Emmott wrote:
>>>
>>>> I've got Mythbuntu 8.10 running with 0.22-trunk and have set up a slave
>>>> BE with an HD-PVR. I have succesfully been able to capture video from my
>>>> SA4250HDC STB and would like to use one of the firewire contrib scripts to
>>>> change the channel. However, none of the scripts work. When I attempt to use
>>>> the SA3250 script, I get the message "Ignoring SA 4250HDC on node 1 -- sorry
>>>> not supported yet Could not find SA3250HD or SA4200HD on the IEEE 1394 bus."
>>>>
>>>> Has anybody found a way to change the channel on this STB? I'm open to
>>>> any option. Thanks in advance.
>>>>
>>> Perhaps the following will help you...
>>>
>>> http://mythtv.org/pipermail/mythtv-users/2009-May/255029.html
>>>
>>> Changes 3250HD/4250HD channels and ensures all is powered on before
>>> doing so.
>>>
>>> The current 3250 in contribs is broken.
>>>
>>> Christian
>>>
>>>
>> Thanks for all the help, it looks like majoridiot is the go-to guy for
>> channel changing on this box. I downloaded and compiled his script, however
>> I'm still running into the same issue as stated above - it shows 2 devices
>> on my firewire bus and I don't know which is the STB:
>>
>> /sa4250_ch -v
>> node 0: vendor_id = 0x00001106 model_id = 0x00000000
>> node 1: vendor_id = 0x000022ce model_id = 0x000010cc
>> Could not find SA42XXHD on the 1394 bus!
>>
>
>
> I'd try the second one, since the 1st has an model_id of 0
>
>
>
> --
> Brad Fuller
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
> Just as a point of reference, I have a SA4250HDC running the old firewire
stack on Gentoo and I don't need any extra programs to change the channel.
I'm running .21 fixes compiled form source. When I start mythbackend it
does give me an error, something to the effect of, no channel changers
exist. But it works anyway.


chrisznews4 at rogers

May 11, 2009, 7:53 PM

Post #7 of 22 (4912 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

Matt Emmott wrote:
>
>
> Has anybody found a way to change the channel on this STB? I'm
> open to any option. Thanks in advance.
>
> Perhaps the following will help you...
>
> http://mythtv.org/pipermail/mythtv-users/2009-May/255029.html
>
>
> Thanks for all the help, it looks like majoridiot is the go-to guy for
> channel changing on this box.
He was, but I see it has evolved from there. In the link I gave you (and
follow it to http://ubuntuforums.org/showthread.php?t=756508) a person
named "grytpype" modified the script to accept node number and it also
fixes an issue with "scrambled channel digits" that is in the current
contrib. Grytpype's version works well for me.
> I downloaded and compiled his script, however I'm still running into
> the same issue as stated above - it shows 2 devices on my firewire bus
> and I don't know which is the STB:
>
> /sa4250_ch -v
> node 0: vendor_id = 0x00001106 model_id = 0x00000000
> node 1: vendor_id = 0x000022ce model_id = 0x000010cc
> Could not find SA42XXHD on the 1394 bus!
The one on node 1 looks close. I've seen model 10cc before but with a
different vendor_id. You will need to change the corresponding vendor_id
and model_id's in the code to get this to match.

What does "plugreport" show you?

Personally, I don't bother with the device checks any more because I am
using the GUID and converting it to a node number.

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


larryt at gmail

May 12, 2009, 3:38 PM

Post #8 of 22 (4884 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

On Mon, May 11, 2009 at 10:53 PM, Christian Szpilfogel <
chrisznews4 [at] rogers> wrote:

> Matt Emmott wrote:
>
>>
>>
>> Has anybody found a way to change the channel on this STB? I'm
>> open to any option. Thanks in advance.
>>
>> Perhaps the following will help you...
>>
>> http://mythtv.org/pipermail/mythtv-users/2009-May/255029.html
>>
>>
>> Thanks for all the help, it looks like majoridiot is the go-to guy for
>> channel changing on this box.
>>
> He was, but I see it has evolved from there. In the link I gave you (and
> follow it to http://ubuntuforums.org/showthread.php?t=756508) a person
> named "grytpype" modified the script to accept node number and it also fixes
> an issue with "scrambled channel digits" that is in the current contrib.
> Grytpype's version works well for me.
>
>> I downloaded and compiled his script, however I'm still running into the
>> same issue as stated above - it shows 2 devices on my firewire bus and I
>> don't know which is the STB:
>>
>> /sa4250_ch -v
>> node 0: vendor_id = 0x00001106 model_id = 0x00000000
>> node 1: vendor_id = 0x000022ce model_id = 0x000010cc
>> Could not find SA42XXHD on the 1394 bus!
>>
> The one on node 1 looks close. I've seen model 10cc before but with a
> different vendor_id. You will need to change the corresponding vendor_id and
> model_id's in the code to get this to match.
>
> What does "plugreport" show you?
>
> Personally, I don't bother with the device checks any more because I am
> using the GUID and converting it to a node number.
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

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.

If I could change channels, I could actually use firewire as a source.


chrisznews4 at rogers

May 12, 2009, 4:24 PM

Post #9 of 22 (4877 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

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
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


larryt at gmail

May 13, 2009, 5:24 PM

Post #10 of 22 (4838 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

On Tue, May 12, 2009 at 7:24 PM, Christian Szpilfogel <
chrisznews4 [at] rogers> 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
> 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.


memmott at gmail

Jun 1, 2009, 6:24 PM

Post #11 of 22 (4667 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

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

>
>
> On Tue, May 12, 2009 at 7:24 PM, Christian Szpilfogel <
> chrisznews4 [at] rogers> 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
>> 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
> 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
definition

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?


mikep at randomtraveller

Jun 2, 2009, 3:54 AM

Post #12 of 22 (4652 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

Matt Emmott wrote:
>
> /* 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 */
>
lines 3 and 4 define the same identifier (SA4250HD_VENDOR_ID1). You have to lose
line 3 before your compile will work.

--

Mike Perkins

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


memmott at gmail

Jun 2, 2009, 5:55 PM

Post #13 of 22 (4654 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

On Tue, Jun 2, 2009 at 6:54 AM, Mike Perkins
<mikep [at] randomtraveller>wrote:

> Matt Emmott wrote:
>
>>
>> /* 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 */
>>
>> lines 3 and 4 define the same identifier (SA4250HD_VENDOR_ID1). You have
> to lose line 3 before your compile will work.
>
> --
>
> Mike Perkins
>
>
>
Done and recompiled, still no luck. This is what I changed that section to:

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

And the script gives me the following:

matt [at] mythde:/usr/share/doc/mythtv-backend/contrib/channel_changers/sa4250hdc$
./sa4250_ch_new -v
node 0: vendor_id = 0x00001106 model_id = 0x00000000
Could not find SA42XXHD on the 1394 bus!
Try running again with -v and check source code for matching Vendor ID and
Model ID-
Add if necessary and recompile.


robert.mcnamara at gmail

Jun 2, 2009, 5:57 PM

Post #14 of 22 (4645 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

On Tue, Jun 2, 2009 at 5:55 PM, Matt Emmott <memmott [at] gmail> wrote:
> /* SA42xxHD IDs */
> #define SA4200HD_VENDOR_ID1     0x000014f8
> #define SA4200HD_MODEL_ID1      0x00001072
> #define SA4250HD_VENDOR_ID1     0x000022ce  /* jerkychew's stb */
> #define SA4250HD_MODEL_ID1      0x000010cc  /* jerkychew's stb */
>
> And the script gives me the following:
>
> matt [at] mythde:/usr/share/doc/mythtv-backend/contrib/channel_changers/sa4250hdc$
> ./sa4250_ch_new -v
> node 0: vendor_id = 0x00001106 model_id = 0x00000000

/* SA42xxHD IDs */
#define SA4200HD_VENDOR_ID1 0x000014f8
#define SA4200HD_MODEL_ID1 0x00001072
#define SA4250HD_VENDOR_ID1 0x00001106
#define SA4250HD_MODEL_ID1 0x00000000

Robert
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


memmott at gmail

Jun 3, 2009, 1:55 PM

Post #15 of 22 (4632 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

On Tue, Jun 2, 2009 at 8:57 PM, Robert McNamara
<robert.mcnamara [at] gmail>wrote:

> On Tue, Jun 2, 2009 at 5:55 PM, Matt Emmott <memmott [at] gmail> wrote:
> > /* SA42xxHD IDs */
> > #define SA4200HD_VENDOR_ID1 0x000014f8
> > #define SA4200HD_MODEL_ID1 0x00001072
> > #define SA4250HD_VENDOR_ID1 0x000022ce /* jerkychew's stb */
> > #define SA4250HD_MODEL_ID1 0x000010cc /* jerkychew's stb */
> >
> > And the script gives me the following:
> >
> > matt [at] mythde
> :/usr/share/doc/mythtv-backend/contrib/channel_changers/sa4250hdc$
> > ./sa4250_ch_new -v
> > node 0: vendor_id = 0x00001106 model_id = 0x00000000
>
> /* SA42xxHD IDs */
> #define SA4200HD_VENDOR_ID1 0x000014f8
> #define SA4200HD_MODEL_ID1 0x00001072
> #define SA4250HD_VENDOR_ID1 0x00001106
> #define SA4250HD_MODEL_ID1 0x00000000
>
> Robert
>

Many thanks for double-checking my settings, I guess I don't know how to
read! Sorry about that!

I'm at work so I can't tell if it actually did change the channel but I was
able to recompile and run the command without error!

matt [at] mythde:/usr/share/doc/mythtv-backend/contrib/channel_changers/sa4250hdc$
./sa4250_ch_new 786
Changing channel 786

I'll see how it works when I get home and if I need to use the
sa4250_ch_guid command or not, and will report back! Thanks!


memmott at gmail

Jun 3, 2009, 5:49 PM

Post #16 of 22 (4633 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

On Wed, Jun 3, 2009 at 4:55 PM, Matt Emmott <memmott [at] gmail> wrote:

>
>
> On Tue, Jun 2, 2009 at 8:57 PM, Robert McNamara <robert.mcnamara [at] gmail
> > wrote:
>
>> On Tue, Jun 2, 2009 at 5:55 PM, Matt Emmott <memmott [at] gmail> wrote:
>> > /* SA42xxHD IDs */
>> > #define SA4200HD_VENDOR_ID1 0x000014f8
>> > #define SA4200HD_MODEL_ID1 0x00001072
>> > #define SA4250HD_VENDOR_ID1 0x000022ce /* jerkychew's stb */
>> > #define SA4250HD_MODEL_ID1 0x000010cc /* jerkychew's stb */
>> >
>> > And the script gives me the following:
>> >
>> > matt [at] mythde
>> :/usr/share/doc/mythtv-backend/contrib/channel_changers/sa4250hdc$
>> > ./sa4250_ch_new -v
>> > node 0: vendor_id = 0x00001106 model_id = 0x00000000
>>
>> /* SA42xxHD IDs */
>> #define SA4200HD_VENDOR_ID1 0x000014f8
>> #define SA4200HD_MODEL_ID1 0x00001072
>> #define SA4250HD_VENDOR_ID1 0x00001106
>> #define SA4250HD_MODEL_ID1 0x00000000
>>
>> Robert
>>
>
> Many thanks for double-checking my settings, I guess I don't know how to
> read! Sorry about that!
>
> I'm at work so I can't tell if it actually did change the channel but I was
> able to recompile and run the command without error!
>
> matt [at] mythde:/usr/share/doc/mythtv-backend/contrib/channel_changers/sa4250hdc$
> ./sa4250_ch_new 786
> Changing channel 786
>
> I'll see how it works when I get home and if I need to use the
> sa4250_ch_guid command or not, and will report back! Thanks!
>

Everything _appears_ to be working but the box just isn't changing channels.
I'm able to plug a GUID from dmesg | grep 1394 into sa4250_ch_ guid like so,

matt [at] mythde:~$ sa4250_ch_guid 00110666000000b8 56
Changing channel 56

But the channel never changes. If I run the non GUID version verbosely I
get:

matt [at] mythde:~$ sa4250_ch_new -v 56
node 0: vendor_id = 0x00001106 model_id = 0x00000000
Device acquired on node 0
Changing channel 56
AV/C Command: cmd0=0x00487ce7 cmd1=0x04003800 cmd2=0xff000000

Again, with the channel never changing. I've tried powering everything down,
moving the cable to another firewire port and powering them back on (STB
first), with no result. Any ideas what to try next?


chrisznews4 at rogers

Jun 4, 2009, 5:36 PM

Post #17 of 22 (4621 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

Matt Emmott wrote:
>
>
> /* SA42xxHD IDs */
> #define SA4200HD_VENDOR_ID1 0x000014f8
> #define SA4200HD_MODEL_ID1 0x00001072
> #define SA4250HD_VENDOR_ID1 0x00001106
> #define SA4250HD_MODEL_ID1 0x00000000
>
> Robert
>
>
>
>
> Everything _appears_ to be working but the box just isn't changing
> channels. I'm able to plug a GUID from dmesg | grep 1394 into
> sa4250_ch_ guid like so,
>
> matt [at] mythde:~$ sa4250_ch_guid 00110666000000b8 56
> Changing channel 56
>
> But the channel never changes. If I run the non GUID version verbosely
> I get:
>
> matt [at] mythde:~$ sa4250_ch_new -v 56
> node 0: vendor_id = 0x00001106 model_id = 0x00000000
> Device acquired on node 0
> Changing channel 56
> AV/C Command: cmd0=0x00487ce7 cmd1=0x04003800 cmd2=0xff000000
>
> Again, with the channel never changing. I've tried powering everything
> down, moving the cable to another firewire port and powering them back
> on (STB first), with no result. Any ideas what to try next?
You are going to have to debug this lower down. I haven't seen these
vendor IDs on an SA4250 (not necessarily an issue) and the Model ID of 0
is unusual to me as well. Your thread however indicates you compiled
those values into the channel changer.

In an earlier email you found:
/sa4250_ch -v
node 0: vendor_id = 0x00001106 model_id = 0x00000000
node 1: vendor_id = 0x000022ce model_id = 0x000010cc

22ce IS a Scientific Atlanta box and 10cc is a model as well. Have you
tried this pair? Your thread suggests you did not.

I also asked you earlier for an output of plugreport and you did not do
this. Can you do this?

sa4250_ch_new also has a "-n" parameter so if you have the constants
correct then perhaps you want the following command:
sa4250_ch_new -n 1 -v 56


_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


bic1ster at gmail

Jun 10, 2009, 10:59 AM

Post #18 of 22 (4545 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

A while ago, I had problems too with SA4250 and posted on mythtv-users list
a new channel changer script. It is attached again.

Try it out.
Attachments: sa4250my.c (5.50 KB)


memmott at gmail

Jun 23, 2009, 4:32 PM

Post #19 of 22 (4416 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

On Thu, Jun 4, 2009 at 8:36 PM, Christian Szpilfogel <chrisznews4 [at] rogers
> wrote:

> Matt Emmott wrote:
>
>>
>>
>> /* SA42xxHD IDs */
>> #define SA4200HD_VENDOR_ID1 0x000014f8
>> #define SA4200HD_MODEL_ID1 0x00001072
>> #define SA4250HD_VENDOR_ID1 0x00001106
>> #define SA4250HD_MODEL_ID1 0x00000000
>>
>> Robert
>>
>>
>>
>>
>> Everything _appears_ to be working but the box just isn't changing
>> channels. I'm able to plug a GUID from dmesg | grep 1394 into sa4250_ch_
>> guid like so,
>>
>> matt [at] mythde:~$ sa4250_ch_guid 00110666000000b8 56
>> Changing channel 56
>>
>> But the channel never changes. If I run the non GUID version verbosely I
>> get:
>>
>> matt [at] mythde:~$ sa4250_ch_new -v 56
>> node 0: vendor_id = 0x00001106 model_id = 0x00000000
>> Device acquired on node 0
>> Changing channel 56
>> AV/C Command: cmd0=0x00487ce7 cmd1=0x04003800 cmd2=0xff000000
>>
>> Again, with the channel never changing. I've tried powering everything
>> down, moving the cable to another firewire port and powering them back on
>> (STB first), with no result. Any ideas what to try next?
>>
> You are going to have to debug this lower down. I haven't seen these vendor
> IDs on an SA4250 (not necessarily an issue) and the Model ID of 0 is unusual
> to me as well. Your thread however indicates you compiled those values into
> the channel changer.
>
> In an earlier email you found:
> /sa4250_ch -v
> node 0: vendor_id = 0x00001106 model_id = 0x00000000
> node 1: vendor_id = 0x000022ce model_id = 0x000010cc
>
> 22ce IS a Scientific Atlanta box and 10cc is a model as well. Have you
> tried this pair? Your thread suggests you did not.
>
> I also asked you earlier for an output of plugreport and you did not do
> this. Can you do this?
>
> sa4250_ch_new also has a "-n" parameter so if you have the constants
> correct then perhaps you want the following command:
> sa4250_ch_new -n 1 -v 56
>
>
Sorry for not providing plugreport sooner. Here it is:

matt [at] mythde:/usr/local/bin$ plugreport
Host Adapter 0
==============

Node 0 GUID 0x00110666000000b8
------------------------------
libiec61883 error: error reading oMPR
libiec61883 error: error reading iMPR

Node 1 GUID 0x0022ce14782e0000
------------------------------
oMPR n_plugs=1, data_rate=2, bcast_channel=63
oPCR[0] online=1, bcast_connection=0, n_p2p_connections=0
channel=0, data_rate=0, overhead_id=0, payload=146
iMPR n_plugs=0, data_rate=2

And attempting to change the channel with the -n switch gives me:

matt [at] mythde:/usr/local/bin$ ./sa4250_ch_new -n 0 -v 784
node 0: vendor_id = 0x00001106 model_id = 0x00000000
Device acquired on node 0
Changing channel 784
AV/C Command: cmd0=0x00487ce7 cmd1=0x04031000 cmd2=0xff000000

It looks like it works, but the channel never changes.


memmott at gmail

Jun 23, 2009, 4:59 PM

Post #20 of 22 (4425 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

On Thu, Jun 4, 2009 at 8:36 PM, Christian Szpilfogel <chrisznews4 [at] rogers
> wrote:

> You are going to have to debug this lower down. I haven't seen these vendor
> IDs on an SA4250 (not necessarily an issue) and the Model ID of 0 is unusual
> to me as well. Your thread however indicates you compiled those values into
> the channel changer.
>
> In an earlier email you found:
> /sa4250_ch -v
> node 0: vendor_id = 0x00001106 model_id = 0x00000000
> node 1: vendor_id = 0x000022ce model_id = 0x000010cc
>
> 22ce IS a Scientific Atlanta box and 10cc is a model as well. Have you
> tried this pair? Your thread suggests you did not.
>
> I also asked you earlier for an output of plugreport and you did not do
> this. Can you do this?
>
> sa4250_ch_new also has a "-n" parameter so if you have the constants
> correct then perhaps you want the following command:
> sa4250_ch_new -n 1 -v 56
>

Ok, one more update and please understand I have no idea what I'm doing:

I modified sa4250_ch_new.c and set up that section as follows:

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

I then compiled it using sudo gcc -o sa4250_ch_new sa4250_ch_new.c -lrom1394
-lavc1394 -lraw1394 and moved it to /usr/local/bin

I cd'ed to that directory and ran the following, with the following result:

matt [at] mythde:/usr/local/bin$ ./sa4250_ch_new -n 1 785
Changing channel 785
matt [at] mythde:/usr/local/bin$ ./sa4250_ch_new -v -n 1 785
node 1: vendor_id = 0x000022ce model_id = 0x000010cc
Device acquired on node 1
Changing channel 785
AV/C Command: cmd0=0x00487ce7 cmd1=0x04031100 cmd2=0xff000000

But it still never changes. Still out of ideas. I downloaded Scott
Bickford's script and will try to compile that.


chrisznews4 at rogers

Jun 30, 2009, 6:23 PM

Post #21 of 22 (4320 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

Matt Emmott wrote:
>
>
> On Thu, Jun 4, 2009 at 8:36 PM, Christian Szpilfogel
> <chrisznews4 [at] rogers <mailto:chrisznews4 [at] rogers>> wrote:
>
> You are going to have to debug this lower down. I haven't seen
> these vendor IDs on an SA4250 (not necessarily an issue) and the
> Model ID of 0 is unusual to me as well. Your thread however
> indicates you compiled those values into the channel changer.
>
> In an earlier email you found:
> /sa4250_ch -v
>
> node 0: vendor_id = 0x00001106 model_id = 0x00000000
> node 1: vendor_id = 0x000022ce model_id = 0x000010cc
>
> 22ce IS a Scientific Atlanta box and 10cc is a model as well. Have
> you tried this pair? Your thread suggests you did not.
>
> I also asked you earlier for an output of plugreport and you did
> not do this. Can you do this?
>
> sa4250_ch_new also has a "-n" parameter so if you have the
> constants correct then perhaps you want the following command:
> sa4250_ch_new -n 1 -v 56
>
>
> Ok, one more update and please understand I have no idea what I'm doing:
>
> I modified sa4250_ch_new.c and set up that section as follows:
>
> #define SA4200HD_VENDOR_ID1 0x000014f8
> #define SA4200HD_MODEL_ID1 0x00001072
> #define SA4250HD_VENDOR_ID1 0x000022ce /* jerkychew's stb */
> #define SA4250HD_MODEL_ID1 0x000010cc /* jerkychew's stb */
>
> I then compiled it using sudo gcc -o sa4250_ch_new sa4250_ch_new.c
> -lrom1394 -lavc1394 -lraw1394 and moved it to /usr/local/bin
>
> I cd'ed to that directory and ran the following, with the following
> result:
>
> matt [at] mythde:/usr/local/bin$ ./sa4250_ch_new -n 1 785
> Changing channel 785
> matt [at] mythde:/usr/local/bin$ ./sa4250_ch_new -v -n 1 785
> node 1: vendor_id = 0x000022ce model_id = 0x000010cc
> Device acquired on node 1
> Changing channel 785
> AV/C Command: cmd0=0x00487ce7 cmd1=0x04031100 cmd2=0xff000000
>
> But it still never changes. Still out of ideas. I downloaded Scott
> Bickford's script and will try to compile that.
Matt,
You appear to be doing this correctly now and selecting the correct box.
The output AV/C Command looks correct for your choice.

I think what is happening is your 4250HDC requires a key release after
the channel changing. Apparently some do.
Follow: http://ubuntuforums.org/showthread.php?t=712789 to the bottom of
the page and you will see bml137's comment and modification to the code
you are using.


You could also give a try to Majoridiot's newer universal changer. I
have not tried it but reading through his code, it looks comprehensive
and likely addresses this.
See: https://wiki.ubuntu.com/majoridiot

Christian

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


memmott at gmail

Jul 4, 2009, 9:04 AM

Post #22 of 22 (4266 views)
Permalink
Re: Is anybody able to change channels on a 4250HDC STB via firewire? [In reply to]

On Tue, Jun 30, 2009 at 9:23 PM, Christian Szpilfogel <
chrisznews4 [at] rogers> wrote:

> Matt,
> You appear to be doing this correctly now and selecting the correct box.
> The output AV/C Command looks correct for your choice.
>
> I think what is happening is your 4250HDC requires a key release after the
> channel changing. Apparently some do.
> Follow: http://ubuntuforums.org/showthread.php?t=712789 to the bottom of
> the page and you will see bml137's comment and modification to the code you
> are using.
>
>
> You could also give a try to Majoridiot's newer universal changer. I have
> not tried it but reading through his code, it looks comprehensive and likely
> addresses this.
> See: https://wiki.ubuntu.com/majoridiot
>
> Christian


Hooray! No, I mean HOORAYYYY!

Majoridiot's script works! I had to explicitly state the SA4250HDC alternate
option, but it changes channels! I change to channel 786, for example by
running mythchanger -c 786 -f 4

I'm not exactly sure how to format that in Myth's external channel changer
option, but it appears that my mythbox has lost its HD-PVR over the course
of recent trunk updates, so I'll need to get that fixed first.

Thank you for all the help! And a big thanks to majoridiot for his script!

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.