Hi all,
I have compiled and installed rtl-sdr on CentOS 6 following instructions.
Everything compiles without errors, but:
- when I run rtl_test I get the following errors:
Found 1 device(s):
0: ezcap USB 2.0 DVB-T/DAB/FM dongle
Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7
16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1
43.4 43.9 44.5 48.0 49.6
Info: This tool will continuously read from the device, and report if
samples get lost. If you observe no further output, everything is fine.
Reading samples in async mode...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
Library error 0, exiting...
If I run rtl_tcp I get the following errors when the client tries to
connect:
Found 1 device(s).
Found Rafael Micro R820T tuner
Using ezcap USB 2.0 DVB-T/DAB/FM dongle
Tuned to 100000000 Hz.
listening...
Use the device argument 'rtl_tcp=192.168.33.99:8767' in OsmoSDR
(gr-osmosdr) source
to receive samples in GRC and control rtl_tcp parameters (frequency,
gain, ...).
client accepted!
set freq 145000000
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
set sample rate 1024000
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
set freq correction 4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
worker cond timeout
Signal caught, exiting!
comm recv bye
Signal caught, exiting!
all threads dead..
listening...
The same client connects without errors to another rtl_tcp instance on a
Windows 7 computer, with the same module.
Any help is greatly appreciated.
Thanks,
Dan
I found this program yesterday: https://github.com/gordonjcp/lysdr
It's the GUI part of a minimal HDSDR/SDR# type program but it needs an IQ stream from something. It seems to be mostly intended for use with Softrocks but I wonder if anyone's been able to feed something like the output from rtl_sdr into it? It's got some Python and some C, requires Jackaudio. I was able to build it and run it under OpenBSD 5.2 without much trouble. Only does USB/LSB as written, Googling doesn't find me anything connecting it with any Osmocom stuff. rtl_tcp through Netcat might work better because it seems to want to control the frequencies. I've only got a couple of $20 dongles.
-----
Radio Astronomy - the ultimate DX
I keep getting the message "rtlsdr_read_reg failed with -7" whenever I
run any of the rtl_ commands.
When I run the command after re-plugging the stick it usually works
(except the lost samples):
rtl_test
Found 1 device(s):
0: ezcap USB 2.0 DVB-T/DAB/FM dongle
Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle
Found Fitipower FC0013 tuner
Supported gain values (23): -9.9 -7.3 -6.5 -6.3 -6.0 -5.8 -5.4 5.8 6.1 6.3 6.5 6.7 6.8 7.0 7.1 17.9 18.1 18.2 18.4 18.6 18.8 19.1 19.7
Info: This tool will continuously read from the device, and report if
samples get lost. If you observe no further output, everything is fine.
Reading samples in async mode...
lost at least 84 bytes
But if I run any of the rtl_ commands after breaking any previous
running command I get:
rtl_test
Found 1 device(s):
0: ezcap USB 2.0 DVB-T/DAB/FM dongle
Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle
rtlsdr_read_reg failed with -7
rtlsdr_write_reg failed with -7
rtlsdr_read_reg failed with -7
rtlsdr_write_reg failed with -7
rtlsdr_read_reg failed with -7
rtlsdr_write_reg failed with -7
Is there a way to completely reset the driver other than re-plugging
it?
I'm running Gentoo Linux (3.2.1 kernel)
Thanks!
//Petter
Hi All,
Just been trying to compile rtl-sdr on my Windows7x64; so I have cloned
the trunk repository, download mingw64, download cmake, get libusb-1.0
for windows and get pthreads-win32. After all I have configured cMake
with the parameter show below:
CMAKE_RC_FLAGS:STRING=
CMAKE_VERBOSE_MAKEFILE:BOOL=0
CMAKE_RC_COMPILER:FILEPATH=C:/Program
Files/mingw-builds/x64-4.8.1-posix-seh-rev5/mingw64/bin/windres.exe
CMAKE_AR:FILEPATH=C:/Program
Files/mingw-builds/x64-4.8.1-posix-seh-rev5/mingw64/bin/ar.exe
CMAKE_C_FLAGS:STRING=
CMAKE_C_FLAGS_DEBUG:STRING=
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
CMAKE_USE_RELATIVE_PATHS:BOOL=1
CMAKE_C_STANDARD_LIBRARIES:STRING=-lkernel32 -luser32 -lgdi32
-lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
-lstdc++
CMAKE_C_COMPILER:FILEPATH=C:/Program
Files/mingw-builds/x64-4.8.1-posix-seh-rev5/mingw64/bin/x86_64-w64-mingw32-gcc.exe
CMAKE_CODEBLOCKS_EXECUTABLE:FILEPATH=C:/Program
Files/mingw-builds/x64-4.8.1-posix-seh-rev5/mingw64/bin/mingw32-make.exe
LIBUSB_INCLUDE_DIR:PATH=E:/Staniscia/PRIVATO/RTL_SDR/libusbx/include/libusbx-1.0
LIBUSB_LIBRARIES:FILEPATH=E:/Staniscia/PRIVATO/RTL_SDR/libusbx/MinGW64/static/libusb-1.0.a
THREADS_PTHREADS_INCLUDE_DIR:PATH=E:/Staniscia/PRIVATO/RTL_SDR/pthreads-win32/Pre-built.2/include
THREADS_PTHREADS_WIN32_LIBRARY:FILEPATH=E:/Staniscia/PRIVATO/RTL_SDR/pthreads-win32/Pre-built.2/lib/x64/libpthreadGC2.a
and I don't have any warning from cMake but when I make the project I
have this:
----------------------
E:\Staniscia\PRIVATO\RTL_SDR\repo\rtl-sdr\build>mingw32-make.exe clean
E:\Staniscia\PRIVATO\RTL_SDR\repo\rtl-sdr\build>mingw32-make.exe
[ 5%] Building C object
src/CMakeFiles/libgetopt_static.dir/getopt/getopt.c.obj
Linking C static library liblibgetopt_static.a
[ 5%] Built target libgetopt_static
[ 10%] Building C object src/CMakeFiles/rtlsdr_shared.dir/librtlsdr.c.obj
[ 15%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_e4k.c.obj
[ 21%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_fc0012.c.obj
[ 26%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_fc0013.c.obj
[ 31%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_fc2580.c.obj
[ 36%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_r820t.c.obj
Linking C shared library librtlsdr.dll
[ 36%] Built target rtlsdr_shared
[ 42%] Building C object src/CMakeFiles/rtl_adsb.dir/rtl_adsb.c.obj
Linking C executable rtl_adsb.exe
[ 42%] Built target rtl_adsb
[ 47%] Building C object src/CMakeFiles/rtl_eeprom.dir/rtl_eeprom.c.obj
Linking C executable rtl_eeprom.exe
[ 47%] Built target rtl_eeprom
[ 52%] Building C object src/CMakeFiles/rtl_fm.dir/rtl_fm.c.obj
Linking C executable rtl_fm.exe
[ 52%] Built target rtl_fm
[ 57%] Building C object src/CMakeFiles/rtl_sdr.dir/rtl_sdr.c.obj
Linking C executable rtl_sdr.exe
[ 57%] Built target rtl_sdr
[ 63%] Building C object src/CMakeFiles/rtl_tcp.dir/rtl_tcp.c.obj
..\..\src\rtl_tcp.c: In function 'gettimeofday':
..\..\src\rtl_tcp.c:112:10: error: invalid suffix "Ui64" on integer constant
tmp -= 11644473600000000Ui64;
^
src\CMakeFiles\rtl_tcp.dir\build.make:57: recipe for target
'src/CMakeFiles/rtl_tcp.dir/rtl_tcp.c.obj' failed
mingw32-make.exe[2]: *** [src/CMakeFiles/rtl_tcp.dir/rtl_tcp.c.obj] Error 1
CMakeFiles\Makefile2:319: recipe for target
'src/CMakeFiles/rtl_tcp.dir/all' failed
mingw32-make.exe[1]: *** [src/CMakeFiles/rtl_tcp.dir/all] Error 2
Makefile:115: recipe for target 'all' failed
mingw32-make.exe: *** [all] Error 2
----------------------
Someone can help me?
Hi all,
I have built my antenna and now I wont evaluate my work, so, in your opinions can I use the rtl_sdr software to accomplish it? Someone have a suggestion or is it impossible?
Thanks
Hi all,
I have built my antenna and now I wont evaluate my work, so, in your opinions can I use the rtl_sdr software to accomplish it? Someone have a suggestion or is it impossible?
Thanks
I am using DVB-T dongle RTLSDR2832U with gnu radio, i have installed all the required files, but when i compile my flowgraph I get an error.
Runtime Error:Failed to open rtlsdr device.
What is the problem and its solution??
I cannot install udev rules also, i also face errors at it.... should i uninstall my ubuntu and start from the very begining.
Sohaib bin Altaf
pakistan