View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 46 posts ] 
Go to page 1, 2, 3, 4  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Dec 08, 2009 6:28 pm 
Offline
Joined: Thu Sep 30, 2004 12:26 pm
Posts: 468
Location: Canada
So, I finally lost my standard cable and have to use a cable box.

Since I have to upgrade, I went HD, and have a cable box (Shaw DCT6416 III)

What card to I need in my machine so I can accept input and record with this?

_________________
"The amount of time needed to solve a problem is inversely proportionate to the complexity of the solution" -- Me

KM: R5.5
CPU: Athlon 3800+
Vid: nvidia 7300GT
Snd: Chaintech av-710
Tuner: PVR150
HD: 1000gb sata + 750gb sata + 500gb usb


Top
 Profile  
 
PostPosted: Tue Dec 08, 2009 7:34 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
Gibble wrote:
What card to I need in my machine so I can accept input and record with this?


Depends. If you want full reign over all channels, you probably want an HD-PVR (not a card, but a small toaster size box). If you want just locals plus whatever else you may find "in the clear" any supported clear QAM card should do you just fine. Or if you have firewire you can try see what you can get in the clear over that as well. I know you're in Canada (Hello friendly neighbor to the North) so I don't know what laws and regs Shaw has to follow regarding DRM access.

_________________
Mike
My Hardware Profile


Top
 Profile  
 
PostPosted: Tue Dec 08, 2009 7:58 pm 
Offline
Joined: Thu Apr 03, 2008 11:42 pm
Posts: 114
Location: Calgary, Canada
mihanson wrote:
I don't know what laws and regs Shaw has to follow regarding DRM access.

I'm also with Shaw, and I live in their home city, and I even worked for them for a short time, so I do. :) Quite simply, Shaw encrypts everything. I believe the CRTC ruled they must allow Firewire but they have been known to disable it anyhow... have only researched this a bit though and the info was conflicting. My Myth system doesn't have a firewire card and I'm unwilling to add one if it's going to be useless, plus I have a blaster anyhow.

Assuming you want HD recording in Myth the only real option is a Hauppauge HD PVR 1212, as mihanson says. It comes with a blaster to control the unit, but the problem for us is this is not quite supported in mainstream Linux yet. (There are driver patches available to do it, they're just in the approval phase.) Lots of info on this unit on these forums. I have one and can actually use it because I can blast using my HVR-1600's blaster until the onboard one is supported. However to use it right now you'd have to order a cheap (~$20US I think) serial blaster if your existing card doesn't have one.

BTW I must mention that the DCT6416 is an HD PVR unit, so technically speaking you don't actually need Myth. :) I hope you did not inadvertantly pay extra. (This is not at all certain... they've recently switched to a new model and might have been clearing out the 6416s cheap.)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 08, 2009 11:02 pm 
Offline
Joined: Thu Sep 30, 2004 12:26 pm
Posts: 468
Location: Canada
Compared to myth, the pvr is crap. I didn't pay a thing for it fortunately. Just an extra few dollars to get HD channels.

I really just want to use it as a tuner. If I can control the channel with firewire, and somehow capture the output, I'd be quite happy.

I have a couple machines with firewire. One I just installed linHES on to play around with, (my main machine is still km5.5). So, how would I determine if the firewire is enabled on the DCT6416?

_________________
"The amount of time needed to solve a problem is inversely proportionate to the complexity of the solution" -- Me

KM: R5.5
CPU: Athlon 3800+
Vid: nvidia 7300GT
Snd: Chaintech av-710
Tuner: PVR150
HD: 1000gb sata + 750gb sata + 500gb usb


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 09, 2009 12:07 am 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
Gibble wrote:
So, how would I determine if the firewire is enabled on the DCT6416?


It's likely buried in a service menu. You can google for your model with "service menu." Many Moto boxes can be powered off and then press either MENU or OK twice after power off (I forget which). If your Firewire (aka IEEE1394) is enabled here's some reading for ya:

http://www.mythtv.org/wiki/FireWire
http://www.mythtv.org/wiki/Firewire_Cable_Box_Compatibility
http://www.mythtv.org/wiki/Firewire_Priming

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 09, 2009 6:54 pm 
Offline
Joined: Thu Sep 30, 2004 12:26 pm
Posts: 468
Location: Canada
So it doesn't appear like firewire is disabled, when I hook it up to my Win7x64 box it sees it.

There are no valid drivers for it though, so I can't test what's possible.

...of course if I had Win7x32 I could find some... :roll:

*sigh*

So, now I'm under the premise that I *should* be able to control it from a linHES box.

So, first things first.

Code:
# plugreport

Host Adapter 0
==============

Node 0 GUID 0x0017eefffed38860
------------------------------
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=2, overhead_id=0, payload=376
iMPR n_plugs=0, data_rate=2

Node 1 GUID 0x0010dc000094b7f2
------------------------------
libiec61883 error: error reading oMPR
libiec61883 error: error reading iMPR


Next set Point2Point

Code:
# plugctl -n 0 "oPCR[0].n_p2p_connections=1"

Host Adapter 0
==============

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

Node 1 GUID 0x0010dc000094b7f2
------------------------------
libiec61883 error: error reading oMPR
libiec61883 error: error reading iMPR


UPDATE 2009-12-09 @ 720c
I got firewire tester
Code:
# wget "http://svn.mythtv.org/trac/browser/branches/release-0-20-fixes/mythtv/contrib/firewire_tester.c?format=txt" -O firewire_tester.c


Compiled it
Code:
# gcc -Wall -o firewire_tester firewire_tester.c -liec61883 -lraw1394


But it just hangs
Code:
# ./firewire_tester -p -P 0 -n 0 -r 5
Action: Test P2P connection 5 times, node 0, channel 0
P2P: Testing...


Even with the -B
Code:
# ./firewire_tester -B -n 0 -r 5 -v
raw1394: Allocating handle, port 0.
Action: Attempt to fix broadcast connection 5 times, node 0
Broadcast: Creating, node 0, channel 63
Broadcast: Testing...Failed
Broadcast: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...


Any thoughts?

_________________
"The amount of time needed to solve a problem is inversely proportionate to the complexity of the solution" -- Me

KM: R5.5
CPU: Athlon 3800+
Vid: nvidia 7300GT
Snd: Chaintech av-710
Tuner: PVR150
HD: 1000gb sata + 750gb sata + 500gb usb


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 09, 2009 10:48 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
THESE INSTRUCTIONS ARE NO LONGER VALID. SKIP DOWN TO MY JAN. 08, 2010 POST

Gibble wrote:
But it just hangs
Code:
# ./firewire_tester -p -P 0 -n 0 -r 5
Action: Test P2P connection 5 times, node 0, channel 0
P2P: Testing...


Even with the -B
Code:
# ./firewire_tester -B -n 0 -r 5 -v
raw1394: Allocating handle, port 0.
Action: Attempt to fix broadcast connection 5 times, node 0
Broadcast: Creating, node 0, channel 63
Broadcast: Testing...Failed
Broadcast: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...


Any thoughts?


LinHES' libiec61883 does not have some firewire testing/debugging apps installed. I have an open flyspray ticket on it. I have a package that should work here. You can install it with:
Code:
$ sudo pacman -U /local/path/to/libiec61883-1.2.0-3-i686.pkg.tar.gz
IIRC you probably have to run test-mpeg2 as root, kill it and then be able to run firewire_tester. The reason you may need to run it as root first is that it creates a directory /usr/bin/.libs which an unprivleged user cannot do. I also have a firewire_primer script which should work for that version of libiec61883. Compile 6200ch (in the mythtv contrib directory), change the GUID in firewire_primer.sh and remove the -4 option to 6200ch in firewire_primer.sh and you should be good. You may want to try scanfw in the linhes repos as well.

_________________
Mike
My Hardware Profile


Last edited by mihanson on Fri Jan 08, 2010 6:24 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 10, 2009 12:11 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
Shaw DCT3416 (all digital 6416) records and changes channel just fine with firewire. I receive all hd channels (work for them) so not sure what happens if you hit an encrypted one. I just set it up like any other tuner and it worked.

Craig


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 10, 2009 12:36 am 
Offline
Joined: Thu Apr 03, 2008 11:42 pm
Posts: 114
Location: Calgary, Canada
iscraigh wrote:
I receive all hd channels (work for them) so not sure what happens if you hit an encrypted one.


Encrypted just means you can't see it over coax... all the Digital-only stations fall into that category AFAIK. If you get them over firewire then the box is doing the decypting for you.

Gotta love that Shaw employee bundle deal eh? Giving that up was the hardest part of my decision to leave them. :)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 10, 2009 9:16 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
Music channels are not encrypted.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 10, 2009 6:36 pm 
Offline
Joined: Thu Sep 30, 2004 12:26 pm
Posts: 468
Location: Canada
mihanson wrote:
LinHES' libiec61883 does not have some firewire testing/debugging apps installed. I have an open flyspray ticket on it. I have a package that should work here. You can install it with:
Code:
$ sudo pacman -U /local/path/to/libiec61883-1.2.0-3-i686.pkg.tar.gz
IIRC you probably have to run test-mpeg2 as root, kill it and then be able to run firewire_tester. The reason you may need to run it as root first is that it creates a directory /usr/bin/.libs which an unprivleged user cannot do. I also have a firewire_primer script which should work for that version of libiec61883. Compile 6200ch (in the mythtv contrib directory), change the GUID in firewire_primer.sh and remove the -4 option to 6200ch in firewire_primer.sh and you should be good. You may want to try scanfw in the linhes repos as well.


Ok, I followed part of that.

I got your package and installed it with pacman.
I then recompiled firewire_primer.sh
Code:
 gcc -Wall -o firewire_tester firewire_tester.c -liec61883 -lraw1394


I made sure p2p was on
Code:
 plugctl -n 0 "oPCR[0].n_p2p_connections=1"


I ran and killed
Code:
 test-mpeg2 -r 0 > test.mpg


Then tried the tester again
Code:
[root@LinHES chadh]# ./firewire_tester -p -n 0 -r 5 -v
raw1394: Allocating handle, port 0.
Action: Test P2P connection 5 times, node 0, channel 0
P2P: Creating, node 0, channel 0
P2P: Testing...Failed
P2P: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Failed
P2P: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Failed
P2P: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Failed
P2P: Disconnecting.
P2P: Creating, node 0, channel 0
P2P: Testing...Failed
P2P: Disconnecting.
raw1394: Releasing handle.
[root@LinHES chadh]# plugreport
Host Adapter 0
==============

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

Node 1 GUID 0x0010dc000094b7f2
------------------------------
libiec61883 error: error reading oMPR
libiec61883 error: error reading iMPR


You lost me on this part
Quote:
I also have a firewire_primer script which should work for that version of libiec61883. Compile 6200ch (in the mythtv contrib directory), change the GUID in firewire_primer.sh and remove the -4 option to 6200ch in firewire_primer.sh and you should be good. You may want to try scanfw in the linhes repos as well.


I'm presuming I should download that firewire_primer.sh and compile it instead. What's this 6200ch thing? And change which GUID? What's scanfw?

_________________
"The amount of time needed to solve a problem is inversely proportionate to the complexity of the solution" -- Me

KM: R5.5
CPU: Athlon 3800+
Vid: nvidia 7300GT
Snd: Chaintech av-710
Tuner: PVR150
HD: 1000gb sata + 750gb sata + 500gb usb


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 10, 2009 11:48 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
Gibble wrote:
You lost me on this part
Quote:
I also have a firewire_primer script which should work for that version of libiec61883. Compile 6200ch (in the mythtv contrib directory), change the GUID in firewire_primer.sh and remove the -4 option to 6200ch in firewire_primer.sh and you should be good. You may want to try scanfw in the linhes repos as well.


I'm presuming I should download that firewire_primer.sh and compile it instead. What's this 6200ch thing? And change which GUID? What's scanfw?


Firewire_primer.sh is just a bash script. No need to compile. See the mythtv links earlier in this thread for what it does. 6200ch (which does need to be compiled) is the firewire channel changing script that mythtv ships with. Change the GUID variable near the top of firewire_primer.sh to match the GUID of your cable box. The GUID is in the output of plugreport. Looks like yours is:
Code:
0x0017eefffed38860
I also neglected to mention that you'll have to change the output location of the test file created in firewire_primer.sh. Look at lines 38, 41, 59, 67, 70 and 87. They should all be the same and point to a path on your system that exists. Scanfw is a piece of software that will scan your firewire output for unencrypted channels and report them to you. It's a slow process so you need to be patient with it. In LinHES it should be as simple as
Code:
$ sudo pacman -Sy scanfw
then check out the link to scanfw and skip down to "Preparing To Scan."

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 08, 2010 6:19 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
UPDATE JAN. 08, 2010

This update pertains to LinHES version R6.01 (inclusive) and below. My above instructions are no longer valid.

A new libiec61883 was pushed into the LinHES testing repos last week. This re-worked package places test-mpeg2 in /usr/bin and there is no need to run it as root first. That part should "just work." I have removed my custom package to avoid confusion.

Check your /etc/pacman.conf and add the core-testing repo AND comment out (#) the core repos. It should look like this:
Code:
[core-testing]
Server = http://knoppmyth.net/repo/i686/core-testing

#[core]
#Server = http://knoppmyth.net/repo/i686/core


Issue the following command:
Code:
$ sudo pacman -Sy libiec61883


If you originally had the core repos enabled by default, go back and comment out the core-testing and uncomment the core to get you back to where you started. If you had core-testing enabled by default ignore this step.

I have also re-posted my firewire_primer.sh bash script which you use as a channel changing script for your firewire device in mythtv-setup. It will still need to be edited for your own use. The following lines should be updated:

17: GUID
20: Remove the -4 option (This is a custom option I created for my cable service)
38, 41, 59, 67, 70 and 87: Location of temp file.

You can still use scanfw to find out what channels are in the clear and recordable over firewire.

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject: Almost there
PostPosted: Fri Nov 05, 2010 7:47 pm 
Offline
Joined: Wed Apr 12, 2006 11:28 am
Posts: 82
Location: Beverly Hills, Michigan
Hi There,

I have followed this script along. But after implementing the changes above, I get "Error opening jump program file buffer".

By change, have you ever seen this error?

_________________
Backend/Frontend
ASUS M4A78-EM w/8400GS 4G RAM pcHDTV 3000 + PVR500 (1045), 1TB, 250 & 320. Iguana IR USB (running R6)
Frontend_1
Asus M2NPV-VM - 1GB RAM - 40 GB Hard Disk - StreamZap
Frontend_2
Dragon 1.0 w/ 2G RAM - 40 GB Hard Disk StreamZap


Top
 Profile  
 
 Post subject: Re: Almost there
PostPosted: Sun Nov 07, 2010 8:24 am 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
falinskip wrote:
Hi There,

I have followed this script along. But after implementing the changes above, I get "Error opening jump program file buffer".

By change, have you ever seen this error?


I occasionally see this. Run scanfw to see if the channel you're tuning is "in the clear." Other than that, run the firewire_primer script from the command line and see if it errors somewhere.

_________________
Mike
My Hardware Profile


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 46 posts ] 
Go to page 1, 2, 3, 4  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu