Rtl_433: HackRF: No supported devices found

Created on 14 Mar 2020  路  15Comments  路  Source: merbanan/rtl_433

I'm trying rtl_433 with my hackrf, which results in "No supported devices found." I've installed hackrf, libhackrf-dev and soapysdr. Do I need to do something special?

Most helpful comment

The installation order matters: first SoapySDR, then rtl_433.
And use cmake -DENABLE_SOAPYSDR=ON .. to force SoapySDR detection. I.e.

cd rtl_433 ; mkdir build ; cd build ; cmake -DENABLE_SOAPYSDR=ON .. && make

But you also need the https://github.com/pothosware/SoapyHackRF module.

All 15 comments

Check that

  • you compiled rtl_433 with support for SoapySDR (rtl_433 -V on first line).
  • you have the SoapyHackRF module installed (SoapySDRUtil --info)
  • SoapySDR finds the receiver (SoapySDRUtil --find)

(closing as there is nothing to do in rtl_433, feel free to discuss further though.)

@OZ1SEJ I have the same problem as you. Which distro and version are you using and how did you install soapysdr? I am running Ubuntu 19.10 and 18.04 and tried the official pothosware ppa on both machines, but also compiled the sources myself. No success.

What is the output of the commands that @zuckschwerdt asked for on your machine?

Posting my output below after manually compiling and installing SoapySDR and its SoapyHackRF module. Using the official ppa yielded similar results, although different versions:

14:39:11,21 marc@MAKlaptop: ~ > rtl_433 -V
rtl_433 version unknown inputs file rtl_tcp RTL-SDR SoapySDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/marc/.config/rtl_433/rtl_433.conf"...
Reading conf from "/home/marc/.config/rtl_433/rtl_433.conf".
14:39:16,22 marc@MAKlaptop: ~ > SoapySDRUtil --info
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Lib Version: v0.8.0-gf722f9ce
API Version: v0.8.0
ABI Version: v0.8
Install root: /usr/local
Search path:  /usr/local/lib/SoapySDR/modules0.8
Module found: /usr/local/lib/SoapySDR/modules0.8/libHackRFSupport.so (0.3.3-3c514ce)
Available factories... hackrf
Available converters...
 -  CF32 -> [CF32, CS16, CS8, CU16, CU8]
 -  CS16 -> [CF32, CS16, CS8, CU16, CU8]
 -  CS32 -> [CS32]
 -   CS8 -> [CF32, CS16, CS8, CU16, CU8]
 -  CU16 -> [CF32, CS16, CS8]
 -   CU8 -> [CF32, CS16, CS8]
 -   F32 -> [F32, S16, S8, U16, U8]
 -   S16 -> [F32, S16, S8, U16, U8]
 -   S32 -> [S32]
 -    S8 -> [F32, S16, S8, U16, U8]
 -   U16 -> [F32, S16, S8]
 -    U8 -> [F32, S16, S8]
14:39:21,23 marc@MAKlaptop: ~ > SoapySDRUtil --find
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Found device 0
  device = HackRF One
  driver = hackrf
  label = HackRF One #0 57b068dc23632263
  part_id = a000cb3c00674763
  serial = 000000000000000057b068dc23632263
  version = 2018.01.1

14:39:26,24 marc@MAKlaptop: ~ > 

I do however think that this has everything to do with soapysdr and nothing with rtl_433, as for example gqrx supports the HackRF both via SoapySDR/SoapyHackRF and also via gr-osmosdr. The HackRF works just fine via gr-osmosdr, just not via SoapySDR when using gqrx, so I think we need to find and fix the problem at the origin (library in this case), not the client application that uses it.

I have not had much time to figure out why that is exactly, but maybe you mind sharing some more information about your setup so that we can figure out if either of us did something wrong.

You mentioned a ppa. Make sure you don't have two SoapySDR versions installed, e.g. check that
ls -al /usr/lib/libSoapySDR.* /usr/lib/SoapySDR/modules* is empty.

i Have the Same Problem

rtl_433 dosnd find my HackRF One.

Raspberry Pi4

pi@raspberrypi4-iot:~/cubicsdr/SoapySDR/build $ rtl_433 -G 4
rtl_433 version 20.02-50-g9700fee branch master at 202005142008 inputs file rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...

Use -G for testing only. Enable protocols with -R if you really need them.

Registered 146 out of 152 device decoding protocols [ 1-4 6-8 10-17 19-26 29-64 67-152 ]
rtl_433: warning: 106 "Wireless M-Bus, Mode R, 4.8kbps (-f 868330000)" does not support CSV output
rtl_433: warning: 107 "Wireless M-Bus, Mode F, 2.4kbps" does not support CSV output
No supported devices found.
pi@raspberrypi4-iot:~/cubicsdr/SoapySDR/build $ sudo SoapySDRUtil --info
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Lib Version: v0.8.0-gf722f9ce
API Version: v0.8.0
ABI Version: v0.8
Install root: /usr/local
Search path:  /usr/local/lib/SoapySDR/modules0.8 (missing)
No modules found!
Available factories... No factories found!
Available converters...
 -  CF32 -> [CF32, CS16, CS8, CU16, CU8]
 -  CS16 -> [CF32, CS16, CS8, CU16, CU8]
 -  CS32 -> [CS32]
 -   CS8 -> [CF32, CS16, CS8, CU16, CU8]
 -  CU16 -> [CF32, CS16, CS8]
 -   CU8 -> [CF32, CS16, CS8]
 -   F32 -> [F32, S16, S8, U16, U8]
 -   S16 -> [F32, S16, S8, U16, U8]
 -   S32 -> [S32]
 -    S8 -> [F32, S16, S8, U16, U8]
 -   U16 -> [F32, S16, S8]
 -    U8 -> [F32, S16, S8]

the HackRF One works an my Local machin with the same usbcabel.

Thanks for the Software and help =)

@EvilAcid you don't have any support modules installed? (esp. HackRF)

Search path:  /usr/local/lib/SoapySDR/modules0.8 (missing)

also your rtl_433 is without SoapySDR inputs support:

rtl_433 version 20.02-50-g9700fee branch master at 202005142008 inputs file rtl_tcp RTL-SDR

@zuckschwerdt

Many thanks for the very fast replay =)
And sorry for my EN =)

I have installet only rtl_433 --> dont working
I have installed hackRF

pi@raspberrypi4-iot:~ $ sudo hackrf_info
hackrf_info version: unknown
libhackrf version: unknown (0.5)
Found HackRF
Index: 0
Board ID Number: 2 (HackRF One)
Firmware Version: 2014.08.1 (API:1.00)
Part ID Number: 0xa000cb3c 0x0068475a

but rtl_433 dosnt work

i try to install SoapySDR but nothing working =)

The installation order matters: first SoapySDR, then rtl_433.
And use cmake -DENABLE_SOAPYSDR=ON .. to force SoapySDR detection. I.e.

cd rtl_433 ; mkdir build ; cd build ; cmake -DENABLE_SOAPYSDR=ON .. && make

But you also need the https://github.com/pothosware/SoapyHackRF module.

Hey @zuckschwerdt
Many thanks for your ideas

I doo what you say, but the answare are the same.

pi@raspberrypi4-iot:~/rtl_433/build $ cmake -DENABLE_SOAPYSDR=ON ..
-- The C compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Found Git version: refs/heads/master commit 9700feeb9d5b494df5f45d39eb0a4759f29b8ee2 from 2020-05-14T20:08:42+0200
-- Using Git version tag: 20.02-50-g9700fee on master at 202005142008
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Found LibRTLSDR: /usr/local/lib/librtlsdr.so
-- Found LibUSB: /usr/lib/arm-linux-gnueabihf/libusb-1.0.so
-- RTL-SDR device input will be compiled.
-- SoapySDR device input will be compiled.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/rtl_433/build
pi@raspberrypi4-iot:~/rtl_433/build $
pi@raspberrypi4-iot:~/rtl_433/build $ make
Scanning dependencies of target r_433
[  1%] Building C object src/CMakeFiles/r_433.dir/abuf.c.o
[  1%] Building C object src/CMakeFiles/r_433.dir/am_analyze.c.o
[  2%] Building C object src/CMakeFiles/r_433.dir/baseband.c.o
[  2%] Building C object src/CMakeFiles/r_433.dir/bitbuffer.c.o
[  3%] Building C object src/CMakeFiles/r_433.dir/compat_paths.c.o
[  4%] Building C object src/CMakeFiles/r_433.dir/compat_time.c.o
[  4%] Building C object src/CMakeFiles/r_433.dir/confparse.c.o
[  5%] Building C object src/CMakeFiles/r_433.dir/data.c.o
[  5%] Building C object src/CMakeFiles/r_433.dir/decoder_util.c.o
[  6%] Building C object src/CMakeFiles/r_433.dir/fileformat.c.o
[  6%] Building C object src/CMakeFiles/r_433.dir/list.c.o
[  7%] Building C object src/CMakeFiles/r_433.dir/mongoose.c.o
[  7%] Building C object src/CMakeFiles/r_433.dir/optparse.c.o
[  8%] Building C object src/CMakeFiles/r_433.dir/output_influx.c.o
[  9%] Building C object src/CMakeFiles/r_433.dir/output_mqtt.c.o
[  9%] Building C object src/CMakeFiles/r_433.dir/pulse_demod.c.o
[ 10%] Building C object src/CMakeFiles/r_433.dir/pulse_detect.c.o
[ 10%] Building C object src/CMakeFiles/r_433.dir/pulse_detect_fsk.c.o
[ 11%] Building C object src/CMakeFiles/r_433.dir/r_api.c.o
[ 11%] Building C object src/CMakeFiles/r_433.dir/r_util.c.o
[ 12%] Building C object src/CMakeFiles/r_433.dir/samp_grab.c.o
[ 13%] Building C object src/CMakeFiles/r_433.dir/sdr.c.o
[ 13%] Building C object src/CMakeFiles/r_433.dir/term_ctl.c.o
[ 14%] Building C object src/CMakeFiles/r_433.dir/util.c.o
[ 14%] Building C object src/CMakeFiles/r_433.dir/write_sigrok.c.o
[ 15%] Building C object src/CMakeFiles/r_433.dir/devices/acurite.c.o
[ 15%] Building C object src/CMakeFiles/r_433.dir/devices/akhan_100F14.c.o
[ 16%] Building C object src/CMakeFiles/r_433.dir/devices/alecto.c.o
[ 17%] Building C object src/CMakeFiles/r_433.dir/devices/ambient_weather.c.o
[ 17%] Building C object src/CMakeFiles/r_433.dir/devices/ambientweather_tx8300.c.o
[ 18%] Building C object src/CMakeFiles/r_433.dir/devices/ambientweather_wh31e.c.o
[ 18%] Building C object src/CMakeFiles/r_433.dir/devices/archos_tbh.c.o
[ 19%] Building C object src/CMakeFiles/r_433.dir/devices/auriol_afw2a1.c.o
[ 19%] Building C object src/CMakeFiles/r_433.dir/devices/auriol_hg02832.c.o
[ 20%] Building C object src/CMakeFiles/r_433.dir/devices/blyss.c.o
[ 20%] Building C object src/CMakeFiles/r_433.dir/devices/brennenstuhl_rcs_2044.c.o
[ 21%] Building C object src/CMakeFiles/r_433.dir/devices/bresser_3ch.c.o
[ 22%] Building C object src/CMakeFiles/r_433.dir/devices/bresser_5in1.c.o
[ 22%] Building C object src/CMakeFiles/r_433.dir/devices/bt_rain.c.o
[ 23%] Building C object src/CMakeFiles/r_433.dir/devices/calibeur.c.o
[ 23%] Building C object src/CMakeFiles/r_433.dir/devices/cardin.c.o
[ 24%] Building C object src/CMakeFiles/r_433.dir/devices/chuango.c.o
[ 24%] Building C object src/CMakeFiles/r_433.dir/devices/companion_wtr001.c.o
[ 25%] Building C object src/CMakeFiles/r_433.dir/devices/current_cost.c.o
[ 26%] Building C object src/CMakeFiles/r_433.dir/devices/danfoss.c.o
[ 26%] Building C object src/CMakeFiles/r_433.dir/devices/digitech_xc0324.c.o
[ 27%] Building C object src/CMakeFiles/r_433.dir/devices/directv.c.o
[ 27%] Building C object src/CMakeFiles/r_433.dir/devices/dish_remote_6_3.c.o
[ 28%] Building C object src/CMakeFiles/r_433.dir/devices/dsc.c.o
[ 28%] Building C object src/CMakeFiles/r_433.dir/devices/ecowitt.c.o
[ 29%] Building C object src/CMakeFiles/r_433.dir/devices/efergy_e2_classic.c.o
[ 30%] Building C object src/CMakeFiles/r_433.dir/devices/efergy_optical.c.o
[ 30%] Building C object src/CMakeFiles/r_433.dir/devices/efth800.c.o
[ 31%] Building C object src/CMakeFiles/r_433.dir/devices/elro_db286a.c.o
[ 31%] Building C object src/CMakeFiles/r_433.dir/devices/elv.c.o
[ 32%] Building C object src/CMakeFiles/r_433.dir/devices/emontx.c.o
[ 32%] Building C object src/CMakeFiles/r_433.dir/devices/ert.c.o
[ 33%] Building C object src/CMakeFiles/r_433.dir/devices/esa.c.o
[ 33%] Building C object src/CMakeFiles/r_433.dir/devices/esic_emt7110.c.o
[ 34%] Building C object src/CMakeFiles/r_433.dir/devices/esperanza_ews.c.o
[ 35%] Building C object src/CMakeFiles/r_433.dir/devices/eurochron.c.o
[ 35%] Building C object src/CMakeFiles/r_433.dir/devices/fineoffset.c.o
[ 36%] Building C object src/CMakeFiles/r_433.dir/devices/fineoffset_wh1050.c.o
[ 36%] Building C object src/CMakeFiles/r_433.dir/devices/fineoffset_wh1080.c.o
[ 37%] Building C object src/CMakeFiles/r_433.dir/devices/flex.c.o
[ 37%] Building C object src/CMakeFiles/r_433.dir/devices/fordremote.c.o
[ 38%] Building C object src/CMakeFiles/r_433.dir/devices/fs20.c.o
[ 39%] Building C object src/CMakeFiles/r_433.dir/devices/ft004b.c.o
[ 39%] Building C object src/CMakeFiles/r_433.dir/devices/ge_coloreffects.c.o
[ 40%] Building C object src/CMakeFiles/r_433.dir/devices/generic_motion.c.o
[ 40%] Building C object src/CMakeFiles/r_433.dir/devices/generic_remote.c.o
[ 41%] Building C object src/CMakeFiles/r_433.dir/devices/generic_temperature_sensor.c.o
[ 41%] Building C object src/CMakeFiles/r_433.dir/devices/gt_tmbbq05.c.o
[ 42%] Building C object src/CMakeFiles/r_433.dir/devices/gt_wt_02.c.o
[ 43%] Building C object src/CMakeFiles/r_433.dir/devices/gt_wt_03.c.o
[ 43%] Building C object src/CMakeFiles/r_433.dir/devices/hcs200.c.o
[ 44%] Building C object src/CMakeFiles/r_433.dir/devices/hideki.c.o
[ 44%] Building C object src/CMakeFiles/r_433.dir/devices/holman_ws5029.c.o
[ 45%] Building C object src/CMakeFiles/r_433.dir/devices/hondaremote.c.o
[ 45%] Building C object src/CMakeFiles/r_433.dir/devices/honeywell.c.o
[ 46%] Building C object src/CMakeFiles/r_433.dir/devices/honeywell_wdb.c.o
[ 46%] Building C object src/CMakeFiles/r_433.dir/devices/ht680.c.o
[ 47%] Building C object src/CMakeFiles/r_433.dir/devices/ibis_beacon.c.o
[ 48%] Building C object src/CMakeFiles/r_433.dir/devices/ikea_sparsnas.c.o
[ 48%] Building C object src/CMakeFiles/r_433.dir/devices/infactory.c.o
[ 49%] Building C object src/CMakeFiles/r_433.dir/devices/inovalley-kw9015b.c.o
[ 49%] Building C object src/CMakeFiles/r_433.dir/devices/interlogix.c.o
[ 50%] Building C object src/CMakeFiles/r_433.dir/devices/intertechno.c.o
[ 50%] Building C object src/CMakeFiles/r_433.dir/devices/kedsum.c.o
[ 51%] Building C object src/CMakeFiles/r_433.dir/devices/kerui.c.o
[ 52%] Building C object src/CMakeFiles/r_433.dir/devices/klimalogg.c.o
[ 52%] Building C object src/CMakeFiles/r_433.dir/devices/lacrosse.c.o
[ 53%] Building C object src/CMakeFiles/r_433.dir/devices/lacrosse_tx141x.c.o
[ 53%] Building C object src/CMakeFiles/r_433.dir/devices/lacrosse_tx35.c.o
[ 54%] Building C object src/CMakeFiles/r_433.dir/devices/lacrosse_ws7000.c.o
[ 54%] Building C object src/CMakeFiles/r_433.dir/devices/lacrossews.c.o
[ 55%] Building C object src/CMakeFiles/r_433.dir/devices/lightwave_rf.c.o
[ 56%] Building C object src/CMakeFiles/r_433.dir/devices/m_bus.c.o
[ 56%] Building C object src/CMakeFiles/r_433.dir/devices/maverick_et73.c.o
[ 57%] Building C object src/CMakeFiles/r_433.dir/devices/maverick_et73x.c.o
[ 57%] Building C object src/CMakeFiles/r_433.dir/devices/mebus.c.o
[ 58%] Building C object src/CMakeFiles/r_433.dir/devices/new_template.c.o
[ 58%] Building C object src/CMakeFiles/r_433.dir/devices/newkaku.c.o
[ 59%] Building C object src/CMakeFiles/r_433.dir/devices/nexa.c.o
[ 59%] Building C object src/CMakeFiles/r_433.dir/devices/nexus.c.o
[ 60%] Building C object src/CMakeFiles/r_433.dir/devices/norgo.c.o
[ 61%] Building C object src/CMakeFiles/r_433.dir/devices/oil_standard.c.o
[ 61%] Building C object src/CMakeFiles/r_433.dir/devices/oil_watchman.c.o
[ 62%] Building C object src/CMakeFiles/r_433.dir/devices/opus_xt300.c.o
[ 62%] Building C object src/CMakeFiles/r_433.dir/devices/oregon_scientific.c.o
[ 63%] Building C object src/CMakeFiles/r_433.dir/devices/oregon_scientific_sl109h.c.o
[ 63%] Building C object src/CMakeFiles/r_433.dir/devices/oregon_scientific_v1.c.o
[ 64%] Building C object src/CMakeFiles/r_433.dir/devices/philips_aj3650.c.o
[ 65%] Building C object src/CMakeFiles/r_433.dir/devices/philips_aj7010.c.o
[ 65%] Building C object src/CMakeFiles/r_433.dir/devices/prologue.c.o
[ 66%] Building C object src/CMakeFiles/r_433.dir/devices/proove.c.o
[ 66%] Building C object src/CMakeFiles/r_433.dir/devices/quhwa.c.o
[ 67%] Building C object src/CMakeFiles/r_433.dir/devices/radiohead_ask.c.o
[ 67%] Building C object src/CMakeFiles/r_433.dir/devices/rftech.c.o
[ 68%] Building C object src/CMakeFiles/r_433.dir/devices/rubicson.c.o
[ 69%] Building C object src/CMakeFiles/r_433.dir/devices/rubicson_48659.c.o
[ 69%] Building C object src/CMakeFiles/r_433.dir/devices/s3318p.c.o
[ 70%] Building C object src/CMakeFiles/r_433.dir/devices/schraeder.c.o
[ 70%] Building C object src/CMakeFiles/r_433.dir/devices/silvercrest.c.o
[ 71%] Building C object src/CMakeFiles/r_433.dir/devices/simplisafe.c.o
[ 71%] Building C object src/CMakeFiles/r_433.dir/devices/smoke_gs558.c.o
[ 72%] Building C object src/CMakeFiles/r_433.dir/devices/solight_te44.c.o
[ 72%] Building C object src/CMakeFiles/r_433.dir/devices/springfield.c.o
[ 73%] Building C object src/CMakeFiles/r_433.dir/devices/steelmate.c.o
[ 74%] Building C object src/CMakeFiles/r_433.dir/devices/tfa_30_3196.c.o
[ 74%] Building C object src/CMakeFiles/r_433.dir/devices/tfa_drop_30.3233.c.o
[ 75%] Building C object src/CMakeFiles/r_433.dir/devices/tfa_pool_thermometer.c.o
[ 75%] Building C object src/CMakeFiles/r_433.dir/devices/tfa_twin_plus_30.3049.c.o
[ 76%] Building C object src/CMakeFiles/r_433.dir/devices/thermopro_tp11.c.o
[ 76%] Building C object src/CMakeFiles/r_433.dir/devices/thermopro_tp12.c.o
[ 77%] Building C object src/CMakeFiles/r_433.dir/devices/tpms_citroen.c.o
[ 78%] Building C object src/CMakeFiles/r_433.dir/devices/tpms_elantra2012.c.o
[ 78%] Building C object src/CMakeFiles/r_433.dir/devices/tpms_ford.c.o
[ 79%] Building C object src/CMakeFiles/r_433.dir/devices/tpms_jansite.c.o
[ 79%] Building C object src/CMakeFiles/r_433.dir/devices/tpms_pmv107j.c.o
[ 80%] Building C object src/CMakeFiles/r_433.dir/devices/tpms_renault.c.o
[ 80%] Building C object src/CMakeFiles/r_433.dir/devices/tpms_toyota.c.o
[ 81%] Building C object src/CMakeFiles/r_433.dir/devices/ts_ft002.c.o
[ 82%] Building C object src/CMakeFiles/r_433.dir/devices/ttx201.c.o
[ 82%] Building C object src/CMakeFiles/r_433.dir/devices/vaillant_vrt340f.c.o
[ 83%] Building C object src/CMakeFiles/r_433.dir/devices/visonic_powercode.c.o
[ 83%] Building C object src/CMakeFiles/r_433.dir/devices/waveman.c.o
[ 84%] Building C object src/CMakeFiles/r_433.dir/devices/wg_pb12v1.c.o
[ 84%] Building C object src/CMakeFiles/r_433.dir/devices/ws2032.c.o
[ 85%] Building C object src/CMakeFiles/r_433.dir/devices/wssensor.c.o
[ 85%] Building C object src/CMakeFiles/r_433.dir/devices/wt0124.c.o
[ 86%] Building C object src/CMakeFiles/r_433.dir/devices/wt450.c.o
[ 87%] Building C object src/CMakeFiles/r_433.dir/devices/x10_rf.c.o
[ 87%] Building C object src/CMakeFiles/r_433.dir/devices/x10_sec.c.o
[ 88%] Linking C static library libr_433.a
[ 88%] Built target r_433
Scanning dependencies of target rtl_433
[ 88%] Building C object src/CMakeFiles/rtl_433.dir/rtl_433.c.o
[ 89%] Linking C executable rtl_433
[ 89%] Built target rtl_433
Scanning dependencies of target data
[ 90%] Building C object src/CMakeFiles/data.dir/data.c.o
[ 90%] Building C object src/CMakeFiles/data.dir/abuf.c.o
[ 91%] Building C object src/CMakeFiles/data.dir/term_ctl.c.o
[ 91%] Building C object src/CMakeFiles/data.dir/mongoose.c.o
[ 92%] Linking C static library libdata.a
[ 92%] Built target data
Scanning dependencies of target style-check
[ 92%] Building C object tests/CMakeFiles/style-check.dir/style-check.c.o
[ 93%] Linking C executable style-check
[ 93%] Built target style-check
Scanning dependencies of target baseband-test
[ 93%] Building C object tests/CMakeFiles/baseband-test.dir/baseband-test.c.o
[ 94%] Building C object tests/CMakeFiles/baseband-test.dir/__/src/baseband.c.o
[ 94%] Linking C executable baseband-test
[ 94%] Built target baseband-test
Scanning dependencies of target test_bitbuffer
[ 95%] Building C object tests/CMakeFiles/test_bitbuffer.dir/__/src/bitbuffer.c.o
[ 95%] Linking C executable test_bitbuffer
[ 95%] Built target test_bitbuffer
Scanning dependencies of target data-test
[ 96%] Building C object tests/CMakeFiles/data-test.dir/data-test.c.o
[ 96%] Linking C executable data-test
[ 96%] Built target data-test
Scanning dependencies of target test_fileformat
[ 97%] Building C object tests/CMakeFiles/test_fileformat.dir/__/src/fileformat.c.o
[ 97%] Linking C executable test_fileformat
[ 97%] Built target test_fileformat
Scanning dependencies of target test_optparse
[ 98%] Building C object tests/CMakeFiles/test_optparse.dir/__/src/optparse.c.o
[ 98%] Linking C executable test_optparse
[ 98%] Built target test_optparse
Scanning dependencies of target test_util
[ 99%] Building C object tests/CMakeFiles/test_util.dir/__/src/util.c.o
[100%] Linking C executable test_util
[100%] Built target test_util
pi@raspberrypi4-iot:~/rtl_433/build $ sudo make install
[ 88%] Built target r_433
[ 89%] Built target rtl_433
[ 92%] Built target data
[ 93%] Built target style-check
[ 94%] Built target baseband-test
[ 95%] Built target test_bitbuffer
[ 96%] Built target data-test
[ 97%] Built target test_fileformat
[ 98%] Built target test_optparse
[100%] Built target test_util
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/local/share/man
-- Up-to-date: /usr/local/share/man/man1
-- Up-to-date: /usr/local/share/man/man1/rtl_433.1
-- Up-to-date: /usr/local/include/rtl_433.h
-- Up-to-date: /usr/local/include/rtl_433_devices.h
-- Installing: /usr/local/bin/rtl_433
-- Set runtime path of "/usr/local/bin/rtl_433" to ""
-- Up-to-date: /usr/local/etc/rtl_433/EV1527-4Button-Universal-Remote.conf
-- Up-to-date: /usr/local/etc/rtl_433/EV1527-PIR-Sgooway.conf
-- Up-to-date: /usr/local/etc/rtl_433/SMC5326-Remote.conf
-- Up-to-date: /usr/local/etc/rtl_433/car_fob.conf
-- Up-to-date: /usr/local/etc/rtl_433/chungear_bcf-0019x2.conf
-- Up-to-date: /usr/local/etc/rtl_433/energy_count_3000.conf
-- Up-to-date: /usr/local/etc/rtl_433/fan-11t.conf
-- Up-to-date: /usr/local/etc/rtl_433/led-light-remote.conf
-- Up-to-date: /usr/local/etc/rtl_433/pir-ef4.conf
-- Up-to-date: /usr/local/etc/rtl_433/rtl_433.example.conf
-- Up-to-date: /usr/local/etc/rtl_433/silverline_doorbell.conf
-- Up-to-date: /usr/local/etc/rtl_433/sonoff_rm433.conf
-- Up-to-date: /usr/local/etc/rtl_433/steffen_switch.conf
-- Up-to-date: /usr/local/etc/rtl_433/valeo_car_key.conf
-- Up-to-date: /usr/local/etc/rtl_433/verisure_alarm.conf

But the answer is the same

pi@raspberrypi4-iot:~/rtl_433/build $ rtl_433 -G 4
rtl_433 version 20.02-50-g9700fee branch master at 202005142008 inputs file rtl_tcp RTL-SDR SoapySDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...

        Use -G for testing only. Enable protocols with -R if you really need them.

Registered 146 out of 152 device decoding protocols [ 1-4 6-8 10-17 19-26 29-64 67-152 ]
rtl_433: warning: 106 "Wireless M-Bus, Mode R, 4.8kbps (-f 868330000)" does not support CSV output
rtl_433: warning: 107 "Wireless M-Bus, Mode F, 2.4kbps" does not support CSV output
No supported devices found.

now i'm confused
I found the HackRF in SoapySDRUtil. On rtl_433 it cannot be opened.

pi@raspberrypi4-iot:~ $ rtl_433 -d ""
rtl_433 version 20.02-50-g9700fee branch master at 202005142008 inputs file rtl_tcp RTL-SDR SoapySDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
Registered 124 out of 152 device decoding protocols [ 1-4 8 11-12 15-17 19-21 23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 130-149 151-152 ]
[INFO] Opening HackRF One #0 406464c82383314b...
[INFO] Could not Open HackRF Device
pi@raspberrypi4-iot:~ $ SoapySDRUtil --find
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Found device 0
  device = HackRF One
  driver = hackrf
  label = HackRF One #0 406464c82383314b
  part_id = a000cb3c0068475a
  serial = 0000000000000000406464c82383314b
  version = 2014.08.1


pi@raspberrypi4-iot:~ $

Looks good! Not sure about the "Could not Open HackRF Device", maybe permissions? Try sudo perhaps.

nope, the same

hmm :-(

pi@raspberrypi4-iot:~ $ sudo rtl_433 -d ""
rtl_433 version 20.02-50-g9700fee branch master at 202005142008 inputs file rtl_tcp RTL-SDR SoapySDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/root/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
Registered 124 out of 152 device decoding protocols [ 1-4 8 11-12 15-17 19-21 23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 130-149 151-152 ]
[INFO] Opening HackRF One #0 406464c82383314b...
[INFO] Could not Open HackRF Device

Is the device perhaps busy? The [INFO] messages are from the SoapyHackRF driver. The device is found but can't be used.
Hopefully someone with a HackRF can help out here -- I never had access to any HackRF.

I think i have a solution

i have upgrade the firmare from 2014.08.1 to 2018.01.1

cd /tmp
wget https://github.com/mossmann/hackrf/releases/download/v2018.01.1/hackrf-2018.01.1.tar.xz
tar -xvf hackrf-2018.01.1.tar.xz
cd hackrf-2018.01.1/firmware-bin/
hackrf_spiflash -w hackrf_one_usb.bin

Then Restart (press Reset) or reconnect the Power(usb)

image

Big Thank to @zuckschwerdt

Great! Thanks for documenting your findings and the solution.

My case is a little bit different. It cannot find modules and factories.
run SoapySDRUtil --info
Please check your libHackRFSupport.so is in /opt/local/lib/SoapySDR/modules0.7/ folder or not.

Sometimes when you run make install, it installed to /usr/local/lib/SoapySDR/modules0.7/.

You need cp /usr/local/lib/SoapySDR/modules0.7/libHackRFSupport.so /opt/local/lib/SoapySDR/modules0.7/

Then run SoapySDRUtil --info to see if there is such a module.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

niemilkm picture niemilkm  路  12Comments

Piruzzolo picture Piruzzolo  路  11Comments

Tehrasha picture Tehrasha  路  8Comments

matthewwall picture matthewwall  路  13Comments

ghost picture ghost  路  7Comments