Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Poll problem with multiple PIDs



Tjerk Tigchelaar wrote:
> 
> Hi all,
> 
> I'm also trying to record multiple PID's or a whole transportstream.
> But it isn't working on my Technotrend Sat card.
> It looks like poll doesn't do anything (time-outs).
> 
> Is this because it's only possible with the Win TV NOVA card?
> Or are there some adjusment to make for The Technotrend card?
> 
> Hope someone can give me some hints...

Have you tried the driver patch I suggested?
Here it is again:

--- dmxdev.c    Mon Apr  1 10:59:46 2002
+++ dmxdev.c    Sun Jun 16 11:02:38 2002
@@ -1048,6 +1048,9 @@
                if (dmxdev->dvr_buffer.pread!=dmxdev->dvr_buffer.pwrite)
                        return (POLLIN | POLLRDNORM | POLLPRI);

+                if (dmxdev->dvr_buffer.error)
+                       return (POLLIN | POLLRDNORM | POLLPRI | POLLERR);
+
                return 0;
        } else
                return (POLLOUT | POLLWRNORM | POLLPRI);

Apparently it also has been adopted in the CVS driver today.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index