Commit Graph

91 Commits

Author SHA1 Message Date
Dimitri Stolnikov
e9251da6e2 reset internally cached gain/freq values on setter failure 2012-05-05 18:30:13 +02:00
Dimitri Stolnikov
eded5bf5c3 tuner_e4k: fix a typo in choose_rf_filter function 2012-05-05 15:09:01 +02:00
Steve Markgraf
7931aa76c5 tuner_e4k: replace remaining printfs with fprintf to stderr
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-05 14:03:59 +02:00
Hoernchen
b6652f33df uhf appears to work better for ads-b
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-05 13:54:24 +02:00
Dimitri Stolnikov
259e61fb17 document gain api 2012-05-05 12:33:47 +02:00
Steve Markgraf
59198d6342 tuner_e4k: fix off-by-one error in e4k_if_gain_set()
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-05 02:19:34 +02:00
Steve Markgraf
86c34428aa use new E4000 tuner driver, allow manual gain
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-04 23:02:29 +02:00
Steve Markgraf
0af094070f add Compro Videomate U680F
Thanks to Marek Kroemeke for submitting the patch.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-03 20:58:14 +02:00
Dimitri Stolnikov
cec93754a2 use default xtal freq when 0 is given 2012-04-29 19:51:11 +02:00
Steve Markgraf
721085e1ab fix a -Wuninitialized warning
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-25 22:47:30 +02:00
Dimitri Stolnikov
e5e68c6524 compile with warnings enabled 2012-04-25 22:36:56 +02:00
Dimitri Stolnikov
bad6fb080b introduce api to configure crystal oscillator frequency
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-25 22:32:51 +02:00
Steve Markgraf
8a1d6d69bd add Terratec T Stick PLUS
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-25 17:11:48 +02:00
Dimitri Stolnikov
5f70efd8d1 return frequency and sample rate as unsigned integers 2012-04-24 20:02:53 +02:00
Dimitri Stolnikov
680fe5de03 add rtl_tcp utility to gitignore
thanks to Michal Demin for reporting this
2012-04-24 19:14:54 +02:00
Hoernchen
eb9a437de7 rtl_tcp: proper linux support
as well as some cosmetic fixes

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-24 18:04:46 +02:00
Dimitri Stolnikov
e4fef23874 rtlsdr_read_async: buffer length must be multiple of 512 2012-04-22 21:47:00 +02:00
Dimitri Stolnikov
7ba990981b add a note with patch submission information 2012-04-21 21:38:37 +02:00
Steve Markgraf
35729e7ee4 e4k: disable DC offset correction
This was causing the 'pulsing' of the DC offset spike.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-20 23:35:16 +02:00
Dimitri Stolnikov
dd68eb2d22 use fixed (smallest possible) bandwidth for FCI tuners
also fixes c&p error pointed out by j-pi@seznam.cz
2012-04-19 23:02:53 +02:00
Hoernchen
d55b491c43 add initial version of tcp server 2012-04-19 17:51:39 +02:00
Hoernchen
6b99aedc4d fix off-by-one in argument handling
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-19 16:38:31 +02:00
Steve Markgraf
e07189cea1 add Compro Videomate U650F
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-18 20:19:50 +02:00
Steve Markgraf
f182717b76 add Terratec Cinergy T Stick RC (Rev.3)
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-16 23:54:20 +02:00
Steve Markgraf
84158553ee add Compro Videomate U620F (E4K tuner)
Thanks to Simeon Miteff for reporting this device.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-12 01:08:57 +02:00
Dimitri Stolnikov
7651ff1940 change async cancellation mechnism to make it more reliable
- fixes crashes on windows platform while calling rtlsdr_close()
- makes it possible to restart async reads after cancellation
2012-04-11 00:27:49 +02:00
Hoernchen
24a12a44d1 reorder calls to prevent a crash
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-10 15:17:10 +02:00
Hoernchen
03f3504b41 tell windows that ctrl-c was handled
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-10 15:15:33 +02:00
Hoernchen
0bc846c34c make win32 build actually work
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-10 01:25:00 +02:00
Steve Markgraf
65ac467941 correct LPF coefficient
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-09 18:35:07 +02:00
Steve Markgraf
3ded206470 reset demod after setting samplerate
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-09 18:35:03 +02:00
Dimitri Stolnikov
f5f92ae3fa exit gracefully on SIGPIPE
this will properly free all the used memory when working with a pipe and
closing the other end (think of GRC)
2012-04-09 18:14:39 +02:00
Steve Markgraf
3738a6730c allow user to send data to stdout
Patch provided by 'airwave', Thanks!

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-09 15:09:01 +02:00
Steve Markgraf
a58def7f58 allow user to select sync mode
Patch provided by 'airwave', Thanks!

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-09 15:05:09 +02:00
Steve Markgraf
7e6d2f55ee allow user to select block size
Patch provided by 'airwave', Thanks!

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-09 14:46:22 +02:00
Steve Markgraf
6eeceba397 use fprintf instead of printf
Patch provided by 'airwave', Thanks!

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-09 14:43:14 +02:00
Dimitri Stolnikov
20313516cc disable bulk read timeouts
ideally, we should calculate them depending on the configured sample
rate
2012-04-09 00:27:15 +02:00
Dimitri Stolnikov
1eb1c3e191 new api: rtlsdr_read_async function allows to specify buffer size
this commit deprecates rtlsdr_wait_async function
various small fixes are included in this commit
2012-04-08 23:02:42 +02:00
Dimitri Stolnikov
554e1b62f2 fix mailing list address 2012-04-08 13:24:12 +02:00
Steve Markgraf
a9900e2b7a add DIKOM pid/vid
Source:
http://forum.ubuntu-it.org/index.php/topic,413840.0.html

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-07 20:54:48 +02:00
Steve Markgraf
3051aa4eef use uint32_t instead of int for frequency
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-07 01:02:08 +02:00
Dimitri Stolnikov
2b0d5963b7 print out exact sample rate only if needed 2012-04-07 00:04:15 +02:00
Alexandru Csete
94c47189d4 Add support for Dexatek DK5217 DVB-T dongle.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-06 14:18:23 +02:00
Dimitri Stolnikov
df4991bc19 do not use NULL usb contexts to make libusb-pbatard work on windows 2012-04-06 13:47:45 +02:00
Steve Markgraf
6335b37668 fix rtlsdr_demod_read_reg()
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-05 01:09:50 +02:00
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