Steve Markgraf
de978c3b3a
rtl_fm: fix typo that caused warning
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 21:20:41 +02:00
Steve Markgraf
f7f02836c4
rtl_fm: use getopt on win32 as well
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 20:47:07 +02:00
Kyle Keen
374abaebb8
rtl_fm: add experimental options
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 20:42:03 +02:00
Kyle Keen
d2f8faa204
rtl_fm: disabling fast_atan2() for now, too noisy
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 20:42:03 +02:00
Kyle Keen
62cc815863
rtl_fm: crude integer atan2, around 40% faster
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 20:42:03 +02:00
Kyle Keen
6e80117205
rtl_fm: missed a var init
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 20:42:03 +02:00
Kyle Keen
d56267a42f
rtl_fm: tweaks for nicer scanning
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 20:42:03 +02:00
Kyle Keen
c3dde1db91
rtl_fm: multithreaded and frequency scanning
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 20:42:03 +02:00
Kyle Keen
defa7af74b
rtl_fm: broken multi freq scanning
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 20:42:03 +02:00
Kyle Keen
6a9f5c14c2
rtl_fm: add -E for optional lower edge tuning
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 20:42:03 +02:00
Kyle Keen
37f5559d1c
rtl_fm: satisfactory squelch
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 20:42:03 +02:00
Steve Markgraf
fc390b3224
build rtl_fm
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 20:41:27 +02:00
Kyle Keen
6328e11da6
rtl_fm: prototype FM demod
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 20:40:15 +02:00
Steve Markgraf
9d0232385b
add debug messages to rtlsdr_read/write_array
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-16 21:11:26 +02:00
Dimitri Stolnikov
42a6592e63
disable sample rate correction until we find a proper solution
2012-07-09 22:22:55 +02:00
Steve Markgraf
2ad7b39e2d
rtlsdr_set_tuner_if_gain(): enable i2c repeater
...
Thanks to Stefan Sydow for noticing this bug.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-08 23:28:31 +02:00
Dimitri Stolnikov
f9b5d7b0a6
apply frequency correction value on the xtal clock directly
...
by using this approach both, the tuning frequency and the sample rate
should be corrected at the same time.
2012-07-08 15:52:59 +02:00
Steve Markgraf
7dc15d9fd7
add PIDs for 2 variants of the Terratex NOXON dongle
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-07 22:52:29 +02:00
Steve Markgraf
f3cf83e3d7
disable DAGC by default, add control function
...
This adds rtlsdr_set_agc_mode() to enable/disable it.
Thanks to Leif Asbrink for finding this setting.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-07 21:06:38 +02:00
Steve Markgraf
98d1b864b6
have *_write_reg() functions pass through the return value
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-07 20:56:12 +02: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
304c7c863d
rtl_test: tuner PLL benchmark only works with E4000
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-06-28 14:44:25 +02:00
Steve Markgraf
fc736ae67f
init: disable 4 MHz clock output
...
The pin where this clock is outputted is quite close to the
ADC inputs, so better disable it.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-06-22 15:52:35 +02:00
Dimitri Stolnikov
b09628b3e8
fix symbol visibility for automake builds
2012-06-13 01:29:37 +02:00
Steve Markgraf
e5afd9894d
tuner_fc0012: add manual gain support
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-06-09 00:17:09 +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
0d70522eda
automake: define pkg-config variables
2012-06-07 22:41:42 +02:00
Steve Markgraf
1686a0f905
add another PID for Noxon v1 stick
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-06-07 14:00:40 +02:00
Steve Markgraf
3838df8669
rtl_tcp: ignore SIGPIPE
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-06-05 18:04:10 +02:00
Steve Markgraf
9d58aec8cf
correctly clear DDC shift and if_freq registers
...
This fixes the 2 kHz LO shift.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-06-03 21:02:48 +02:00
Dimitri Stolnikov
7bd3933c41
introduce getters for tuner parameters (gain, type)
2012-06-02 01:36:42 +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
352e50df43
add PID for Zaapa ZT-MINDVBZP
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-30 20:59:59 +02:00
Steve Markgraf
b136a5ae9e
link applications to shared library
...
This saves space on low-memory devices.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29 22:00:54 +02:00
Steve Markgraf
4031d6ed04
tuner_fc0012: use new cleaned-up driver
...
The driver was taken from http://git.linuxtv.org/ and adapted
for librtlsdr. Manual gain will be added in a follow-up commit.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29 03:31:49 +02:00
Steve Markgraf
92d936568c
rtl_tcp: add parameter for changing number of buffers
...
This is useful for devices with low memory, e.g.
routers with OpenWRT (decrease to 8 for example).
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29 02:40:49 +02:00
Steve Markgraf
d08c4770ab
add local copy of getopt() for win32 build
...
Now all commandline utilities have a platform-independent
syntax.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29 02:13:18 +02:00
Steve Markgraf
bc2c445055
rtl_tcp: fix includes
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29 00:32:12 +02:00
Steve Markgraf
74d9619bc3
tuner_fc0013: get rid of compiler warning
...
"this decimal constant is unsigned only in ISO C90"
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-28 05:03:53 +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
Steve Markgraf
75548c8bf3
tuner_fc0013: improve tuning resolution
...
We now use Hz instead of kHz for the internal
calculations, and thus improve the tuning resolution
to ~50 Hz (tested with DAB).
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-27 15:33:11 +02:00
Dimitri Stolnikov
bcb8f2b28a
cache real sample rate with 1Hz resolution instead of the desired rate
2012-05-26 20:09:01 +02:00
Dimitri Stolnikov
932d6a6fb2
autotools: check for pthread library
2012-05-25 22:55:54 +02:00
Christian Vogel
f3a6302866
rtl_tcp: silence warning about socklen_t/int sign.
...
rtl_tcp.c:457:57: warning: pointer types point to integer types
with different sign passing 'int *', expected
'socklen_t *' [-Wpointer-sign]
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-25 20:54:03 +02:00
Dimitri Stolnikov
b5beddca4f
fix gain setting and update usage information for CLI tools
2012-05-25 20:45:47 +02:00
Steve Markgraf
6d34b04b42
tuner_fc0013: use new cleaned-up driver
...
The driver was taken from http://git.linuxtv.org/ and adapted
for librtlsdr. Also, fc0013_set_gain() was added.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-25 17:25:13 +02:00
Michael Karcher
c4c48a69ea
FC0012 doc and fixes
...
Fix selection of VCO band (needed for example to get to 166 MHz) for
the FC0012 tuner, and add a lot of register descriptions.
Signed-Off-by: Michael Karcher <osmosdr@mkarcher.dialup.fu-berlin.de>
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-24 12:33:28 +02:00
Dimitri Stolnikov
6328438479
add help message to rtl_tcp spectrum server
2012-05-23 22:19:01 +02:00
David J. Fiddes
cf8e78646a
Add support for PROlectrix dongle
...
Incorporate support for the PROlectrix DV107669 which appears to
be another variant of G-Tek RTL2832U device. This has a FC0012
tuner.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-21 22:44:39 +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