Mailing List archive

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

[linux-dvb] Re: Newbie questions



Hi.

On Mon, Feb 24, 2003 at 01:53:43PM +0000, Bruno Prior wrote:
> I'm guessing this is a different problem, as you get some output from
> the card, whereas I get none (on this computer). There was a message on
> this list around a month ago ("Re: Hauppauge Nova-T setup", David Given,
> 18/01/03), explaining how to deal with a problem like yours. You need to
> pass a parameter to the module when you load it, to stop it timeing out.
> The line David gave was:
>
> insmod dvb-core.o dvb_shutdown_timeout=0
>
> See if that works for you.

Yes, this fixed the problem.

I'm still having some weird problems with dvbsak's tuning, but
it is a problem in dvbsak (dvbtune works okay). Actually I got it
working with an ugly kludge fix. Namely it is something to how
dvbsak waits for frontend events. It waits for having lock on signal
like this:

while (!locked)
	poll frontend device with POLLIN, 250ms timeout
	if timedout then
		call some callback
		if spent too much time in here then
			break
	if poll succeeded then
		ioctl FE_GET_EVENT
		reread frontend status
return locked

Apparently this misses the frontend event for some strange
reason since it worked okay when I added a call to reread
frontend status just before return from the function.
Any ideas why the above pseudo-code fails to work properly?

- Timo Teräs


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



Home | Main Index | Thread Index