Mailing List archive

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

[linux-dvb] Re: How to use a bt8xx chip based card?



Hello André !

Thank you the fast reply, but i'm not found the "watch_dvb" on this
location. Please write me the where found this script.
I try to complie the szap from the DVB project, but i have some errors.

[root@sirius-21 szap]# ./szap -n 066
reading channels from file '/root/.szap/channels.conf'
zapping to 'LA CINQUIEME':
sat 0, frequency = 12207 MHz V, symbolrate 27500000, vpid = 0x00a0, apid
= 0x0050
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 03 | signal 005a | snr 0000 | ber 00000c46 | unc 0000ffff |
status 00 | signal 0057 | snr 0000 | ber 00002932 | unc 0000ffff |
status 00 | signal 0057 | snr 0000 | ber 000045b4 | unc 0000ffff |

... and so to...

The dvbstream not compile with this errors:

[root@sirius-21 dvbstream-0.4pre2]# make
gcc -I ../dvb-kernel/linux/include/linux/dvb/ -c -o tune.o tune.c
tune.c: In function `tune_it':
tune.c:20: `FrontendStatus' undeclared (first use in this function)
tune.c:20: (Each undeclared identifier is reported only once
tune.c:20: for each function it appears in.)
tune.c:20: parse error before "festatus"
tune.c:21: `FrontendEvent' undeclared (first use in this function)
tune.c:22: `FrontendParameters' undeclared (first use in this function)
tune.c:23: `secToneMode' undeclared (first use in this function)
tune.c:24: `secVoltage' undeclared (first use in this function)
tune.c:28: `feparams' undeclared (first use in this function)
tune.c:40: `tone' undeclared (first use in this function)
tune.c:48: `voltage' undeclared (first use in this function)
tune.c:56: `SEC_SET_TONE' undeclared (first use in this function)
tune.c:60: `SEC_SET_VOLTAGE' undeclared (first use in this function)
tune.c:75: `event' undeclared (first use in this function)
tune.c:85: `FE_UNEXPECTED_EV' undeclared (first use in this function)
tune.c:87: `FE_COMPLETION_EV' undeclared (first use in this function)
tune.c:89: `FE_FAILURE_EV' undeclared (first use in this function)
tune.c:119: `festatus' undeclared (first use in this function)
tune.c:123: `FE_HAS_POWER' undeclared (first use in this function)
tune.c:125: `FE_SPECTRUM_INV' undeclared (first use in this function)
tune.c:130: `FE_TUNER_HAS_LOCK' undeclared (first use in this function)
make: *** [tune.o] Error 1


How to work for you? I use the dvb-kernel, and not complie with this
dirver... But, with the original "DVB" driverset complie without any
problem, but this driver not supported my card...

Please help me !
Thanx

Demeter Tibor

André Stein wrote:

Hi,

Hi !
I have a pctv sat card and i try to use with the kernel 2.4.21.
I successfully add the "i2c-if-0.9.4.patch" patch to the kernel, and complie without any probelem.
The module loading is succesfull.

the kernel log

Jul 9 21:16:07 sirius-21 kernel: Linux video capture interface: v1.00
Jul 9 21:16:07 sirius-21 kernel: bttv: driver version 0.7.104 loaded
Jul 9 21:16:07 sirius-21 kernel: bttv: using 4 buffers with 2080k (8320k total) for capture
Jul 9 21:16:07 sirius-21 kernel: bttv: Host bridge is Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge
Jul 9 21:16:07 sirius-21 kernel: bttv: Bt8xx card found (0).
Jul 9 21:16:07 sirius-21 kernel: bttv0: Bt878 (rev 17) at 02:04.0, irq: 21, latency: 32, mmio: 0xe0000000
Jul 9 21:16:07 sirius-21 kernel: bttv0: detected: Pinnacle PCTV Sat [card=94], PCI subsystem ID is 11bd:001c
Jul 9 21:16:07 sirius-21 kernel: bttv0: using: BT878(Pinnacle PCTV Sat) [card=94,autodetected]
Jul 9 21:16:07 sirius-21 kernel: i2c-core.o: adapter bt848 #0 registered as adapter 0.
Jul 9 21:16:07 sirius-21 kernel: bttv0: using tuner=-1
Jul 9 21:16:07 sirius-21 kernel: bttv0: PLL: 28636363 => 35468950 .. ok
Jul 9 21:16:07 sirius-21 kernel: bttv0: registered device video0
Jul 9 21:16:07 sirius-21 kernel: bttv0: registered device vbi0
Jul 9 21:16:07 sirius-21 kernel: bt878: AUDIO driver version 0.0.0 loaded
Jul 9 21:16:07 sirius-21 kernel: bt878: Bt878 AUDIO function found (0).
Jul 9 21:16:07 sirius-21 kernel: bt878(0): Bt878 (rev 17) at 02:04.1, irq: 21, latency: 32, memory: 0xe0001000
Jul 9 21:16:07 sirius-21 kernel: DVB: registering new adapter (Pinnacle PCTV DVB-S).
Jul 9 21:16:07 sirius-21 kernel: cx24110: attaching cx24106
Jul 9 21:16:07 sirius-21 kernel: DVB: registering frontend 0:0 (Conexant cx24110/cx24106 frontend)...



the lsmod

Module Size Used by Tainted: P
dvb-bt8xx 3904 0 (unused)
bt878 5792 0 [dvb-bt8xx]
cx24110 6600 1
dvb-core 51788 0 [dvb-bt8xx cx24110]
bttv 83776 0 [dvb-bt8xx]
video-buf 15900 0 (unused)
v4l2-common 3872 0 (unused)
v4l1-compat 13476 0 (unused)
videodev 8320 2 [bttv]
i2c-algo-bit 8808 1 [bttv]


but what the next step? How to watching the tv ?

after i load the driver i'm not hear a "click" from the card:) why? how to configure the channels ? and how to watht the channels with mplayer or other software ?

Please help me !

What I do to watch TV using my pctv sat is to use dvbstream as main streaming application and to pipe to either xine or mplayer. To simplify this I have written a little script watch_dvb that can be found here:
http://steinsoft.net/index.php?site=Misc/downloads

Please make sure to edit the location of your .szap config file. (CHANNELS_CONF). Use the script like this:
./watch_dvb bbc mplayer (or watch_dvb bbc xine)

Have fun,
-André.







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



Home | Main Index | Thread Index