Mailing List archive

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

[linux-dvb] Re: Trying to get Nexus card running




Anders wrote:
I'm running slackware 10, kernel 2.4.26 and a Nexus-S DVB card.
This hardware works under Windows 2000.

I installed (I think) the wrong driver. I used
ftp://ftp.cadsoft.de/vdr/linux-dvb.2003-11-08.tar.bz2 because I was
trying to run
VDR from ftp://ftp.cadsoft.de/vdr/vdr-1.2.6.tar.bz2. Everything seemed
to build ok but
I couldn't get vdr to open /dev/dvb/adapter0/frontend0. So I thought
that I'd try
this driver:
http://www.linuxtv.org/download/dvb/linuxtv-dvb-1.1.1.tar.bz2.
I also downloaded:
http://www.linuxtv.org/download/dvb/linuxtv-dvb-apps-1.1.0.tar.bz2

Here's what I did to install the driver:

1. had to go into /lib/modules/2.4.26 and delete all of the old driver
.o files
   to keep them from loading every time I rebooted.
2. rebooted
3. lsmod showed that the drivers were permanently removed.
4. downloaded linuxtv-dvb-1.1.1.tar.bz2
5. downloaded dvb-ttpci-01.fw.261x (3 files) and put them in the
./build-2.4 directory.
5. cd ..../linuxtv-dvb-1.1.1
6. copied dvb-ttpci-01.fw-261c to dvb-ttpci-01.fw

7. make clean
8. ./getlinks
9. make (no errors)
10. ./insmod.sh load
11. lsmod showed lots of dvb drivers.
12. rebooted
13. lsmod doesn't show the driver modules, so insmod.sh doesn't make
them load
    permanently.
14. ./insmod.sh to unload them all and commented out the ones that don't
load:
    all of the budget drivers, and sykstar2.o

15. ./insmod.sh now loads everything without complaint.
16. If I reboot the drivers aren't loaded permanently, but I can still
load them
    with ./insmod.sh.
17. Ran ../MAKEDEV-DVB.sh (this removed old /dev/dvb stuff and recreated
them).


lsmod shows:
------------

Module                  Size  Used by    Not tainted
ttusb_dec              15688   0  (unused)
dvb-ttpci             285812   0
ttpci-eeprom            1824   0  [dvb-ttpci]
saa7146_vv             35548   0  [dvb-ttpci]
saa7146                10848   0  [dvb-ttpci saa7146_vv]
mt312                   4940   0
cx24110                 5892   0
grundig_29504-491       3652   0
grundig_29504-401       4236   0
tda1004x               11536   0
ves1820                 4928   0
stv0299                 9356   0  (unused)
alps_tdmb7              3912   0
alps_tdlb7              5592   0
ves1x93                 4976   0
dvb-core               39456   0  [ttusb_dec dvb-ttpci mt312 cx24110
grundig_29504-491 grundig_29504-401 tda1004x ves1820 stv0299 alps_tdmb7
alps_tdlb7 ves1x93]
video-buf              10928   0  [saa7146_vv]
v4l2-common             3104   0  [saa7146_vv]
v4l1-compat            12488   0  [saa7146_vv]
videodev                5952   1  [saa7146_vv]
evdev                   4384   0  (unused)
input                   3200   0  [dvb-ttpci evdev]
snd-pcm-oss            37736   0  (unused)
snd-mixer-oss          12504   0  [snd-pcm-oss]
parport_pc             14788   0
parport                23336   0  [parport_pc]
uhci                   24444   0  (unused)
usbcore                59308   1  [ttusb_dec uhci]
tulip                  40352   1
crc32                   2880   0  [dvb-ttpci tulip]
snd-ens1371            11364   0
gameport                1420   0  [snd-ens1371]
snd-pcm                56072   0  [snd-pcm-oss snd-ens1371]
snd-timer              13604   0  [snd-pcm]
snd-page-alloc          6328   0  [snd-pcm]
snd-rawmidi            12740   0  [snd-ens1371]
snd-seq-device          3888   0  [snd-rawmidi]
snd-ac97-codec         49500   0  [snd-ens1371]
snd                    30852   0  [snd-pcm-oss snd-mixer-oss snd-ens1371
snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ac97-codec]
soundcore               3396   6  [snd]
pcmcia_core            39972   0
ide-scsi                9328   0
agpgart                43940   0  (unused)


lspci shows this:
-----------------

00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
(rev 03)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]
(rev 40)
00:07.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0
controller] (rev 1a)
00:07.3 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0
controller] (rev 1a)
00:07.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev
40)

00:0a.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
00:0c.0 Ethernet controller: Linksys Network Everywhere Fast Ethernet
10/100 model NC100 (rev 11)
00:0d.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 04)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 If
[Radeon 9000] (rev 01)
01:00.1 Display controller: ATI Technologies Inc Radeon RV250 [Radeon
9000] (Secondary) (rev 01)


My questions at this point are:
-------------------------------

1. Do I now have the correct driver for my card and does it seem to be
   installed correctly?

Any of the drivers should work so I guess that's right. I'm not sure how it
should look if they are loaded correctly so I can't say anything there. But
I think dvb-core should be used by more than 0.

If you read the README file you find the proper way to do stuff. I think
it's something like this:

./makelinks
make clean
make
./MAKEDEV-DVB.sh
cd build-2.4
./insmod.sh load  #Works good for me to have all modules uncommented. Don't
mind those that give errors.


2. Once I determine that I'm using the correct driver and that it is
working

   how do I cause it to load automatically at boot time?

from DVB dir:
make install

Then you can add som stuff to modules.conf to make drivers load when the
device is accesessed. Should be something like this:
probeall /dev/dvb dvb-ttpci
alias /dev/dvb/* /dev/dvb
below dvb-ttpci ves1820          # change ves1820 to your tuner some alps I
guess.
alias char-major-250 dvb-ttpci
alias char-major-81 dvb-ttpci



3. How can I test the driver to see if it is working? I'm not sure what
application
   to run just to see if the driver can talk to the hardware. I only
have access to
   echostar 7 and echostar 6,8. They are on a disecq switch.

Download http://www.linuxtv.org/download/dvb/linuxtv-dvb-apps-1.1.0.tar.bz2
decompress and compile
A good application to test with is scan. You have to feed it with a file
from the scan/dvb-s that has proper configuration for you. You should see
however if it can't use the device or if you get tuning-errors.


thanks,
Larry

I downloaded and built linuxtv-dvb-apps-1.1.0

I've been trying to figure out how to run 'scan'. It is talking to the hardware and that's a good sign.

I made a 'e7' file (echostar 7) in the same directory as scan:
S 12297000 L 20000000 5/6

Then I ran this:
# ./scan -v -s 1 -l 12250,0,12700 e7

I'm not sure what scan is supposed to do. I put the frequency of the unscrambled NASA channel in the e7 file and am trying to see what it does. Heres what I got before I killed it:

scanning e7
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 12297000 L 20000000 5
>>> tune to: 12297:h:1:20000
DiSEqC: switch pos 1, 18V, loband (index 5)
>>> tuning status == 0x1f
PAT
PMT 0x0021 for service 0x0375
PMT 0x0021 for service 0x2674
PMT 0x0021 for service 0x2674
PMT 0x0021 for service 0x2674
PMT 0x0021 for service 0x0083
PMT 0x0021 for service 0x2674
PMT 0x0021 for service 0x2674
PMT 0x0021 for service 0x0375
PMT 0x0021 for service 0x0375
PMT 0x0021 for service 0x008f
PMT 0x0021 for service 0x008f
PMT 0x0021 for service 0x008f
PMT 0x0021 for service 0x008f
PMT 0x0021 for service 0x00bd
PMT 0x0021 for service 0x00bd
PMT 0x0021 for service 0x00bd
NIT (actual TS)
Network Name 'EchoStar 119 West'
NIT (actual TS)
NIT (actual TS)
NIT (actual TS)
WARNING: filter timeout pid 0x0011
>>> tune to: 12238:h:1:20000
DiSEqC: switch pos 1, 18V, loband (index 5)
>>> tuning status == 0x1f
PAT
PMT 0x0021 for service 0x00ce
PMT 0x0021 for service 0x00ce
PMT 0x0021 for service 0x012c
PMT 0x0021 for service 0x00ce
PMT 0x0021 for service 0x00ce
PMT 0x0021 for service 0x0377
PMT 0x0021 for service 0x0377
PMT 0x0021 for service 0x0377
PMT 0x0021 for service 0x0377
NIT (actual TS)
PMT 0x0021 for service 0x00ce
PMT 0x0021 for service 0x00ce
PMT 0x0021 for service 0x00ce
PMT 0x0021 for service 0x00ce
PMT 0x0021 for service 0x00ce
NIT (actual TS)
Network Name 'EchoStar 119 West'
NIT (actual TS)
NIT (actual TS)
WARNING: filter timeout pid 0x0011
>>> tune to: 12267:h:1:20000
DiSEqC: switch pos 1, 18V, loband (index 5)
>>> tuning status == 0x1f
PAT
PMT 0x0021 for service 0x03a6
PMT 0x0021 for service 0x01ef
PMT 0x0021 for service 0x01ef
PMT 0x0021 for service 0x268f
PMT 0x0021 for service 0x2675
PMT 0x0021 for service 0x2675
PMT 0x0021 for service 0x03a6
PMT 0x0021 for service 0x03cb
PMT 0x0021 for service 0x2675
PMT 0x0021 for service 0x2675
PMT 0x0021 for service 0x2675
PMT 0x0021 for service 0x2675
PMT 0x0021 for service 0x2675
PMT 0x0021 for service 0x2675
PMT 0x0021 for service 0x2675
PMT 0x0021 for service 0x2675
PMT 0x0021 for service 0x01ef
PMT 0x0021 for service 0x01ef
PMT 0x0021 for service 0x01ef
PMT 0x0021 for service 0x01ef
PMT 0x0021 for service 0x01ef
PMT 0x0021 for service 0x01ef
PMT 0x0021 for service 0x0258
PMT 0x0021 for service 0x0258
PMT 0x0021 for service 0x0258
PMT 0x0021 for service 0x0258
PMT 0x0021 for service 0x0258
PMT 0x0021 for service 0x2661
PMT 0x0021 for service 0x2661
PMT 0x0021 for service 0x2661
PMT 0x0021 for service 0x2661
PMT 0x0021 for service 0x2661
PMT 0x0021 for service 0x2661
PMT 0x0021 for service 0x1777
NIT (actual TS)
Network Name 'EchoStar 119 West'
NIT (actual TS)
NIT (actual TS)
NIT (actual TS)
SDT (actual TS)
0x0000 0x007c: pmt_pid 0x0000 BET -- BET (???, scrambled)
0x0000 0x0081: pmt_pid 0x0000 BRAVO -- BRAVO (???, scrambled)
0x0000 0x009e: pmt_pid 0x0000 FUSE -- FUSE (???, scrambled)
0x0000 0x00b8: pmt_pid 0x0000 ANIML -- ANIML (???, scrambled)
0x0000 0x00bf: pmt_pid 0x0000 (null) -- G4TTV (???, scrambled)
0x0000 0x00c7: pmt_pid 0x0000 CRDEX -- CRDEX (???, scrambled)
0x0000 0x00cc: pmt_pid 0x0000 COURT -- COURT (???, scrambled)
0x0000 0x00ce: pmt_pid 0x0000 CNNFN -- CNNFN (???, scrambled)
0x0000 0x012c: pmt_pid 0x0000 HBO-E -- HBO-E (???, scrambled)
0x0000 0x01c7: pmt_pid 0x0000 SPORT -- SPORT (???, scrambled)
0x0000 0x0341: pmt_pid 0x0000 GLVSN -- GLVSN (???, scrambled)
0x0000 0x036b: pmt_pid 0x0000 BET -- BET (???, scrambled)
0x0000 0x0370: pmt_pid 0x0000 BRAVO -- BRAVO (???, scrambled)
0x0000 0x0377: pmt_pid 0x0000 ANIML -- ANIML (???, scrambled)
>>> tune to: 12326:h:1:20000
DiSEqC: switch pos 1, 18V, loband (index 5)
>>> tuning status == 0x1f
PAT
PMT 0x0021 for service 0x267b
PMT 0x0021 for service 0x267b
PMT 0x0021 for service 0x267b
PMT 0x0021 for service 0x008a
PMT 0x0021 for service 0x00b7
PMT 0x0021 for service 0x00b7
PMT 0x0021 for service 0x008a
PMT 0x0021 for service 0x008a
PMT 0x0021 for service 0x008a
PMT 0x0021 for service 0x008a
PMT 0x0021 for service 0x008a
PMT 0x0021 for service 0x008a
PMT 0x0021 for service 0x008a
PMT 0x0021 for service 0x008a
PMT 0x0021 for service 0x008a
PMT 0x0021 for service 0x039c
PMT 0x0021 for service 0x03c3
PMT 0x0021 for service 0x03c3
PMT 0x0021 for service 0x03c3
PMT 0x0021 for service 0x03c3
PMT 0x0021 for service 0x03c3
PMT 0x0021 for service 0x03c3
PMT 0x0021 for service 0x03c3
PMT 0x0021 for service 0x0398
PMT 0x0021 for service 0x0398
PMT 0x0021 for service 0x0398
NIT (actual TS)
Network Name 'EchoStar 119 West'
NIT (actual TS)
NIT (actual TS)
NIT (actual TS)
ERROR: interrupted by SIGINT, dumping partial result...
dumping lists (104 services)
[0083]:12296:h:1:20000:4642:4643:131
[008f]:12296:h:1:20000:4898:4899:143
[00ae]:12296:h:1:20000:0:0:174
[00bd]:12296:h:1:20000:5666:5667:189
[00cd]:12296:h:1:20000:0:0:205
[00d5]:12296:h:1:20000:0:0:213
[00d6]:12296:h:1:20000:0:0:214
[00d7]:12296:h:1:20000:0:0:215
[00e2]:12296:h:1:20000:0:0:226
[012d]:12296:h:1:20000:0:0:301
[012e]:12296:h:1:20000:0:0:302
[013e]:12296:h:1:20000:0:0:318
[034f]:12296:h:1:20000:0:0:847
[0375]:12296:h:1:20000:5666:5667:885
[03b0]:12296:h:1:20000:0:0:944
[2674]:12296:h:1:20000:0:4096:9844
[007c]:12238:h:1:20000:0:0:124
[0081]:12238:h:1:20000:0:0:129
[009e]:12238:h:1:20000:0:0:158
[00b8]:12238:h:1:20000:0:0:184
[00bf]:12238:h:1:20000:0:0:191
[00c7]:12238:h:1:20000:0:0:199
[00cc]:12238:h:1:20000:0:0:204
[00ce]:12238:h:1:20000:5154:5155:206
[012c]:12238:h:1:20000:4386:4387:300
[01c7]:12238:h:1:20000:0:0:455
[0341]:12238:h:1:20000:0:0:833
[036b]:12238:h:1:20000:0:0:875
[0370]:12238:h:1:20000:0:0:880
[0377]:12238:h:1:20000:4642:4643:887
[006e]:12267:h:1:20000:0:0:110
[0074]:12267:h:1:20000:0:0:116
[008e]:12267:h:1:20000:0:0:142
[0090]:12267:h:1:20000:0:0:144
[009f]:12267:h:1:20000:0:0:159
[014d]:12267:h:1:20000:0:0:333
[01ef]:12267:h:1:20000:4386:4387:495
[01f1]:12267:h:1:20000:0:0:497
[0258]:12267:h:1:20000:4130:4131:600
[036a]:12267:h:1:20000:0:0:874
[039d]:12267:h:1:20000:0:0:925
[03a6]:12267:h:1:20000:0:4097:934
[03aa]:12267:h:1:20000:0:0:938
[03b1]:12267:h:1:20000:0:0:945
[03bc]:12267:h:1:20000:0:0:956
[03cb]:12267:h:1:20000:0:4100:971
[03cc]:12267:h:1:20000:0:0:972
[1771]:12267:h:1:20000:0:0:6001
[1772]:12267:h:1:20000:0:0:6002
[1773]:12267:h:1:20000:0:0:6003
[1774]:12267:h:1:20000:0:0:6004
[1775]:12267:h:1:20000:0:0:6005
[1776]:12267:h:1:20000:0:0:6006
[1777]:12267:h:1:20000:0:4109:6007
[177d]:12267:h:1:20000:0:0:6013
[1789]:12267:h:1:20000:0:0:6025
[251c]:12267:h:1:20000:0:0:9500
[2661]:12267:h:1:20000:0:4098:9825
[266a]:12267:h:1:20000:0:0:9834
[266e]:12267:h:1:20000:0:0:9838
[2675]:12267:h:1:20000:0:4096:9845
[2680]:12267:h:1:20000:0:0:9856
[268f]:12267:h:1:20000:0:4100:9871
[2690]:12267:h:1:20000:0:0:9872
BET:12267:h:1:20000:0:0:124
BRAVO:12267:h:1:20000:0:0:129
FUSE:12267:h:1:20000:0:0:158
ANIML:12267:h:1:20000:0:0:184
G4TTV:12267:h:1:20000:0:0:191
CRDEX:12267:h:1:20000:0:0:199
COURT:12267:h:1:20000:0:0:204
CNNFN:12267:h:1:20000:0:0:206
HBO-E:12267:h:1:20000:0:0:300
SPORT:12267:h:1:20000:0:0:455
GLVSN:12267:h:1:20000:0:0:833
BET:12267:h:1:20000:0:0:875
BRAVO:12267:h:1:20000:0:0:880
ANIML:12267:h:1:20000:0:0:887
[007a]:12326:h:1:20000:0:0:122
[0082]:12326:h:1:20000:0:0:130
[008a]:12326:h:1:20000:4130:4131:138
[008c]:12326:h:1:20000:0:0:140
[00a6]:12326:h:1:20000:0:0:166
[00b6]:12326:h:1:20000:0:0:182
[00b7]:12326:h:1:20000:6434:6435:183
[00f9]:12326:h:1:20000:0:0:249
[0131]:12326:h:1:20000:0:0:305
[013f]:12326:h:1:20000:0:0:319
[0398]:12326:h:1:20000:0:4096:920
[039a]:12326:h:1:20000:0:0:922
[039c]:12326:h:1:20000:0:4098:924
[03b6]:12326:h:1:20000:0:0:950
[03b7]:12326:h:1:20000:0:0:951
[03b8]:12326:h:1:20000:0:0:952
[03c3]:12326:h:1:20000:0:4103:963
[03c9]:12326:h:1:20000:0:0:969
[265c]:12326:h:1:20000:0:0:9820
[265e]:12326:h:1:20000:0:0:9822
[2660]:12326:h:1:20000:0:0:9824
[267a]:12326:h:1:20000:0:0:9850
[267b]:12326:h:1:20000:0:4101:9851
[267c]:12326:h:1:20000:0:0:9852
[2687]:12326:h:1:20000:0:0:9863
[268d]:12326:h:1:20000:0:0:9869
Done.

Can someone say whether the hardware/driver seems ok? Is there any documentation on what this output means? I tried to point it to NASA, but see that it knows about other channels and not NASA. Am I running scan correctly?

thanks,
Larry





Home | Main Index | Thread Index