Commit Graph

398 Commits

Author SHA1 Message Date
Kyle Keen
8520c7c3d7 rtl_adsb: fix threading
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2014-01-23 23:23:06 +01:00
Kyle Keen
27c0929939 utils: convenience functions
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2014-01-23 23:21:23 +01:00
Steve Markgraf
003bd51167 lib: check for validity of sample rates
Thanks to Joris van Rantwijk for finding what seems to be
a hardware limitation/bug (bit 28 of the rsamp register being
forced to the value of bit 27).

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2014-01-05 22:51:44 +01:00
Steve Markgraf
d683b128f9 lib: abort if submitting transfer fails, don't deadlock when cancelling fails
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2014-01-03 05:56:43 +01:00
Kyle Keen
3ab6fffbdd rtl_power: MSVC 2010 doesn't have log2()
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-12-27 00:41:49 +01:00
Hoernchen
7855c7c876 rtl_tcp: clean up error handling
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-12-27 00:22:30 +01:00
Steve Markgraf
67302f4665 lib: add yet another Terratec OEM stick
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-12-26 19:33:30 +01:00
Kyle Keen
fca2b7d52f rtl_power: apply first series of patches
* fix typos
* droop compensation
* improve sample rates, peak hold
* direct sampling
* offset tuning

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-12-26 19:29:53 +01:00
Steve Markgraf
1050b96b47 lib: add OEM versions of Terratec NOXON sticks
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-12-24 02:10:05 +01:00
Steve Markgraf
5f38c0519d change device name of OEM dongles
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-12-16 21:34:01 +01:00
Steve Markgraf
2890fe96e0 change version to 0.5.2git
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-12-16 21:31:08 +01:00
Steve Markgraf
2d0eaa898d change version to 0.5.2
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-12-12 00:26:43 +01:00
Steve Markgraf
e1bf239a6d lib: add KWorld KW-UB450-T to device list
The TUA9001 tuner it uses is unsupported
at the moment, though.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-12-08 16:48:07 +01:00
Jiri Pinkava
a42659602d lib: use FIR coefficients instead of magic + documentation
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-12-02 01:31:14 +01:00
Steve Markgraf
f17818f737 rtl_test: use static instead of global var
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-21 16:33:44 +01:00
Steve Markgraf
33427f7f31 rtl_eeprom: add note regarding necessary replug of device
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-19 02:10:55 +01:00
Steve Markgraf
aced2dbd0e rtl_fm/power: unbreak MinGW build
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-18 21:36:19 +01:00
Steve Markgraf
3969938eb6 cmake: detect libusb on FreeBSD
Source:
http://patch-tracker.debian.org/patch/series/view/rtl-sdr/0.5.0.4.4914-2/libusb-freebsd

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-17 19:09:59 +01:00
Steve Markgraf
fbfa127889 tuner_r82xx: enable multi-byte I2C transfers
This should speed some multi register reads up a bit.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-16 21:10:31 +01:00
Steve Markgraf
360dd369bd add Sveon STV21 stick to device list
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-10 01:18:42 +01:00
Kyle Keen
c5b8a21300 rtl_power: more lowpass options
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-05 20:58:17 +01:00
Kyle Keen
8f1d108122 rtl_power: nicer errors, low pass, low bw
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-05 20:58:11 +01:00
Kyle Keen
968b6fbfdc rtl_power: clean ^C, cropped bins, +32k bins
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-05 20:58:01 +01:00
Steve Markgraf
1cdc3a02fd tuner_r82xx: set init_done after init
This broke r82xx_standby().

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-05 20:12:25 +01:00
Steve Markgraf
ae6a72c586 build: make build with automake work again
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04 22:15:44 +01:00
Steve Markgraf
965a4ab5e9 build: don't warn on unused parameters
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04 22:12:09 +01:00
Steve Markgraf
a1e55db1fe r82xx: make new driver build with MSVC
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04 21:56:20 +01:00
Steve Markgraf
86be727e52 lib: declare fir coefficients as constant
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04 21:54:55 +01:00
Steve Markgraf
015c78a4ca remove e4k-specific I2C functions from library
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04 21:53:41 +01:00
Steve Markgraf
aefd8b7d58 add Astrometa DVB-T/DVB-T2 stick
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04 21:52:31 +01:00
Steve Markgraf
e61731d230 add support for R828D tuner
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04 21:51:35 +01:00
Steve Markgraf
230930e975 use new driver for R8XX tuners
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04 21:50:02 +01:00
Steve Markgraf
fda22c6a1d change version to 0.5.1git
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04 21:43:17 +01:00
Steve Markgraf
55694f0750 new version: 0.5.1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-10-29 15:35:52 +01:00
Hoernchen
dbede4e3c0 tools: play nice with mingw/cygwin 2013-10-25 01:11:44 +02:00
Hoernchen
7614a4d684 tools: minor win fix 2013-10-25 00:04:17 +02:00
Kyle Keen
dbc49549a0 add new tool: rtl_power
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-10-24 23:46:16 +02:00
Howard Su
53775a2ebf rtl_adsb: remove floats for more speed
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-10-24 23:33:51 +02:00
Kyle Keen
b70720b9b6 rtl_fm: set nearest gain
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-10-24 23:29:46 +02:00
Kyle Keen
31cef2ef55 rtl_fm: fix buffer dump bug
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-10-24 23:29:42 +02:00
Kyle Keen
a6d7fff9ca rtl_fm: better suffix parsing
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-10-24 23:29:34 +02:00
Steve Markgraf
cb8907dd4e add DigitalNow Quad DVB-T PCI-E card
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-10-12 15:56:20 +02:00
Will Glynn
4914b5d431 rtl_adsb: Fix invalid memory access
single_manchester() considers both i and i+1, but the loop only
tests that i is in bounds. This causes undefined behavior, including
but not limited to a SIGBUS-related crash on Mac OS X.

(And also, we should not enter an infinite loop, caused by applying
an patch I sent that didn't also change the while condition.)

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-09-13 18:55:55 +02:00
Kyle Keen
c4fcfbb46e rtl_fm: fix scanning
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-09-13 18:31:49 +02:00
Steve Markgraf
8c3a99c8f7 lib: add ASUS U3100MINI_PLUS_V2 to device list
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-06-12 18:50:28 +02:00
Steve Markgraf
390b560e4a change version to 0.5git
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-06-12 18:49:38 +02:00
Steve Markgraf
af1e2d29e8 bump version to 0.5.0
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-06-04 21:04:10 +02:00
Steve Markgraf
3e17ef2b55 lib: don't detach kernel driver by default
Since this feature also disconnects running instances
of librtlsdr that claimed the device, it is now disabled
by default and can only be enabled at compile time.

To enable it when building with cmake:
cmake . -DDETACH_KERNEL_DRIVER=ON

To enable it when building with automake:
./configure --enable-driver-detach

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-06-04 20:57:43 +02:00
Dimitri Stolnikov
ce341fe53b cmake: add version module 2013-06-04 20:18:56 +02:00
Jaroslav Škarvada
a5dd532cbb rtl-sdr: add support for lib64 (e.g. Fedora)
Another possibility is to use the GrPlatform.cmake module.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-04-14 17:05:08 +02:00