Closed rrobinett closed 3 years ago
Finally, I am not able to compile sdrTest with or without #define LIQUID_VERSION_4 1:
It shoud be -
not
Try that first.
The PI updates has broken the sdrplay support. The sdrplay website has the new routines, but it is a build every thing from scratch proposition. It is easiest to grab one of their pre-build versions and use that - sdrplay.com/raspberry-pi-images/.
I can compile sdrTest, but it segfaults when I run it, just like SdrGlut does:
pi@wsprdaemon-pi:~/SdrGlut/sdrTest $ g++ -O2 -std=c++11 -Wno-deprecated -o sdrTest sdrTest.cpp mThread.cpp cMalloc.c -lrtaudio -lSoapySDR -lliquid -lpthread -lopenal pi@wsprdaemon-pi:~/SdrGlut/sdrTest $ SoapySDRUtil --find ######################################################
######################################################
Found Rafael Micro R820T tuner Found device 0 driver = rtlsdr label = Generic RTL2832U OEM :: 00000001 manufacturer = Realtek product = RTL2838UHIDIR serial = 00000001 tuner = Rafael Micro R820T
Found device 1 driver = sdrplay label = SDRplay Dev0 RSP2 1710047820
pi@wsprdaemon-pi:~/SdrGlut/sdrTest $ ./sdrTest -f 575999000 -fc 575000000 -usb -device 0 -faudio 120000 -timeout 3 -file sdraudio.raw fc 575000000.000000 f 575999000.000000 dt 5e-07 samplerate 2000000 [ERROR] SoapySSDPEndpoint::sendTo(udp://[ff02::c]:1900) = -1 sendto(udp://[ff02::c]:1900) [99: Cannot assign requested address] 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 = default SDR device = 1 label = Generic RTL2832U OEM :: 00000001
device = 0 selected default_input = False default_output = False device_id = 2 driver = audio label = default
Rx antennas: RX
Setting Info:
Segmentation fault pi@wsprdaemon-pi:~/SdrGlut/sdrTest $
On Tue, Jan 26, 2021 at 1:47 PM righthalfplane notifications@github.com wrote:
Finally, I am not able to compile sdrTest with or without #define LIQUID_VERSION_4 1: It shoud be -
define LIQUID_VERSION_4 1
not
define LIQUID_VERSION_4 1:
Try that first.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/righthalfplane/SdrGlut/issues/20#issuecomment-767848887, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFAQZAB325KGYWTF7FE3X3S342ATANCNFSM4WTVJ6FQ .
-- Rob Robinett AI6VN rob@robinett.us mobile: +1 650 218 8896
You need to use -device 1 - that is the RTL2832U.
SDR device = 0 label = default SDR device = 1 label = Generic RTL2832U OEM :: 00000001
and there is no sign of the sdrplay.
Try - SoapySDRUtil --make
It looks like you have two versions of soapy installed.
try -
sudo find / -name "librtlsdrSupport*"
I suspect that you will find it in two places.
I tried device 0 and 1 and got a seg fault on both. device =2 gave me the expected 'no such device'
On Tue, Jan 26, 2021 at 4:42 PM righthalfplane notifications@github.com wrote:
You need to use -device 1 - that is the RTL2832U.
SDR device = 0 label = default SDR device = 1 label = Generic RTL2832U OEM :: 00000001
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/righthalfplane/SdrGlut/issues/20#issuecomment-767927621, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFAQZBJYGGSEQK2AIBREOTS35OOZANCNFSM4WTVJ6FQ .
-- Rob Robinett AI6VN rob@robinett.us mobile: +1 650 218 8896
Show me the full output of
SoapySDRUtil --info
and the full output of -
./sdrTest -f 575999000 -fc 575000000 -usb -device 1 -faudio 120000 -timeout 3 -file sdraudio.raw
and try it in su mode -
sudo ./sdrTest -f 575999000 -fc 575000000 -usb -device 1 -faudio 120000 -timeout 3 -file sdraudio.raw
and the full output of SdrGlut when you start it up and select Device "Generic RTL2832..."
Thanks for your attention.
pi@wsprdaemon-pi:~/SdrGlut/sdrTest $ SoapySDRUtil --info ######################################################
######################################################
Lib Version: v0.8.0-g351896d3 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/librtlsdrSupport.so (0.3.2-b5489df) Module found: /usr/local/lib/SoapySDR/modules0.8/libsdrPlaySupport.so (0.3.0-208f95d) Available factories... rtlsdr, sdrplay Available converters...
pi@wsprdaemon-pi:~/SdrGlut/sdrTest $ ./sdrTest -f 575999000 -fc 575000000 -usb -device 1 -faudio 120000 -timeout 3 -file sdraudio.raw fc 575000000.000000 f 575999000.000000 dt 5e-07 samplerate 2000000 [ERROR] SoapySSDPEndpoint::sendTo(udp://[ff02::c]:1900) = -1 sendto(udp://[ff02::c]:1900) [99: Cannot assign requested address] 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 = default 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
Rx antennas: RX
Setting Info:
Segmentation fault
pi@wsprdaemon-pi:~/SdrGlut $ ./sdrglut.x LIQUID_VERSION_NUMBER 1003000 Lib Version: v0.6.1-4+b4 API Version: v0.6.0 ABI Version: v0.6 Install root: /usr Search path: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.6 Search path: /usr/local/lib/arm-linux-gnueabihf/SoapySDR/modules0.6 Search path: /usr/local/lib/SoapySDR/modules0.6 Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.6/libHackRFSupport.so Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.6/libLMS7Support.so Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.6/libRedPitaya.so Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.6/libairspySupport.so Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.6/libaudioSupport.so Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.6/libbladeRFSupport.so Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.6/libosmosdrSupport.so Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.6/libremoteSupport.so Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.6/librtlsdrSupport.so Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.6/libuhdSupport.so [ERROR] SoapySSDPEndpoint::sendTo(udp://[ff02::c]:1900) = -1 sendto(udp://[ff02::c]:1900) [99: Cannot assign requested address] Found Rafael Micro R820T tuner [INFO] [UHD] linux; GNU C++ version 8.2.0; Boost_106700; UHD_3.13.1.0-3 default_input=False default_output=False device_id=2 driver=audio label=default 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 receive channels 1 transmit channels 0 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 device 0x1b353e0 receive channels 1 transmit channels 0 Hardware origin: https://github.com/pothosware/SoapyRTLSDR Hardware rtl: 0 cMalloc Out of Memory Requested (-1441088048) Total Used (1428254416) tag (8891) cMalloc Out of Memory Requested (-1441088048) Total Used (1428254416) tag (8891) cMalloc Out of Memory Requested (-1441088048) Total Used (1428254416) tag (8892) cMalloc Out of Memory Requested (-1441088048) Total Used (1428254416) tag (8892) Segmentation fault pi@wsprdaemon-pi:~/SdrGlut $
On Tue, Jan 26, 2021 at 8:06 PM righthalfplane notifications@github.com wrote:
Show me the full output of
SoapySDRUtil --info
and the full output of -
./sdrTest -f 575999000 -fc 575000000 -usb -device 1 -faudio 120000 -timeout 3 -file sdraudio.raw
and the full output of SdrGlut when you start it up and select Device "Generic RTL2832..."
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/righthalfplane/SdrGlut/issues/20#issuecomment-768009118, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFAQZDGO42V4D77R7RUVDLS36GNLANCNFSM4WTVJ6FQ .
-- Rob Robinett AI6VN rob@robinett.us mobile: +1 650 218 8896
As I thought, you have two version of soapy installed. Uninstall one of them -
sudo apt-get remove libsoapysdr0.6 sudo apt-get remove libsoapysdr-dev
and rebuild sdrglut.
Thanks, that fixed it. I don't understand how that wrong version was loaded. It seems I have all I need to finish.
On Wed, Jan 27, 2021 at 11:16 AM righthalfplane notifications@github.com wrote:
As I thought, you have two version of soapy installed. Uninstall one of them -
sudo apt-get remove libsoapysdr0.6 sudo apt-get remove libsoapysdr-dev
and rebuild sdrglut.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/righthalfplane/SdrGlut/issues/20#issuecomment-768514467, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFAQZAZ2AKU7LECIHZ6EPDS4BRABANCNFSM4WTVJ6FQ .
-- Rob Robinett AI6VN rob@robinett.us mobile: +1 650 218 8896
Let me know when you get it finished.
Hi Dale,
I'm sorry to bother you, but sdrglut.x crashes when I select the RTL-SDR on my Pi 4 after a clean installation of the OS and Soapy.
I am also unable to get SdrGlut to recognize the SDRPlay attached to my Pi 4. lsusb lists the RP2, although I don't understand why it doesn't print out it name since the device ID 1df7:3010 has been entered into /var/lib/usbutils/usb.ids:
Finally, I am not able to compile sdrTest with or without #define LIQUID_VERSION_4 1:
I have made every effort to start with a clean OS and add only the Soapy programs and associated drivers, and SoapyUtil will list both the RTL-SDR and the RP2 and give me accurate detailed descriptions of their capabilities:
Since Soapyutil runs, I think my problems are with my SdrGlut build. It built and ran on another Pi4, but it had many other programs installed like CubicSDR. This Pi 4 is as clean as I can make it, but I seem to have missed some steps needed in its setup.
thanks