Mailing List archive

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

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



> 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
>
>
>






Home | Main Index | Thread Index