Hello Laasa,
On Mittwoch, 9. Mai 2007, laasa wrote:
[ ... ]
> When I read this dump correct and it is my second linux dump I ever
> seen, then in the function stb6100_set_frequency occures a divide by
> zero exception.
> There are only 2 lines in the function stb6100_set_frequency where a
> division was made. In both lines the a divison by state->reference was made.
> So I think that state->reference is zero, but normaly it was initialized
> before in stb6100_init.
>
> 3 ideas:
> 1) a printk in stb6100_init to see, if the function was called (and
> leave) before stb6100_set_frequency (or exception happens).
stb6100_init never gets called.
> 2) there is the possibility to give state->reference via stb6100_attach
> via the config-parameter refclock in budget-ci.c:
> struct stb6100_config tt3200_stb6100_config = {
> .tuner_address = 0x60,
> .refclock = 27000000,
> };
That does the trick. Thanks :-)
But now szap2 doesn't work :-(
It produces an output like that on every transponder it try to tune to:
$ szap2 -a 1 "Prosieben"
zapping to 148 'ProSieben':
sat 0, frequency = 12480 MHz V, symbolrate 27500000, vpid = 0x00ff, apid =
0x0100 sid = 0x0382 (fec = -2147483648, mod = 2)
Querying info .. Delivery system=DVB-S
using '/dev/dvb/adapter1/frontend0' and '/dev/dvb/adapter1/demux0'
----------------------------------> Using 'STB0899 DVB-S' DVB-S
diseqc: sat_no:0 pol_vert:1 hi_band:1 cmd:e0 10 38 f1 wait:0
do_tune: API version=2, delivery system = 0
do_tune: Frequency = 1880000, Srate = 27500000 (DVB-S)
do_tune: Frequency = 1880000, Srate = 27500000 (SET_PARAMS)
status 00 | signal 0000 | snr 0004 | ber 00000000 | unc fffffffe |
status 00 | signal 0000 | snr 0004 | ber 00000000 | unc fffffffe |
[...]
Christian
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb