[linux-dvb] Re: Kernel Oops with Hauppauge WinTV NOVA T USB2
Alan Nisota
alannisota at gmail.com
Sun Jun 25 00:45:48 CEST 2006
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) {
More information about the linux-dvb
mailing list