Page 1 of 1

RSP1 on ubuntu 17.04

Posted: Fri Jul 07, 2017 8:22 am
by 9a4db
q@q-X756UX:~$ SoapySDRUtil --check=sdrplay
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Loading modules... done
Checking driver 'sdrplay'... PRESENT
q@q-X756UX:~$ SoapySDRUtil --probe=sdrplay
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Probe device sdrplay
fwDownload: FW image size = 6008
mir_sdr_usb_GetDevices Dev0:vid=1df7 pid=2500 rev=0206 serno=B0001P0003 bus=001 port=003 devAvail=0
[INFO] Make connection: ''
Error probing device: Failed to make connection with ''
q@q-X756UX:~$
Lime SDR and RTL-SDR v2 working ok.... any tips?
Yes I have reinstalled couple of times....
73

Re: RSP1 on ubuntu 17.04

Posted: Sun Jul 09, 2017 6:50 pm
by sdrplay
devAvail=0 probably means you need to blacklist the kernel drivers....

edit /etc/modprobe.d/blacklist.conf

add..

blacklist sdr_msi3101
blacklist msi001
blacklist msi2500

Then save the file and reboot. Try the SoapySDRUtil again.

Best regards,

SDRplay Support

Re: RSP1 on ubuntu 17.04

Posted: Sun Jul 09, 2017 8:55 pm
by 9a4db
Yes, thank you.... later made add to black list
Now ->
q@q-X756UX:~$ SoapySDRUtil --info
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Lib Version: v0.6.0-g2f6a449e
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/libLMS7Support.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libremoteSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/librtlsdrSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libsdrPlaySupport.so
Loading modules... done
Available factories...lime, null, remote, rtlsdr, sdrplay,
q@q-X756UX:~$ SoapySDRUtil --find=sdrplay
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

mir_sdr_usb_GetDevices Dev0:vid=1df7 pid=2500 rev=0206 serno=B0001P0004 bus=001 port=004 devAvail=1
Found device 0
driver = sdrplay
label = SDRplay Dev0 RSP1 B0001P0004


q@q-X756UX:~$

While CubicSDR and GQRX are able to recognize SDRPlay - run is impossible.
Any other tips?

Re: RSP1 on ubuntu 17.04

Posted: Mon Jul 10, 2017 5:55 am
by sdrplay
Not sure what you mean by run is impossible. In CubicSDR, you select the device and parameters and press start. That doesn't work for you?

There is an issue with > 2.5MHz sample rate on Linux which I'll be pushing an update for this week but if you stick to defaults it should work ok.

Have you also tried... SoapySDRUtil --probe=sdrplay

Best regards,

SDRplay Support

Re: RSP1 on ubuntu 17.04

Posted: Mon Jul 10, 2017 7:04 am
by 9a4db
Here, CubicSDR, all SDR-s detected, first two working, last RSP1 detected, but not able to work....
Screenshot from 2017-07-10 08-54-16.png
Screenshot from 2017-07-10 08-54-16.png (35.24 KiB) Viewed 28301 times
Probe ->

q@q-X756UX:~$ SoapySDRUtil --probe=sdrplay
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Probe device sdrplay
mir_sdr_usb_GetDevices Dev0:vid=1df7 pid=2500 rev=0206 serno=B0001P0004 bus=001 port=004 devAvail=1
mir_sdr_usb_SetDeviceIdx idx=0 numDevices=1
Opened device with idVendor = 0x1df7 idProduct = 0x2500 fwVersion = 0x0206 busNum = 001 portNum = 004
mir_sdr_Init: starting hardware initialization
mir_sdr_Init: gR=60dB fs=2.000MHz rf=98.800MHz bw=1.536MHz if=0.000MHz
DownConvert: Enable=0 DecM=1 OutScale=0 (fs=2.000000 bw=1536 if=0)
mir_sdr_usb_USB DLL: Revision 0.1.1
mir_sdr_2500_Init: fnaddr = 7
mir_sdr_2500_Init: adjusting squelch trim 0x1, rx gating enable 1, tx_trim 0, reg2 = 0x4801
initHw: Register7 = 0x000014
initRfFreqDependentHw(1): Tuner Register0 = 0x04f420
mir_sdr_SetFs: Sample Freq requested 2000000.000000
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=2000000.0+0.0Hz=2000000.0Hz FsToggle->1
mir_sdr_SetRf: f->98800000.000Hz (int=20 frac=af0 afc=0) fSynth:3161600000.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=98800000.0+0.0+0.0Hz+0.0Hz=98800000.0Hz RfToggle->1
mir_sdr_SetGr: GR->60[36,24,0,0] gRset->0x224 DCCALmode=3 DCCALspd=0 GrToggle->1
mir_sdr_usb_StreamRead: Read failed to read sufficient data: requested 393216 read 0
mir_sdr_2500_StreamRead: Read failed
mir_sdr_usb_StreamUninit: Stream stop timeout (4000 0)
mir_sdr_usb_StreamRead: Read failed to read sufficient data: requested 393216 read 0
mir_sdr_2500_StreamRead: Read failed again
setToggleStates: failed mir_sdr_2500_StreamRead err=1
initHw: setToggleStates() Error 1
mir_sdr_Init: initHw returns error 7
mir_sdr_usb_StreamUninit: Stream stop timeout (4000 0)
Warning: DriverCallback() couldn't match transfer 0x55aefa543120
Warning: DriverCallback() couldn't match transfer 0x55aefa53ed00
Warning: DriverCallback() couldn't match transfer 0x55aefa52a6c0
Warning: DriverCallback() couldn't match transfer 0x55aefa52b3e0
Warning: DriverCallback() couldn't match transfer 0x55aefa52c100
Warning: DriverCallback() couldn't match transfer 0x55aefa52ce20
Warning: DriverCallback() couldn't match transfer 0x55aefa52db40
Warning: DriverCallback() couldn't match transfer 0x55aefa52e860
mir_sdr_2500_Readback001Trim: readback = 0xd1c020f
mir_sdr_2500_Bypass001Trim: reg13=0x1ed reg14=0x47002e
Trying to open device with mir_sdr_Init failed
mir_sdr_usb_SetDeviceIdx: Unable to access EEPROM

----------------------------------------------------
-- Device identification
----------------------------------------------------
driver=SDRplay
hardware=1 B0001P0004
mir_sdr_api_version=2.100000
mir_sdr_hw_version=1

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
Channels: 1 Rx, 0 Tx
Timestamps: NO
Other Settings:
* RF Gain Select - RF Gain Select
[key=rfgain_sel, default=1, type=string, options=(0, 1, 2, 3)]
* IF Mode - IF frequency in kHz
[key=if_mode, default=Zero-IF, type=string, options=(Zero-IF, 450kHz, 1620kHz, 2048kHz)]
* 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]]

----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
Full-duplex: YES
Supports AGC: YES
Stream formats: CS16, CF32
Native format: CS16 [full-scale=32767]
Antennas: RX
Corrections: DC removal
Full gain range: [0, 39] dB
IFGR gain range: [20, 59] dB
Full freq range: [0.01, 2000] MHz
RF freq range: [0.01, 2000] MHz
CORR freq range: MHz
Sample rates: 0.25, 0.5, 1, 2, 2.048, 6, 7, 8, 9, 10 MSps
Filter bandwidths: 0.2, 0.3, 0.6, 1.536, 5, 6, 7, 8 MHz

mir_sdr_usb_ReleaseDeviceIdx 0

q@q-X756UX:~$

On other PC under win10 all is in order. Before on ubuntu 16.04 ok too.
Best Regards
Djani

Re: RSP1 on ubuntu 17.04

Posted: Mon Jul 10, 2017 6:32 pm
by sdrplay
Are you using USB 3.0 port? Make sure it's a USB 2.0 port or an external mains powered USB 2.0 hub.

If you are using USB 2.0 and you've tried different USB cables you may need the updated driver I will be sending out.

Contact me on software@sdrplay.com if you want to beta test it.

Can you let me know what processor you have and what API download you did?

Best regards,

SDRplay Support

Re: RSP1 on ubuntu 17.04

Posted: Tue Jul 11, 2017 10:59 am
by 9a4db
Thank you
Yes I am using USB 2.0 port, on the same port Lime reporting USB 2.0 and working on low bandwith, RTL-SDR v2 stick too

API -> SDRplay_RSP_API-Linux-2.10.1.run

Guess no need to test another USB cable because the same RSP1 setup is working on Win10 machine using CubicSDR or SDRConsole V3

CPU here
Screenshot from 2017-07-11 12-52-43.png
Screenshot from 2017-07-11 12-52-43.png (25.43 KiB) Viewed 28245 times
Email sent regarding beta driver...

Regards
Djani

Re: RSP1 on ubuntu 17.04

Posted: Wed Jul 12, 2017 1:07 pm
by 9a4db
Problem solved with beta driver....
CubicSDR working now
SDRAngel some further work needed (on Angel compilation side)

Thank you for prompt assistance
Regards
Djani

Re: RSP1 on ubuntu 17.04

Posted: Wed Sep 20, 2017 5:51 pm
by jbirdlebough@msn.com
Cheers I need help, I have successfully built CubicSDR on a Orange Pi 2+ running armbian version of ubuntu 16.04, on armf platform. I have also recompiled the OS to enable SPI, i2C, and all USB devices (1,2,3). from Os lsusb shows SDRPlay device. So at OS level we at least see the device.

I also have RPi 3, I used the image that worked.

But I can't find source I can build on OPi2+ platform to rebuild the API SDRPlay driver.

Can anyone help me. OPI has 2GB ram, 16GB emmc(internal nand) and is much faster than RPi 3, so I am trying to get this working.

Thanks for any help you can provide.
jbirdlebough@msn.com 8-)

Re: RSP1 on ubuntu 17.04

Posted: Thu Sep 21, 2017 5:43 am
by sdrplay
We do not provide the source for the API. I would suggest trying the Raspberry Pi API or the ARM64 API if it's a 64bit ARM processor. You can find both of these on our downloads page (http://www.sdrplay.com/downloads)

Let us know how you get on with those versions. If you are still struggling let us know and we'll try to help.

Best regards,

SDRplay Support