Jump to content

DVB drivers of Kernel 2.6.8.1-12 MDK


josk
 Share

Recommended Posts

:angry: If someone cannot get dvb drivers of kernel to work u shoud know that:

 

Official 2.6.8 kernel coming with Mandrake 10.1 does not has new enough dvb drivers, but their 2.6.7 multimedia kernel in contrib has newer dvb drivers which are correctly detected by the udev rules.

 

To get it work with 2.6.8.1-12mdk Kernel you have to run this patch or use 2.6.7 multimediia kernel.

 

My card: Technotrend DVB-C Premium 2.1 (Hauppauge clone)

 

-josk

 

----------------------------------

 

makedvb.sh <- SAVE AS bottom code

 

#!/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

 

 

 

# Changed device major number from 250 to 212

mknod -m 0660 /dev/dvb/adapter$i/video0 c 212 `expr 64 \* $i + 0`

mknod -m 0660 /dev/dvb/adapter$i/audio0 c 212 `expr 64 \* $i + 1`

mknod -m 0660 /dev/dvb/adapter$i/frontend0 c 212 `expr 64 \* $i + 3`

mknod -m 0660 /dev/dvb/adapter$i/demux0 c 212 `expr 64 \* $i + 4`

mknod -m 0660 /dev/dvb/adapter$i/dvr0 c 212 `expr 64 \* $i + 5`

mknod -m 0660 /dev/dvb/adapter$i/ca0 c 212 `expr 64 \* $i + 6`

mknod -m 0660 /dev/dvb/adapter$i/net0 c 212 `expr 64 \* $i + 7`

mknod -m 0660 /dev/dvb/adapter$i/osd0 c 212 `expr 64 \* $i + 8`

chown root:video /dev/dvb/adapter$i/*

done

Edited by josk
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...