Hello to the group, 

Having a problem with installing gr-osmosdr. I'm trying to have gnuradio 
recognize my RTL-SDR dongle (RTL2832U R820T2). The following error happens when 
using any command starting with rtl_xx or using gnuradio companion 3.7.9. This 
is all under Ubuntu 14.04. 
----------------------------- 

Found 1 device(s): 
0: Realtek, RTL2838UHIDIR, SN: 00000001 

Using device 0: Generic RTL2832U OEM 

Kernel driver is active, or device is claimed by second instance of librtlsdr. 
In the first case, please either detach or blacklist the kernel module 
(dvb_usb_rtl28xxu), or enable automatic detaching at compile time. 

usb_claim_interface error -6 
Failed to open rtlsdr device #0. 

--------------------------------- 

I did read about this error and used the following command with cmake: 

cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON 

Below is the output: 

-- Build type not specified: defaulting to release. 
-- Extracting version information from git describe... 
-- Configuring Boost C++ Libraries... 
-- Boost version: 1.54.0 
-- Found the following Boost libraries: 
-- thread 
-- system 
Checking for GNU Radio Module: RUNTIME 
* INCLUDES=/usr/local/include 
* LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so 
GNURADIO_RUNTIME_FOUND = TRUE 
Checking for GNU Radio Module: BLOCKS 
* INCLUDES=/usr/local/include 
* 
LIBS=/usr/local/lib/libgnuradio-blocks.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
 
GNURADIO_BLOCKS_FOUND = TRUE 
Checking for GNU Radio Module: PMT 
* INCLUDES=/usr/local/include 
* LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so 
GNURADIO_PMT_FOUND = TRUE 
-- Found gnuradio-uhd: /usr/local/include, /usr/local/lib/libgnuradio-uhd.so 
-- Found gnuradio-fcd: /usr/local/include, /usr/local/lib/libgnuradio-fcd.so 
-- checking for module 'gnuradio-fcdproplus' 
-- package 'gnuradio-fcdproplus' not found 
-- Found gnuradio-fcdproplus: /usr/include, 
/usr/lib/x86_64-linux-gnu/libgnuradio-fcdproplus.so 
-- checking for module 'libmirisdr' 
-- package 'libmirisdr' not found 
-- libmirisdr not found. 
CMake Warning at CMakeLists.txt:168 (find_package): 
Could not find a package configuration file provided by "SoapySDR" with any 
of the following names: 

SoapySDRConfig.cmake 
soapysdr-config.cmake 

Add the installation prefix of "SoapySDR" to CMAKE_PREFIX_PATH or set 
"SoapySDR_DIR" to a directory containing one of the above files. If 
"SoapySDR" provides a separate development package or SDK, be sure it has 
been installed. 


-- 
-- Checking for module SWIG 
-- Found SWIG version 2.0.11. 
-- Minimum SWIG version required is 1.3.31 
-- 
-- The build system will automatically enable all components. 
-- Use -DENABLE_DEFAULT=OFF to disable components by default. 
-- 
-- Configuring Python support support... 
-- Dependency PYTHONLIBS_FOUND = TRUE 
-- Dependency SWIG_FOUND = TRUE 
-- Dependency SWIG_VERSION_CHECK = TRUE 
-- Enabling Python support support. 
-- Override with -DENABLE_PYTHON=ON/OFF 
-- 
-- Configuring high resolution timing... 
-- High resolution timing supported through clock_gettime. 
-- 
-- Configuring Osmocom IQ Imbalance Correction support... 
-- Dependency GNURADIO_IQBALANCE_FOUND = TRUE 
-- Enabling Osmocom IQ Imbalance Correction support. 
-- Override with -DENABLE_IQBALANCE=ON/OFF 
-- 
-- Configuring sysmocom OsmoSDR support... 
-- Dependency LIBOSMOSDR_FOUND = TRUE 
-- Enabling sysmocom OsmoSDR support. 
-- Override with -DENABLE_OSMOSDR=ON/OFF 
-- 
-- Configuring FUNcube Dongle support... 
-- Dependency GNURADIO_FCD_FOUND = TRUE 
-- Enabling FUNcube Dongle support. 
-- Override with -DENABLE_FCD=ON/OFF 
-- 
-- Configuring FUNcube Dongle Pro+ support... 
-- Dependency GNURADIO_FCDPP_FOUND = TRUE 
-- Enabling FUNcube Dongle Pro+ support. 
-- Override with -DENABLE_FCDPP=ON/OFF 
-- 
-- Configuring IQ File Source & Sink support... 
-- Dependency GNURADIO_BLOCKS_FOUND = TRUE 
-- Enabling IQ File Source & Sink support. 
-- Override with -DENABLE_FILE=ON/OFF 
-- 
-- Configuring Osmocom RTLSDR support... 
-- Dependency LIBRTLSDR_FOUND = TRUE 
-- Enabling Osmocom RTLSDR support. 
-- Override with -DENABLE_RTL=ON/OFF 
-- 
-- Configuring RTLSDR TCP Client support... 
-- Dependency GNURADIO_BLOCKS_FOUND = TRUE 
-- Enabling RTLSDR TCP Client support. 
-- Override with -DENABLE_RTL_TCP=ON/OFF 
-- 
-- Configuring Ettus USRP Devices support... 
-- Dependency UHD_FOUND = TRUE 
-- Dependency GNURADIO_UHD_FOUND = TRUE 
-- Enabling Ettus USRP Devices support. 
-- Override with -DENABLE_UHD=ON/OFF 
-- 
-- Configuring Osmocom MiriSDR support... 
-- Dependency LIBMIRISDR_FOUND = FALSE 
-- Disabling Osmocom MiriSDR support. 
-- Override with -DENABLE_MIRI=ON/OFF 
-- 
-- Configuring HackRF & rad1o Badge support... 
-- Dependency LIBHACKRF_FOUND = TRUE 
-- Enabling HackRF & rad1o Badge support. 
-- Override with -DENABLE_HACKRF=ON/OFF 
-- HackRF multiple device support enabled 
-- 
-- Configuring nuand bladeRF support... 
-- Dependency LIBBLADERF_FOUND = TRUE 
-- Enabling nuand bladeRF support. 
-- Override with -DENABLE_BLADERF=ON/OFF 
-- 
-- Configuring RFSPACE Receivers support... 
-- Enabling RFSPACE Receivers support. 
-- Override with -DENABLE_RFSPACE=ON/OFF 
-- 
-- Configuring AIRSPY Receiver support... 
-- Dependency LIBAIRSPY_FOUND = TRUE 
-- Enabling AIRSPY Receiver support. 
-- Override with -DENABLE_AIRSPY=ON/OFF 
-- 
-- Configuring SoapySDR support support... 
-- Dependency SoapySDR_FOUND = 0 
-- Disabling SoapySDR support support. 
-- Override with -DENABLE_SOAPY=ON/OFF 
-- 
-- Configuring Red Pitaya SDR support... 
-- Enabling Red Pitaya SDR support. 
-- Override with -DENABLE_REDPITAYA=ON/OFF 
-- 
-- ###################################################### 
-- # Gnuradio enabled components 
-- ###################################################### 
-- * Python support 
-- * Osmocom IQ Imbalance Correction 
-- * sysmocom OsmoSDR 
-- * FUNcube Dongle 
-- * FUNcube Dongle Pro+ 
-- * IQ File Source & Sink 
-- * Osmocom RTLSDR 
-- * RTLSDR TCP Client 
-- * Ettus USRP Devices 
-- * HackRF & rad1o Badge 
-- * nuand bladeRF 
-- * RFSPACE Receivers 
-- * AIRSPY Receiver 
-- * Red Pitaya SDR 
-- 
-- ###################################################### 
-- # Gnuradio disabled components 
-- ###################################################### 
-- * Osmocom MiriSDR 
-- * SoapySDR support 
-- 
-- Building for version: v0.1.4-67-gac15e789 / 0.1.5git 
-- Using install prefix: /usr/local 
-- Configuring done 
-- Generating done 
-- Build files have been written to: /home/jon-bertha/gr-osmosdr/build 







_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to