On Mon, Oct 30, 2006 at 11:36:24PM +0000, Andrew Lyon wrote:
On 10/30/06, David Härdeman <david@xxxxxxxxxxx> wrote:
If you're feeling adventurous, you might try recompiling MythTV. In
mythtv/libs/libmythtv/dvbcam.cpp, function DVBCam::CiHandlerLoop(),
there is a usleep(250) which I suspect is way to low. The CI
specification (EN50221) says it's fine to poll every 100ms, so try
setting it to 90000 or so (this ain't 100% correct because MythTV might
still want the shorter timeout to read replies etc...but it's a start if
you want to spend some effort debugging).
Wow!, changing usleep to 90000 seems to have completely fixed the
problem :), Ive changed channel over and over again and even by
entering channel numbers really quickly I cannot make it fail.
The channel change time seems the same too, I will see how it goes in
the next few days and report back again.
Thanks for your suggestion, didnt it work as well for you?
Not completely...but it improved things. I think the cable might be
dodgy so I'm arranging to get a new one (long story).
--
David Härdeman
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb