[linux-dvb] Close tzap and cannot lock frequency anymore?

Manu Abraham abraham.manu at gmail.com
Wed Oct 18 02:01:19 CEST 2006

hermann pitton wrote:
> Am Dienstag, den 17.10.2006, 02:16 +0200 schrieb hermann pitton:
>> Am Montag, den 16.10.2006, 22:14 +0400 schrieb Manu Abraham:
>>> Chun Chung Lo wrote:
>>>> Hi all,
>>>> I wonder during I am capturing TS stream by using a DVB-T card (Compro
>>>> Videomate T300) in a Linux PC (2.6.16-18), I followed the instructions
>>>> shown in linuxtv-dvb-apps and run tzap and capture TS.
>>>> Because I think all the parameters are written into the hardware of the
>>>> tuner, and the tzap also shown FE_HAS_LOCKED, so I think I have no need
>>>> to keep polling the tuner and I switched off tzap.
>>>> But when I switched off tzap, I found that my TS capturing is stoped! (I
>>>> found that some TS data is missing in the captured TS file.) But when I
>>>> keep tzap running, no such problem occur.
>>> When you stop *zap, the default behavior of dvb-core is to switch off
>>> the frontend after a predefined period of time, to save power. So what
>>> you are seeing is the default behavior. If you want to turn OFF this
>>> behavior, you can use the module parameter dvb_shutdown_timeout=0 to
>>> dvb_core, such that this feature is disabled.
>>> Manu
>> Hi Manu,
>> it seems there has been a reason, when Johannes asked Gerd on 2.6.12 to
>> take care for his own stuff ...
>> That above won't work, AFAIK.
> Sorry for insufficient testing.
> Just timeout=0 didn't the expected. Setting a time interval prevents
> also the tuner_sleep and switching back to analog mode.

modinfo dvb_core |grep timeout

parm:           dvb_shutdown_timeout:wait <shutdown_timeout> seconds
after close() before suspending hardware
parmtype:       dvb_shutdown_timeout:int


More information about the linux-dvb mailing list