A while ago I actually got this combination to work. I re-did the whole setup once, so I wanted to put some details up here.
I must say the only pain I got was from the DishNetwork receivers. I got them to hand over two 301 receivers. They were pushing real hard for their own PVR which I did not want. So they actually charged me $5 extra everymonth because I had an extra receiver.
The OS
As you may know, I’m a big Gentoo fan so what else would I be running. Nothing special here, just compiled the kernel 2.6.15-gentoo-r1 with the following options (I also have a pcHDTV3000 in there, so some options are for that also).
Device Drivers->
Multimedia devices->
[*]Video For Linux
Video For Linux->
<*> BT848 Video For Linux
<*> Conexant 2388x (bt878 successor) support
<*> DVB/ATSC Support for cx2388x based TV cards
[*] Build all supported frontends for cx2388x based TV cards
<*> Add support for additional audio chipsets
<*> Add support for additional video chipsets
Digital Video Broadcasting Devices --->
[*] DVB For Linux
<*> DVB Core Support
<*> BT8xx based PCI cards
Here is my kernel config file if you need more details.
PVR-500
This is probably the simplist thing I had to do,
emerge ivtv ivtv-ptune
It gave me media-tv/ivtv-0.4.2 media-tv/ivtv-ptune-0.2.0_rc3. They still work out of the box.
If everything went Ok, you should have these two devices up and running.
/dev/v4l/video1
/dev/v4l/video2
Then I used ptune-ui.pl to adjust the input to S-Video. In MythTV-Setup when you add the Capture Card, add two cards both of type “MPEG2 Encoder card…”. Set the Video Device to each one of the above. Then set the Default Input to S-Video 0 for both cards. Nothing to it.
In the MythTV-Setup (4. Input) map your data feed to S-Video 0 on both cards. If you are not using S-Video, then all you have to do is select Tuner instead.
The IR-Blaster Pain
The hardware was simple, but getting the codes to work correctly with DishNetwork’s receivers was not cool. I’ll save you the trouble, go to this page to get the details. Follow the instructions to get mythtv-ledxmit working. Our only fix is for the multi-tuner-with-one-irblaster. So here goes.
After much trial and error and google searching, I got the perfect ledxmit.conf file. I set tuners in a stack, in the config file I created two remotes, TOP_TUNER and BOTTOM_TUNER. I think I set the top tuner to personality 9 and the bottom to 5. I honestly don’t remember. That just means you get to do some trial-and-error too
Next, I needed a script named /usr/local/bin/tune_dish_tuner that MythTV can use to change the channels. Here it is
#!/bin/sh
TS=`date +"%a %b %H:%M:%S"`
HN=`hostname`
echo "$TS $HN $TUNER_NAME: changing to channel $1" >> /var/log/ledxmitd.log
for digit in $(echo $1 | sed -e 's/./& /g'); do
/usr/local/lirc-ledxmit/bin/ledxmit-irsend SEND_ONCE $TUNER_NAME $digit
sleep 0.2
done
TS=`date +"%a %b %H:%M:%S"`
echo "$TS $HN $TUNER_NAME: sending select" >> /var/log/ledxmitd.log
/usr/local/lirc-ledxmit/bin/ledxmit-irsend SEND_ONCE $TUNER_NAME select
sleep 0.2
/usr/local/lirc-ledxmit/bin/ledxmit-irsend SEND_ONCE $TUNER_NAME cancel
It dumps logs to /var/log/ledxmitd.log just so you know what its doing.
Then I created two scripts also, one for each tuner that call tune_dish_tuner. Here is /usr/local/bin/top_tuner
#!/bin/bash
export PATH=/usr/local/bin:$PATH
export TUNER_NAME=TOP_TUNER
tune_dish_tuner $1
And the /usr/local/bin/bottom_tuner
#!/bin/bash
export PATH=/usr/local/bin:$PATH
export TUNER_NAME=BOTTOM_TUNER
tune_dish_tuner $1
I ordered the IR Blaster, its really a very simple thingy. It worked with no problems. But, with a single transmitter LED, it was a probem.
I had some very nice dual LED transmitters from an old Sony-T60 Tivo (the best Tivo).
So this was a no brainer, I solderd the Tivo LEDs to the IR Blaster and it worked like a charm. Here are the pics.







Changing the channels is slow and choppy, you will feel every digit as it’s being sent to the receiver and it sucks.
For a remote control, I used an IR keyboard I found at the office and a $19 learning remote. No lircd mess for me.
Well, that’s it, I hope this helps. I must say I switched over to plain non-digital cable and used the PVR-500 tuners instead, it works MUCH better. The only reason I wanted DishNetwork was because they had Bridges-TV and no one else did. But I couldn’t take it anymore.