From d350eef406d8792d333f2d182ff6ad9fa25883a3 Mon Sep 17 00:00:00 2001 From: Ralph Metzler Date: Mon, 8 Jul 2019 10:00:11 +0200 Subject: [PATCH] add DVB-S and Max M4 to dummy device handling --- ddbridge/ddbridge-core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ddbridge/ddbridge-core.c b/ddbridge/ddbridge-core.c index d2412fd..d527f49 100644 --- a/ddbridge/ddbridge-core.c +++ b/ddbridge/ddbridge-core.c @@ -1105,7 +1105,7 @@ static void dummy_release(struct dvb_frontend *fe) } static struct dvb_frontend_ops dummy_ops = { - .delsys = { SYS_DVBC_ANNEX_A }, + .delsys = { SYS_DVBC_ANNEX_A, SYS_DVBS, SYS_DVBS2 }, .info = { .name = "DUMMY DVB-C/C2 DVB-T/T2", .frequency_stepsize = 166667, /* DVB-T only */ @@ -2072,7 +2072,8 @@ static void ddb_port_probe(struct ddb_port *port) /* Handle missing ports and ports without I2C */ if (dummy_tuner && !port->nr && - link->ids.device == 0x0005) { + (link->ids.device == 0x0005 || + link->ids.device == 0x000a)) { port->name = "DUMMY"; port->class = DDB_PORT_TUNER; port->type = DDB_TUNER_DUMMY;