Cant see SDRPlay RSP1A on M2 Mac

216 views
Skip to first unread message

Graeme Stoker

unread,
Mar 8, 2023, 1:29:54 PM3/8/23
to SparkSDR
Hello. New user, only became aware of SparkSDR today via the SDRPlay FB group. Sounds very interesting.

Struggling a bit to get it working on my M2 Mac. Managed to install the SDRPlay API (the M1 version didn't play, but the Catalina installed fine). In Terminal, SoapySDRutil can see my RSP1A when I connect it, however when I run SparkSDR, even pressing Discover icon, there's no sign of the receiver.

Any ideas? 

Cheers, Graeme M0EUK

ahop...@googlemail.com

unread,
Mar 8, 2023, 2:19:45 PM3/8/23
to SparkSDR
Hi Graeme,
welcome to the group, sorry to hear it is not working. I don't have an ARM mac to test on but I think other have had it working.  The help file describes the location of error log files near the top, if you have any log files please post them here. There is also an option to enable extended logging in the general settings ( the gear icon), this might give some more clues.
73 Alan M0NNB

Graeme Stoker

unread,
Mar 8, 2023, 3:10:56 PM3/8/23
to SparkSDR
Hello Alan, thanks for coming back to me, its appreciated.

OK, extended logs enabbed, here goes:

corelog.txt:

[2023-03-08 20:07:39.013] [sc] [info] AudioProvider::enumerate 5
[2023-03-08 20:07:39.027] [sc] [info] Pa op format supported U28E590
[2023-03-08 20:07:39.031] [sc] [info] Pa op format supported BlackHole 2ch
[2023-03-08 20:07:39.035] [sc] [info] Pa ip format supported BlackHole 2ch
[2023-03-08 20:07:39.036] [sc] [info] Pa op format supported External Headphones
[2023-03-08 20:07:39.038] [sc] [info] Pa op format supported Mac mini Speakers
[2023-03-08 20:07:39.040] [sc] [info] Pa op format supported Multi-Output Device
[2023-03-08 20:07:39.129] [sc] [error] sdrplay failed to load dll /usr/local/lib/libsdrplay_api.so




log.txt:

03/08/2023 20:07:39 v2.0.33.0
Sending Discovery on 127.0.0.1:60562
03/08/2023 20:07:39 v2.0.33.0
Error in discovery send
Can't assign requested address
System.Net.Sockets
Void UpdateStatusAfterSocketErrorAndThrowException(System.Net.Sockets.SocketError, System.String)
   at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError , String )
   at System.Net.Sockets.Socket.SendTo(Byte[] , Int32 , Int32 , SocketFlags , EndPoint )
   at System.Net.Sockets.UdpClient.Send(Byte[] , Int32 , IPEndPoint )
   at radio.HpsdrController.discover()
--
03/08/2023 20:07:39 v2.0.33.0
Sending Discovery on 192.168.1.191:60540
03/08/2023 20:07:39 v2.0.33.0
Sending Discovery on 192.168.8.160:60294
03/08/2023 20:09:01 v2.0.33.0
Sending Discovery on 127.0.0.1:60562
03/08/2023 20:09:01 v2.0.33.0
Error in discovery send
Can't assign requested address
System.Net.Sockets
Void UpdateStatusAfterSocketErrorAndThrowException(System.Net.Sockets.SocketError, System.String)
   at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError , String )
   at System.Net.Sockets.Socket.SendTo(Byte[] , Int32 , Int32 , SocketFlags , EndPoint )
   at System.Net.Sockets.UdpClient.Send(Byte[] , Int32 , IPEndPoint )
   at radio.HpsdrController.discover()
--
03/08/2023 20:09:01 v2.0.33.0
Sending Discovery on 192.168.1.191:60540
03/08/2023 20:09:01 v2.0.33.0
Sending Discovery on 192.168.8.160:60294


For completeness, here's what SoapySDRutil --probe shows:

######################################################

##     Soapy SDR -- the SDR abstraction library     ##

######################################################


Probe device 

[INFO] devIdx: 0

[INFO] hwVer: 255


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

-- Device identification

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

  driver=SDRplay

  hardware=19110C6597

  sdrplay_api_api_version=0.000000

  sdrplay_api_hw_version=255


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

-- Peripheral summary

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

  Channels: 1 Rx, 0 Tx

  Timestamps: NO

  Other Settings:

     * RF Gain Select - RF Gain Select

       [key=rfgain_sel, default=4, type=string, options=(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)]

     * IQ Correction - IQ Correction Control

       [key=iqcorr_ctrl, default=true, type=bool]

     * AGC Setpoint - AGC Setpoint (dBfs)

       [key=agc_setpoint, default=-30, type=int, range=[-60, 0]]

     * BiasT Enable - BiasT Control

       [key=biasT_ctrl, default=true, type=bool]

     * RfNotch Enable - RF Notch Filter Control

       [key=rfnotch_ctrl, default=true, type=bool]

     * DabNotch Enable - DAB Notch Filter Control

       [key=dabnotch_ctrl, default=true, type=bool]


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

-- RX Channel 0

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

  Full-duplex: NO

  Supports AGC: YES

  Stream formats: CS16, CF32

  Native format: CS16 [full-scale=32767]

  Antennas: RX

  Corrections: DC removal

  Full gain range: [0, 48] dB

    IFGR gain range: [20, 59] dB

    RFGR gain range: [0, 9] dB

  Full freq range: [0.001, 2000] MHz

    RF freq range: [0.001, 2000] MHz

    CORR freq range:  MHz

  Sample rates: 0.0625, 0.125, 0.25, 0.5, 1, 6, 7, 8, 9, 10 MSps

  Filter bandwidths: 0.2, 0.3, 0.6, 1.536, 5, 6, 7, 8 MHz



Not sure if any of this helps?! Cheers Graeme M0EUK

ahop...@googlemail.com

unread,
Mar 8, 2023, 4:06:40 PM3/8/23
to SparkSDR
thanks for that,
it appears it cannot find the sdrplay api  libsdrplay_api.so, it is looking in   /usr/local/lib/libsdrplay_api.so . If you can find where   libsdrplay_api.so is installed I could add it to the search or maybe you could try copying it to the expected location.  Sorry it is a bit of a guessing game here without something to test on (it is on the shopping list).
73 Alan M0NNB

Message has been deleted
Message has been deleted
Message has been deleted

ahop...@googlemail.com

unread,
Mar 9, 2023, 5:58:10 AM3/9/23
to SparkSDR
Just looked a bit harder at the code, it is finding the .so file but then fails to load it, I'm at a bit of a loss as to why though.
You could try the latest test build here  version 2.0.943 (google.com) that has a few tweaks that might just fix it (a long shot).
73 Alan M0NNB

ahop...@googlemail.com

unread,
Mar 10, 2023, 11:11:25 AM3/10/23
to SparkSDR
I just did a sanity check and sdrplays still work for me on my ancient intel mac, I have found someone to let me test on an arm mac so hopefully I can find the issue. Has anyone else managed to run sdrplay radios on arms macs with spark?  The longer term plan is to build a native arm version for m1/m2 macs, just got to grow my arm to reach the bottom of my pocket:)
73 Alan M0NNB

Filip Jonckers, ON4FF

unread,
Jul 14, 2023, 5:02:09 AM7/14/23
to SparkSDR
Hi, also a new user, trying to find SDR software that actually works on mac 
Just bought a SDRplay RSP1A ...

Having the same issue as Graeme but not using an M1/M2 but a 'classic' Intel based MacBook Pro 16"
No SDRplay device is recognized and the main window is completely empty.
Maybe the troubleshooting below might help to solve the issue?

The latest version of the API is installed (downloaded from SDRPlay website)
SoapySDRUtil --info sees the SDR device
(see below)

Tried the following versions with the respective error in the logfile:

SparkSDR.2.0.33.osx

[2023-07-14 10:38:59.758] [sc] [info] AudioProvider::enumerate 9
[2023-07-14 10:38:59.767] [sc] [info] Pa ip format supported iPhone 13 van Filip Microphone
[2023-07-14 10:38:59.778] [sc] [info] Pa op format supported BlackHole 2ch
[2023-07-14 10:38:59.786] [sc] [info] Pa ip format supported BlackHole 2ch
[2023-07-14 10:38:59.790] [sc] [info] Pa ip format supported MacBook Pro Microphone
[2023-07-14 10:38:59.793] [sc] [info] Pa op format supported MacBook Pro Speakers
[2023-07-14 10:38:59.802] [sc] [info] Pa op format supported Microsoft Teams Audio
[2023-07-14 10:38:59.810] [sc] [info] Pa ip format supported Microsoft Teams Audio
[2023-07-14 10:38:59.821] [sc] [info] Pa op format supported VB-Cable
[2023-07-14 10:38:59.833] [sc] [info] Pa ip format supported VB-Cable
[2023-07-14 10:38:59.839] [sc] [info] Pa op format supported IC-7300
[2023-07-14 10:38:59.909] [sc] [error] sdrplay failed to load dll /usr/local/lib/libsdrplay_api.so

lib file is present:
$ ll /usr/local/lib/libsdrplay_api.so
lrw-r--r--  1 root  admin  34 Jul 14 10:32 /usr/local/lib/libsdrplay_api.so -> /usr/local/lib/libsdrplay_api.so.3


SparkSDR.2.0.943.osx

[2023-07-14 10:42:28.558] [sc] [info] AudioProvider::enumerate 9
[2023-07-14 10:42:28.570] [sc] [info] Pa ip format supported 0 iPhone 13 van Filip Microphone
[2023-07-14 10:42:28.580] [sc] [info] Pa op format supported 1 BlackHole 2ch
[2023-07-14 10:42:28.588] [sc] [info] Pa ip format supported 1 BlackHole 2ch
[2023-07-14 10:42:28.592] [sc] [info] Pa ip format supported 2 MacBook Pro Microphone
[2023-07-14 10:42:28.595] [sc] [info] Pa op format supported 3 MacBook Pro Speakers
[2023-07-14 10:42:28.604] [sc] [info] Pa op format supported 4 Microsoft Teams Audio
[2023-07-14 10:42:28.612] [sc] [info] Pa ip format supported 4 Microsoft Teams Audio
[2023-07-14 10:42:28.619] [sc] [info] Pa op format supported 5 VB-Cable
[2023-07-14 10:42:28.627] [sc] [info] Pa ip format supported 5 VB-Cable
[2023-07-14 10:42:28.631] [sc] [info] Pa op format supported 8 IC-7300
[2023-07-14 10:42:28.675] [sc] [error] sdrplay failed to load dll /usr/local/lib/libsdrplay_api.so.3.07
[2023-07-14 10:42:33.458] [sc] [error] sdrplay load error Read-only file system: '/usr/local/lib/libsdrplay_api.so.3.07', '/sdrplay_api_i2.so'

lib file is present:
$ ll /usr/local/lib/libsdrplay_api.so.3.07
-rwxr-xr-x  1 filip  staff  68308 May  9  2020 /usr/local/lib/libsdrplay_api.so.3.07

When I run the same version but using administrative rights the log looks like this:

$ sudo /Applications/SparkSDR.app/Contents/MacOS/SparkSDR

[2023-07-14 10:58:12.500] [sc] [info] AudioProvider::enumerate 9
[2023-07-14 10:58:12.514] [sc] [info] Pa ip format supported 0 iPhone 13 van Filip Microphone
[2023-07-14 10:58:12.528] [sc] [info] Pa op format supported 1 BlackHole 2ch
[2023-07-14 10:58:12.538] [sc] [info] Pa ip format supported 1 BlackHole 2ch
[2023-07-14 10:58:12.543] [sc] [info] Pa ip format supported 2 MacBook Pro Microphone
[2023-07-14 10:58:12.547] [sc] [info] Pa op format supported 3 MacBook Pro Speakers
[2023-07-14 10:58:12.557] [sc] [info] Pa op format supported 4 Microsoft Teams Audio
[2023-07-14 10:58:12.565] [sc] [info] Pa ip format supported 4 Microsoft Teams Audio
[2023-07-14 10:58:12.573] [sc] [info] Pa op format supported 5 VB-Cable
[2023-07-14 10:58:12.582] [sc] [info] Pa ip format supported 5 VB-Cable
[2023-07-14 10:58:12.585] [sc] [info] Pa op format supported 8 IC-7300
[2023-07-14 10:58:12.622] [sc] [error] sdrplay failed to load dll /usr/local/lib/libsdrplay_api.so.3.07



SoapySDRutil

$ 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/libsdrPlaySupport.so (0.3.0-1c6631d)
Available factories... sdrplay
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]



Op vrijdag 10 maart 2023 om 17:11:25 UTC+1 schreef ahop...@googlemail.com:

ahop...@googlemail.com

unread,
Jul 14, 2023, 7:29:38 AM7/14/23
to SparkSDR
Hi Thanks for the report.
Can you try https://www.sparksdr.com/download/SparkSDR.2.0.964.osx.zip this tries log the reason for the failure which might help solve this.
73 Alan M0NNB

Reply all
Reply to author
Forward
0 new messages