public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Johannes Stezenbach <js@linuxtv.org>
To: Christophe Thommeret <hftom@free.fr>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] S2API - Status  - Thu Sep 11th
Date: Tue, 16 Sep 2008 23:24:05 +0200	[thread overview]
Message-ID: <20080916212405.GA10971@linuxtv.org> (raw)
In-Reply-To: <200809160458.49923.hftom@free.fr>

On Tue, Sep 16, 2008 at 04:58:49AM +0200, Christophe Thommeret wrote:
> Le Monday 15 September 2008 13:43:00 Johannes Stezenbach, vous avez écrit :
> > On Mon, Sep 15, 2008, Christophe Thommeret wrote:
> > > Le Sunday 14 September 2008 20:04:06 Christophe Thommeret, vous avez écrit :
> > > > as you expected, it's abit buggy and crashes at load ;)
> > > > i've searched for the alternative cinergyT2 driver.
> > > > it's available at: http://linuxtv.org/hg/~tmerle/cinergyT2/
> > > >
> > > > haven't tried it yet but will do (at least several people seems to have
> > > > it working).
> > >
> > > Have it working, not as good as Holger' one (often fails to lock) but it
> > > works, with both old and new api.
> >
> > Looking at the code, cinergyt2_fe_get_tune_settings() should
> > probably set step_size = max_drift = 0 to defeat
> > dvb_frontend_swzigzag_autotune().
> > c.f. mt352_get_tune_settings()
> 
> Thanx for the hint, unfortunately it doesn't help.
> In fact, if i set a larger timeout (time after which kaffeine gives up and 
> report tuning failure), say 5000ms, it always locks.
> The average lock time is about 2000ms, but sometimes it goes up to 4000 and 
> sometimes it's only 200, randomly for all freqs.
> If you have any idea, you are welcome :)

Not really and I can't test myself since I don't have any hw.

Holger's cinergyT2 driver sets the FE once (on FE_SET_FRONTEND),
and then queries regularly (every 333ms or CONFIG_DVB_CINERGYT2_QUERY_INTERVAL)
for the status. It NEVER retries the tuning like dvb_frontend_swzigzag_autotune()
might do, and the step_size = max_drift = 0 is supposed to prevent
that, but maybe dvb_frontend_swzigzag_autotune() logic is broken?
A printk in the new cinergyT2 driver should tell.

BTW, the cinergyT2 firmware is Open Source, you can find it in
http://linuxtv.org/cgi-bin/viewcvs.cgi/dvb-hw/dvbusb-fx2/termini/
if you are interested. But there is no magic in the firmware,
it just writes mt352 regs on FE_SET_FRONTEND and reads the
status reg for FE_READ_STATUS. That's all.


Johannes

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

  reply	other threads:[~2008-09-16 21:23 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-12  5:51 [linux-dvb] S2API - Status - Thu Sep 11th Steven Toth
2008-09-12  6:26 ` Christophe Thommeret
2008-09-12 13:18   ` Steven Toth
2008-09-12 13:29     ` Christophe Thommeret
2008-09-12 13:31       ` Christophe Thommeret
2008-09-12 14:08       ` Steven Toth
2008-09-12 15:27         ` Johannes Stezenbach
2008-09-12 16:17           ` Steven Toth
2008-09-14 16:47             ` Steven Toth
2008-09-14 18:04               ` Christophe Thommeret
2008-09-15  2:14                 ` Christophe Thommeret
2008-09-15  3:17                   ` Steven Toth
2008-09-15 17:08                     ` Igor M. Liplianin
2008-09-15 20:02                       ` Gregoire Favre
2008-09-15 20:14                         ` Igor M. Liplianin
     [not found]                       ` <48CE9E22.9060405@hauppauge.com>
2008-09-16 21:37                         ` [linux-dvb] [PATCH] S2API - Silicon Labs si2109/2110 demodulator support Igor M. Liplianin
2008-09-17 22:27                           ` [linux-dvb] [PATCH] S2API - Add support for USB card modification with si2109/2110 demodulator Igor M. Liplianin
2008-09-22  4:09                             ` Steven Toth
2008-09-22  4:07                           ` [linux-dvb] [PATCH] S2API - Silicon Labs si2109/2110 demodulator support Steven Toth
2008-09-23 19:01                           ` [linux-dvb] [PATCH] S2API - ST stv0288 " Igor M. Liplianin
2008-09-23 19:04                             ` Igor M. Liplianin
2008-09-23 19:09                               ` Steven Toth
2008-09-24  1:38                               ` Steven Toth
2008-09-25  2:30                             ` [linux-dvb] [PATCH] S2API - Kconfig dependency fixes for cards with stv0288 and si21xx Igor M. Liplianin
2008-09-15 11:43                   ` [linux-dvb] S2API - Status - Thu Sep 11th Johannes Stezenbach
2008-09-16  2:58                     ` Christophe Thommeret
2008-09-16 21:24                       ` Johannes Stezenbach [this message]
     [not found]   ` <48CC12BF.7050803@hauppauge.com>
2008-09-14 14:46     ` Christophe Thommeret
2008-09-14 14:56       ` Christophe Thommeret
2008-09-14 16:49         ` Steven Toth
2008-09-14 15:01       ` Steven Toth
2008-09-14 15:27         ` Christophe Thommeret
2008-09-12  8:00 ` [linux-dvb] Siano ISDB [was: Re: S2API - Status - Thu Sep 11th] barry bouwsma
2008-09-12  8:24   ` [linux-dvb] Siano ISDB barry bouwsma
2008-09-12 11:47     ` Uri Shkolnik
     [not found]   ` <48CA6BBB.5010802@hauppauge.com>
2008-09-12 13:33     ` [linux-dvb] Siano ISDB [was: Re: S2API - Status - Thu Sep 11th] barry bouwsma
2008-09-12 14:13       ` Steven Toth
2008-09-12 14:38         ` barry bouwsma
2008-09-12 18:01     ` Michael Krufky
2008-09-12  9:17 ` [linux-dvb] S2API - Status - Thu Sep 11th Patrick Boettcher
2008-09-12 14:04   ` Steven Toth
2008-09-13 20:02   ` Steven Toth
2008-09-14 12:36     ` Hans Werner
2008-09-14 14:40       ` Steven Toth
2008-09-12 11:09 ` Hans Werner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080916212405.GA10971@linuxtv.org \
    --to=js@linuxtv.org \
    --cc=hftom@free.fr \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox