Re: stv0299 demod with new pll ix2476

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

 



Hi,

I just added the real PLL support for the ix2476, but it still gives me
the same problem.

The file is in the attchmnt.

Thanks in advance.

Regards,
--
Pedro Aguilar

> Hi,
>
> I have a Sharp F7VZ0194A tuner/demod metal can that contains the stv0299
> demod and an ix2476 PLL that I want to make it work in an SH4 based
> embedded target.
>
> Some weeks ago, after an important help from Manu, I realize that there
> wasn't any driver for the PLL that supported it right away, so I needed to
> add support for it.
>
> I started adding this support modifying the file stv0299.c. I know this is
> not right place for doing it, but at the moment I wanted to make things
> easier since I'm quite new to DVB.
>
> After some modifications, I tried to make a scan but it fails. This is the
> output of the scan util:
>
> # ./scan -v dvb-s/Hotbird-13.0E
> scanning /home/dvb/dvb-s/Hotbird-13.0E
> using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
> initial transponder 12539000 H 27500000 3
>>>> tune to: 12539:h:0:27500
> DiSEqC: switch pos 0, 18V, hiband (index 3)
>>>> tuning status == 0x03
>>>> tuning status == 0x03
> ...
>>>> tuning status == 0x03
> WARNING: >>> tuning failed!!!
>>>> tune to: 12539:h:0:27500 (tuning failed)
> DiSEqC: switch pos 0, 18V, hiband (index 3)
>>>> tuning status == 0x03
>>>> tuning status == 0x03
> ...
>>>> tuning status == 0x03
> WARNING: >>> tuning failed!!!
> ERROR: initial tuning failed
> dumping lists (0 services)
> Done.
>
> I modprobe the module with debug=1 and the kernel is compiled with printk
> support, so the output when scanning (with some additional printk that I
> added) is:
>
> dvb_device_open(): Opening device...
> dvb_frontend_open
> dvb_generic_open(): Opening generic...
> dvb_frontend_start
> dvb_frontend_ioctl
> dvb_frontend_thread
> DVB: initialising frontend 0 (ST STV0299 DVB-S)...
> stv0299: init chip
> dvb_frontend_ioctl
> stv0299: stv0299_set_tone()
> dvb_frontend_ioctl
> stv0299: stv0299_set_voltage: SEC_VOLTAGE_18
> dvb_frontend_ioctl
> stv0299: stv0299_send_diseqc_msg
> dvb_frontend_ioctl
> stv0299: stv0299_send_diseqc_burst
> dvb_frontend_ioctl
> stv0299: stv0299_set_tone()
> dvb_frontend_ioctl
> stv0299: stv0299_get_tune_settings()
> dvb_frontend_add_event
> dvb_frontend_swzigzag_autotune: drift:0 inversion:0 auto_step:0
> auto_sub_step:0 started_auto_step:0
> stv0299_set_frontend : FE_SET_FRONTEND
> stv0299: stv0299_enable_plli2c()
> stv0299: stv0299_set_FEC(): FEC = 3
> stv0299: stv0299_set_symbolrate()
> stv0299_set_symbolrate(): Symbol rate = 5242880
> stv0299: stv0299_read_status : FE_READ_STATUS : VSTATUS: 0x81, signal:
> 0xc0
> dvb_frontend_add_event
> ...
>
>
> The whole output is in the attchmnt as well as the modified stv0299.c
>
> Doing some debug it turns out that stv0299_read_status() returns a value
> to the scan util of 0x03, instead of the FE_HAS_LOCK that would be the
> right value and this throws the "tuning failed!!!" msg.
>
> Any help would be really appreciated.
>
> Thanks!
>
> Regards,
> --
> Pedro Aguilar_______________________________________________
> linux-dvb mailing list
> linux-dvb@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb



_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux