On Sunday 23 July 2006 18:26, [EMAIL PROTECTED] wrote:
> ok, some additional informations:
> > It seems, there I have some timing problems with ivtv driver. My
> > box: Abit
>
> It is definitely timing problem. By inspection of logs I found info
> about 'ivtv0 info: Sleeping for 150ms (600 recommended)'
The debug message is misleading. The 150 is not really the number of ms,
but the number of clock ticks (and at 250 Hz 150 ticks come to 600 ms).
> And my kernels are compiled with HZ=250 (recommended value). So I
> recompiled them, and suddenly with
> 'ivtv0 info: Sleeping for 600ms (600 recommended)'
You probably got this message by setting IVTV_SDRAM_SLEEPTIME to 600,
right? At HZ=250 that comes to 2.4 seconds.
> ivtv-0.6.3 works always, ivtv-0.7.0 can be reliably initialized, but
> the second attempt to load ivtv-0.7.0 results in the frozen box. I
> reached same results by hardwiring of 600ms into ivtv-driver.h, thus
> ---#define IVTV_SDRAM_SLEEPTIME (60 * HZ / 100) /* 600ms */
> ++#define IVTV_SDRAM_SLEEPTIME 600 /* 600ms */
> for kernels with HZ=250.
> The trouble is, I cannot safely use kernels compiled with HZ=100 (my
> uhci_hdc iface does not like it..), so I have to deal with the
> 'bruto-force' redefinition of IVTV_SDRAM_SLEEPTIME. But this is not
> the situation I would like, for sure....
Can you try to replace IVTV_SDRAM_SLEEPTIME by '(HZ)' (or 1 second). See
if that also fixes the problem.
But another possible reason might be an underpowered powersupply.
Hans
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users