Hi,

Well, I've looked at the 0.3.2h to 0.3.2i diff and tried reversing all
the patches.  I am now running 0.3.2m with a very small patch and cannot
hang my LiveTV anymore.  The patch is attached.

I cannot say why this works, but hopefully Chris can ;)

The bug seems to only occur when you combine a PVR150 card with an older
PVR250/350 card.

Kind regards,

Mark

> Hi,
> 
> Haven't tried 0.3.2h yet, but am installing it now.  Will see if that 
> helps.  I've tried 0.3.2i and 0.3.2k, but both had the same issues :(
> 
> Kind regards,
> 
> Mark
> 
> > Mark,
> > 
> > I'm experiencing simular problems; I have a dual card (350+150MCE)
> > setup; all drivers after 0.3.2h seem to "hang" my 150. A normal grab
> > (dd if=....) works. When I change the channel using ptune and try
> > another grab, the grab fails.
> > Same goes for LiveTV in Myth; the 150 "hangs".
> > Have you tried using 0.3.2h? That's the last one that worked for me.
> > 
> > N.
> > 
> > On Wed, 23 Mar 2005 16:48:42 +0100 (CET), Mark Wormgoor
> > <[EMAIL PROTECTED]> wrote:
> > 
> >>Hi,
> >>
> >>This weekend I installed a new PVR-150 in my MythTV backend which
> >>already contained a PVR-250.  So, I can now record two programs at the
> >>same time.  Great!
> >>
> >>But... the PVR-150 seems to give up after a while. For example, I
> >>rebooted my machine on Sunday and it recorded two programs on the 150 on
> >>Sunday night.  But another program on Monday was not recorded (0 bytes).
> >>When I try and watch livetv, it shows this on the backend:
> >>Couldn't read data from the capture card in 15 seconds. Stopping.
> >>It seems it cannot read any data from the card.
> >>
> >>The PVR150 seems to give up after an ioctl (channel change for example).
> >>Debug log is long and is partially attached.  I can send the full log on
> >>request.  The important message is this::
> >>Mar 21 20:50:57 server1 kernel: ivtv: [0]result not ready, waiting 10 ms
> >>
> >>The machine is an Athlon 1100, 256MB RAM, running FC-3 with ATrpms mythtv
> >>packages and the ATrpms packaged 0.3.2i driver.  I have tried the new
> >>0.3.2k driver, but it hasn't helped.
> >>
> >>Kind regards,
> >>
> >>Mark Wormgoor
> >>--
> >>***************************************************************
> >>* |\    /|      |  /|  /       Mark Wormgoor                  *
> >>* | \  / |      | / | /        mailto:[EMAIL PROTECTED]       *
> >>* |  \/  |ark   |/  |/ormgoor  http://www.wormgoor.com/mark/  *
> >>***************************************************************
> >>
> >>
> > 
> > 
> > 
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > ivtv-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/ivtv-devel
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ivtv-devel
diff -ruN ivtv-0.3.2m.old/driver/ivtv-streams.c ivtv-0.3.2m/driver/ivtv-streams.c
--- ivtv-0.3.2m.old/driver/ivtv-streams.c	2005-03-22 17:08:09.000000000 +0100
+++ ivtv-0.3.2m/driver/ivtv-streams.c	2005-03-25 12:03:44.269415008 +0100
@@ -793,14 +793,8 @@
 			ivtv_vbi_setup(itv);
 		}
 
-		if (itv->has_itvc15) {
-			/* event notification (on) */
-			/* type: 0 = refresh, on/off: 1 = on, 
-			   intr_bit: 0x10000000 = digitizer,
-			   mbox_id: -1: none */
-			ivtv_vapi(itv, IVTV_API_EVENT_NOTIFICATION,
-				  4, 0, 1, 0x10000000, -1);
-		}
+		ivtv_vapi(itv, IVTV_API_EVENT_NOTIFICATION, 
+			4, 0, 1, 0x10000000, -1);
 
 		/* Disable digitizer (saa7115) */
 		IVTV_DEBUG(IVTV_DEBUG_INFO, "Disabling digitizer\n");
@@ -1078,7 +1072,7 @@
 			   x);
 
 	/* only run these if we're shutting down the last cap */
-	if (itv->has_itvc15 && atomic_read(&itv->capturing) - 1 == 0) {
+	if (atomic_read(&itv->capturing) - 1 == 0) {
 		/* event notification (off) */
 		x = ivtv_vapi(itv, IVTV_API_EVENT_NOTIFICATION, 4, 0,	/* type: 0 = refresh */
 			      0,	/* on/off: 0 = off */

Reply via email to