Vdr error: vdr: no primary device found - using first device!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stefan Taferner wrote:

>On Saturday 09 April 2005 20:18, ElChef wrote:
>  
>
>>After compiling the vdr I try to run it, with this script:
>>#!/bin/sh
>># mi_vdr.sh
>># Ejecutar vdr
>># 09-04-2005
>>#
>>vdr --video=/var/spool/video \
>>    --epgfile=/var/spool/epg \
>>    --config=/etc/vdr \
>>    --lib=/usr/lib/vdr \
>>
>>linespa@LinEspa:~$ sh mi_vdr.sh
>>vdr: no primary device found - using first device!
>>
>>ARRRGGGG!!! I'M GETTING MAD!!!
>>I'm using Kernel 2.6.8.1
>>I have recompiled it to support the Nexus-S Sat Card following the
>>instructions of http://www.linuxtv.org/vdrwiki/index.php/DVB_installation
>>    
>>
>
>Use the dvb drivers from CVS.
>
>--Stefan
>
>_______________________________________________
>vdr mailing list
>vdr@xxxxxxxxxxx
>http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
>
>
>  
>
I have this same problem with Mandrake 10.1 official and kernel 2.6.8.1. 
It seems that udev rules are not detected correctly. Check if you dont 
have anything on /dev/dvb -folder. If you dont, then you should try 
thispatch to get it work. It helps for me and many other.

Tomi, Finland

makedvb.sh (SAVE THIS CODE TO MAKEDVB.SH)
 ./makedvb.sh (and RUN IT)

# This is the code that you have to save and run
#!/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

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




[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux