Media PC
Whats Possible?



Myth TV Hulu / NetFlix Integration
Current Media PC Links
Picking A Distribution
Other Media PC How To Guides
http://computershopper.com/feature/building-the-250-linux-media-pc
Issues With Hardware and Software Support
- Make sure to purchase a MythTV LIRC Supported Remote
- Will an add-on PCI or PCI Express Firewire card work with MythTV; or, does the Firewire have to be embedded on a capture card or on the motherboard?
- Updating to Fedora 11 seems to be impossible until Mythdora comes out with the Fedora 11 version. This is due to the change in file system in Fedora 11 from ETX3 to ETX4 and the necessity to create a separate boot partition in ETX3 because Grub (the Fedora boot loader) does not support ETX4.
- Will the channels be coming through the Firewire or a separate online service?
- Will there be a Firewire port for various camera downloading and picture viewing on the front of the unit for easy access? How much will be spent on such a unit?
- Figure out why the wireless card is not working so that the system can access online content without needing ethernet.
Necessary Hardware for Media Functionality
- DVD / HD DVD / BlueRay Drive
- Firewire Card or Tuner Card
- Smart Media Bay
- Remote control
Linux Firewire Cable box supported Via Firewire cards
Wireless Configuration in Fedora/Mythdora 10
DVD Playback Support for Fedora 10
http://fedoraforum.org/forum/showthread.php?t=100206
Firewire Cable Box Compatability
Can’t watch live TV over firewire
Configuring firewire for MythTV Wiki
Firewire Priming
SA3250HD Primer
Primer Script for SA3250HD cable boxes written by jwestfall. Written for two boxes but works equally well on one box. Still can’t reliably record from two of these boxes but this will get them going. I put this in my /usr/bin directory and call it from the startup programs in the sessions application in Ubuntu and it works every time for me. Post something to the mailing list if you have problems getting it going.
#!/bin/bash
# sa3520_fixer.sh [-v]
#
# This should only be used prior to starting the back end. Using it as
# part of an external channel changer would be a bad idea since its doing
# a bus reset.
#
# jwestfall@surrealistic.net
# List of nodes to fix
NODES="0 1"
# The number of times to try and fix a node
ATTEMPTS=5
# The number of consecutive tests that must be successful
# for a node to be considered working
TESTS=5
# verify firewire_tester and plugctl are installed
if [ "`which firewire_tester`" = "" ]; then
echo "firewire_tester is required, but not found"
exit
fi
if [ "`which plugctl`" = "" ]; then
echo "plugctl is required, but not found"
exit
fi
# deal with -v commandline
VERBOSE="/dev/null"
if [ "$1" = "-v" ]; then
echo "verbose output enabled"
VERBOSE="/dev/stdout"
fi
# global failed variable for when the script exits
FAILED=0
# reset the firewire bus
# this should normalize all the plugs and reset n_p2p to 0
echo Resetting the Firewire bus
firewire_tester -R > $VERBOSE 2>&1
for NODE in $NODES;
do
TRY=0
SUCCESS=0
echo -n "Setting up node $NODE, ";
while [ "$TRY" -lt "$ATTEMPTS" -a "$SUCCESS" -ne "1" ];do
# tell stb to send data
plugctl -n $NODE oPCR[0].n_p2p_connections=1
# see if the stb is sending data
firewire_tester -p -n $NODE -r $TESTS > $VERBOSE 2>&1
if [ "$?" -eq "0" ];then
SUCCESS=1
else
# stop sending data
plugctl -n $NODE oPCR[0].n_p2p_connections=0
fi
let TRY+=1
done
if [ "$SUCCESS" -eq "1" ];then
echo "SUCCESS (after $TRY attempts)"
else
echo "FAILED"
FAILED=1
fi
done
exit $FAILED
List of Firewire Cards
| Manufacturer | Chipset # | Tuner Make and Model # | Comments |
|---|---|---|---|
| VIA Technologies | VT6306 | Motorola DCT6412 | Channel change and capture work, but require “priming” the port with p2p=1, channel=63, bcast=0 and a short capture with test-mpeg2 to get it started. Some channels don’t work (encrypted?). If firewire is replugged quickly, port can change to 0 or 1. Unsuccessful getting the second firewire port to work. |
| VIA Technologies (Asus onboard) | VT6306 | Motorola DCT6200 | Unable to get reliable channel changing or recording. Port number can change after physical resets. |
| NEC | D72874GC | Motorola DCT6412 | Capture would hang firewire subsystem. Required hard reset to get working again. |
| LSI / Agere Systems | FW323 (rev 61) | Motorola DCT6200 | Channel change is reliable. Capture is not. Seems that test-mpeg2 always works but sometimes data doesn’t start flowing until after myth’s timeout, resulting in missed recordings and flakey livetv.Similar setup – Attempted both P2P and Broadcast, same results – reliable channel changing, but very unreliable capture. Priming/soft reseting did not help – requires disconnecting the FireWire cable and physically resetting to get a reliable capture. |
| Creative Audigy | ??? (rev ?) | Motorola DCT6200 | Channel change and capture is reliable in broadcast mode if primed before running frontend. DCT6200 will occasionally “move” to node 1 instead of node 0 depending on poweron sequence.. A firewire_tester -R seems to reset it.Similar setup – P2P consistently unreliable. Priming/soft reseting did not help. Forced to use broadcast |
| LSI / Agere Systems | FW323 (rev 61) | Two Motorola DCT6200 daisy chained with broadcast | I use 6200ch (without the -s switch) to change the channel. It is generally reliable but fails silently (so the channel stays the same as the previous) once every 20-30 changes.With the following lines in /etc/rc.d/rc.local, FireWire connections other than the channel changing, as noted above, are 100% reliable. Note that both 6200ch and firewire_tester are in the doc/contrib directory of the tarball (or its equivalent in prepackaged binaries).
echo "Jumpstarting FireWire" /usr/local/bin/firewire_tester -v -b -n 1 # 'plugreport' says one box is on node 1 /usr/local/bin/firewire_tester -v -B -n 1 /usr/local/bin/firewire_tester -v -b -n 3 # The other is on node 3 /usr/local/bin/firewire_tester -v -B -n 3 |
| Texas Instruments TSB82AA2 IEEE-1394b Link Layer Controller & Creative Labs SB Audigy FireWire Port | (rev 01) TI & (rev 04) Audigy | Handles 6200, 3214, 6416 daisychained (Via P2P with seperate channels) | As above states firewire_tester I did not prefer it that much over my own script. I will see about getting it into the contrib as it does P2P vs bcast and seems far more reliable. As for being reliable I never missed a beat once I got my script done with either of the firewire controllers. However I am now in a area that has partial 5C. Now I use the external channel changer and hauppauge + firewire capture so it is no longer daisychain. |
| Adaptec PCI | NEC uPD72874 (rev 01) | Motorola DCT6200 | Works most of the time with a priming script, but not 100% reliable – sometimes it misses channel changes (using 6200ch), sometimes it times out before it’s able to recieve data. “Good enough” for live tv viewing, but not really stable enough to rely on for timed recordings (it will miss about 25% of them).Same computer, same setup, moved the PCI card to a different PCI slot, now is very stable, no priming script needed ~ |
| Adaptec PCI | NEC uPD72874 (rev 01) | 2xDCT6200 | These 2 DCT6200s are only stable doing broadcast connections. Requires using firewire_tester to stabilize the broadcast connection if the server or a STB is rebooted. Internal channel changer works 100% |
| LSI / Agere Systems | FW323 (rev 61) | 1xDCT6200 | This STB is stable with both P2P and broadcast connections. |
| Texas Instruments on an Intel DG33BU motherboard and Texas Instruments on a Gigabyte GA-G33-DS2R motherboard | TSB43AB22/A (Intel MB) and TSB43AB23 (Gigabyte MB) | Motorola DHC3200 | Capture works with by stabilizing with firewire_tester with both P2P (not completely reliable) and broadcast mode. Comcast SF Bay Area no channels were 5C’d initially, and now most premium channels (HBO, Encore, etc.) are encrypted as well as the local CBS affiliate (KPIX). |
| LSI / Agere Systems | FW323 (rev 61) | DCT6200&DCT6214 | STB is stable in P2P and broadcast. test-mpeg2 doesn’t work but “firewire_tester -n 0 -B” primes fine and channel changes are %100. |
| LSI / Agere Systems | FW323 (rev 05) | DCH3416 | Agere Systems |
| VIA Technologies | Not sure | DCH6200 | Linux 2.6.25.6. Works fine with broadcast only. STB from TimeWarnerCable San Diego. |
| VIA Technologies (Sunix PCI FW3010C) | VT6306 | Motorola DCT6416 | Linux 2.6.25.14-69. Works in broadcast mode only. |
| LSI / Agere Systems | FW323 (rev 04) | Motorola QIP7100-1 | Linux 2.6.27-9. Works for changing channels, not sure about video. |