Reply To: How to use my RSPduo w/ Rpi-3 & command line?

SDRPlay Independent Community Forum Forums General How to use my RSPduo w/ Rpi-3 & command line? Reply To: How to use my RSPduo w/ Rpi-3 & command line?

#1710
alanmalk
Participant

    Another day, another black hole…

    It would appear I have all needed libraries.

    pi@macpi:/ $ sudo find . -iname *librtlsdr.so.*
    ./usr/local/lib/librtlsdr.so.0
    ./usr/local/lib/librtlsdr.so.0.6git
    ./usr/lib/arm-linux-gnueabihf/librtlsdr.so.0.6.0
    ./usr/lib/arm-linux-gnueabihf/librtlsdr.so.0

    pi@macpi:/ $ sudo find . -name *rtlsdrSupport*
    ./usr/local/lib/SoapySDR/modules0.8/librtlsdrSupport.so
    ./usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.6/librtlsdrSupport.so

    pi@macpi:~/Downloads/SdrGlut $ ldd ./sdrglut.x

    libSoapySDR.so.0.6 => /lib/arm-linux-gnueabihf/libSoapySDR.so.0.6 (0x76a85000)

    pi@macpi:~/Downloads/SdrGlut/sdrTest $ ldd ./sdrTest

    librtaudio.so.6 => /usr/local/lib/librtaudio.so.6 (0x76f7d000)
    libSoapySDR.so.0.6 => /lib/arm-linux-gnueabihf/libSoapySDR.so.0.6 (0x76f2b000)

    Now, with infinite optimism, but ending with a crash&burn…

    pi@macpi:~ $ ./Downloads/SdrGlut/sdrTest//sdrTest -fc 1e6 -f 0.76e6 -am -gain 1 -device 1 -set direct_samp 2
    Found Rafael Micro R820T tuner
    [INFO] [UHD] linux; GNU C++ version 8.2.0; Boost_106700; UHD_3.13.1.0-3
    Number of Devices Found: 2
    SDR device = 0 label = PulseAudio
    SDR device = 1 label = Generic RTL2832U OEM :: 00000001
    device = 1 selected
    available = Yes driver = rtlsdr label = Generic RTL2832U OEM :: 00000001 manufacturer = Realtek product = RTL2838UHIDIR rtl = 0 serial = 00000001 tuner = Rafael Micro R820T
    Found Rafael Micro R820T tuner
    driver = RTLSDR
    hardware = RTLSDR
    origin = https://github.com/pothosware/SoapyRTLSDR rtl = 0
    Rx antennas:
    RX
    Setting Info:
    setcount 1
    direct_samp 2
    Segmentation fault

    And another sanity check:
    pi@macpi:~ $ sudo apt-get remove libsoapysdr-dev

    Package ‘libsoapysdr-dev’ is not installed, so not removed

    pi@macpi:~ $ sudo apt-get install libsoapysdr0.6

    libsoapysdr0.6 is already the newest version (0.6.1-4+b4).

    Now, I really wouldn’t object if sdrTest could find my RSPduo …
    pi@macpi:~ $ lsusb
    Bus 001 Device 005: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
    Bus 001 Device 006: ID 1df7:3020
    That would be Device 006, but at this point I am not choosy. Having it work properly with anything would make my day (with apologies to Clint Eastwood)