dmoo1790 at ihug
Sep 1, 2011, 9:49 PM
Post #24 of 25
On 01/09/11 21:25, Roger Searle wrote:
> On 29/08/11 9:49 AM, Hadley Rich wrote:
>> I installed the HVR-2200 last night. On my Ubuntu 10.04 system all that
>> was needed was the firmware and a modprobe options file to set the card
>> All up and running easily in tvheadend. I haven't attempted to delve
>> into the depths of myth configuration yet - not sure if I want to yet.
> Being on the verge of purchasing a DVB-T card for a mythtv box, I'm very
> interested to hear of your experience with this card should you do so,
> or if anyone else has one of these working in mythtv? And, are you
> suggesting that myth config is far from a simple "it just works"?
I think there's quite a few of us running the HVR-2200. I've had mine
for over a year with no real probs. One thing you may need to do is edit
the /etc/init/mythtv-backend.conf upstart job which starts mythbackend
so that mythbackend waits until the firmware is downloaded to both
tuners. I've been running a version with the following mods to delay
#added to ensure that the DVB-T cards are init before myth
while [ ! -c /dev/dvb/adapter0/frontend0 ] || [ ! -c
/dev/dvb/adapter1/frontend0 ]; do
echo "`date +%F\ %T` Mythtv-backend Upstart: DVB-T
devices are not yet registered. Waiting 1 second then trying again..."
echo "`date +%F\ %T` Mythtv-backend Upstart: DVB-T devices are
now registered. Starting mythbackend" >> $LOG_FILE
Today I decided that it would be nicer to use upstart and udev to decide
when to start mythbackend so I wrote a 2 line
/etc/udev/rules.d/dvb.rules file to emit a custom "tuner-add" event with
a variable "CARD_NO" set to the adapter number:
SUBSYSTEM=="dvb", KERNEL=="dvb0.frontend0", ACTION=="add",
RUN+="/sbin/initctl --quiet emit --no-wait tuner-add CARD_NO=0"
SUBSYSTEM=="dvb", KERNEL=="dvb1.frontend0", ACTION=="add",
RUN+="/sbin/initctl --quiet emit --no-wait tuner-add CARD_NO=1"
Then I commented out all the original delay stuff added to
/etc/init/mythtv-backend.conf and changed the start conditions to:
start on (local-filesystems and net-device-up IFACE=lo and tuner-add
CARD_NO=0 and tuner-add CARD_NO=1)
Seems to work but very new so no guarantees. I'm running 0.23+fixes.
mythtvnz mailing list
mythtvnz [at] lists