Mailing List archive

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

[linux-dvb] First attempt with Nebula DigiTV card



I've bought a Nebula DigiTV card, which several suppliers said works with Linux.

I've just downloaded, configured, installed and am running kernel 2.4.23,
with Video4Linux and input events enabled.

No luck so far though.  Here's a list of the problems I've encountered tonight.
Since this is all new ground for me, I suspect I have something very
basic wrong.  All the same, I spotted and fixed a few small errors in
the linuxtv-dvb-1.0.1 release that I hope may help in a small way.

Prob 1
------

Instructions (linuxtv-dvb-1.0.1/INSTALL) say:

- Login as root, change to the directory DVB and type "make".
  This will build the drivers and all utility and test programs.

But there is no DVB directory:

[root@posh linuxtv-dvb-1.0.1]# ls
BUGS   CONTRIBUTORS  FAQ      Makefile  README  doc     include
CARDS  COPYING       INSTALL  NEWS      apps    driver

You may laugh, but it took me an hour to realise I should just make from the
top-level linuxtv-dvb-1.0.1 directory.

Prob 2
------

I made in drivers/, and got this error doing make insmod:

make[1]: Entering directory `/home/luke/linux/dvtv/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 `/home/luke/linux/dvtv/linuxtv-dvb-1.0.1/driver/frontends'
make[1]: Entering directory `/home/luke/linux/dvtv/linuxtv-dvb-1.0.1/driver/av7110'
insmod input; \
insmod evdev; \
insmod dvb-ttpci.o;
Using /lib/modules/2.4.23-lk/kernel/drivers/input/input.o
Using /lib/modules/2.4.23-lk/kernel/drivers/input/evdev.o
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 `/home/luke/linux/dvtv/linuxtv-dvb-1.0.1/driver/av7110'
make[1]: Entering directory `/home/luke/linux/dvtv/linuxtv-dvb-1.0.1/driver/b2c2'
insmod skystar2.o;
skystar2.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

I found that dvb-ttpci.o does exist, in driver/av7110/

Presumably this means that the Nebula DigiTV card is not driven by the
dvb-ttpci driver?

I wonder how I find out what the right card type is?  lspci -v shows:

02:04.0 Multimedia video controller: Brooktree Corporation Bt878 (rev 11)
        Subsystem: Unknown device 0071:0101
        Flags: bus master, medium devsel, latency 32, IRQ 16
        Memory at ea000000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2

02:04.1 Multimedia controller: Brooktree Corporation Bt878 (rev 11)
        Subsystem: Unknown device 0071:0101
        Flags: bus master, medium devsel, latency 32, IRQ 16
        Memory at ea001000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2

After trying the insmod, lsmod shows me these modules loaded:

Module                  Size  Used by    Not tainted
evdev                   5120   0 
input                   5184   0  [evdev]
mt312                   6688   0  (unused)
tda1004x               10212   0  (unused)
ves1820                 5540   0  (unused)
stv0299                 8032   0  (unused)
grundig_29504-491       4448   0  (unused)
grundig_29504-401       4832   0  (unused)
alps_tdlb7              4740   0  (unused)
alps_tdmb7              4448   0  (unused)
alps_bsrv2              4544   0  (unused)
dvb-core               47012   0  [mt312 tda1004x ves1820 stv0299 grundig_29504-491 grundig_29504-401 alps_tdlb7 alps_tdmb7 alps_bsrv2]
bttv                   99968   1  (initializing)
i2c-algo-bit            8204   1  [bttv]
i2c-core               17024   0  [bttv i2c-algo-bit]
videodev                7872   0  [bttv]
es1371                 28000   0  (autoclean)
ac97_codec             14944   0  (autoclean) [es1371]
soundcore               5604   4  (autoclean) [bttv es1371]
nfsd                   75520   8  (autoclean)
parport_pc             21480   1  (autoclean)
lp                      7744   1  (autoclean)
parport                30816   1  (autoclean) [parport_pc lp]
autofs                 11076   0  (autoclean) (unused)
nfs                    72284   2  (autoclean)
lockd                  55232   1  (autoclean) [nfsd nfs]
sunrpc                 75380   1  (autoclean) [nfsd nfs lockd]
8139too                13856   1 
mii                     3460   0  [8139too]
ne2k-pci                5728   0  (unused)
8390                    7848   0  [ne2k-pci]
crc32                   3592   0  [8139too 8390]
ipchains               46888  13 
nls_iso8859-1           3488   2  (autoclean)
nls_cp437               5120   2  (autoclean)
vfat                   11580   2  (autoclean)
fat                    35128   0  (autoclean) [vfat]
usb-uhci               24452   0  (unused)
usbcore                70144   1  [usb-uhci]

BTW, 4 hours latter, bttv still shows up as (initializing).  Is that a
worry?

Poking about under /dev, I see that /dev/video exists, and contains these
devices, but dated from Oct 2002:

	em8300  em8300_ma  em8300_mv  em8300_sp

I have no idea what that relates to, actually (DVD drive?), or what modules
I should be using.  Any advice on how one is supposed to discover that, would
be welcome!


Prob 3
------

Easily fixed:

------------ Sun Nov 30 20:45:22 EST 2003 -- make (in dvbdate) --------
gcc -g -O2 -MD -Wall -I. -I../../include -c dvbdate.c -o dvbdate.o
dvbdate.c: In function `main':
dvbdate.c:303: parse error before `int'
dvbdate.c:316: `ret' undeclared (first use in this function)
dvbdate.c:316: (Each undeclared identifier is reported only once
dvbdate.c:316: for each function it appears in.)
make: *** [dvbdate.o] Error 1
------------ Sun Nov 30 20:45:22 EST 2003 -- done -- made (in dvbdate) ---------

Line 303 is using C++ syntax, not C.  Declaration of ret needs to be moved
up to 297.

Prob 4
------

Tried compiling dvbstream.  Discovered that it assumes it is sitting in
a directory alongside one called DVB (not called linuxtv-dvb-1.0.1).
I made an appropriate symlink and was able to compile dvbstream.

Prob 5
------

Easily fixed:

Tried out the suggested dvbstream test command (note that dvbstream
doesn't have a make install - you have to set your PATH to . or manually
copy relevant files to /usr/local/bin or whatever):

$ dumprtp | ts2ps vpid apid | mplayer -cache 4096 -
 Rtp dump
 Using 224.0.1.2:5004
 bash: ts2ps: command not found

Where does ts2ps come from, and what is it?


Prob 6
------

Still testing using dvbstream, tried this suggested command:

$ dvbstream -f 12441 -p v -s 27500 -v 512 -a 660
 dvbstream v0.4pre3 - (C) Dave Chapman 2001
 Released under the GPL.
 Latest version available from http://www.linuxstb.org/
 FRONTEND DEVICE: : No such file or directory
 FE_GET_INFO: : Bad file descriptor

At this stage I'll give up for tonight.  I see from
http://boggle.org/writing/dvb-pvr.shtml under testing, it mentions
that:

    Exactly which modules you'll need will depend on which card you've
    got. In my case, I have to load the following: videodev dvb-core
    tda1004x input evdev dvb-ttpci. With these loaded, you should now
    have a /dev/dvb/adaptor0/ directory -- assuming you're using devfs,
    which you should be if you're running Gentoo.

Since I have no idea what modules I should be installing for this card, or
what devices should appear in /dev, I guess I'll need to do a lot more
background reading to nut this out.

In the meantime, of course, any advice is welcome!

Regards all,

luke



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



Home | Main Index | Thread Index