[linux-dvb] Poorly Siemens DVB-C

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gavin Hamill wrote:
 > I have one of these classic cards (yay! RGB output! :) and the tuning has
 > suddenly got VERY slow - it'll take easily a minute to lock onto most
 > signals, and often up to four minutes. (!)

I had also tuning problems with my Siemens DVB-C card after I used the new DVB drivers.
I've found that the zig-zag scan is now disabled in the new VES1820 code. After enabling it again,
my card works fine (the bit error rate is a little bit high, but it was also not that low before).

I've appended a litte patch if you want to give it a try.

Cheers,
Karl


--- ./drivers/media/dvb/frontends/ves1820.c.orig        2005-04-07 22:16:46.000000000 +0200
+++ ./drivers/media/dvb/frontends/ves1820.c     2005-08-13 16:23:27.361531064 +0200
@@ -352,12 +352,17 @@
         return 0;
  }

+static struct dvb_frontend_ops ves1820_ops;
+
  static int ves1820_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* fesettings)
  {

         fesettings->min_delay_ms = 200;
-       fesettings->step_size = 0;
-       fesettings->max_drift = 0;
+
+       // enable zig-zag scan
+       fesettings->step_size = ves1820_ops.info.frequency_stepsize * 2;
+       fesettings->max_drift = ves1820_ops.info.frequency_stepsize * 10;
+
         return 0;
  }

@@ -367,8 +372,6 @@
         kfree(state);
  }

-static struct dvb_frontend_ops ves1820_ops;
-
  struct dvb_frontend* ves1820_attach(const struct ves1820_config* config,
                                     struct i2c_adapter* i2c,
                                     u8 pwm)



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux