The DST driver has a problem where it won't properly change the LNB
voltage once it is on. This patch allows changing the voltage from 13 to
18 and back without turning it off first. Now the card tunes different
polarizations reliably for me.
Signed-off-by: Yeasah Pell <yeasah at schwide.net>
--- a/linux/drivers/media/dvb/bt8xx/dst.c Fri Apr 28 10:14:45 2006
-0300
+++ b/linux/drivers/media/dvb/bt8xx/dst.c Sat Apr 29 15:40:16 2006
-0400
@@ -1199,14 +1204,15 @@
static int dst_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t
voltage)
{
- int need_cmd;
+ int need_cmd = 0;
struct dst_state *state = fe->demodulator_priv;
+ /* a command is needed if voltage is changing */
+ if (state->voltage != voltage)
+ need_cmd = 1;
state->voltage = voltage;
if (state->dst_type != DST_TYPE_IS_SAT)
return 0;
-
- need_cmd = 0;
switch (voltage) {
case SEC_VOLTAGE_13:
_______________________________________________
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb