[mythtv] Re: [mythtv-commits] Re: Ticket #743: Fix "program
not found in PAT" problem.
danielk at cuymedia.net
Mon Dec 5 14:54:50 EST 2005
On Mon, 2005-12-05 at 18:24 +0000, Stuart Auchterlonie wrote:
> On Sat, Dec 03, 2005 at 12:07:18PM -0500, Daniel Kristjansson wrote:
> So what happens in the case where the kernel has already read
> stuff from the card for us, but we haven't yet read the data from
> the kernel?
Hopefully the data goes away when we close the file descriptor.
> Or does the kernel copy direct to userspace?
> My line of thinking here is old data in the kernel buffers that
> isn't cleaned out when we start looking for the new data.
Only if the driver is brain dead enough to give data requested
on one file descriptor to a file descriptor opened after that
original file descriptor was closed. If so the driver should
be fixed, not MythTV.
> Also, does the recorder run in a different thread to the sigmon?
> If so we might have to look at those interactions....
The signal monitor is shut down completely before we open
the DVR device in the recorder. We do this to avoid any
interaction between the threads. Also, you are seeing this
problem during the EIT scan, which does not involve the
recorder at all.
More information about the mythtv-dev