Re: Re: Kernel Oops with Hauppauge WinTV NOVA T USB2

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

 



On 6/24/06, Aki Parviainenwrote:
 > Does anybody have an idea why it stopped working?

This looks similar to what I've been seeing on all cards.
Looks like get_frontend_algo isn't initialized by most drivers.

The follwoing patch fixes the problem for me:
Index: v4l-dvb/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
===================================================================
--- v4l-dvb.orig/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
2006-06-24 08:24:26.000000000 -0700
+++ v4l-dvb/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
2006-06-24 08:24:35.000000000 -0700
@@ -562,7 +562,8 @@
               }

               /* do an iteration of the tuning loop */
-               if (fe->ops.get_frontend_algo(fe) == FE_ALGO_HW) {
+               if (fe->ops.get_frontend_algo &&
+                       fe->ops.get_frontend_algo(fe) == FE_ALGO_HW) {
                       /* have we been asked to retune? */
                       params = NULL;
                       if (fepriv->state & FESTATE_RETUNE) {

_______________________________________________

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