aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-06-02introduce getters for tuner parameters (gain, type)Dimitri Stolnikov2-29/+85
2012-06-01print the frequency for which the PLL couldn't lockDimitri Stolnikov1-8/+8
2012-05-30add PID for Zaapa ZT-MINDVBZPSteve Markgraf1-0/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29link applications to shared librarySteve Markgraf1-3/+3
This saves space on low-memory devices. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29tuner_fc0012: use new cleaned-up driverSteve Markgraf2-259/+244
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-29rtl_tcp: add parameter for changing number of buffersSteve Markgraf1-3/+8
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-29add local copy of getopt() for win32 buildSteve Markgraf6-49/+1257
Now all commandline utilities have a platform-independent syntax. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29rtl_tcp: fix includesSteve Markgraf1-1/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-28tuner_fc0013: get rid of compiler warningSteve Markgraf1-1/+1
"this decimal constant is unsigned only in ISO C90" Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-27tuner_e4k: workaround for band selection between 325 - 350 MHzSteve Markgraf1-0/+3
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-27tuner_fc0013: improve tuning resolutionSteve Markgraf1-31/+31
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-26cache real sample rate with 1Hz resolution instead of the desired rateDimitri Stolnikov1-3/+2
2012-05-25rtl_tcp: silence warning about socklen_t/int sign.Christian Vogel1-2/+6
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-25fix gain setting and update usage information for CLI toolsDimitri Stolnikov3-32/+57
2012-05-25tuner_fc0013: use new cleaned-up driverSteve Markgraf2-381/+421
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-24FC0012 doc and fixesMichael Karcher1-16/+33
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-23add help message to rtl_tcp spectrum serverDimitri Stolnikov1-3/+5
2012-05-21Add support for PROlectrix dongleDavid J. Fiddes1-0/+1
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-21tuner_e4k: fix returncode of e4k_set_enh_gain()Hoernchen1-1/+6
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-21fix win32 build of rtl_testHoernchen2-3/+6
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-21Makefile.am: fix copy & paste mistakeSteve Markgraf1-1/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-20introduce api function to read usb string descriptorsDimitri Stolnikov2-4/+93
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 Markgraf4-2/+312
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 Vogel3-3/+0
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-17Using a #define for constant 2^22 (not pow())Christian Vogel1-2/+5
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 Markgraf3-3/+3
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-15add api version information to the library when building with cmakeDimitri Stolnikov1-0/+1
2012-05-14fix a typo in Makefile.amDimitri Stolnikov1-1/+1
2012-05-14tuner_e4k: use empty entry instead of offset for if_stage_gain_regs[]Hoernchen1-1/+2
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-13rtl_tcp: convert command parameters from network to host byteorderSteve Markgraf1-13/+13
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-12fix a memory leak by unreferencing libusb devicesDimitri Stolnikov1-4/+4
2012-05-10tuner_e4k: allow frequencies above INT_MAXSteve Markgraf1-7/+7
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-07enable i2c repeater mode before applying filter bandwidthDimitri Stolnikov1-16/+11
2012-05-07rtl_sdr, rtl_tcp: cleaned up gain handlingDimitri Stolnikov2-13/+18
2012-05-07rtl_tcp: add handler for freq correction commandDimitri Stolnikov1-1/+5
2012-05-06rtl_tcp: add handlers for sample rate and gain mode commandsDimitri Stolnikov1-6/+14
2012-05-06consolidate program argumentsDimitri Stolnikov4-22/+22
2012-05-05reset internally cached gain/freq values on setter failureDimitri Stolnikov1-3/+8
2012-05-05tuner_e4k: fix a typo in choose_rf_filter functionDimitri Stolnikov1-1/+1
2012-05-05tuner_e4k: replace remaining printfs with fprintf to stderrSteve Markgraf1-2/+2
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-05uhf appears to work better for ads-bHoernchen1-13/+22
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-05tuner_e4k: fix off-by-one error in e4k_if_gain_set()Steve Markgraf1-1/+1
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-04use new E4000 tuner driver, allow manual gainSteve Markgraf6-2087/+1046
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-03add Compro Videomate U680FSteve Markgraf1-0/+1
Thanks to Marek Kroemeke for submitting the patch. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-29use default xtal freq when 0 is givenDimitri Stolnikov1-7/+7
2012-04-25fix a -Wuninitialized warningSteve Markgraf1-1/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-25introduce api to configure crystal oscillator frequencyDimitri Stolnikov6-105/+226
Usually both, the RTL and the tuner ICs use the same clock. Changing the clock may make sense if you are applying an external clock to the tuner or to compensate the frequency (and samplerate) error caused by the original cheap crystal. This commit covers all tuner drivers except of the Fitipower FC2580
2012-04-25add Terratec T Stick PLUSSteve Markgraf1-0/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-24return frequency and sample rate as unsigned integersDimitri Stolnikov1-4/+4
2012-04-24rtl_tcp: proper linux supportHoernchen1-17/+26
as well as some cosmetic fixes Signed-off-by: Steve Markgraf <steve@steve-m.de>