summaryrefslogtreecommitdiff
path: root/src/librtlsdr.c
AgeCommit message (Collapse)Author
2012-07-21don't print i2c read/write errors for nowSteve Markgraf
During autodetection of the tuner they are normal and may cause confusion. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-20add pid of MyGica TD312 stickSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-16add debug messages to rtlsdr_read/write_arraySteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-09disable sample rate correction until we find a proper solutionDimitri Stolnikov
2012-07-08rtlsdr_set_tuner_if_gain(): enable i2c repeaterSteve Markgraf
Thanks to Stefan Sydow for noticing this bug. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-08apply frequency correction value on the xtal clock directlyDimitri Stolnikov
by using this approach both, the tuning frequency and the sample rate should be corrected at the same time.
2012-07-07add PIDs for 2 variants of the Terratex NOXON dongleSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-07disable DAGC by default, add control functionSteve Markgraf
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-07have *_write_reg() functions pass through the return valueSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-05add api function to control the IF gain for E4000 tunersDimitri Stolnikov
2012-06-22init: disable 4 MHz clock outputSteve Markgraf
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-13fix symbol visibility for automake buildsDimitri Stolnikov
2012-06-09tuner_fc0012: add manual gain supportSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-06-07add another PID for Noxon v1 stickSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-06-03correctly clear DDC shift and if_freq registersSteve Markgraf
This fixes the 2 kHz LO shift. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-06-02introduce getters for tuner parameters (gain, type)Dimitri Stolnikov
2012-05-30add PID for Zaapa ZT-MINDVBZPSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29tuner_fc0012: use new cleaned-up driverSteve Markgraf
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-26cache real sample rate with 1Hz resolution instead of the desired rateDimitri Stolnikov
2012-05-25tuner_fc0013: use new cleaned-up driverSteve Markgraf
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-21Add support for PROlectrix dongleDavid J. Fiddes
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-20introduce api function to read usb string descriptorsDimitri Stolnikov
This API allows to read manufacturer and product names as well as the serial number advertized by the device on the bus.
2012-05-17add an initial version of rtl_testSteve Markgraf
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#include <math.h> was not needed.Christian Vogel
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-17Using a #define for constant 2^22 (not pow())Christian Vogel
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-17rename rtl-sdr.c to librtlsdr.cSteve Markgraf
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>