Philip Lawatsch wrote:
Larry McCourry wrote:System: New installation of slackware 10 (Oct. 8, 2004) Kernel 2.4.26I also built the VDR software and it appeared to build fine. When I run ../vdr from a
xwindow terminal I am finding that dvbdevice.c can't open /dev/dvb/adapter0/frontend0. It gets
ENODEV (I added some debugging printf's). I chmodded /dev/dvb/adapter0/* to 666.
Did you add the creation of the dvd devices in /dev to the make_extra_nodes.sh script of udev?
IIRC these are not created by the udev version of Slack 10 by default.
I have this in my make_extra_nodes.sh (in /etc/udev/scripts
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 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
Please not the the "212" may not apply to you. I'm using 2.6.8.1 and iirc older versions of the drivers used a different major number (just look at what major number your install script generates)
kind regards -ph-