SDRplay and Mac OS, installation questions

Post information or questions regarding SDRplay products here
DVE
Posts: 25
Joined: Sat Mar 12, 2016 11:19 am

SDRplay and Mac OS, installation questions

Postby DVE » Sat Mar 12, 2016 11:36 am

Hi guys,

I'm new in SDRplay software, now trying to install all stuff on my Mac mini :)
What I did:
a) install Mac driver from the sdrplay website
b) install CubicSDR: it works ok, but ... its beta and features are limited.
c) So, I would like to use gnuradio and Gqrx, and there are some problems.

I used the manual from here: http://sdr.osmocom.org/trac/wiki/GrOsmoSDR
My steps:
- git clone git://git.osmocom.org/gr-osmosdr - done
- cd gr-osmosdr/ - done
- mkdir build - done
- cd build/ - done
- cmake ../ -DENABLE_NONFREE=TRUE - done
- make - done
- sudo make install - done
- sudo ldconfig - ldconfig: command not found

But it seems, version was build and installed succesfully.
But... Now I type "osmocom_fft" and get the error

gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.9.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy
FATAL: No supported devices found to pick from. I've build the library with SDRplay support, why it is not here?

Wtf, sorry, why it cannot see my sdrplay device?

What I'm doing wrong?
Thanks.

PS: Btw, why SDRplay library is closed and not distributed like other open source as hackrf or airspy? I'm disappointed a bit with this problems.
Last edited by DVE on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

DVE
Posts: 25
Joined: Sat Mar 12, 2016 11:19 am

Re: SDRplay and Mac OS, installation questions

Postby DVE » Sat Mar 12, 2016 12:23 pm

I did it :)

The key should be
cmake ../ -DENABLE_NONFREE=TRUE CMAKE_INSTALL_PREFIX=/opt/local

Than the path is correct, and all works:
osmocom_fft -s 5e6 -f 100e6
osmocom_fft_sdrplay.png
osmocom_fft_sdrplay.png (90.28 KiB) Viewed 4559 times


gqrx
gqrx_srdplay.jpg
gqrx_srdplay.jpg (90.79 KiB) Viewed 4559 times

One problem: the bitrate more than 1.5M is not working. I hope, the SDRplay team can fix it sometimes.

I think SDRplay guys should update the mac os manual.

PS: Update-2: I get tons of errors in console while running gqrx:
mir_sdr_ReadPacket: called before mir_sdr_Init()
mir_sdr_ReadPacket: called before mir_sdr_Init()
mir_sdr_ReadPacket: called before mir_sdr_Init()
mir_sdr_ReadPacket: called before mir_sdr_Init()
mir_sdr_ReadPacket: called before mir_sdr_Init()
mir_sdr_ReadPacket: called before mir_sdr_Init()
mir_sdr_ReadPacket: called before mir_sdr_Init()
mir_sdr_ReadPacket: called before mir_sdr_Init()
mir_sdr_ReadPacket: called before mir_sdr_Init()
mir_sdr_ReadPacket: called before mir_sdr_Init()
mir_sdr_ReadPacket: called before mir_sdr_Init()
mir_sdr_ReadPacket: called before mir_sdr_Init()
mir_sdr_ReadPacket: called before mir_sdr_Init()
mir_sdr_ReadPacket: called before mir_sdr_Init()
...
Last edited by DVE on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

drewhaninger
Posts: 1
Joined: Thu Mar 31, 2016 2:48 pm

Re: SDRplay and Mac OS, installation questions

Postby drewhaninger » Thu Mar 31, 2016 2:51 pm

Hi, I am getting the compile error:

ImportError: No module named Cheetah
make[2]: *** [grc/rtlsdr_source.xml] Error 1
make[1]: *** [grc/CMakeFiles/osmosdr_grc_xml_blocks.dir/all] Error 2
make: *** [all] Error 2
~/Documents/aaGnuRadio/gr-osmosdr/build --


I am surprised that no one has updated the drivers for Mac SDRPlay

thanks
Last edited by drewhaninger on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

VE1LEB
Posts: 1
Joined: Tue May 03, 2016 12:28 am

Re: SDRplay and Mac OS, installation questions

Postby VE1LEB » Tue May 03, 2016 1:02 pm

I'm also having problems with the last mile of this install process.

I've done the stupid simple MacPorts install of gnuradio, also rtl-sdr, osmosdr, sox and gqrx, all using MacPorts.

gnuradio-companion works fine with the rtl-sdr source (connecting to my rtl-sdr dongle), but when I replace that with SDRplay and osmosdr, it fails to perform as expected. I can input "sdrplay" as a device argument in the osmosdr source, but it still doesn't work.

Is there a further step that I'm missing?
Last edited by VE1LEB on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

MiamiC70
Posts: 33
Joined: Mon Nov 30, 2015 1:21 pm

Re: SDRplay and Mac OS, installation questions

Postby MiamiC70 » Tue May 03, 2016 6:58 pm

Should installing software really be this complicated in 2016?
I gave up on the other programs and just use CubicSDR and even that one has some glitches but for now is the best of the bunch.
Last edited by MiamiC70 on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

RichardG
Posts: 11
Joined: Sat Jun 11, 2016 5:19 pm

Re: SDRplay and Mac OS, installation questions

Postby RichardG » Sat Jun 11, 2016 5:53 pm

MiamiC70 wrote:Should installing software really be this complicated in 2016?
I gave up on the other programs and just use CubicSDR and even that one has some glitches but for now is the best of the bunch.
\

No it should't. I've just purchased an sdrplay on the basis that it's fully supported by gnu-radio as advertised but that's a weak claim because of the closed driver. If I can't get it working on my Mac then I'll be returning it. There needs to be a clear guide on how to do this.

Richard
Last edited by RichardG on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 623
Joined: Wed Jan 07, 2015 7:58 am

Re: SDRplay and Mac OS, installation questions

Postby sdrplay » Sat Jun 11, 2016 6:14 pm

Building gr-osmosdr can be tricky depending on where you get the source from. If you follow the Gnu Radio web pages then you have to install Gnu Radio and gr-osmosdr together because if you install gr-osmosdr independently then Gnu Radio is a dependency.

Anyway we support the SoapySDR interface on non-Windows platforms. This will be updated soon when the latest API is released. gr-osmosdr has support for SoapySDR. If SoapySDR is installed prior to building gr-osmosdr then it should find it and build support it.

So the sequence should be to install the API/Driver from our website. This will install a version of SoapySDR/SoapySDRPlay as well.

Then obtain the gr-osmosdr source and build that as per the gr-osmosdr instructions. Then when using Gnu Radio, please a gr-osmosdr source and it should find the SoapySDR interface.

We did originally support the NON_FREE path as described above, but it wasn't working very well, MacPorts didn't want to adopt it and better support for the RSP came along in the form of SoapySDR, so that's the flow we recommend.

Although CubicSDR is still in alpha it has a very active developer and it's being tested a lot on both Mac and Linux platforms so I think it's working very well.

Hope that helps,

Best regards,

SDRplay Support
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

RichardG
Posts: 11
Joined: Sat Jun 11, 2016 5:19 pm

Re: SDRplay and Mac OS, installation questions

Postby RichardG » Sat Jun 11, 2016 8:12 pm

Thanks for the reply, that's good news, any ideas on a timescale, is it weeks or months away?

Thanks

Richard
Last edited by RichardG on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 623
Joined: Wed Jan 07, 2015 7:58 am

Re: SDRplay and Mac OS, installation questions

Postby sdrplay » Sat Jun 11, 2016 8:59 pm

The API will be this month, so the SoapySDRPlay update should happen shortly after.

Sorry I can't be more specific, there's a lot in development at the moment.

Best regards,

SDRplay Support
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

RichardG
Posts: 11
Joined: Sat Jun 11, 2016 5:19 pm

Re: SDRplay and Mac OS, installation questions

Postby RichardG » Sun Jun 12, 2016 4:14 pm

Someone created a patch file for MacPorts https://trac.macports.org/ticket/48451 However, this no longer works as the version numbers have moved on plus the repository for the sdrplay software no longer seems to be valid http://sdrplay.com/software/ Can you provide the latest version numbers and repository so the script can be modified?

Alternatively could you provide a guide for building on MacOS using Macports until the new method is live?

Thanks

Richard
Last edited by RichardG on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason


Return to “SDRplay related”

Who is online

Users browsing this forum: No registered users and 5 guests