Re: NOVA-S problems with 2.6.17

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

 



Hi - I've spotted what might be a bug in the dvb-core DISEQC stuff that was 
changed in 2.6.17 - I'm not sure if its causing your problem, but it seemed 
prudent to ask you to test it since it sounds a likely candidate. The 
attached patch is against 2.6.17.
diff -Naur linux-2.6.17.orig/drivers/media/dvb/dvb-core/dvb_frontend.c linux-2.6.17/drivers/media/dvb/dvb-core/dvb_frontend.c
--- linux-2.6.17.orig/drivers/media/dvb/dvb-core/dvb_frontend.c	2006-06-18 02:49:35.000000000 +0100
+++ linux-2.6.17/drivers/media/dvb/dvb-core/dvb_frontend.c	2006-06-30 00:34:07.000000000 +0100
@@ -686,6 +686,10 @@
 	fepriv->state = FESTATE_IDLE;
 	fepriv->exit = 0;
 	fepriv->thread_pid = 0;
+	fepriv->events.eventr = fepriv->events.eventw = 0;
+	fepriv->tune_mode_flags &= ~FE_TUNE_MODE_ONESHOT;
+	fepriv->tone = -1;
+	fepriv->voltage = -1;
 	mb();
 
 	ret = kernel_thread (dvb_frontend_thread, fe, 0);
@@ -999,14 +1003,6 @@
 		ret = dvb_frontend_start (fe);
 		if (ret)
 			dvb_generic_release (inode, file);
-
-		/*  empty event queue */
-		fepriv->events.eventr = fepriv->events.eventw = 0;
-
-		/* normal tune mode when opened R/W */
-		fepriv->tune_mode_flags &= ~FE_TUNE_MODE_ONESHOT;
-		fepriv->tone = -1;
-		fepriv->voltage = -1;
 	}
 
 	return ret;
_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux