Page 1 of 2

Ordered rsp inted with Ubuntu Linux..concerned

Posted: Wed Mar 16, 2016 6:09 pm
by WCat
Hi folks
Running Ubuntu 14.04 and ordered the rsp today. The more I read the more concerned I am becoming. I've read that an open driver was being developed and even saw that it had been on Google groups, though when I follow the github link I receive a 404.

What is the status of running gqrx with the rsp? Seems the direction I would like to go.

If not what are my options for a nice gui preferably without wine or virtual machines? I try to avoid proprietary software whenever possible and as such no nvidea drivers.

As I am new to sdr just trying to get my ducks in a row and understand the sdr community in the process.

Hoping someone can steer me in the right direction for best results.

Best regards
WCat

Re: Ordered rsp inted with Ubuntu Linux..concerned

Posted: Wed Mar 16, 2016 6:48 pm
by sdrplay
Hi,

The best supported option is CubicSDR (the API installation will also contain SoapySDR/SoapySDRPlay which you need to communicate with the RSP)

http://cubicsdr.com - it's still in development but already becoming pretty popular.

Best regards,

SDRplay Support

Re: Ordered rsp inted with Ubuntu Linux..concerned

Posted: Wed Mar 16, 2016 7:24 pm
by WCat
OK thank you that is the path I will take. Sorry about the double post.

Re: Ordered rsp inted with Ubuntu Linux..concerned

Posted: Thu Mar 17, 2016 6:27 pm
by updatelee
Is there actually an open source driver in development? It's the only thing holding me back right now.

UDL

Re: Ordered rsp inted with Ubuntu Linux..concerned

Posted: Fri Mar 18, 2016 1:26 pm
by WCat
I managed to get everything up and running on elementary os 64bit.
I used pip/pybombs to install gr-osmosdr.

Code: Select all

SoapySDRUtil --probe=sdrplay
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Probe device sdrplay
mir_sdr_Init: starting hardware initialization
mir_sdr_Init: gR=40dB fs=2.048MHz rf=222.064MHz bw=1.536MHz if=0.000MHz

mir_sdr_usb_USB DLL: Revision 0.1.1

Warning: libusb_claim_interface() -6

mir_sdr_2500_Init: revisionId = 0x0200, doing FW update
fwDownload: FW image size = 6008
mir_sdr_usb_USB DLL: Revision 0.1.1

Warning: libusb_claim_interface() -6

mir_sdr_2500_Init: fnaddr = 2 detected, trying to change...

mir_sdr_2500_Init: fnaddr = 10

mir_sdr_2500_Init: adjusting squelch trim 0x1, rx gating enable 1, tx_trim 0, reg2 = 0x4801
initHw: Register7 = 0x000005
initHw: Tuner Register0 = 0x04f440
mir_sdr_SetFs: Sample Freq requested 2047999.978065
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=2048000.0+0.0Hz=2048000.0Hz FsToggle->1
mir_sdr_SetRf: f->222064000.000Hz (int=25 frac=20 afc=0) fSynth:3553024000.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=222064000.0+0.0+0.0Hz+0.0Hz=222064000.0Hz RfToggle->1
mir_sdr_SetGr: GR->40[16,24,0,0] gRset->0x210 DCCALmode=4 DCCALspd=1 GrToggle->1
setToggleStates: initialising sampNum=0x0001fe5e, gainSetting=0x210, FsToggle=0, RfToggle=1, GrToggle=1
setToggleStates: initialising Fs=2047999.978, Rf=222064000.000, Gr=40
mir_sdr_2500_Readback001Trim: readback = 0xe30160e
mir_sdr_2500_Bypass001Trim: reg13=0x1cd reg14=0x6c016e

----------------------------------------------------
-- Device identification
----------------------------------------------------
  driver=SDRPlay
  hardware=SDRPlay
  mir_sdr_version=1.700000

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
  Channels: 1 Rx, 0 Tx
  Timestamps: NO
  Other Settings:
     * Low IF (when available) - Use low IF when available: 0.5MHz SR with 200 and 300khz BW, 1MHz SR with 600kHz BW, 2048kHz SR with 1536kHz BW
       [key=use_low_if, default=true, type=bool]
     * IF Mode - IF frequency in kHz
       [key=if_mode, default=Zero-IF, type=string, options=(Zero-IF, 450kHz, 1620kHz, 2048kHz)]

----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
  Full-duplex: YES
  Supports AGC: NO
  Stream formats: CS16, CF32
  Native format: CS16 [full-scale=2048]
  Antennas: RX
  Corrections: DC removal, DC offset
  Full gain range: [0, 204] dB
    TUNER gain range: [0, 102] dB
    LNAT gain range: [0, 102] dB
  Full freq range: [0.1, 2000] MHz
    RF freq range: [0.1, 2000] MHz
  Sample rates: [0.222222, 12] MHz
  Filter bandwidths: [0.2, 8] MHz
I am awaiting an antenna and currently have a wifi antenna screwed into it. I am way over my head technically. Cubicsdr is working with the rsp though I am not able to pick up anything, just static with the occasional signal that just quiets the satic. Praying to the gods of ignorance that it is my antenna though I doubt it. Anyone willing to help me along this weekend when I will have some time?

Is this warning a problem?

Warning: libusb_claim_interface() -6

Any help or insight appreciated

Thank you all
WCat

Re: Ordered rsp inted with Ubuntu Linux..concerned

Posted: Fri Mar 18, 2016 2:36 pm
by sdrplay
yes, that libusb error will be a problem - that is saying that something else has grabbed the device. Using lsmod, check to see if there is anything like msi001, msi2500 or sdr_msi3101 loaded - these will cause a problem and will need to be blacklisted.

If not, then you need to make sure only 1 application is accessing the RSP at any one time.

Best regards,

SDRplay Support

Re: Ordered rsp inted with Ubuntu Linux..concerned

Posted: Fri Mar 18, 2016 2:58 pm
by WCat
Excellent response time. I have a little one that I have to keep occupied today so my participation will be sporadic.

looks like msi001.

Code: Select all

$ lsmod
Module                  Size  Used by
msi001                 14448  1 
sdr_msi3101            34402  0 
videobuf2_vmalloc      13216  1 sdr_msi3101
videobuf2_memops       13362  1 videobuf2_vmalloc
videobuf2_core         59104  1 sdr_msi3101
v4l2_common            15681  3 sdr_msi3101,msi001,videobuf2_core
videodev              153793  4 sdr_msi3101,msi001,v4l2_common,videobuf2_core
media                  21903  1 videodev
nvram                  14411  0 
msr                    12865  0 
cuse                   13445  3 
uas                    27255  0 
usb_storage            66545  1 uas
snd_hda_codec_hdmi     47548  4 
rfcomm                 69509  0 
bnep                   19624  2 
bluetooth             446409  10 bnep,rfcomm
6lowpan_iphc           18702  1 bluetooth
dm_crypt               23216  1 
arc4                   12608  2 
wl                   6367833  0 
iwldvm                232283  0 
mac80211              652777  1 iwldvm
intel_powerclamp       18823  0 
snd_hda_codec_idt      59808  1 
snd_hda_codec_generic    69011  1 snd_hda_codec_idt
coretemp               13441  0 
snd_hda_intel          30549  5 
snd_hda_controller     30228  1 snd_hda_intel
kvm_intel             143630  0 
snd_hda_codec         139719  5 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
kvm                   456292  1 kvm_intel
snd_hwdep              17698  1 snd_hda_codec
snd_pcm               104112  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
dell_rbtn              13621  0 
snd_seq_midi           13564  0 
crct10dif_pclmul       14307  0 
snd_seq_midi_event     14899  1 snd_seq_midi
dell_laptop            18354  0 
crc32_pclmul           13133  0 
snd_rawmidi            30876  1 snd_seq_midi
dcdbas                 14928  1 dell_laptop
dell_wmi               12761  0 
pcmcia                 62299  0 
sparse_keymap          13948  1 dell_wmi
snd_seq                63074  2 snd_seq_midi_event,snd_seq_midi
aesni_intel           152552  2090 
aes_x86_64             17131  1 aesni_intel
lrw                    13286  1 aesni_intel
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
gf128mul               14951  1 lrw
glue_helper            13990  1 aesni_intel
ablk_helper            13597  1 aesni_intel
iwlwifi               179412  1 iwldvm
cryptd                 20359  1046 aesni_intel,ablk_helper
snd_timer              29575  2 snd_pcm,snd_seq
joydev                 17393  0 
serio_raw              13483  0 
yenta_socket           41040  0 
pcmcia_rsrc            18407  1 yenta_socket
intel_ips              18484  0 
cfg80211              498458  4 wl,iwlwifi,mac80211,iwldvm
lpc_ich                21093  0 
pcmcia_core            23592  3 pcmcia,pcmcia_rsrc,yenta_socket
snd                    79468  21 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore              15047  2 snd,snd_hda_codec
parport_pc             32741  0 
dell_smo8800           13154  0 
ppdev                  17671  0 
shpchp                 37047  0 
mac_hid                13227  0 
lp                     17759  0 
parport                42348  3 lp,ppdev,parport_pc
hid_generic            12559  0 
usbhid                 52616  0 
hid                   110426  2 hid_generic,usbhid
nouveau              1210720  4 
mxm_wmi                13021  1 nouveau
psmouse               106767  0 
i2c_algo_bit           13413  1 nouveau
ahci                   34142  4 
wmi                    19193  3 dell_wmi,mxm_wmi,nouveau
sdhci_pci              23301  0 
ttm                    93588  1 nouveau
firewire_ohci          40551  0 
libahci                32424  1 ahci
drm_kms_helper         61574  1 nouveau
e1000e                226396  0 
sdhci                  43693  1 sdhci_pci
drm                   311061  7 ttm,drm_kms_helper,nouveau
firewire_core          68769  1 firewire_ohci
crc_itu_t              12707  1 firewire_core
ptp                    19395  1 e1000e
pps_core               19382  1 ptp
video                  20128  1 nouveau
Is there a quick reference you can point me to for blacklisting that sucker? What is it that's grabbing the device? Mirics?
thank you again I feel I am getting close. I don't think I have ever compiled so much software in one sitting as I did yesterday. :?

Re: Ordered rsp inted with Ubuntu Linux..concerned

Posted: Fri Mar 18, 2016 4:17 pm
by sdrplay
temporarily you can use sudo rmmod <mod name>, it will allow you to test if you are removing the right mod but it doesn't survive a reboot.

On ubuntu I've edited the file /etc/modprobe.d/blacklist.conf and added

blacklist sdr_msi3101

which is permanent

Best regards,

SDRplay Support

Re: Ordered rsp inted with Ubuntu Linux..concerned

Posted: Fri Mar 18, 2016 4:22 pm
by WCat
Yes I manged to rid myself of the libusb warning.

Code: Select all

$ SoapySDRUtil --probe=sdrplay
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Probe device sdrplay
mir_sdr_Init: starting hardware initialization
mir_sdr_Init: gR=40dB fs=2.048MHz rf=222.064MHz bw=1.536MHz if=0.000MHz

mir_sdr_usb_USB DLL: Revision 0.1.1

mir_sdr_2500_Init: fnaddr = 4

mir_sdr_2500_Init: adjusting squelch trim 0x1, rx gating enable 1, tx_trim 0, reg2 = 0x4801
initHw: Register7 = 0x000005
initHw: Tuner Register0 = 0x04f440
mir_sdr_SetFs: Sample Freq requested 2047999.978065
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=2048000.0+0.0Hz=2048000.0Hz FsToggle->1
mir_sdr_SetRf: f->222064000.000Hz (int=25 frac=20 afc=0) fSynth:3553024000.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=222064000.0+0.0+0.0Hz+0.0Hz=222064000.0Hz RfToggle->1
mir_sdr_SetGr: GR->40[16,24,0,0] gRset->0x210 DCCALmode=4 DCCALspd=1 GrToggle->1
setToggleStates: initialising sampNum=0x0001f802, gainSetting=0x210, FsToggle=0, RfToggle=1, GrToggle=1
setToggleStates: initialising Fs=2047999.978, Rf=222064000.000, Gr=40
mir_sdr_2500_Readback001Trim: readback = 0xe30160e
mir_sdr_2500_Bypass001Trim: reg13=0x1cd reg14=0x6c016e

----------------------------------------------------
-- Device identification
----------------------------------------------------
  driver=SDRPlay
  hardware=SDRPlay
  mir_sdr_version=1.700000

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
  Channels: 1 Rx, 0 Tx
  Timestamps: NO
  Other Settings:
     * Low IF (when available) - Use low IF when available: 0.5MHz SR with 200 and 300khz BW, 1MHz SR with 600kHz BW, 2048kHz SR with 1536kHz BW
       [key=use_low_if, default=true, type=bool]
     * IF Mode - IF frequency in kHz
       [key=if_mode, default=Zero-IF, type=string, options=(Zero-IF, 450kHz, 1620kHz, 2048kHz)]

----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
  Full-duplex: YES
  Supports AGC: NO
  Stream formats: CS16, CF32
  Native format: CS16 [full-scale=2048]
  Antennas: RX
  Corrections: DC removal, DC offset
  Full gain range: [0, 204] dB
    TUNER gain range: [0, 102] dB
    LNAT gain range: [0, 102] dB
  Full freq range: [0.1, 2000] MHz
    RF freq range: [0.1, 2000] MHz
  Sample rates: [0.222222, 12] MHz
  Filter bandwidths: [0.2, 8] MHz
Have not had much time to mess with it though I still am just receiving cosmic background in all it's glory.

Anymore help greatly appreciated

Thank you for your time and patience!

Re: Ordered rsp inted with Ubuntu Linux..concerned

Posted: Fri Mar 18, 2016 4:43 pm
by sdrplay
Can you post a screenshot of CubicSDR running and an idea of what settings you selected on the device selection screen.

SDRplay Support