Thank you for the answer.
I did build and install SoapySDRPlay but I wasn't aware it was mandatory.
I have 64bit machines. I use libusb-1.0 (on my newest system LIBUSB_API_VERSION = 0x1000104).
When I installed SoapySDR, I saw :
Code: Select all
SoapySDR/build$ sudo make install
...
-- Installing: /usr/local/include/SoapySDR/Constants.h
-- Installing: /usr/local/include/SoapySDR/Device.h
-- Installing: /usr/local/lib/libSoapySDR.so.0.6.1
-- Installing: /usr/local/lib/libSoapySDR.so.0.6
-- Installing: /usr/local/lib/libSoapySDR.so
-- Installing: /usr/local/lib/pkgconfig/SoapySDR.pc
-- Installing: /usr/local/bin/SoapySDRUtil
...
However, when I run
Code: Select all
$ SoapySDRUtil --info
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################
Lib Version: v0.6.1-gba9ad2d2
API Version: v0.6.0
ABI Version: v0.6
Install root: /usr/local
Search path: /usr/local/lib/SoapySDR/modules0.6
No modules found!
Loading modules... done
Available factories...null,
I have no /usr/local/lib/SoapySDR directory. I however have some SoapySDR stuff in /usr/local/lib.
Code: Select all
$ find /usr/local/lib/ |grep -i soapy
/usr/local/lib/libSoapySDR.so
/usr/local/lib/libSoapySDR.so.0.6.1
/usr/local/lib/python3/dist-packages/SoapySDR.py
/usr/local/lib/python3/dist-packages/_SoapySDR.so
/usr/local/lib/pkgconfig/SoapySDR.pc
/usr/local/lib/python2.7/dist-packages/SoapySDR.py
/usr/local/lib/python2.7/dist-packages/_SoapySDR.so
/usr/local/lib/libSoapySDR.so.0.6
If there is some firmware to load into the RSP1A, I don't know its name, where it is supposed to be located and where I can get it. As I understand it SoapySDR is something generic 'vendor independent'... The vendor dependent stuff seems to be located in another 'SoapyRemote' branch...(?) So I also 'git clone' the SoapyRemote stuff, built, installed it. And got the missing directories.
Code: Select all
$ sudo systemctl start SoapySDRServer
$ SoapySDRUtil --info
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################
Lib Version: v0.6.1-gebd6ce31
API Version: v0.6.0
ABI Version: v0.6
Install root: /usr/local
Search path: /usr/local/lib/SoapySDR/modules0.6
Module found: /usr/local/lib/SoapySDR/modules0.6/libremoteSupport.so
Loading modules... done
Available factories...null, remote,
It now does find some 'module' (whatever it is). But there is no firmware download, it stays '0x0200' and I still get the 7 'hardware error' :
Code: Select all
$ ./rawIQ
Parameters:
GainReduction = 40dB [default]
SampleRate = 2.048MHz [default]
CentreFrequency = 176.640MHz [default]
Bandwidth = 1.536MHz [default]
IfFrequency = 0.000MHz [default]
mir_sdr_Init: starting hardware initialization
mir_sdr_Init: gR=40dB fs=2.048MHz rf=176.640MHz bw=1.536MHz if=0.000MHz
DownConvert: Enable=0 DecM=1 OutScale=0 (fs=2.048000 bw=1536 if=0)
initState: numActivePackets=4
mir_sdr_usb_USB DLL: Revision 0.1.1
Opened device with idVendor = 0x1df7 idProduct = 0x3000 fwVersion = 0x0200 busNum = 001 portNum = 001
Error: libusb_get_string_descriptor_ascii() -2
mir_sdr_usb_Init: Timeout expired/failed to establish connection with the device
mir_sdr_2500_Init: mir_sdr_usb_Init() failed
mir_sdr_Init: mir_sdr_2500_Init() Error 1
mir_sdr_Init: Error 7
As an old school boy, I don't understand why everything gets so complicated. Years ago, I just had to place some .fw file in /lib/firmware/ and some mechanism I don't remember the name uploaded the firmware when I plugged the USB device. I could then write a simple program to open the device and exchange commands and data with it. I did not have to install a bunch of software which, were they documented, would fill an entire library. I suppose I am getting old...
I understand it is a (completely) new product, that the API and Linux branch are not mainstream. I am ready to make some effort. I just hope the solution is not too far away. So, if there is a firmware > 0x0200, where is it? and how do I upload it? I am not sure I'll be able to progress before next week-end. I have busy weeks.
Thank you,
xof
----------
'SoapySDRUtil --find=sdrplay' and 'SoapySDRUtil --probe=sdrplay' don't find any device but, it is funny, the SoapySDRServer on my other machine reacts).