RSP1 on ubuntu 17.04

Post information or questions regarding SDRplay products here
9a4db
Posts: 14
Joined: Sun Jan 24, 2016 6:44 pm

RSP1 on ubuntu 17.04

Postby 9a4db » Fri Jul 07, 2017 8:22 am

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

Reason: No reason

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

Re: RSP1 on ubuntu 17.04

Postby sdrplay » Sun Jul 09, 2017 6:50 pm

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

Reason: No reason

9a4db
Posts: 14
Joined: Sun Jan 24, 2016 6:44 pm

Re: RSP1 on ubuntu 17.04

Postby 9a4db » Sun Jul 09, 2017 8:55 pm

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?

Reason: No reason

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

Re: RSP1 on ubuntu 17.04

Postby sdrplay » Mon Jul 10, 2017 5:55 am

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

Reason: No reason

9a4db
Posts: 14
Joined: Sun Jan 24, 2016 6:44 pm

Re: RSP1 on ubuntu 17.04

Postby 9a4db » Mon Jul 10, 2017 7:04 am

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 718 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

Reason: No reason

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

Re: RSP1 on ubuntu 17.04

Postby sdrplay » Mon Jul 10, 2017 6:32 pm

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

Reason: No reason

9a4db
Posts: 14
Joined: Sun Jan 24, 2016 6:44 pm

Re: RSP1 on ubuntu 17.04

Postby 9a4db » Tue Jul 11, 2017 10:59 am

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 662 times


Email sent regarding beta driver...

Regards
Djani

Reason: No reason

9a4db
Posts: 14
Joined: Sun Jan 24, 2016 6:44 pm

Re: RSP1 on ubuntu 17.04

Postby 9a4db » Wed Jul 12, 2017 1:07 pm

Problem solved with beta driver....
CubicSDR working now
SDRAngel some further work needed (on Angel compilation side)

Thank you for prompt assistance
Regards
Djani

Reason: No reason

jbirdlebough@msn.com
Posts: 2
Joined: Thu Feb 18, 2016 2:05 pm

Re: RSP1 on ubuntu 17.04

Postby jbirdlebough@msn.com » Wed Sep 20, 2017 5:51 pm

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-)
Last edited by jbirdlebough@msn.com on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

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

Re: RSP1 on ubuntu 17.04

Postby sdrplay » Thu Sep 21, 2017 5:43 am

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

Reason: No reason


Return to “SDRplay related”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest