summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-05-27tuner_fc0013: improve tuning resolutionSteve Markgraf
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 Stolnikov
2012-05-25rtl_tcp: silence warning about socklen_t/int sign.Christian Vogel
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 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-24FC0012 doc and fixesMichael Karcher
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 Stolnikov
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-21tuner_e4k: fix returncode of e4k_set_enh_gain()Hoernchen
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-21fix win32 build of rtl_testHoernchen
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-21Makefile.am: fix copy & paste mistakeSteve Markgraf
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>
2012-05-15add api version information to the library when building with cmakeDimitri Stolnikov
2012-05-14fix a typo in Makefile.amDimitri Stolnikov
2012-05-14tuner_e4k: use empty entry instead of offset for if_stage_gain_regs[]Hoernchen
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-13rtl_tcp: convert command parameters from network to host byteorderSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-12fix a memory leak by unreferencing libusb devicesDimitri Stolnikov
2012-05-10tuner_e4k: allow frequencies above INT_MAXSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-07enable i2c repeater mode before applying filter bandwidthDimitri Stolnikov
2012-05-07rtl_sdr, rtl_tcp: cleaned up gain handlingDimitri Stolnikov
2012-05-07rtl_tcp: add handler for freq correction commandDimitri Stolnikov
2012-05-06rtl_tcp: add handlers for sample rate and gain mode commandsDimitri Stolnikov
2012-05-06consolidate program argumentsDimitri Stolnikov
2012-05-05reset internally cached gain/freq values on setter failureDimitri Stolnikov
2012-05-05tuner_e4k: fix a typo in choose_rf_filter functionDimitri Stolnikov
2012-05-05tuner_e4k: replace remaining printfs with fprintf to stderrSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-05uhf appears to work better for ads-bHoernchen
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-05tuner_e4k: fix off-by-one error in e4k_if_gain_set()Steve Markgraf
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 Markgraf
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 Markgraf
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 Stolnikov
2012-04-25fix a -Wuninitialized warningSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-25introduce api to configure crystal oscillator frequencyDimitri Stolnikov
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 Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-24return frequency and sample rate as unsigned integersDimitri Stolnikov
2012-04-24rtl_tcp: proper linux supportHoernchen
as well as some cosmetic fixes Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-22rtlsdr_read_async: buffer length must be multiple of 512Dimitri Stolnikov
2012-04-21add a note with patch submission informationDimitri Stolnikov
2012-04-20e4k: disable DC offset correctionSteve Markgraf
This was causing the 'pulsing' of the DC offset spike. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-19use fixed (smallest possible) bandwidth for FCI tunersDimitri Stolnikov
also fixes c&p error pointed out by j-pi@seznam.cz
2012-04-19add initial version of tcp serverHoernchen
2012-04-19fix off-by-one in argument handlingHoernchen
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-18add Compro Videomate U650FSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-16add Terratec Cinergy T Stick RC (Rev.3)Steve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-12add Compro Videomate U620F (E4K tuner)Steve Markgraf
Thanks to Simeon Miteff for reporting this device. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-11change async cancellation mechnism to make it more reliableDimitri Stolnikov
- fixes crashes on windows platform while calling rtlsdr_close() - makes it possible to restart async reads after cancellation