Steve Markgraf
d683b128f9
lib: abort if submitting transfer fails, don't deadlock when cancelling fails
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
11 years ago
Steve Markgraf
67302f4665
lib: add yet another Terratec OEM stick
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
11 years ago
Steve Markgraf
1050b96b47
lib: add OEM versions of Terratec NOXON sticks
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
11 years ago
Steve Markgraf
5f38c0519d
change device name of OEM dongles
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
11 years ago
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>
11 years ago
Jiri Pinkava
a42659602d
lib: use FIR coefficients instead of magic + documentation
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
11 years ago
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>
11 years ago
Steve Markgraf
360dd369bd
add Sveon STV21 stick to device list
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
11 years ago
Steve Markgraf
86be727e52
lib: declare fir coefficients as constant
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
11 years ago
Steve Markgraf
015c78a4ca
remove e4k-specific I2C functions from library
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
11 years ago
Steve Markgraf
aefd8b7d58
add Astrometa DVB-T/DVB-T2 stick
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
11 years ago
Steve Markgraf
e61731d230
add support for R828D tuner
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
11 years ago
Steve Markgraf
230930e975
use new driver for R8XX tuners
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
11 years ago
Steve Markgraf
cb8907dd4e
add DigitalNow Quad DVB-T PCI-E card
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
11 years ago
Steve Markgraf
8c3a99c8f7
lib: add ASUS U3100MINI_PLUS_V2 to device list
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
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>
12 years ago
Steve Markgraf
e202d0f92a
lib: add WinFast DTV Dongle mini D
...
Thanks to Alan Beard for reporting.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
3c4aa46f5a
lib: detach and reattach kernel driver if needed
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
f1803fe10f
lib: special handling of dongle disconnect for OS != win32
...
libusb reacts differently to a device loss during runtime,
and sporadic errors can happen when starting a second
instance interfacing another dongle, thus we need to wait
for all transfers to fail before assuming the dongle has
been removed.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
b656896f66
lib: remove "e.g. hama nano" from the default device description
...
This caused some confusion...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Hoernchen
3cbf139261
exit if our usb device disappears
12 years ago
Steve Markgraf
84f0a9084b
lib: enable standby mode of e4k and r820t on exit
...
Since the R820T is a power hog and gets quite hot,
this makes sense, especially when being battery-
powered.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Hoernchen
c338e5a8c1
let's not depend on libusb >= 1.0.9, avoid libusb_error_name()
12 years ago
Hoernchen
5d2d5a4ae4
more verbose error message if opening the usb device fails
12 years ago
Hoernchen
f1ac20c371
disable force canceling for now to prevent crashes
12 years ago
Steve Markgraf
7840ec21d3
lib: reset device if needed
...
This improves the situation on hosts with flaky host
controllers like the Raspberry Pi and the WR703N.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
4b057fea0f
rtlsdr_set_sample_rate(): don't access dev structure before checking for NULL
...
Thanks to Derek Lieber for reporting this bug.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Dimitri Stolnikov
314683a51e
librtlsdr: remove unneeded casting
...
Signed-off-by: Hoernchen <la@tfc-server.de>
12 years ago
Steve Markgraf
d3c9015d26
lib: add rtlsdr_get_index_by_serial()
...
This allows to open a device by a name (serial number string)
that has been programmed with rtl_eeprom -s.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
b85ffcfea5
add library support for EEPROM access and tool for modification
...
rtl_eeprom can be used to modify the USB descriptor
strings etc.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
ac05f9084c
make sure offset tuning works with gr-osmosdr
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
105e77c5d9
add vid/pid of PixelView PV-DT235U(RN)
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
ed449bc04d
add PID of MSI DigiVox Micro HD
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
25789493c6
tuner_r820t: add manual RF gain setting
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
c5d47b7f04
e4000_init(): use corrected xtal frequency
...
Otherwise the tuner would use the uncorrected xtal value
after enabling and disabling the direct sampling mode
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
9b8b0e53f6
add getters for direct sampling and offset tuning mode
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
22549e0da0
rtlsdr_set_direct_sampling(): fix issue when switching between inputs
...
Switching back from input 2 to 1 didn't work.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
b70c7d99f1
add function for offset tuning with zero-IF tuners
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
1e67d2a9a3
rtlsdr_demod_write_reg(): return 0 on success
...
Thanks to DreamNik for reporting this issue.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
28ea914422
add new product ID
...
thanks to Andrew Harrison for reporting it.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
b4e48d9555
rtlsdr_init_baseband: initialize possibly uninitialized registers
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
a48f48e3b1
correct sample frequency with ppm offset
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
35263d0df3
rtlsdr_set_direct_sampling: reset IF freq to 0 on zero-IF tuners
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
143b103061
tuner_fc0013: fix and improve manual LNA gain
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
15b9e7ef02
tuner_fc0013: setting GPIO not needed for filter selection
...
The driver selects the VHF/UHF filter via I2C.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
01d8d308fc
disable second ADC in IF mode, make input selectable in DS-mode
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
519406264c
make rtlsdr_close() build on win32 again
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
fc5881d4cd
add support for direct sampling mode
...
This commit adds the function rtlsdr_set_direct_sampling()
which can be used to enable/disable a mode where the
RTL2832 acts as a direct sampling receiver.
This mode disables the tuner, and by attaching a long
wire, or better, a 50Ω to 200Ω transformer and a lowpass-
filter to the In-phase ADC input (pin 1 or 2 of the RTL2832,
whereas pin 1 is at the molded dot) it is possible to listen to
shortwave radio stations. The coupling capacitors can be
left in place, but for better results they should be removed.
Tuning in this mode is done with the DDC, and since the
ADC samples with 28.8 MHz, tuning is possible from 0 to
28.8 MHz.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
5a26bd51e7
add initial support for the R820T tuner
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Steve Markgraf
5f88049c0c
rtlsdr_i2c_rad_reg: fix uninitialized variable
...
This could lead to a misdetection of the tuner on some
platforms (E4K instead of FC0013 on the raspberry pi).
Thanks to Christoph Gommel for reporting this issue.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago