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
Hoernchen
551a2d2037
fix win32 build of rtl_test
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-21 22:34:43 +02:00
Steve Markgraf
09547797dc
Makefile.am: fix copy & paste mistake
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-21 18:31:48 +02:00
Harald Welte
9a7abe9186
add Cmake generated files to .gitignore
2012-05-20 18:13:34 +02:00
Dimitri Stolnikov
505f40d9a0
introduce api function to read usb string descriptors
...
This API allows to read manufacturer and product names as well as the
serial number advertized by the device on the bus.
2012-05-20 16:41:15 +02:00
Steve Markgraf
fdc7bc978b
add an initial version of rtl_test
...
This tool allows to check for lost samples (and thus check the USB
connection), as well as benchmark the Elonics E4000 tunable range.
(-t switch)
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-17 23:51:59 +02:00
Christian Vogel
73f54be2ed
#include <math.h> was not needed.
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-17 21:59:01 +02:00
Christian Vogel
589e96e8d8
Using a #define for constant 2^22 (not pow())
...
pow() might require the math library to be linked with
rtl-sdl (e.g. when compiling with clang), even though
it's actually constant.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-17 21:58:53 +02:00
Steve Markgraf
c426e94093
rename rtl-sdr.c to librtlsdr.c
...
Having rtl_sdr.c for the application and rtl-sdr.c for the lib
caused a bit of confusion...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-17 21:33:53 +02:00
Dimitri Stolnikov
b345963947
add api version information to the library when building with cmake
2012-05-15 18:14:43 +02:00
Dimitri Stolnikov
3198f14f44
fix a typo in Makefile.am
2012-05-14 20:48:25 +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
8dda694101
rtl_tcp: convert command parameters from network to host byteorder
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-13 23:04:09 +02:00
Dimitri Stolnikov
cdfd1cf775
fix a memory leak by unreferencing libusb devices
2012-05-12 15:55:06 +02:00
Dimitri Stolnikov
5371f206f3
install pkg-config file when building with cmake
2012-05-12 12:34:21 +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
8402124e6f
enable i2c repeater mode before applying filter bandwidth
2012-05-07 23:39:30 +02:00
Dimitri Stolnikov
e042c36cb5
rtl_sdr, rtl_tcp: cleaned up gain handling
2012-05-07 22:59:34 +02:00
Dimitri Stolnikov
b290116ac7
rtl_tcp: add handler for freq correction command
2012-05-07 22:38:25 +02:00
Dimitri Stolnikov
e5adc9a3ad
rtl_tcp: add handlers for sample rate and gain mode commands
2012-05-06 19:39:39 +02:00
Dimitri Stolnikov
9167a01248
consolidate program arguments
2012-05-06 00:34:13 +02:00
Dimitri Stolnikov
e9251da6e2
reset internally cached gain/freq values on setter failure
2012-05-05 18:30:13 +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
Dimitri Stolnikov
259e61fb17
document gain api
2012-05-05 12:33:47 +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
Steve Markgraf
0af094070f
add Compro Videomate U680F
...
Thanks to Marek Kroemeke for submitting the patch.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-03 20:58:14 +02:00
Dimitri Stolnikov
cec93754a2
use default xtal freq when 0 is given
2012-04-29 19:51:11 +02:00
Steve Markgraf
721085e1ab
fix a -Wuninitialized warning
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-25 22:47:30 +02:00