[mythtv-users] Getting DVB Working

Per Åge Sørvik peraage at leneogperaage.com
Thu Oct 21 09:21:49 UTC 2004


Tom Denham wrote:

>Hi,
>I'm at my wits end trying to get my Nova-t DVB-t card working with mythtv.
>I'm running Mandrake 10.1 community and I've upgraded the kernel to
>2.6.9-rc4. I've patchde the kernel with the patch from the bytesex website.
>That all seems to be working but I don't have a /dev/dvb directory for
>DVB-apps to work with. I've attached a lspci and lsmod readout and would be
>eternally grateful if someone could give me some pointer on how to proceed.
>
>  
>
Try this (from dvb-driver):

        echo "Inserting DVB modules into kernel"
        # make sure input stuff is there for IR remote controls
        modprobe input
        modprobe evdev
        # vide4linux for av7110 based "full featured" cards
        modprobe videodev
        modprobe v4l1-compat
        modprobe v4l2-common
        modprobe video-buf
        # DVB core
        modprobe dvb-core
        # frontend drivers
        modprobe ves1x93
        modprobe alps_tdlb7
        modprobe alps_tdmb7
        modprobe stv0299
        modprobe ves1820
        modprobe tda1004x
        modprobe grundig_29504-401
        modprobe grundig_29504-491
        modprobe cx24110
        modprobe mt312
        # saa7146 based siemens/technotrend/hauppauge cards
        modprobe saa7146
        modprobe saa7146_vv
        modprobe ttpci-eeprom
        modprobe dvb-ttpci
        modprobe budget-core
        modprobe budget
        modprobe budget-ci
        modprobe budget-av
        # technisat skystar2
        modprobe skystar2.ko
        echo


#!/bin/sh
# Create device nodes for the Linux DVB API with DVB_API_VERSION 2.
# The devices created are suitable for most current PC DVB cards,
# i.e. cards having one frontend, one demux and optionally one
# MPEG decoder.
# The script creates devices for four cards by default.

if [ -e /dev/.devfsd ]; then
        echo "It seems you are using devfs. Good!"
        exit 0
fi

# get rid of old DVB API devices; do it twice for good measure...
rm -rf /dev/ost
rm -rf /dev/ost
rm -rf /dev/dvb
rm -rf /dev/dvb

mkdir /dev/dvb
chmod 755 /dev/dvb

for i in `seq 0 3`; do
        echo "Creating DVB devices in /dev/dvb/adapter$i"
        mkdir /dev/dvb/adapter$i
        chmod 755 /dev/dvb/adapter$i
        mknod -m 0660 /dev/dvb/adapter$i/video0    c 250   `expr 64 \* 
$i + 0`
        mknod -m 0660 /dev/dvb/adapter$i/audio0    c 250   `expr 64 \* 
$i + 1`
        mknod -m 0660 /dev/dvb/adapter$i/frontend0 c 250   `expr 64 \* 
$i + 3`
        mknod -m 0660 /dev/dvb/adapter$i/demux0    c 250   `expr 64 \* 
$i + 4`
        mknod -m 0660 /dev/dvb/adapter$i/dvr0      c 250   `expr 64 \* 
$i + 5`
        mknod -m 0660 /dev/dvb/adapter$i/ca0       c 250   `expr 64 \* 
$i + 6`
        mknod -m 0660 /dev/dvb/adapter$i/net0      c 250   `expr 64 \* 
$i + 7`
        mknod -m 0660 /dev/dvb/adapter$i/osd0      c 250   `expr 64 \* 
$i + 8`
        chown root.video /dev/dvb/adapter$i/*
done

-- 

peraage


More information about the mythtv-users mailing list