Hi Andreas,
Andreas Oberritter wrote:
Hi.
When dvb_shutdown_timeout is 0, then the kernel fe thread is not
stopped, when an application closes the frontend device. However, if the
device is opened again, then the thread will be stopped and a new one
will be created. So why not just skip FE_SLEEP and quit the thread
immediately?
we could skip the FE_SLEEP call whenever the frontend is restarted. This
would require an extra variable in the frontend struct.
I made this patch because killing my application made the kernel thread
start zigzagging (and it never stopped), because it sent a diseqc
standby command which somehow made the frontend lose lock (although i do
not use diseqc devices except for the frontend itself). This patch
unfortunatly does not prevent loss of lock in this case, but at least it
stops zigzagging around. :)
Does this have any drawbacks?
I don't see any right now, just go on.
Holger
--
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.