[mythtv-users] Firewire source and channel changer
Donald Oakes
donald at oakesville.com
Tue Oct 25 21:40:20 EDT 2005
I have a very similar setup with firewire and an HD3000 capture card.
Try the attached patch in conjunction with the plugctl commands and the
instructions here:
http://www.gossamer-threads.com/lists/mythtv/dev/151001?search_string=debugging%20unreliable%20dct-6200;#151001
It's working pretty near 100% for me. The only time things get messed
up (forcing me to reboot my backend) is when I accidentally try to
capture via firewire on a premium (Non-OTA Digital) channel that Comcast
doesn't stream over firewire. My zap2it lineups prevent this from
happening most of the time since I don't include these channels in the
firewire configuration. However, sometimes I mistakenly try to watch
live TV via firewire on one of these channels. Rebooting the backend
reliably fixes this until I space it out again.
- Don
Brian C. Huffman wrote:
>All,
>
>Is there anyone that is successfully using Firewire as both a source as
>well as a method to change channels on the DCT6200 (using another
>source).
>
>I'm trying to setup Firewire to handle the analog channels and then use
>a PVR-250 w/ the 6200ch contributed program to change channels on the
>other source. I've setup two different lineups in zap2it and that part
>is working as it should.
>
>However, I have spent hours troubleshooting and trying different
>combinations of point to point vs. broadcast and I can't get both to
>work reliably. Somtimes the firewire works great by itself - meaning I
>can enter and exit liveTV repeatedly and flawlessly and sometimes it
>doesn't. Sometimes I can use LiveTV in the Firewire and then switch
>back and forth to the other input and change channel using 6200ch, but
>at most, I've been able to make this flip-flop about 4 times before the
>firewire stops working.
>
>When this happens, sometimes I'm able to stop mythbackend, unload all
>*1394* modules, reload the modules, and then start mythbackend and it
>will work again. Sometimes not. This is one of the most finicky and
>unpredictable things that I think I've ever worked with.
>
>FYI - I've experimented w/ the options mentioned in another email:
>
>
>
>>plugctl -n 1 opcr[0].channel=63
>>plugctl -n 1 opcr[0].bcast_connection=1
>>
>>
>
>or:
>
>
>>plugctl -n 1 opcr[0].n_p2p_connections=1
>>
>>
>
>Neither one *completely* fixes my problem. I've gotten either of these
>(with some fiddling) to get the firewire source to work
>predictably....until I bring the other source w/ the 6200ch binary into
>the equation - then it goes to crap again. :-(
>
>Any advice would be appreciated.
>
>Thanks,
>Brian
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
-------------- next part --------------
Index: firewirerecorder.cpp
===================================================================
--- firewirerecorder.cpp (revision 7560)
+++ firewirerecorder.cpp (working copy)
@@ -103,7 +103,6 @@
}
isopen = true;
- fwfd = raw1394_get_fd(fwhandle);
return true;
}
@@ -144,6 +143,8 @@
_request_recording = true;
_recording = true;
+ fwfd = raw1394_get_fd(fwhandle);
+
iec61883_mpeg2_recv_start(fwmpeg,fwchannel);
lastpacket = time(NULL);
while(_request_recording) {
More information about the mythtv-users
mailing list