Commit Graph

14 Commits

Author SHA1 Message Date
Steve Markgraf
015c78a4ca remove e4k-specific I2C functions from library
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04 21:53:41 +01:00
Steve Markgraf
84f0a9084b lib: enable standby mode of e4k and r820t on exit
Since the R820T is a power hog and gets quite hot,
this makes sense, especially when being battery-
powered.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-16 01:43:45 +01:00
Dimitri Stolnikov
6ea029d92c add api function to control the IF gain for E4000 tuners 2012-07-05 00:28:52 +02:00
Steve Markgraf
6aec27c6d0 tuner_e4k: relicense driver under GPLv2+
All authors have agreed to relicense the driver under
GPLv2+, for easing integration in other projects
(such as V4L).

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-06-08 18:52:47 +02:00
Dimitri Stolnikov
d5bfa3867f print the frequency for which the PLL couldn't lock 2012-06-01 20:53:35 +02:00
Steve Markgraf
635b2751af tuner_e4k: workaround for band selection between 325 - 350 MHz
Thanks to roger and Kire Pudsje for reporting
this problem, and Hoernchen for proposing the fix.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-27 19:07:37 +02:00
Hoernchen
df52752349 tuner_e4k: fix returncode of e4k_set_enh_gain()
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-21 22:37:43 +02:00
Hoernchen
f7d9e578a0 tuner_e4k: use empty entry instead of offset for if_stage_gain_regs[]
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-14 19:28:55 +02:00
Steve Markgraf
2ed8375f39 tuner_e4k: allow frequencies above INT_MAX
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-10 21:07:25 +02:00
Dimitri Stolnikov
eded5bf5c3 tuner_e4k: fix a typo in choose_rf_filter function 2012-05-05 15:09:01 +02:00
Steve Markgraf
7931aa76c5 tuner_e4k: replace remaining printfs with fprintf to stderr
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-05 14:03:59 +02:00
Hoernchen
b6652f33df uhf appears to work better for ads-b
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-05 13:54:24 +02:00
Steve Markgraf
59198d6342 tuner_e4k: fix off-by-one error in e4k_if_gain_set()
Thanks to patchvonbraun for providing debug logs
that helped to track this beast down.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-05 02:19:34 +02:00
Steve Markgraf
86c34428aa use new E4000 tuner driver, allow manual gain
Many thanks to Hoernchen for making the driver work properly
and adding manual gain!

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-04 23:02:29 +02:00