VDR-1.5.13 DVBS2 Autodetect Addon: Channel Not Available on DVBS2 Channels

Message ID eddfa47b0801261105x6cec527h515e6550b2c7e04b@mail.gmail.com
State New
Headers

Commit Message

Morfsta Jan. 26, 2008, 7:05 p.m. UTC
  > Have a look at Gregoire's initial discussion with Reinhard here:
> http://permalink.gmane.org/gmane.linux.vdr/34901
>
> Maybe the mentioned debug code helps to get this sorted.
> I don't have a HVR4000 here, with a TT3200 it's working out of the box...

Thanks for the info, I fixed Holger's original HVR4000 patch to work
with VDR-1.5.13 and Reinhard's recent patches. The patch is attached,
apply the patch after applying Holger's to the multiproto tree.
  

Patch

--- multiproto/linux/drivers/media/dvb/frontends/cx24116.c	2008-01-26 18:49:56.000000000 +0000
+++ multiproto.worked/linux/drivers/media/dvb/frontends/cx24116.c	2008-01-26 17:23:21.000000000 +0000
@@ -1490,6 +1490,16 @@  static int cx24116_get_frontend(struct d
 	return ret;
 }
 
+static int cx24116_get_delsys(struct dvb_frontend *fe,
+        enum dvbfe_delsys *fe_delsys)
+{
+        dprintk("%s()\n",__FUNCTION__);
+        *fe_delsys = DVBFE_DELSYS_DVBS | DVBFE_DELSYS_DVBS2;
+
+        return 0;
+}
+
+
 /*
  * Initialise or wake up device
  *
@@ -1579,6 +1589,7 @@  static struct dvb_frontend_ops cx24116_o
 	.set_voltage = cx24116_set_voltage,
 	.diseqc_send_master_cmd = cx24116_send_diseqc_msg,
 	.diseqc_send_burst = cx24116_diseqc_send_burst,
+	.get_delsys             = cx24116_get_delsys,
 };
 
 module_param(debug, int, 0644);