Mailing List archive

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

[linux-dvb] Re: Linux DVB driver install howto



Paul and Guido,

Thanks for you help, I found the kernel sources on the magazine
DVD that Mandrake 9.1 was installed from (saves a 35MB V.90
download...). I got the drivers built ok but when I try to install it
with make insmod I get an error. Looking at the output of dmesg
it seems that it has detected the SkyStar 2 card fine but then
bombs for some reason.

It looks like it is very nearly working, any hints as to how to
complete it would be gladly received.

Tim.


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

make insmod output:

[root@Linux driver]# make insmod
/lib/modules/2.4.21-0.13mdk/build/scripts/pathdown.sh: line 4: TOPDIR: parameter null or not set
DIR=`pwd`; (cd /lib/modules/2.4.21-0.13mdk/build; make SUBDIRS=$DIR modules)
make[1]: Entering directory `/usr/src/linux-2.4.21-0.13mdk'
make -C /root/linuxtv-dvb-1.0.1/driver CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.21-0.13mdk/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.21-0.13mdk/include/linux/modversions.h" MAKING_MODULES=1 modules
make[2]: Entering directory `/root/linuxtv-dvb-1.0.1/driver'
ld -m elf_i386 -r -o dvb-core.o dmxdev.o dvb_demux.o dvb_net.o dvb_i2c.o dvb_filter.o dvb_frontend.o dvbdev.o compat.o dvb_ksyms.o
make -C av7110 modules
make[3]: Entering directory `/root/linuxtv-dvb-1.0.1/driver/av7110'
ld -m elf_i386 -r -o dvb-ttpci.o saa7146_core.o saa7146_v4l.o av7110.o av7110_ir.o ttpci_eeprom.o
make[3]: Leaving directory `/root/linuxtv-dvb-1.0.1/driver/av7110'
make -C b2c2 modules
make[3]: Entering directory `/root/linuxtv-dvb-1.0.1/driver/b2c2'
make[3]: Nothing to be done for `modules'.
make[3]: Leaving directory `/root/linuxtv-dvb-1.0.1/driver/b2c2'
make -C frontends modules
make[3]: Entering directory `/root/linuxtv-dvb-1.0.1/driver/frontends'
make[3]: Nothing to be done for `modules'.
make[3]: Leaving directory `/root/linuxtv-dvb-1.0.1/driver/frontends'
make[2]: Leaving directory `/root/linuxtv-dvb-1.0.1/driver'
make[1]: Leaving directory `/usr/src/linux-2.4.21-0.13mdk'

sync
( \
insmod videodev; \
\
insmod dvb-core.o dvb_shutdown_timeout=0; \
make -C frontends insmod; \
make -C av7110 insmod; make -C b2c2 insmod; \
)
Using /lib/modules/2.4.21-0.13mdk/kernel/drivers/media/video/videodev.o.gz
make[1]: Entering directory `/root/linuxtv-dvb-1.0.1/driver/frontends'
insmod alps_bsrv2.o; insmod alps_tdmb7.o; insmod alps_tdlb7.o; insmod grundig_29504-401.o; insmod grundig_29504-491.o; insmod stv0299.o; insmod ves1820.o; insmod tda1004x.o; insmod mt312.o;
make[1]: Leaving directory `/root/linuxtv-dvb-1.0.1/driver/frontends'
make[1]: Entering directory `/root/linuxtv-dvb-1.0.1/driver/av7110'
insmod input; \
insmod evdev; \
insmod dvb-ttpci.o;
Using /lib/modules/2.4.21-0.13mdk/kernel/drivers/input/input.o.gz
Using /lib/modules/2.4.21-0.13mdk/kernel/drivers/input/evdev.o.gz
dvb-ttpci.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
make[1]: *** [insmod] Error 1
make[1]: Leaving directory `/root/linuxtv-dvb-1.0.1/driver/av7110'
make[1]: Entering directory `/root/linuxtv-dvb-1.0.1/driver/b2c2'
insmod skystar2.o;
make[1]: Leaving directory `/root/linuxtv-dvb-1.0.1/driver/b2c2'
sync
[root@Linux driver]#


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

dmesg output:

Linux video capture interface: v1.00

Technisat SkyStar2 driver loading
PCI: Found IRQ 5 for device 00:0b.0
skystar2.c: FlexCopII(rev.130) chip found
skystar2.c: MAC address = 00:d0:d7:01:16:8f:00:00
skystar2.c: key =
b2 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
DVB: registering new adapter (PCI device 13d0:2103 (Techsan Electronics Co Ltd)).
mt312_read: ret == -121


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

scan -c output:

[root@Linux scan]# ./scan -c
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
main:1768: FATAL: failed to open '/dev/dvb/adapter0/frontend0': 2 No such file or directory
[root@Linux scan]# ls /dev/dvb/adapter0/
demux0 dvr0 net0
[root@Linux scan]#


On 31 Dec 2003, at 10:43, Paul Woodward wrote:

Hi Tim,

I'm a mandrake user as well. I believe there was insufficient room on the CD to include the kernel source. I got mine from ftp://mirror.ac.uk/pub/Mandrake_Linux

The source for your kernel may be in the Mandrake-devel or Mandrake folders depending if you have upgraded the kernel. Just download the kernel-source rpm with the correct version and install it.

Then (from memory) I believe you have to modify the DVB driver kernel path to point to the kernel source. Do make in the root of the DVB folder (if you did a CVS checkout) of linuxtv... if you used the tarball. Then do a make in the drivers folder. Do a make insmod to install the drivers as modules. All as per the instructions.

I believe that work on the separate drivers has ceased and all effort is going into the dvb-kernel.

I have built the latest kernel 2.6.0 and linked the dvb-kernel in and it works fine with my Nova-t, not yet worked out how to get my AverTV DVB working. It's not too hard to get going.

Paul

Hi,

In addition to my previous post I should add that simply following the
instructions in the INSTALL file gave these results:

[root@Linux linuxtv-dvb-1.0.1]# make
cat: CVS/Root: No such file or directory
(cd driver; make)
make[1]: Entering directory `/root/linuxtv-dvb-1.0.1/driver'
Makefile:102: /lib/modules/2.4.21-0.13mdk/build/Rules.make: No such
file or directory
make[1]: *** No rule to make target
`/lib/modules/2.4.21-0.13mdk/build/Rules.make'.  Stop.
make[1]: Leaving directory `/root/linuxtv-dvb-1.0.1/driver'
make: *** [dvb] Error 2
[root@Linux linuxtv-dvb-1.0.1]#

Regards,

Tim.


Hi,

I'm a one-time Unix geek who last built a kernel under Sunos 4.1.3
10 years ago and coming from MacOS X I need a helping hand.
The linuxtv-dvb-1.0.1 driver readme says that you must have the
source for the kernel, I am running Mandrake 9.1, where can I get this?
Is there an installation procedure for dummies or do you have to be
a Linux expert to get DVB working? Is there and "easy install"
procedure
or does the driver need to be statically linked into the kernel. I've
never built a Linux kernel you see, even for installing drivers for my
other peripherals. Any direction as to how to get this driver
installed,
or where to go to find out how to, would be gratefully received.

BTW the card I have is a SkyStar 2, and the PC is a 500MHz PIII,
will the PC be up to the job?

Regards,

Tim.



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.




--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index