Commit Graph

246 Commits

Author SHA1 Message Date
Steve Markgraf
912a5b1e31 make older versions of GCC happy
fixes the 'redefinition'-error with older versions of GCC

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-05 01:08:37 +02:00
Steve Markgraf
97db8149d9 workaround for some versions of libusb
Some versions of libusb don't seem to like if you call
libusb_init if you already have another instance opened.
(1.0.8 on Debian squeeze e.g.)

Thus, print name of device before opening it.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-04 21:50:32 +02:00
Steve Markgraf
003446e508 use timeouts for control transfers
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-04 21:47:20 +02:00
Steve Markgraf
cdd6c488a3 rtlsdr_callback: use correct pointer type for buffer
Silences a clang warning.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-04 17:46:19 +02:00
Dimitri Stolnikov
d2355cfd91 install utility as well
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03 20:18:24 +02:00
Dimitri Stolnikov
f13cf0e56c adjust project slogan
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03 20:18:20 +02:00
Dimitri Stolnikov
9773ac0b83 define LIBUSB_CALL if not available with old libusb
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03 20:18:15 +02:00
Dimitri Stolnikov
b38414c15a add copyright notices
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03 20:18:08 +02:00
Steve Markgraf
2f6183cd6c properly poweroff PLL/ADCs/tuner on exit
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03 17:37:55 +02:00
Steve Markgraf
ca70087209 add several new sticks
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03 15:06:38 +02:00
Dimitri Stolnikov
9a4f4991a0 force same library filename for static and
shared variants of the library on !WIN32
platforms
2012-04-03 00:51:15 +02:00
Dimitri Stolnikov
01775f0e85 use unique libusb context per rtl
device

this commit breaks rtlsdr_open()
interface
2012-04-03 00:50:47 +02:00
Dimitri Stolnikov
2115949bb3 use different library names for
static/shared variants
2012-04-02 23:23:51 +02:00
Dimitri Stolnikov
39482fee74 introduce asynchronous streaming interface
this is an experimental feature
2012-04-02 23:09:14 +02:00
Dimitri Stolnikov
030c787cfa cmake & autotools fixes from previous commit 2012-04-02 21:42:24 +02:00
Hoernchen
229ebd2ff2 add win32 compatibility
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-02 21:00:26 +02:00
Steve Markgraf
ff50e0beda add Terratec Cinergy T Stick Black (rev 1)
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-02 18:29:57 +02:00
Steve Markgraf
09c00e439f select fc0012 UHF/VHF-filter according to frequency
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-02 18:17:28 +02:00
Steve Markgraf
3621cdfc60 don't use C99 2012-04-02 13:20:09 +02:00
Steve Markgraf
9a7051ce0b add Genius TVGo DVB-T03 USB dongle support
original author: Jiri Pinkava <j-pi@seznam.cz>

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-01 23:42:11 +02:00
Dimitri Stolnikov
4c3a5f7397 consolidated function defs and impls 2012-04-01 22:44:07 +02:00
Dimitri Stolnikov
e22c8a8378 fix type definition in library
interface

sorry mom! :P
2012-04-01 22:35:52 +02:00
Steve Markgraf
b5e4b76885 add FCI FC2580 tuner support
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-01 20:06:33 +02:00
Dimitri Stolnikov
6322c9343d add preliminary cmake build system 2012-04-01 16:52:41 +02:00
Dimitri Stolnikov
c5a6fe2452 add Terratec NOXON rev 2 support 2012-04-01 15:35:06 +02:00
Dimitri Stolnikov
9d15dc565a handle init/exit functions calling
automatically inside the library
2012-04-01 13:06:22 +02:00
Dimitri Stolnikov
46acfaebd2 rework on autotools handling of
private headers
2012-04-01 12:40:51 +02:00
Steve Markgraf
367113b5c8 add FC0012 driver
Thanks to David Badsen!

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-01 04:03:03 +02:00
Dimitri Stolnikov
4ad93906a4 add skeleton routines for setting tuner gain 2012-04-01 01:36:49 +02:00
Dimitri Stolnikov
2f20f6fe9e add argument check for device handle
also outputs all text to stderr
implement rate and frequency read functions
2012-04-01 01:15:05 +02:00
Steve Markgraf
31cb96fc3c add tuner initialization, fix fc0013 replug bug
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-01 00:38:40 +02:00
Steve Markgraf
ff79104824 add support for autoprobing the tuners
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-03-31 21:01:25 +02:00
Dimitri Stolnikov
c09fbb7c57 fix reading from usb by resetting the
buffers as required
2012-03-31 16:20:38 +02:00
Steve Markgraf
25cad444b2 add pid/vid for Logilink VG0002A
Uses the FCI 2580 tuner, no driver yet.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-03-31 14:50:04 +02:00
Steve Markgraf
ffea5061f0 cosmetic fixes/cleanup
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-03-31 14:32:18 +02:00
Dimitri Stolnikov
542533c229 ignore autotools generated files 2012-03-27 22:14:23 +02:00
Dimitri Stolnikov
001bfb96ef add autotools based build system 2012-03-27 20:53:49 +02:00
Dimitri Stolnikov
37bb5ca069 add .gitignore 2012-03-27 19:50:05 +02:00
Dimitri Stolnikov
d8da91cbc2 rework towards a library interface 2012-03-27 19:49:44 +02:00
Dimitri Stolnikov
40669a5a0a add udev rule for the Twintech UT-40 2012-03-24 22:23:04 +01:00
Dimitri Stolnikov
9657dc1203 add udev rules for known devices 2012-03-24 19:47:16 +01:00
Steve Markgraf
167210cfaa add readme
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-03-18 20:53:37 +01:00
Steve Markgraf
796a47397a fix typo in Makefile
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-03-14 20:27:32 +01:00
Steve Markgraf
409073b8ab display real sample rate with rounding error
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-03-14 03:28:48 +01:00
Steve Markgraf
8dc13ea3ea add commandline option for setting the sample rate
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-03-13 23:18:25 +01:00
Steve Markgraf
5a4fd14581 initial commit
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-03-12 00:30:54 +01:00