RSP1 Linux 18.3 Cinammon Mint Install Problems

Post information or questions regarding SDRplay products here
sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: RSP1 Linux 18.3 Cinammon Mint Install Problems

Post by sdrplay » Mon Feb 26, 2018 8:32 am

I just found this post from someone who has successfully got the RSP1 working on Mint 18.1 - slightly different version of the OS to you, but there maybe something in here you can use?...

https://www.sdrplay.com/community/viewtopic.php?t=2181

Best regards,

SDRplay Support

Reason: No reason

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

Re: RSP1 Linux 18.3 Cinammon Mint Install Problems

Post by sdrplay » Mon Feb 26, 2018 8:36 am

One other thought, what did you do that installed libmirisdr? There maybe another driver associated with that library that is taking the place of the blacklisted drivers? I personally would remove it as it's not supported in any way.

Best regards,

SDRplay Support

Reason: No reason

Fractal1
Posts: 65
Joined: Sun Feb 21, 2016 6:06 am

Re: RSP1 Linux 18.3 Cinammon Mint Install Problems

Post by Fractal1 » Mon Feb 26, 2018 9:19 am

awesome, thanks, the post is extensive and i'm looking into it now. could you tell me how to remove libmirisdr? i had a crack "remove" and "purge" but it could not find the file to remove it.

Reason: No reason

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

Re: RSP1 Linux 18.3 Cinammon Mint Install Problems

Post by sdrplay » Mon Feb 26, 2018 9:25 am

It will probably depend on how it got onto the machine. In a previous post you listed these files in /usr/local/lib...
-rw-r--r-- 1 root root 38972 Feb 20 13:58 /usr/local/lib/libmirisdr.a
lrwxrwxrwx 1 root root 15 Feb 20 13:59 /usr/local/lib/libmirisdr.so -> libmirisdr.so.4
lrwxrwxrwx 1 root root 20 Feb 20 13:59 /usr/local/lib/libmirisdr.so.4 -> libmirisdr.so.4.0git
-rw-r--r-- 1 root root 45640 Feb 20 13:58 /usr/local/lib/libmirisdr.so.4.0git
This is the unofficial library. Whether removing the files (or moving them out of the way for now) will cause the driver to not work, hence not block the device from being used, I'm not sure.

A quick search found this page that suggests ways to remove it... http://installion.co.uk/kali/kali/main/ ... index.html

Hope that helps,

Best regards,

SDRplay Support

Reason: No reason

Fractal1
Posts: 65
Joined: Sun Feb 21, 2016 6:06 am

Re: RSP1 Linux 18.3 Cinammon Mint Install Problems

Post by Fractal1 » Mon Feb 26, 2018 11:13 am

Thanks, i followed the links proceedure but it comes back as saying the files could not be removed because they could not be found. I may have made progress with the aid of the forum link you posted:


SoapySDRUtil --info
######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################

Lib Version: v0.7.0-g824d83e8
API Version: v0.7.0
ABI Version: v0.7
Install root: /usr/local
Search path: /usr/local/lib/SoapySDR/modules0.7
Module found: /usr/local/lib/SoapySDR/modules0.7/libaudioSupport.so (58fb1b5)
Module found: /usr/local/lib/SoapySDR/modules0.7/libremoteSupport.so (0.5.0-1c544fe)
Module found: /usr/local/lib/SoapySDR/modules0.7/libsdrPlaySupport.so (0.1.0-ca7e028)
Available factories... audio, remote, sdrplay
Available converters...
- CF32 -> [CF32, CS16, CS8, CU16, CU8]
- CS16 -> [CF32, CS16, CS8, CU16, CU8]
- CS32 -> [CS32]
- CS8 -> [CF32, CS16, CS8, CU16, CU8]
- CU16 -> [CF32, CS16, CS8]
- CU8 -> [CF32, CS16, CS8]
- F32 -> [F32, S16, S8, U16, U8]
- S16 -> [F32, S16, S8, U16, U8]
- S32 -> [S32]
- S8 -> [F32, S16, S8, U16, U8]
- U16 -> [F32, S16, S8]
- U8 -> [F32, S16, S8]

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

Probe device sdrplay

----------------------------------------------------
-- Device identification
----------------------------------------------------
driver=Audio
hardware=Audio
device_id=0
origin=https://github.com/pothosware/SoapyAudio

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
Channels: 1 Rx, 0 Tx
Timestamps: NO
Other Settings:
* Stereo Sample Offset - Offset stereo samples for off-by-one audio inputs.
[key=sample_offset, default=0, type=string, options=(-2, -1, 0, 1, 2)]

----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
Full-duplex: YES
Supports AGC: YES
Stream formats: CS8, CS16, CF32
Native format: CS16 [full-scale=65536]
Stream args:
* Channel Setup - Input channel configuration.
[key=chan, default=mono_l, type=string, options=(mono_l, mono_r, stereo_iq, stereo_qi)]
Antennas: RX
Full gain range: [0, 0] dB
Full freq range: [0, 6000] MHz
RF freq range: [0, 6000] MHz
Sample rates: 0.008, 0.016, 0.02205, 0.032, 0.0441, 0.048, 0.096 MSps

no recognition by the software yet though.

Reason: No reason

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

Re: RSP1 Linux 18.3 Cinammon Mint Install Problems

Post by sdrplay » Mon Feb 26, 2018 11:28 am

That report shows that it's found an audio device. Whether that's the soundcard or not I'm not sure. If you unplug the RSP and run it again, it would be interesting to see if the device still shows up in the report.

If it does not then it looks like there is something trying to turn the RSP into an audio device, which is not how it is implemented in SoapySDR.

something else you can try is...

sudo modprobe -r msi001
sudo modprobe -r msi2500
sudo modprobe -r sdr_msi3101

disconnect the RSP and reconnect and see if the drivers reappear using lsmod (if so, run the modprobe -r again).

Then, if lsmod doesn't show any signs of msi entries, retry

SoapySDRUtil --probe=sdrplay

Best regards,

SDRplay Support

Reason: No reason

Fractal1
Posts: 65
Joined: Sun Feb 21, 2016 6:06 am

Re: RSP1 Linux 18.3 Cinammon Mint Install Problems

Post by Fractal1 » Mon Feb 26, 2018 2:11 pm

Thanks,the modprobe -r entries return this error : modprobe: FATAL: Module sdr_msi3101 not found

And lsmod shows:

lsmod
Module Size Used by
ccm 20480 3
bnep 20480 2
btusb 40960 0
btrtl 16384 1 btusb
btbcm 16384 1 btusb
btintel 16384 1 btusb
bluetooth 475136 11 btrtl,btintel,bnep,btbcm,btusb
ecdh_generic 28672 1 bluetooth
gpio_ich 16384 0
dell_rbtn 16384 0
dell_laptop 20480 0
dell_smm_hwmon 16384 0
coretemp 16384 0
ir_lirc_codec 16384 0
lirc_dev 16384 1 ir_lirc_codec
kvm 507904 0
rtl2832_sdr 24576 0
irqbypass 16384 1 kvm
r820t 28672 1
rtl2832 24576 1
i2c_mux 16384 1 rtl2832
dell_wmi 16384 0
dell_smbios 16384 2 dell_wmi,dell_laptop
dcdbas 16384 1 dell_smbios
uvcvideo 77824 0
sparse_keymap 16384 1 dell_wmi
videobuf2_vmalloc 16384 2 uvcvideo,rtl2832_sdr
videobuf2_memops 16384 1 videobuf2_vmalloc
dvb_usb_rtl28xxu 36864 1
wmi_bmof 16384 0
serio_raw 16384 0
videobuf2_v4l2 20480 2 uvcvideo,rtl2832_sdr
dvb_usb_v2 28672 1 dvb_usb_rtl28xxu
videobuf2_core 36864 3 uvcvideo,rtl2832_sdr,videobuf2_v4l2
dvb_core 106496 2 dvb_usb_v2,rtl2832
videodev 151552 4 uvcvideo,videobuf2_core,rtl2832_sdr,videobuf2_v4l2
joydev 20480 0
rc_core 32768 5 ir_lirc_codec,lirc_dev,dvb_usb_v2,dvb_usb_rtl28xxu
input_leds 16384 0
lpc_ich 24576 0
media 32768 2 uvcvideo,videodev
pcmcia 57344 0
arc4 16384 2
iwldvm 204800 0
mac80211 679936 1 iwldvm
snd_hda_codec_hdmi 45056 2
yenta_socket 40960 0
pcmcia_rsrc 20480 1 yenta_socket
pcmcia_core 24576 3 yenta_socket,pcmcia,pcmcia_rsrc
snd_hda_codec_idt 53248 1
snd_hda_codec_generic 69632 1 snd_hda_codec_idt
snd_hda_intel 36864 3
snd_hda_codec 106496 4 snd_hda_intel,snd_hda_codec_idt,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_hda_core 65536 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_idt,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 90112 4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
iwlwifi 221184 1 iwldvm
snd_seq_midi 16384 0
binfmt_misc 20480 1
cfg80211 528384 3 iwlwifi,mac80211,iwldvm
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 28672 1 snd_seq_midi
snd_seq 57344 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 28672 2 snd_seq,snd_pcm
shpchp 32768 0
snd 65536 17 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_hda_codec_idt,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_pcm
soundcore 16384 1 snd
acpi_als 16384 0
kfifo_buf 16384 1 acpi_als
industrialio 57344 2 acpi_als,kfifo_buf
mac_hid 16384 0
parport_pc 32768 0
ppdev 20480 0
lp 20480 0
parport 40960 3 lp,parport_pc,ppdev
autofs4 40960 2
btrfs 1073152 0
xor 28672 1 btrfs
raid6_pq 106496 1 btrfs
dm_mirror 24576 0
dm_region_hash 20480 1 dm_mirror
dm_log 20480 2 dm_mirror,dm_region_hash
hid_generic 16384 0
usbhid 49152 0
hid 98304 2 hid_generic,usbhid
i915 1449984 4
i2c_algo_bit 16384 1 i915
drm_kms_helper 151552 1 i915
syscopyarea 16384 1 drm_kms_helper
psmouse 131072 0
sdhci_pci 28672 0
sysfillrect 16384 1 drm_kms_helper
pata_acpi 16384 0
sysimgblt 16384 1 drm_kms_helper
firewire_ohci 36864 0
sdhci 45056 1 sdhci_pci
e1000e 221184 0
fb_sys_fops 16384 1 drm_kms_helper
firewire_core 57344 1 firewire_ohci
crc_itu_t 16384 1 firewire_core
ptp 20480 1 e1000e
drm 303104 6 i915,drm_kms_helper
pps_core 16384 1 ptp
wmi 20480 2 dell_wmi,wmi_bmof
video 40960 3 dell_wmi,dell_laptop,i915

I could be getting tired but i don't see any msi entries after plugging the unit back in. The probe=play command still results in the same audio device outcome as pasted above with the unit unplugged. interesting.

Reason: No reason

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

Re: RSP1 Linux 18.3 Cinammon Mint Install Problems

Post by sdrplay » Mon Feb 26, 2018 2:49 pm

The module list now looks good.

What does

SoapySDRUtil --find=sdrplay

and

SoapySDRUtil --probe=sdrplay

show?

Best regards,

SDRplay Support

Reason: No reason

Fractal1
Posts: 65
Joined: Sun Feb 21, 2016 6:06 am

Re: RSP1 Linux 18.3 Cinammon Mint Install Problems

Post by Fractal1 » Mon Feb 26, 2018 8:49 pm

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

Found device 0
default_input = True
default_output = True
device_id = 0
driver = audio
label = PulseAudio


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

Probe device sdrplay

----------------------------------------------------
-- Device identification
----------------------------------------------------
driver=Audio
hardware=Audio
device_id=0
origin=https://github.com/pothosware/SoapyAudio

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
Channels: 1 Rx, 0 Tx
Timestamps: NO
Other Settings:
* Stereo Sample Offset - Offset stereo samples for off-by-one audio inputs.
[key=sample_offset, default=0, type=string, options=(-2, -1, 0, 1, 2)]

----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
Full-duplex: YES
Supports AGC: YES
Stream formats: CS8, CS16, CF32
Native format: CS16 [full-scale=65536]
Stream args:
* Channel Setup - Input channel configuration.
[key=chan, default=mono_l, type=string, options=(mono_l, mono_r, stereo_iq, stereo_qi)]
Antennas: RX
Full gain range: [0, 0] dB
Full freq range: [0, 6000] MHz
RF freq range: [0, 6000] MHz
Sample rates: 0.008, 0.016, 0.02205, 0.032, 0.0441, 0.048, 0.096 MSps

After a good nights sleep i recall where i got those drivers from now, they were in mints software manager so i thought they would be ok.

Further to that, i see in the software manager that i have:

"miri-sdr"-software support for mirics hardware
"Soapy-module-mirisdr"-soapy osmo mirics sdr module
"soapysdr0.6-module-mirisdr"-soapy osmo-mirics sdr module

wondering if these need to be removed?

Reason: No reason

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

Re: RSP1 Linux 18.3 Cinammon Mint Install Problems

Post by sdrplay » Mon Feb 26, 2018 9:24 pm

Quite possibly - that SoapySDR output still doesn't look right. Our driver does not appear as an audio device.

I personally would remove anything to do with mirisdr and the SoapySDR modules. Then rebuild SoapySDR and SoapySDRPlay (in that order)

Best regards,

SDRplay Support

Reason: No reason

Post Reply