linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ulrich Eckhardt <uli-lirc@uli-eckhardt.de>
To: linux-media@vger.kernel.org, m.chehab@samsung.com
Subject: [PATCH][media] Fix LNB supply voltage of Tevii S480 on initialization
Date: Fri, 10 Oct 2014 19:19:12 +0200	[thread overview]
Message-ID: <54381510.5080301@uli-eckhardt.de> (raw)
In-Reply-To: <542C4B14.8030708@uli-eckhardt.de>

The Tevii S480 outputs 18V on startup for the LNB supply voltage and does not 
automatically power down. This blocks other receivers connected 
to a satellite channel router (EN50494), since the receivers can not send the
required DiSEqC sequences when the Tevii card is connected to a the same SCR.

This patch switches off the LNB supply voltage on initialization of the frontend. 

Signed-off-by: Ulrich Eckhardt <uli@uli-eckhardt.de>

diff --git a/drivers/media/dvb-frontends/ds3000.c b/drivers/media/dvb-frontends/ds3000.c
--- a/drivers/media/dvb-frontends/ds3000.c
+++ b/drivers/media/dvb-frontends/ds3000.c
@@ -864,6 +864,7 @@
        memcpy(&state->frontend.ops, &ds3000_ops,
                        sizeof(struct dvb_frontend_ops));
        state->frontend.demodulator_priv = state;
+       ds3000_set_voltage (&state->frontend, SEC_VOLTAGE_OFF);
        return &state->frontend;
 
 error3:




-- 
Ulrich Eckhardt                  http://www.uli-eckhardt.de

Ein Blitzableiter auf dem Kirchturm ist das denkbar stärkste 
Misstrauensvotum gegen den lieben Gott. (Karl Krauss)

      parent reply	other threads:[~2014-10-10 17:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-01 18:42 Tevii S480 on Unicable SCR System Ulrich Eckhardt
2014-10-08 16:52 ` Ulrich Eckhardt
2014-10-08 18:00   ` Mauro Carvalho Chehab
2014-10-08 18:28     ` Ulrich Eckhardt
2014-10-10 17:19 ` Ulrich Eckhardt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54381510.5080301@uli-eckhardt.de \
    --to=uli-lirc@uli-eckhardt.de \
    --cc=linux-media@vger.kernel.org \
    --cc=m.chehab@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).