[linux-dvb] problems and workaround when tuning to a channel with DD enabled

Oliver Endriss o.endriss at gmx.de
Mon Jun 6 22:26:37 CEST 2005


Johannes Stezenbach wrote:
> The code looks broken. If ret == -ERESTARTSYS (is what you get), then it
> is no timeout, but wait_event_interruptible_timeout() got interrupted.
> I bet vdr is sending some signals around.
> 
> Try using wait_event_timeout(..., HZ/5), i.e. non-interruptible but
> with a sensible timeout. 10*HZ is much too long, IMHO.

IIRC I increased the timeout to 10*HZ because osd transfers are very
slow if there are 3 or 4 recordings running at the same time...

Anyway, I've never seen any -ERESTARTSYS errors.

Oliver

-- 
--------------------------------------------------------
VDR Remote Plugin available at
http://www.escape-edv.de/endriss/vdr/
--------------------------------------------------------




More information about the linux-dvb mailing list